on 10-26-2006 6:54 PM
Hi All,
When i am testing WSDL with XML spy i am getting correct response.
I am getting following error in syn-Receiver-SOAP Adapter.
I checked Proxy & user authentications ID &password it is correct.
I tried to create datatype & by importing WSDL but still same error.
I also tried to copy past the XML send by XI from SXMB_MONI into XML-SPY, xml-spy still sending data successfully.
Also one more strange behaviour I observe that XML-SPY not asking any Proxy and user authentications ID & password for posting data in web-service.
Please guide what can I do? I tried all the ways in previous forms.
<?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>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Regards
Hi,
Try the same WSDL with SOAPSONAR its works fine and its also asks authentication also....
and you can track error better in the SOAPSONAR...
Amaresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
closed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krishna,
I am can post data by xml-spy & SAP-BC with same WSDL & URL.
URL i am using is -"https://clientsqa.cartus.com/eaf/eaf.asp"
And when i am opening this in e-explorer I am getting following(WM team is saying that this the message what XI should send):
<?xml version="1.0" ?>
- <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
- <SOAP-ENV:Body>
- <SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>Server Error</faultstring>
- <detail>
<message>XML document must have a top level element.</message>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
<b>But my WSDL is as follows</b>
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated 02/14/02 by Microsoft SOAP Toolkit WSDL File Generator, Version 1.02.813.0 -->
<definitions name="WebServiceAuthorization" targetNamespace="http://tempuri.org/wsdl/" xmlns:wsdlns="http://tempuri.org/wsdl/" xmlns:typens="http://tempuri.org/type" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:stk="http://schemas.microsoft.com/soap-toolkit/wsdl-extension" xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<schema targetNamespace="http://tempuri.org/type" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" elementFormDefault="qualified"/>
</types>
<message name="clsSubmitAuth.Authorization">
<part name="ClientNo" type="xsd:string"/>
<part name="FormID" type="xsd:short"/>
</message>
<message name="clsSubmitAuth.AuthorizationResponse">
<part name="Result" type="xsd:string"/>
</message>
<portType name="clsSubmitAuthSoapPort">
<operation name="Authorization" parameterOrder="ClientNo FormID">
<input message="wsdlns:clsSubmitAuth.Authorization"/>
<output message="wsdlns:clsSubmitAuth.AuthorizationResponse"/>
</operation>
</portType>
<binding name="clsSubmitAuthSoapBinding" type="wsdlns:clsSubmitAuthSoapPort">
<stk:binding preferredEncoding="UTF-8"/>
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="Authorization">
<soap:operation soapAction="http://tempuri.org/action/clsSubmitAuth.Authorization"/>
<input>
<soap:body use="encoded" namespace="http://tempuri.org/message/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded" namespace="http://tempuri.org/message/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
</binding>
<service name="WebServiceAuthorization">
<port name="clsSubmitAuthSoapPort" binding="wsdlns:clsSubmitAuthSoapBinding">
<soap:address location="https://clientsqa.Cartus.com/eaf/eaf.asp"/>
</port>
</service>
</definitions>
Hi Krishna,
Thanks for reply.
My configurations in SOAP Receiver Adapter is as follows
Target URL - https://clientsqa.Cartus.com/eaf/eaf.asp
Configure User Authentication - X
User , password (clients)
Configure Proxy - X
Host, Port
Configure Proxy user Authentication - X
User, password (our network)
SOAP Action - http://tempuri.org/action/clsSubmitAuth.Authorization
I think for above posted WSDL theas information is correct in adapter.
Regards
Hi All,
One more behaviour that when i am checking Do not use SOAP envelope option then I am able to see successfull devivered flag in SXMB_MONI.
But in that case i am getting "You are not authorized to view this page HTTP 401.1 - Unauthorized: Logon Failed"
Under SXMB_MONI->second message->Call Adapter->Payloads
(i.e. I am getting HTTP 401.1 in response payload)
Please guide If get any clue.
Regards
Hi,
Set the proper content type for a SOAP message it cannot be TEXT/HTML
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: <b>TEXT/HTML</b></SAP:AdditionalText>
You can use either of these
application/soap+xml
text/plain
text/xml
Regards,
Prakash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prakash,
I tried to change content type by following way but still same error.
"change the content type like this: Go to the SOAP receiver communication channel module tab. Add the module "localejbs/AF_Modules/MessageTransformBean" before the standard module. Add the parameter name Transform.ContentType and value text/xml"
Is i am doing correct?
Regards
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.