Hi,
I am calling a REST endpoint that accepts and requires passing in the same URL parameter multiple times, however the outbound from Neuron looks to only include the last param in the query.
Example (incoming HTTP GET call):
https://localhost/fhir/EpisodeOfCare?_id=fs9&_include=EpisodeOfCare:organization&_include=EpisodeOfCare:patient
The "_include" parameter is required twice for the correct result to be returned, however any outbound requests from Neuron looks like the following (only showing the last _include param):
http://myendpoint.com/fhir/EpisodeOfCare?_id=fs9&_include=Episo...
I've tried pub/sub to the service connector, and directly calling the service in a biz process using the "Service Endpoint" step and manually setting the "Addressing.To" prior to the call. The msg in the Audit table prior to the Service Endpoint step shows the complete URL query string in Custom Properties "Addressing.To":
http://myendpoint.com/fhir/EpisodeOfCare?_id=fs9&_include=Episo...
However, the actual outbound call once again only has the last _include param.
Please let me know if there is another mechanism to help send the complete url and query.
thanks.
Marc
Tags:
Marc,
Instead of using Http.Query and the Addressing.To, use context.Data.LocalPath to set the query string. That property is appended on to whatever URL is used as the Service Connector.
Joe
Thanks Joe, but looks like duplicate params are still stripped.
It looks to get set ok in the context.Data.LocalPath - if I take a look at it before the call, it's all there. But the outbound URL to the service removes the duplicate.
Anything else I can try?
thanks.
Neuron ESB Product Support Forums and Communities
© 2024 Created by Neuron Admin. Powered by