Hi.
I implemented a webservice following this tutorial:
http://www.eclipse.org/webtools/jst/components/ws/1.5/tutorials/BottomUpW...
But using Eclipse Ganymede and JBoss 4.2.3.GA instead.
Using the web services explorer and the TCP/IP monitor, this is the request made by the
web services explorer and the resulting response:
Request
| <?xml version="1.0" encoding="UTF-8"
standalone="no"?>
| <soapenv:Envelope xmlns:q0="http://wtp"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
| <soapenv:Body>
| <q0:celsiusToFarenheit>
| <q0:celsius>37.0</q0:celsius>
| </q0:celsiusToFarenheit>
| </soapenv:Body>
| </soapenv:Envelope>
|
Response
| <?xml version="1.0" encoding="utf-8"
standalone="no"?>
| <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
| <soapenv:Body>
| <celsiusToFarenheitResponse xmlns="http://wtp">
| <celsiusToFarenheitReturn>98.6</celsiusToFarenheitReturn>
| </celsiusToFarenheitResponse>
| </soapenv:Body>
| </soapenv:Envelope>
|
It works, but I want the request without the "q0" on the envelope and the
namespace on the method tag (like the response or the image shown on the tutorial). It
would also be great if I could also configure the namespace to show something better than
"http://wtp"
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4173645#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...