cancel
Showing results for 
Search instead for 
Did you mean: 

Can i use the XML file to create a external definition in IR?

Former Member
0 Kudos

Hi,experts:

i meet a problem.

It's a PROXY<=>XI<=>SOAP scenario with Qos:BE

For test purpose,i use XMLSPY to send a synchronous call to the SOAP receiver.

The receiver returns a XML file as follow:

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

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

<soap:Body>

<GetCigaXYDataForNetResponse xmlns="http://localhost/CigaTransService/">

<GetCigaXYDataForNetResult>

<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">

<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:Locale="zh-CN">

<xs:complexType>

<xs:choice maxOccurs="unbounded">

<xs:element name="Status">

<xs:complexType>

<xs:attribute name="Result" type="xs:string"/>

</xs:complexType>

</xs:element>

</xs:choice>

</xs:complexType>

</xs:element>

</xs:schema>

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

<NewDataSet xmlns="">

<Status diffgr:id="Status1" msdata:rowOrder="0" diffgr:hasChanges="inserted" Result="data has error!!!"/>

</NewDataSet>

</diffgr:diffgram>

</GetCigaXYDataForNetResult>

</GetCigaXYDataForNetResponse>

</soap:Body>

</soap:Envelope>

It seems both data type definition and transaction data exist in the XML file.

xs:schema seems the data type definition

diffgr:diffgram seems the transaction data

can i use this XML file to create a external definition in IR.Otherwise,it's difficult to define the same data type as the XML file in IR?

regards

yu ming

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

This is XMl file with the structre details as documentation purpose.

You can't use it as external defination. Either you need to create the Data types based on these docs or use the external tools to develope the XSD file and then import it as external defination

Thanks

Swarup

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

can i use this XML file to create a external definition in IR

No u can't.

1) u can create data type containing same fields.

2) u can convert XML file into XSD or into WSDL then u can import this in external defination.

any one option u can use.

Regards,

Rohit.

Reward points if helpful

Former Member
0 Kudos

Thank you,everyone:

points rewarded!

former_member240483
Contributor
0 Kudos

No u have to use XSD or WSDL.

Regards

rao

prateek
Active Contributor
0 Kudos

U cannot use this file directly.

The best and recommended way is whenever SOAP receivers are involved, ask the clients to send the wsdl. Import that wsdl under External Definition in IR and use it

Regards,

Prateek

Former Member
0 Kudos

Hi,

We need either XSD or WSDL File to create the External Definitions in IR

Regards

Seshagiri