on 01-30-2007 12:52 AM
Hi
I am working on a following Synchronous scenario
<b>SAP R/3 --> Sender RFC Adapter --> XI --> Rec. SOAP Adapter --> MI Web Service</b>
Now I tested the structure of Request/Response Message from WebService in XML Spy, & designed my Request/Response Message structure in XI based on that.
Now when I am sending the request from <u>XML Spy</u>,the Response message which is coming is this -->
<i><?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:getResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://www.MI/util">
<getReturn href="#id0"/>
</ns1:getResponse>
<multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AddressDTO" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="http://to.MIutil.com">
<latitude href="#id1"/>
<longitude href="#id2"/>
<postcode xsi:type="soapenc:string">111</postcode>
<state xsi:type="soapenc:string">XYZ</state>
<streetName xsi:type="soapenc:string">NYDEL</streetName>
<streetNumber xsi:type="soapenc:string">444</streetNumber>
<streetType xsi:type="soapenc:string">ST</streetType>
<suburb xsi:type="soapenc:string">SQY</suburb>
</multiRef>
<multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:double" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">-33.87571285585008</multiRef>
<multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:double" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">51.20783220341076</multiRef>
</soapenv:Body>
</soapenv:Envelope></i>
{ <b>Pls. take note that it is referring variables</b>}
But when I am sending the Request from SAP R/3 <u>using SAP XI</u>, I am getting the Response message from WebService like this -->
<i><?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <ns1:getResponse xmlns:ns1="http://www.MI/util" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<getReturn href="#id0" />
</ns1:getResponse></i>
which suggest that operation is getting called successfully & response is coming back.
Can you tell me what is the reason that why I am not getting the rest of the response .
Regards
- Lalit Chaudhary -
Hi,
Yes it can be possible, you have to maintain SOAP Header.
please see the below links..
/people/sap.user72/blog/2005/12/11/how-to-apply-themes-in-exchange-infrastructure
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=href%20%20in%20xi&cat=sdn_all
Regards
Chilla..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Chandra but none of those links are helping me.
I think maybe I didn't explain well enough what issue I am facing, so let me try to put it in other words -->
XI is receiving response from WebService & within the response XML is using hyperlink to an "anchor" in the same XML. Now this anchor is used by an attribute to write more values.
Now XI is just taking the hyperlink part not the rest of the part in which actual values exist of the hyperlink.
Like " <i>soapenc:Array</i>" types are not suppoerted by the XI in WSDL. Does XI supports receiving hyperlink XMLs from the business systems with different namespaces.
- Lalit -
Hi,
Please create the SOAP request from ID for your RFC Request, open this request and check in XMLSpy and then from there you can send the request.
Regards
Chilla..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
when you loaded the WSDL for the webservice for the SOAP adapter in XI, do you see your request and response structures correctly?
Is this scenario Aysnc or Sync?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.