cancel
Showing results for 
Search instead for 
Did you mean: 

How to see structure under schema when Create External Definition

Former Member
0 Kudos

Hi ...we have scenario like RFC<>XI<>SOAP

The request payload(SOAPIN) for SOAP is:

-


<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

<soap:Body>

<AddressValidator xmlns="http://tempuri.org/geostan3/AddressValidator">

<LicenseFile>string</LicenseFile>

<Z9Path>string</Z9Path>

<House>string</House>

<Street>string</Street>

</soap:Body>

</soap:Envelope>

and we are expecting response message from SOAP:

-


diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">

- <AddressCheck xmlns="">

- <Address diffgr:id="Address1" msdata:rowOrder="0" diffgr:hasChanges="inserted">

<Addline1>220 W MAIN ST</Addline1>

<Addline2 />

<URB />

<Lastline>LOUISVILLE, KY 40202-1395</Lastline>

<Location>-85754010, 38256144</Location>

<OutBlock>211110049001067</OutBlock>

<OutCBSA>31140</OutCBSA>

<MatchCode>SE0</MatchCode>

<LocationCode>AS0</LocationCode>

<DPVConfirm />

<FootNote1 />

<FootNote2 />

<FootNote3 />

<Msg>OK</Msg>

</Address>

</AddressCheck>

