on 09-11-2006 12:21 PM
Hi experts,
i have a scenario, rfc - XI- webservice. Scenario is as synchron but i call in sap R/3 as asynchron (as background Task). In Runtimworkbench show on Soapadapter occured following error
invalid content type for SOAP: TEXT/HTML .
I checked Firewall (OK), I added Moduleconfiguration XMBWS.XMLEncoding with parameter "iso-8859-1", but it doesn't worked. If i do on Converion prameters with "do not use soap envelope", so will be called the webservice, but don't transmitted the data.
I tested the Webservice with XMLSPY, result is ok.
I tested the mapping in Design, there is no error.
Plese help in this regard.
Thanks
Hüsniye
Usually this error means a http error: 400, 401, 402, 404, etc... As the webservice works for XMLSpy, probably it's an authorization/firewall/proxy issue.
Regards,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
2006-09-12 10:41:00 Erfolgreich output 1158050460112 SOAP: <b>request message entering the adapter</b>
2006-09-12 10:41:00 Fehler output 1158050460122 SOAP: error occured: java.io.IOException: <b>invalid content type for SOAP: TEXT/HTML</b>
>>>> Check your structure defined for the request to WS in IR. compare it with the request structure when u test in XML SPY. I guess there is a conflict.
Also Refer:
/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
Message was edited by: Shabarish Vijayakumar
Hi,
my structure from technical routing
<?xml version="1.0" encoding="UTF-8" ?>
<p2:CreateProjectFromRequisition xmlns:p2="http://tempuri.org/">
<p2:xml>6000000004</p2:xml>
</p2:CreateProjectFromRequisition>
and the request of XMLSPY
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<m:CreateProjectFromRequisition xmlns:m="http://tempuri.org/">
<m:xml>hhhhhhhhhhhhh</m:xml>
</m:CreateProjectFromRequisition>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
but it's the same wsdl-file that i use.
Regards
Hüsniye
your Req. to the WS sud be in the same format as the Req. stru. you found while testing it in XML Spy.
I had a similar problem even though i used the message given in WSDL.
CHK -> RFC -> WS weblog i quoted earlier in my post. If it is diff. you will have to create a XSD/MT for the request stru. to WS.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.