This content has been marked as final.
Show 1 reply
-
1. Re: Accessing operation of multi-operation Webservice (JBoss
mferguson Oct 28, 2009 1:34 PM (in response to quartelh)"quartelh" wrote:
Hi,
excuse my ignorance, but how do one address a specific operation of a JBossWS webservice that contains multiple operations using the SOAPProcessor.
I am strugling figuring out what JBoss ESB is good at (patterns) and not (anti-patterns) and what JBossWs is good at and what not.
Best regards,
Herbert
The SOAPProcessor processes SOAP messages, a SOAP message generated by a WS proxy should specify which action it is intended to invoke.
If you look at the test messages included with the webservice_producer quickstart you can see where they invoke the sayGoodbye method:<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:good="http://webservice_producer/goodbyeworld"> <soapenv:Header/> <soapenv:Body> <good:sayGoodbye> <message>Goodbye!!</message> </good:sayGoodbye> </soapenv:Body> </soapenv:Envelope>
or the sayGoodbyeWithoutResponse:<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:good="http://webservice_producer/goodbyeworld"> <soapenv:Header/> <soapenv:Body> <good:sayGoodbyeWithoutResponse> <message>Goodbye!!</message> </good:sayGoodbyeWithoutResponse> </soapenv:Body> </soapenv:Envelope>