{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • Microgateway /
avatar image
1
Question by TGP · Jul 11 at 09:03 AM · 75 Views microgatewaytarget endpointqueryparams

Microgateway Target URL with Query Parameters

I have a requirement to call a SAP service thru microgateway.

The format of the SAP URL is

https://domain name:portname/XISOAPAdapter/MessageServlet?channel=party:Business system:CC_SOAPSender_Test1&version=3.0&Sender.Service=Business system∬erface=urn:Test.com:Web_Service_test^Outbound_Interface name

I am trying to use the actual URL (with QSPs) in microgateway-aware proxy,

it is not supporting '&' so I changed the '&' to escaped char of &

If I hit the migrogateway endpoint, SAP always return 500 with the following SOAP fault message.

<s:SystemErrorxmlns:s='http://sap.com/xi/WebService/xi2.0'> <context>XIAdapter</context> <code>ADAPTER.JAVA_EXCEPTION</code><text> <![CDATA[See log trace with id: n/a ]]> </text> </s:SystemError> 

Note:

If hit the same SAP URL(with &) in Postman, I can get 200.

If hit the same SAP URL(with escaped char of &) in Postman, I can get 500 with a above mentioned error message.

Please shed some light on How to deal with Query Parameters / call this kind of backend URLs in a microgateway proxy implementation.

Comment
Add comment
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Close

1 Answer

  • Sort: 
avatar image
0

Answer by Imesh Gunaratne · Jul 19 at 05:35 AM

Microgateway does not use query parameters defined in the Target URL of the API proxy when constructing the request message to be sent to the target.

You could verify this functionality by creating a sample Microgateway API proxy which talks to another API proxy deployed on Edge Cloud and then tracing those requests:

Client -> API Proxy 1 [Microgateway] -> API Proxy 2 [Edge Cloud] -> Target

Nevertheless, if query parameters are included in the request message sent by the client application, Microgateway will send those to the target. This might be the reason for your observation.

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

73 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Javascript not running on local microgateway to overwrite target.url,TargetEndPoint override not working 1 Answer

URI and Query param propagation in Microgateway & SSL Cert configuration 1 Answer

How do I solve the problem to run the verify step? 1 Answer

Microgateway OAuth & Apikey plugin Query 1 Answer

Microgateway with API Key depends on internet? 1 Answer

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2019 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Members
  • Badges