on 05-10-2007 10:29 AM
Hi everybody,
I have uploaded an external XSD and want to use this in the mapping. My problem is that the receiver needs the following two informations in the root tag:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://message.de/Message.xsd"
How can the soap receiver adapter insert this values in the root tag?
Regards
Florian
Hi,
2 options,
1.Make the change in the XSD to insert these namesapces or,
2. Use an XSLT or Java Mapping.
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have following scenario:
SAP -> XI -> SOAP (IIS)
When I send messages from SAP I can see positive feedback in message monitoring. But the data is not in database of target application. Therefore I think the web service rejects messages send from XI.
I have written a small Java Client to test the web service and when I transmit data with this client the web service writes data into the database of the target application.
Motivated by this error I want to know what special cases I should consider when I consume a web service from IIS.
One question is what parameters in SOAP receiver adapter I should activate? And another question is, is such a string in target url right? http://host/Service/Service.asmx
The target URL is correct. Looks correct.
To monitor SOAP messages check this blog by stefan grube,
/people/stefan.grube/blog/2007/03/29/troubleshooting-soap-http-and-mail-adapter-scenarios-with-tcpgateway
Check with the SOAP message you see in the TCFP Gateway as this is the messge that reaches the target Webservice. Ask the webservice team to check if the format and content is correct and they should be able to guide further,
Regards
Bhavesh
Check in Message Monitoring Details if the message which is actually sent to Web Service (post-mapping message) has the correct format (if it has the correct nodes, necessary namespaces etc).
Also, to test this payload, copy it inside <SOAP:Body> tag of a soap client tool (such as oXygen/ or XMLSpy) and see the response of WS (also, check if the server's database has inserted your inputs).
Regards,
Henrique.
Thanks to all. I have it. The SOAP server dropped the messages because the namespace was not delivered. So I enriched the xsl mapping and now the namespace is delivered and the server application stores data into the database.
To test this I generated a SOAP Request with XMLSpy and "played" with the generated message.
Regards
Florian
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.