cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP error

Former Member
0 Kudos

hi,

I am getting the following error from the Reciever SOAP adapter when tryin to post to a .net webservice.

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

- <!-- Call Adapter

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIAdapter</SAP:Category>

<SAP:Code area="PARSING">ADAPTER.SOAP_EXCEPTION</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText>soap fault: Server was unable to process request. ---> Value cannot be null. Parameter name: s</SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack />

thank you

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Raju,

Check the following :

1) The webservice address mentioned in your SOAP adapter must match with your wsdl file

2) see whether you have mentioned the correct user / password for webservices in soap adapter or not.

3) check whether you have given the proxy settings of the webservices in the adapter or not.

4) If your webservices has used certificate then use the keystore value in your soap adapter.

Hope this helps you.

<b>PS : If it helps you don't forget to reward points</b>.

Thanks & Regards

Prabhat

moorthy
Active Contributor
0 Kudos

Hi,

Quick checks-

1) Is your wsdl is valid one ...also make sure that mapped wsdl i.e xml after your mapping whcih goes to SOAP adapter is valid xml.. check out this.

2) did you give correct url for your webservice..i,e target URL in the SOAP receiver Adapter configuration.

3) Check out is the webservice working correctly..i.e is the webservice is available.

Regards,

moorthy

former_member206604
Active Contributor
0 Kudos

Hi,

Check if you have given a proper URL in the receiver SOAP adapter.

Ensure the URL is correct and also check if there need to be a proxy settings.

Regards,

Prakash

Former Member
0 Kudos

Thank you Moorthy and Prakash,

I did gave the correct url in the reciever adapter and I did specify the SOAP Action.

The wsdl is correct .

Is there any way to check whether the service is workin properly..

thank you

former_member206604
Active Contributor
0 Kudos

Hi Raju,

Did you check the same web service with any of the SOAP client. You can download the SOAP client from the SDN download section. Check if you were able to execute it properly there and getting the output. Then this would able to help you trace the problem.

Regards,

Prakash

Former Member
0 Kudos

hi Prakash,

I am unable to download the SOAP client. It is saying download error(unable to launch download). I am having the Java webstart 1.4.2_12.

I am trying to execute it with XMLSPy but i am getting an error:

Http error:could not post the file on server xxxx(500)

thank you

Former Member
0 Kudos

Hi,

Please try it to test your webservice. In few years this tool will be much better than xml SPY.

http://www.eclipse.org/webtools/

regards,

Wojciech

former_member206604
Active Contributor
0 Kudos

Hi,

Then the problem might be with the URL or the WSDL. Check if you are giving everything properly. Try checking some standard webservice and see if it is working fine.

Check once again you are giving everything right..

Regards,

Prakash

Former Member
0 Kudos

hi Prakash,

This is the wsdl I am using

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

<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://timken.com/EngineeringSystems" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://timken.com/EngineeringSystems">

<wsdl:types>

<s:schema elementFormDefault="qualified" targetNamespace="http://timken.com/EngineeringSystems">

<s:element name="SAPPOC_RequestShopPacket">

<s:complexType>

<s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="requestMsg" type="s:string"/>

</s:sequence>

</s:complexType>

</s:element>

<s:element name="SAPPOC_RequestShopPacketResponse">

<s:complexType>

<s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="SAPPOC_RequestShopPacketResult" type="s:string"/>

</s:sequence>

</s:complexType>

</s:element>

</s:schema>

</wsdl:types>

<wsdl:message name="SAPPOC_RequestShopPacketSoapIn">

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

</wsdl:message>

<wsdl:message name="SAPPOC_RequestShopPacketSoapOut">

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

</wsdl:message>

<wsdl:portType name="EngineeringSystemsServiceSoap">

<wsdl:operation name="SAPPOC_RequestShopPacket">

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

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

</wsdl:operation>

</wsdl:portType>

<wsdl:binding name="EngineeringSystemsServiceSoap" type="tns:EngineeringSystemsServiceSoap">

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

<wsdl:operation name="SAPPOC_RequestShopPacket">

<soap:operation soapAction="http://timken.com/EngineeringSystems/SAPPOC_RequestShopPacket" style="document"/>

<wsdl:input>

<soap:body use="literal"/>

</wsdl:input>

<wsdl:output>

<soap:body use="literal"/>

</wsdl:output>

</wsdl:operation>

</wsdl:binding>

<wsdl:binding name="EngineeringSystemsServiceSoap12" type="tns:EngineeringSystemsServiceSoap">

<soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>

<wsdl:operation name="SAPPOC_RequestShopPacket">

<soap12:operation soapAction="http://timken.com/EngineeringSystems/SAPPOC_RequestShopPacket" style="document"/>

<wsdl:input>

<soap12:body use="literal"/>

</wsdl:input>

<wsdl:output>

<soap12:body use="literal"/>

</wsdl:output>

</wsdl:operation>

</wsdl:binding>

<wsdl:service name="EngineeringSystemsService">

<wsdl:port name="EngineeringSystemsServiceSoap" binding="tns:EngineeringSystemsServiceSoap">

<soap:address location="http://CTNHBIZTALK01/EngineeringSystemsService/Service.asmx"/>

</wsdl:port>

<wsdl:port name="EngineeringSystemsServiceSoap12" binding="tns:EngineeringSystemsServiceSoap12">

<soap12:address location="http://CTNHBIZTALK01/EngineeringSystemsService/Service.asmx"/>

</wsdl:port>

</wsdl:service>

</wsdl:definitions>

the url that I gave in reciever adapter is :http://CTNHBIZTALK01/EngineeringSystemsService/Service.as

and the SOAP action is:

http://timken.com/EngineeringSystems/SAPPOC_RequestShopPacket

thank you

Former Member
0 Kudos

Hi Raju d

The soap fault you are getting is not because of improper URL.

First, Try to test your web service using XML spy or eclipse or any other WS test tool. I prefer to use WebService Studio 2.0 from Microsoft to test .net based web services as it offers good compatibility.

If the web service test works and still you get the error - ensure that you have the correct WSDL definition in XI. You can query your web service for the correct WSDL definition by using the param "?WSDL" after your web service endpoint. Just put this URL into your browser window and hit enter.

http://CTNHBIZTALK01/EngineeringSystemsService/Service.asmx?WSDL

Now Import the WSDL again in your XI external def.

The error you get is because of a malformed SOAP request. So you should recheck you adapter config params also. This document can help you further in this direction

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295a...

Regards

Gaurav W