0 Replies Latest reply on Jun 14, 2006 11:13 PM by gang.tao

    Missing multiref in SOAP Message

    gang.tao

      Hi ,
      I am now using Jboss4.0.4 GA and in my application, i need call an ohter webservice which is implemented with Axis1.4

      I use wscompile to generate the client code and jaxrpc mapping, and I can not use wstools because the service use encoding which is not supported by wstools.

      I can call the webservice successfully in my application and the server and recieve the input paramter. But the return value alway null. The multiRef part in the soap response seems missing.

      Here is the service return
      <?xml version="1.0" encoding="utf-8"?><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><ns1:resetTenantUserPasswordResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://facade.userdirectory.xtp.sap.com"></ns1:resetTenantUserPasswordResponse><multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:ResetPasswordInfo" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="http://soapinterop.org/xsd"><newPassword xsi:type="soapenc:string">12345678<userEmail xsi:type="soapenc:string">gang.tao@sap.com</soapenv:Body></soapenv:Envelope>

      Here is the jboss log.
      2006-06-15 11:11:27,501 DEBUG [org.jboss.ws.soap.SOAPConnectionImpl] Incomming Response SOAPMessage
      <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:Header/>
      <soapenv:Body>
      <ns1:resetTenantUserPasswordResponse soapenv:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/' xmlns:ns1='http://localhost:8080/UserDirectory/UserDirectory'>

      </ns1:resetTenantUserPasswordResponse>
      </soapenv:Body>
      </soapenv:Envelope>

      The multiRef part is missing, why?

      Thanks!