Hi

Do you mind creating a JIRA ticket for this? Maybe we can improve the
spring-ws component to accept the parameter in the endpoint uri
directly.
http://camel.apache.org/support


On Fri, Aug 19, 2011 at 11:12 AM, akamp <[email protected]> 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.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to