[jboss-user] [JBossWS] - Jboss web service and Websphere Client Access
do-not-reply at jboss.com
Fri Nov 30 10:33:43 EST 2007
I am using a webservice provided by a client of ours running in jboss 4.2.1(Recently migrated from JBoss 4.2).
Before the migration I was able to access the webservice from my client generated by IBM WSDL2Java tool in RAD 7.0. But now when I access the webservice, I am getting a nullpointer error in my client side where they get soapbody out of the message.
When I analysed, I found RAD sends the soap message without spaces and line breaks between tags.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:com:abc.system:ping:request:v1"><soapenv:Header/><soapenv:Body><urn:pingRequest><urn:Header traceLevel="DEBUG"/><urn:Context employeeId="empid" employeePassword="pass" languageCode="EN"/><urn:EchoMessage text="BOO"/></urn:pingRequest></soapenv:Body></soapenv:Envelope>
This fails. But if the same message is sent with spaces between tags, it works fine.(Tested using SoapUI)
Is there any setting we have to put in JBoss to avoid this error.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109355#4109355
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109355
More information about the jboss-user