so when we created external definition using wsdl file into XI, it showing only schema as SOAPOUT (I couldn't see those fields in XI/under schema).

-


<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

<soap:Body>

<AddressValidatorResponse xmlns="http://tempuri.org/geostan3/AddressValidator">

<AddressValidatorResult>

<xsd:schema>schema</xsd:schema>xml</AddressValidatorResult>

</AddressValidatorResponse>

</soap:Body>

</soap:Envelope>

SXMB_MONI showing(Response):

-


<?xml version="1.0" encoding="UTF-8" ?>

- <ns0:AddressValidatorResponse xmlns:ns0="http://tempuri.org/geostan3/AddressValidator">

- <ns0:AddressValidatorResult>

<ns1:schema xmlns:ns1="http://www.w3.org/2001/XMLSchema" />

</ns0:AddressValidatorResult>

</ns0:AddressValidatorResponse>

So my question is how do I map response fields to RFC response? Auctully this schema is like table structure which is having all response fields.

I could see all response structure with data in sxmb_moni-->Response Msg ID > inbound message>payloads(main document). Is there any way to send this response to RFC ?

or can you suggest me any other way to send this response to RFC.

Thanks,

Edited by: PILearn on Jun 2, 2008 10:21 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI,

Drag n Drop the external definition in Under Mapping tab on either Source side or target side then you will be able to see the Tree Structure along with all details such as Type, Occurance etc.*

Thanks

Swarup

Edited by: Swarup Sawant on Jun 2, 2008 11:00 PM

Former Member
0 Kudos

No Swarup..

I couldn't see the response structure in under mapping editor, instead of i could see only schema . see below i copied from MM editor. Auctully this schema(its a table structure) holds our output fileds..I could see all out fields in SXMB_MONI.

<?xml version="1.0" encoding="ISO-8859-1"?>

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://tempuri.org/geostan3/AddressValidator" targetNamespace="http://tempuri.org/geostan3/AddressValidator">

<xsd:element name="AddressValidatorResponse">

<xsd:complexType>

<xsd:sequence>

<xsd:element name="AddressValidatorResult" minOccurs="0" form="qualified">

<xsd:complexType>

<xsd:sequence>

<xsd:element ref="xsd:schema" />

<xsd:any processContents="strict" />

</xsd:sequence>

</xsd:complexType>

</xsd:element>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

</xsd:schema>

Former Member
0 Kudos

Hi,

This is bit surprising, can you share your wsdl or xsd code on this post so I will check on my side.

Thanks

Swarup

Former Member
0 Kudos

Here you go..

<?xml version="1.0" encoding="utf-8"?>

<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://tempuri.org/geostan3/AddressValidator" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://tempuri.org/geostan3/AddressValidator" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

<wsdl:types>

<s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/geostan3/AddressValidator">

<s:import namespace="http://www.w3.org/2001/XMLSchema" />

<s:element name="AddressValidator">

<s:complexType>

<s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="LicenseFile" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="LicensePassword" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="SearchPath" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="Z9Path" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="House" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="Street" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="AddLine2" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="AddLastLine" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="URB" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="Matchmode" type="s:string" />

<s:element minOccurs="0" maxOccurs="1" name="Datum" type="s:string" />

</s:sequence>

</s:complexType>

</s:element>

<s:element name="AddressValidatorResponse">

<s:complexType>

<s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="AddressValidatorResult">

<s:complexType>

<s:sequence>

<s:element ref="s:schema" />

<s:any />

</s:sequence>

</s:complexType>

</s:element>

</s:sequence>

</s:complexType>

</s:element>

<s:element name="DataSet" nillable="true">

<s:complexType>

<s:sequence>

<s:element ref="s:schema" />

<s:any />

</s:sequence>

</s:complexType>

</s:element>

</s:schema>

</wsdl:types>

<wsdl:message name="AddressValidatorSoapIn">

<wsdl:part name="parameters" element="tns:AddressValidator" />

</wsdl:message>

<wsdl:message name="AddressValidatorSoapOut">

<wsdl:part name="parameters" element="tns:AddressValidatorResponse" />

</wsdl:message>

<wsdl:message name="AddressValidatorHttpGetIn">

<wsdl:part name="LicenseFile" type="s:string" />

<wsdl:part name="LicensePassword" type="s:string" />

<wsdl:part name="SearchPath" type="s:string" />

<wsdl:part name="Z9Path" type="s:string" />

<wsdl:part name="House" type="s:string" />

<wsdl:part name="Street" type="s:string" />

<wsdl:part name="AddLine2" type="s:string" />

<wsdl:part name="AddLastLine" type="s:string" />

<wsdl:part name="URB" type="s:string" />

<wsdl:part name="Matchmode" type="s:string" />

<wsdl:part name="Datum" type="s:string" />

</wsdl:message>

<wsdl:message name="AddressValidatorHttpGetOut">

<wsdl:part name="Body" element="tns:DataSet" />

</wsdl:message>

<wsdl:message name="AddressValidatorHttpPostIn">

<wsdl:part name="LicenseFile" type="s:string" />

<wsdl:part name="LicensePassword" type="s:string" />

<wsdl:part name="SearchPath" type="s:string" />

<wsdl:part name="Z9Path" type="s:string" />

<wsdl:part name="House" type="s:string" />

<wsdl:part name="Street" type="s:string" />

<wsdl:part name="AddLine2" type="s:string" />

<wsdl:part name="AddLastLine" type="s:string" />

<wsdl:part name="URB" type="s:string" />

<wsdl:part name="Matchmode" type="s:string" />

<wsdl:part name="Datum" type="s:string" />

</wsdl:message>

<wsdl:message name="AddressValidatorHttpPostOut">

<wsdl:part name="Body" element="tns:DataSet" />

</wsdl:message>

<wsdl:portType name="AddressCheckSoap">

<wsdl:operation name="AddressValidator">

<wsdl:input message="tns:AddressValidatorSoapIn" />

<wsdl:output message="tns:AddressValidatorSoapOut" />

</wsdl:operation>

</wsdl:portType>

<wsdl:portType name="AddressCheckHttpGet">

<wsdl:operation name="AddressValidator">

<wsdl:input message="tns:AddressValidatorHttpGetIn" />

<wsdl:output message="tns:AddressValidatorHttpGetOut" />

</wsdl:operation>

</wsdl:portType>

<wsdl:portType name="AddressCheckHttpPost">

<wsdl:operation name="AddressValidator">

<wsdl:input message="tns:AddressValidatorHttpPostIn" />

<wsdl:output message="tns:AddressValidatorHttpPostOut" />

</wsdl:operation>

</wsdl:portType>

<wsdl:binding name="AddressCheckSoap" type="tns:AddressCheckSoap">

<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />

<wsdl:operation name="AddressValidator">

<soap:operation soapAction="http://tempuri.org/geostan3/AddressValidator/AddressValidator" 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="AddressCheckHttpGet" type="tns:AddressCheckHttpGet">

<http:binding verb="GET" />

<wsdl:operation name="AddressValidator">

<http:operation location="/AddressValidator" />

<wsdl:input>

<http:urlEncoded />

</wsdl:input>

<wsdl:output>

<mime:mimeXml part="Body" />

</wsdl:output>

</wsdl:operation>

</wsdl:binding>

<wsdl:binding name="AddressCheckHttpPost" type="tns:AddressCheckHttpPost">

<http:binding verb="POST" />

<wsdl:operation name="AddressValidator">

<http:operation location="/AddressValidator" />

<wsdl:input>

<mime:content type="application/x-www-form-urlencoded" />

</wsdl:input>

<wsdl:output>

<mime:mimeXml part="Body" />

</wsdl:output>

</wsdl:operation>

</wsdl:binding>

<wsdl:service name="AddressCheck">

<wsdl:port name="AddressCheckSoap" binding="tns:AddressCheckSoap">

<soap:address location="http://sap-ccs-geo02/geostan3/AddressValidator.asmx" />

</wsdl:port>

<wsdl:port name="AddressCheckHttpGet" binding="tns:AddressCheckHttpGet">

<http:address location="http://sap-ccs-geo02/geostan3/AddressValidator.asmx" />

</wsdl:port>

<wsdl:port name="AddressCheckHttpPost" binding="tns:AddressCheckHttpPost">

<http:address location="http://sap-ccs-geo02/geostan3/AddressValidator.asmx" />

</wsdl:port>

</wsdl:service>

</wsdl:definitions>

Former Member
0 Kudos

Any one have idea how to handle this?

Edited by: Ravi on Jun 4, 2008 8:20 PM

Edited by: Ravi on Jun 12, 2008 4:21 PM

Answers (0)