2 Replies Latest reply on Nov 30, 2007 12:09 PM by Kalai selvan

    Jboss web service and Websphere Client Access

    Kalai selvan Newbie

      Hi,

      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.
      Eg:

      <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.

      Thanks
      Kalai