Hi
I am still facing issue please help!!
What i want to do is something like this -->
<route id="volt-soap-in">
<from
uri="jetty:http://0.0.0.0:6062/volt/SchedulingEngineWeb/services/CallSubscription?sessionSupport=true&enableJmx=true&enableTrace=true"
id="soap">
<description>This endpoint receives soap requests from any web
server.</description>
</from>
<camel:setHeader headerName="feId">
<camel:constant>WEB</camel:constant>
</camel:setHeader>
<bean method="clearLogDetails" ref="serviceProcessor"/>
<bean method="validateIncomingHeaders" ref="glUssdAdapter"/>
<bean method="adaptIncomingHeaders" ref="glUssdAdapter"/>
<bean method="adaptIncomingBody" ref="glUssdAdapter"/>
<to uri="direct:glmain"/>
<to uri="direct:ussd-out"/>
</route>
Suppose if soap request is like below then i should set my operation code as
"handle New Subscription"
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:sub="http://SubscriptionEngine.ibm.com">
<soapenv:Header>
<username>SMART_API</username>
<password>SMART_API</password>
</soapenv:Header>
<soapenv:Body>
*<sub:handleNewSubscription>*
<custAttributesDTO>
<cpId>123</cpId>
<cpPwd>abc</cpPwd>
<msisdn>9999999999</msisdn>
<channelName>WAP</channelName>
<productId>111</productId>
<cpName>abc</cpName>
<aocMsg1>1</aocMsg1>
<aocMsg2>1</aocMsg2>
<firstConfirmationDTTM>2011-10-27T16:02:11.389Z</firstConfirmationDTTM>
<secondConfirmationDTTM>2011-10-27T16:02:11.389Z</secondConfirmationDTTM>
<helloTunesDTO xsi:nil="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><custAssProdList
xsi:nil="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><recordCount
xsi:nil="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><subscriptionPackDTO
xsi:nil="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></custAttributesDTO>
</sub:handleNewSubscription>
</soapenv:Body>
</soapenv:Envelope>
Basically i do not want to use a cxf endpoint for soap requests. I want http
endpoint itself. Also based on soap request my operation code should change
dynamically.
Please suggest.
Thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/Handling-soap-request-in-http-endpoint-possible-tp5750524p5750709.html
Sent from the Camel - Users mailing list archive at Nabble.com.