Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

SOAP WSDL response mismatch

$
0
0

Hello,

 

We are trying to use a simple webservice to set up passwords. There is a mismatch between the service WSDL and the SOAP response.

 

Following is the RequestResponse

 

Request XML:

<?xml version="1.0"?>

<soapenv:Envelope xmlns:urn="urn:sap-com:document:sap:rfc:functions" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<urn:Z_WS_PWSYNCH>
<PWD>NEWPASSWORD</PWD>
<USER_NAME>WXYID</USER_NAME>
</urn:Z_WS_PWSYNCH>
</soapenv:Body>
</soapenv:Envelope>

 

Response XML:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
  <urn:Z_WS_PWSYNCH.Response xmlns:urn="urn:sap-com:document:sap:rfc:functions">
   <CODE>0</CODE>
   <MESSAGE>USER_NAME_NOT_EXIST</MESSAGE>
  </urn:Z_WS_PWSYNCH.Response>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

As you can see, the response has the "." in Z_WS_PWSYNCH.Response

which is not there in the WSDL below.

 

<wsdl:message name="Z_WS_PWSYNCH">

   <wsdl:part name="parameters" element="tns:Z_WS_PWSYNCH"/>

  </wsdl:message>

  <wsdl:message name="Z_WS_PWSYNCHResponse">

   <wsdl:part name="parameter" element="tns:Z_WS_PWSYNCHResponse"/>

  </wsdl:message>

  <wsdl:portType name="Z_IRIS_PASSWORD_SYNCH">

   <wsp:Policy>

    <wsp:PolicyReference URI="#IF_IF_Z_IRIS_PASSWORD_SYNCH"/>

   </wsp:Policy>

   <wsdl:operation name="Z_WS_PWSYNCH">

    <wsp:Policy>

     <wsp:PolicyReference URI="#OP_IF_OP_Z_WS_PWSYNCH"/>

    </wsp:Policy>

    <wsdl:input message="tns:Z_WS_PWSYNCH"/>

    <wsdl:output message="tns:Z_WS_PWSYNCHResponse"/>

   </wsdl:operation>

  </wsdl:portType>

</wsdl:definitions>

We have looked at the service and the SOA configurations, but cannot find anything that can fix this mismatch. Can this be fixed? Any suggestions please.

 

Thank you,

SK.


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>