[jboss-user] [JBossWS] - Re: WS-Addressing in native stack
mobaxkrs
do-not-reply at jboss.com
Wed Mar 25 08:50:31 EDT 2009
Thank God. It worked..
1. Used wsconsume.sh from another version of jboss
mobicents-all-1.2.0.CR3-jboss-4.2.3.GA-0812022325
2. Included all jars that you referred in the compile command.
3. Added wsdl4j.jar, xercesImpl.jar
The sample worked!! With web service trace enabled, i get the log
2009-03-25 18:15:17,684 TRACE [org.jboss.ws.core.MessageTrace] Incoming Request Message
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header xmlns:wsa='http://www.w3.org/2005/08/addressing'>
<wsa:Action>helloWorld</wsa:Action>
</env:Header>
<env:Body>
<ns1:helloWorld xmlns:ns1='http://www.jboss.org/jbossws/ws-extensions/wsaddressing'>
KRS, Great Job
</ns1:helloWorld>
</env:Body>
</env:Envelope>
2009-03-25 18:15:17,694 TRACE [org.jboss.ws.core.MessageTrace] Outgoing Response Message
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header xmlns:wsa='http://www.w3.org/2005/08/addressing'>
<wsa:To>http://www.w3.org/2005/08/addressing/anonymous</wsa:To>
<wsa:Action>http://www.jboss.org/jbossws/ws-extensions/wsaddressing/SampleWebServicePort/helloWorldResponse</wsa:Action>
</env:Header>
<env:Body>
<ns2:helloWorldResponse xmlns:ns2='http://www.jboss.org/jbossws/ws-extensions/wsaddressing'>
Hello Welcome, KRS, Great Job
</ns2:helloWorldResponse>
</env:Body>
</env:Envelope>
Thanks a lot.. Richard
Now, next step is provide an id to identify the request and get the id in response.
Also, if i could work out a POC for Records Management Framework, that would be great.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220901#4220901
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220901
More information about the jboss-user
mailing list