cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP: response message contains an error

Former Member
0 Kudos

Hi,

I send a message by PI to a service and I get the following message:

SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: No such operation SETCOMPANYFIELDVALUERequest

The scenario that I use is a RFC --> PI --> SOAP. The WSDL looks like this:

<?xml version="1.0" encoding="UTF-8"?>

<wsdl:definitions targetNamespace="urn:DefaultNamespace" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:DefaultNamespace" xmlns:intf="urn:DefaultNamespace" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<wsdl:message name="SETCOMPANYFIELDVALUERequest">

<wsdl:part name="COMPANYNAME1" type="xsd:string"/>

<wsdl:part name="COMPANYNAME2" type="xsd:string"/>

</wsdl:message>

<wsdl:message name="SETCOMPANYFIELDVALUEResponse">

<wsdl:part name="SETCOMPANYFIELDVALUEReturn" type="xsd:anyType"/>

</wsdl:message>

<wsdl:portType name="AppLSDataSync">

<wsdl:operation name="SETCOMPANYFIELDVALUE" parameterOrder="COMPANYNAME1 COMPANYNAME2">

<wsdl:input message="intf:SETCOMPANYFIELDVALUERequest" name="SETCOMPANYFIELDVALUERequest"/>

<wsdl:output message="intf:SETCOMPANYFIELDVALUEResponse" name="SETCOMPANYFIELDVALUEResponse"/>

</wsdl:operation>

</wsdl:portType>

<wsdl:binding name="DominoSoapBinding" type="intf:AppLSDataSync">

<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>

<wsdl:operation name="SETCOMPANYFIELDVALUE">

<wsdlsoap:operation soapAction="SETCOMPANYFIELDVALUE"/>

<wsdl:input name="SETCOMPANYFIELDVALUERequest">

<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace" use="encoded"/>

</wsdl:input>

<wsdl:output name="SETCOMPANYFIELDVALUEResponse">

<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace" use="encoded"/>

</wsdl:output>

</wsdl:operation>

</wsdl:binding>

<wsdl:service name="AppLSDataSyncService">

<wsdl:port binding="intf:DominoSoapBinding" name="Domino">

<wsdlsoap:address location="http://localhost"/>

</wsdl:port>

</wsdl:service>

</wsdl:definitions>

When I send the same message using the WebServiceNavigator everything is working fine.

The WSDL that I have imported into PI is the same that is available that I use calling by the WSNavigator.

Anyone an Idea?

Thanks Ron

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

I had to check the parameter No SOAP Envelope in the Receiver Communication Channel.

Now it's working

Former Member
0 Kudos

HI

WSDL is having some problem

When you imported this wsdl how many messages does it show. Check weather it is having SETCOMPANYFIELDVALUE request and response. you can check the messages carried in a wsdl using the messages tab in external definition.

Thanks

Former Member
0 Kudos

recheck your data type structure and Mapping,

for that you can compare the xml from any other web service tool and xml generated from PI.