camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Taariq Levack <taar...@gmail.com>
Subject Re: Setting options on http-request in spring-ws component
Date Fri, 19 Aug 2011 11:43:47 GMT
Hi Arno

I don't know if this is recommended or not, I'm sure you'll know soon, but
that component also has a header CamelSpringWebserviceEndpointUri, which you
can use to set the URI afterwards.
Can you try creating the endpoint without the params and then using the
actual URI in the header?

Taariq

On Fri, Aug 19, 2011 at 11:12 AM, akamp <arno.vandekamp@kadaster.nl> wrote:

> Hi all,
>
> I'm using the Camel spring-ws component to send a soap message to SAP-PI.
> The syntax for the SAP-PI url is:
> http://machine.domain.com:57000/XISOAPAdapter/MessageServlet?channel=value
> So, the SAP-PI url has its own option after the '?'.
>
> If Camel parses this endpoint the following exception is raised because
> Camel expects a spring-ws component option after the '?'.
>
> Failed to resolve endpoint:
> spring-ws://
> http://machine.domain.com:57000/XISOAPAdapter/MessageServlet?channel=value%3FmessageFactory%3D%23messageFactory&messageSender=%23messageSender
> due to: There are 1 parameters that couldn't be set on the endpoint. Check
> the uri if the parameters are spelt correctly and that they are properties
> of the endpoint. Unknown
> parameters=[{channel=value?messageFactory=#messageFactory}]
>
> How can I set options on the http request used the spring-ws component in
> Camel.
>
> Thanks in advance.
> Arno
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Setting-options-on-http-request-in-spring-ws-component-tp4714995p4714995.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message