on 11-13-2006 3:43 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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
Regards
Gaurav W
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.