Hi Reji,

For long URLs like this it is not recommended to use the 
{cxf://serviceURL?options} syntax. Use the other syntax {cxf:bean:cxfEndpoint}. 
Then define the cxfEndpoint as a bean. Your URL will be the value of the 
address or wsdlURL attributes of the cxfEndpoint bean. See the example at: 
http://camel.apache.org/cxf.html

Regards,
Prajod

-----Original Message-----
From: contactreji [mailto:[email protected]]
Sent: Wednesday, August 20, 2014 12:09 AM
To: [email protected]
Subject: CXF producer endpoint - URL symbol clash

Hey Guys

I have a very peculiar case here.

I have to send data to a web service available at SAP PI middleware from Fuse 
ESB. The url at which SAP PI has exposed their service looks like

http://otpidd01:50000/XISOAPAdapter/MessageServlet?senderParty=&senderService=BS_D_EAM_Global&receiverParty=&receiverService=&interface=SI_ID80_PR_Asyc_OUT&interfaceNamespace=urn%3Aoutotec%3Api%3Aeam%3Aid80%3Apurchaserequistion

I am trying to create a single line cxf producer endpoint in the format

cxf://{serviceUrlHere}?serviceName={SAP_PIWsdlNamepaceHere}{ServiceName}&endpointName={SAP_PIWsdlNamepaceHere}{Name
attribute of Port}&dataFormat=PAYLOAD

CXF producer point url has a *?* symbol which demarcates the service url from 
the cxf endpoints. *Unfortunetly my service url too has a ? symbol  in it. *


Now how do I make the cxf producer understand that the second '?' symbol is the 
real place where my service url is separated from my cxf producer endpoint 
options!

Cheers
Reji



--
View this message in context: 
http://camel.465427.n5.nabble.com/CXF-producer-endpoint-URL-symbol-clash-tp5755407.html
Sent from the Camel - Users mailing list archive at Nabble.com.

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

Reply via email to