cancel
Showing results for 
Search instead for 
Did you mean: 

Using External Definitions

Former Member
0 Kudos

Hi..

How to create datatype using External definitions in Integration Repository?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

If we have the XSD or WSDL file means then we will gofor External Def creation in IR.

If we are creating the Ext Def means no need to create the DT & MT. We can directly create the MI.

Steps to create the Ext Def

Save the XSD or WSDL file on your local desktop first

1) Goto IR---SWCVNamespace-Interface Obj--Ext Def

2)Right click---Create

3) Give name and continue

4) Import the XSD or WSDL file from your Local desktop

5) Save.

Thas all

Now we cant see the structure of the imported file.

When we are developing the Mapping , then we are able to see the structure of that.

Regards

Seshagiri

Former Member
0 Kudos

Hi...

u said we can directly create message inteface. i have tried it.it is asking for message type.

Former Member
0 Kudos

Hi,

Yes it will ask the MT. then u have to take that from the created External Def.

Regards

Seshagiri

Former Member
0 Kudos

Hi Seshu,

I have selected imported XSD in Message Type.But namespace field is disabled.wht to do?

Former Member
0 Kudos

Hi Leela,

Dont create the Message type from the External Def.

Create the Ext def and use that while creating the Message Interface.

No need of DT & MT here

And also make sure that after you created Ext Def and imported the XSD file. check in Messages TAB of External Def that u have the message name or not.

Regards

Seshagiri

Regards

Seshagiri

Former Member
0 Kudos

Hi...

I have seen the message tab of XSD.it is showing the message names. while creating message interface i have selected the imported xsd file.There XSD name is coming but namespace is not showing.wht is the problem there?Will u give me ur mail id so that i will sned the screenshot of that page.

Former Member
0 Kudos

Hi,

When u select the External def in creation of MI, we can see the name of the Ext def and the namespace of Ext def.

Make sure that the namspace is present in Imported XSD file

Regards

Seshagiri

Former Member
0 Kudos

Hi..

i have seen the the namspace, it is present in Imported XSD file.

Former Member
0 Kudos

Hi,

Then Namespace should come along with the name of the External def when u create the MI.

Regards

Seshagiri

Former Member
0 Kudos

ya thats what i am saying.but namespace is not coming.where there will a problem?

Former Member
0 Kudos

Hi,

BTW are you abel to see the Namespace of XSD in the Ext def---Message TAB????

Regards

Seshagiri

Former Member
0 Kudos

No.there iss no namespace. to get the namespace there wht i have to do?

Former Member
0 Kudos

Hi,

Then the problem is there with you XSD file itself.

Validate your XSD file first. Check in Altova XML Spy tool like any other XML Editor.

Regards

Seshagiri

Former Member
0 Kudos

hi..

can you send me one valid EDI xsd file..

Former Member
0 Kudos

Hi Leela,

Check this

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

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

<wsdl:types>

<s:schema elementFormDefault="qualified" targetNamespace="http://www.3eretail.ItemClassification.com/">

<s:element name="createHierarchy">

<s:complexType>

<s:sequence>

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

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

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

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

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

</s:sequence>

</s:complexType>

</s:element>

<s:element name="createHierarchyResponse">

<s:complexType>

<s:sequence>

<s:element minOccurs="0" maxOccurs="9999" name="createHierarchyResult" type="s:string" />

</s:sequence>

</s:complexType>

</s:element>

<s:element name="string" nillable="true" type="s:string" />

</s:schema>

</wsdl:types>

<wsdl:message name="createHierarchySoapIn">

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

</wsdl:message>

<wsdl:message name="createHierarchySoapOut">

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

</wsdl:message>

<wsdl:message name="createHierarchyHttpGetIn">

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

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

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

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

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

</wsdl:message>

<wsdl:message name="createHierarchyHttpGetOut">

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

</wsdl:message>

<wsdl:message name="createHierarchyHttpPostIn">

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

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

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

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

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

</wsdl:message>

<wsdl:message name="createHierarchyHttpPostOut">

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

</wsdl:message>

<wsdl:portType name="ItemClassificationHirerachySoap">

<wsdl:operation name="createHierarchy">

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

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

</wsdl:operation>

</wsdl:portType>

<wsdl:portType name="ItemClassificationHirerachyHttpGet">

<wsdl:operation name="createHierarchy">

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

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

</wsdl:operation>

</wsdl:portType>

<wsdl:portType name="ItemClassificationHirerachyHttpPost">

<wsdl:operation name="createHierarchy">

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

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

</wsdl:operation>

</wsdl:portType>

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

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

<wsdl:operation name="createHierarchy">

<soap:operation soapAction="http://www.3eretail.ItemClassification.com/createHierarchy" 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="ItemClassificationHirerachySoap12" type="tns:ItemClassificationHirerachySoap">

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

<wsdl:operation name="createHierarchy">

<soap12:operation soapAction="http://www.3eretail.ItemClassification.com/createHierarchy" style="document" />

<wsdl:input>

<soap12:body use="literal" />

</wsdl:input>

<wsdl:output>

<soap12:body use="literal" />

</wsdl:output>

</wsdl:operation>

</wsdl:binding>

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

<http:binding verb="GET" />

<wsdl:operation name="createHierarchy">

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

<wsdl:input>

<http:urlEncoded />

</wsdl:input>

<wsdl:output>

<mime:mimeXml part="Body" />

</wsdl:output>

</wsdl:operation>

</wsdl:binding>

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

<http:binding verb="POST" />

<wsdl:operation name="createHierarchy">

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

<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="ItemClassificationHirerachy">

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

<soap:address location="http://localhost:4269/ItemClassificationHirerachy.asmx" />

</wsdl:port>

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

<soap12:address location="http://localhost:4269/ItemClassificationHirerachy.asmx" />

</wsdl:port>

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

<http:address location="http://localhost:4269/ItemClassificationHirerachy.asmx" />

</wsdl:port>

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

<http:address location="http://localhost:4269/ItemClassificationHirerachy.asmx" />

</wsdl:port>

</wsdl:service>

</wsdl:definitions>

Regards

Seshagiri

Former Member
0 Kudos

ya i have found the error.In target namespace field namespace is not there? how can we include the namespace in the XSD file.We cant edit the XSD file na...

Former Member
0 Kudos

You can execute your interface without having namespace also and you can edit your XSD file and can include the namespace also.

Former Member
0 Kudos

Hi,

Copy that Imported XSD file from the Ext Def and open it with notepad or any XML editor like Altova XML spy. And do modify it

Regards

Seshagiri

Former Member
0 Kudos

Hi..

i am attching the XSD file.Could u tell where i have to insert the namespace.

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

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified" attributeFormDefault="unqualified">

<xs:element name="Organizational_Relationships_816">

<xs:complexType>

<xs:sequence>

<xs:element name="Interchange_Control_Header_00" minOccurs="0" type="EDI_ISA_Segment_Component" />

<xs:element name="Interchange_envelope_Loop" minOccurs="0" maxOccurs="unbounded">

<xs:complexType>

<xs:sequence>

<xs:element name="Functional_Group_Header_00" minOccurs="0" type="EDI_GS_Segment_Component" />

<xs:element name="Functional_Loop" minOccurs="0" maxOccurs="unbounded">

<xs:complexType>

<xs:sequence>

<xs:element name="Transaction_Set_Header_1" minOccurs="0" type="EDI_ST_Segment_Component" />

<xs:element name="Beginning_of_Hierarchical_Transaction_2" minOccurs="0" type="EDI_BHT_Segment_Component" />

<xs:element name="Date_Time_Reference_3" minOccurs="0" type="EDI_DTM_Segment_Component" />

<xs:element name="Reference_Information_4" minOccurs="0" type="EDI_REF_Segment_Component" />

<xs:element name="Loop_5_N1" minOccurs="0" maxOccurs="unbounded">

<xs:complexType>

<xs:sequence>

<xs:element name="Party_Identification_1" minOccurs="0" type="EDI_N1_Segment_Component" />

<xs:element name="Additional_Name_Information_2" minOccurs="0" type="EDI_N2_Segment_Component" />

<xs:element name="Party_Location_3" minOccurs="0" type="EDI_N3_Segment_Component" />

<xs:element name="Geographic_Location_4" minOccurs="0" type="EDI_N4_Segment_Component" />

<xs:element name="Administrative_Communications_Contact_5" minOccurs="0" type="EDI_PER_Segment_Component" />

<xs:element name="Reference_Information_6" minOccurs="0" type="EDI_REF_Segment_Component" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="Loop_6_HL" minOccurs="0" maxOccurs="unbounded">

<xs:complexType>

<xs:sequence>

<xs:element name="Hierarchical_Level_1" minOccurs="0" type="EDI_HL_Segment_Component" />

<xs:element name="Loop_2_N1" minOccurs="0" maxOccurs="unbounded">

<xs:complexType>

<xs:sequence>

<xs:element name="Party_Identification_1" minOccurs="0" type="EDI_N1_Segment_Component" />

<xs:element name="Additional_Name_Information_2" minOccurs="0" type="EDI_N2_Segment_Component" />

<xs:element name="Party_Location_3" minOccurs="0" type="EDI_N3_Segment_Component" />

<xs:element name="Geographic_Location_4" minOccurs="0" type="EDI_N4_Segment_Component" />

<xs:element name="Administrative_Communications_Contact_5" minOccurs="0" type="EDI_PER_Segment_Component" />

<xs:element name="Reference_Information_6" minOccurs="0" type="EDI_REF_Segment_Component" />

<xs:element name="Quantity_Information_7" minOccurs="0" type="EDI_QTY_Segment_Component" />

<xs:element name="Date_Time_Reference_8" minOccurs="0" type="EDI_DTM_Segment_Component" />

<xs:element name="Industry_Code_Identification_9" minOccurs="0" type="EDI_LQ_Segment_Component" />

<xs:element name="Action_or_Status_Indicator_10" minOccurs="0" type="EDI_ASI_Segment_Component" />

</xs:sequence>

</xs:complexType>

</xs:element>

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="Transaction_Set_Trailer_7" minOccurs="0" type="EDI_SE_Segment_Component" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="Functional_Group_Trailer_00" minOccurs="0" type="EDI_GE_Segment_Component" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="Interchange_Control_Trailer_00" minOccurs="0" type="EDI_IEA_Segment_Component" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:element name="ISA">

<xs:complexType>

<xs:sequence>

<xs:element name="ISA01" minOccurs="0" type="xs:string" />

<xs:element name="ISA02" minOccurs="0" type="xs:string" />

<xs:element name="ISA03" minOccurs="0" type="xs:string" />

<xs:element name="ISA04" minOccurs="0" type="xs:string" />

<xs:element name="ISA05" minOccurs="0" type="xs:string" />

<xs:element name="ISA06" minOccurs="0" type="xs:string" />

<xs:element name="ISA07" minOccurs="0" type="xs:string" />

<xs:element name="ISA08" minOccurs="0" type="xs:string" />

<xs:element name="ISA09" minOccurs="0" type="xs:string" />

<xs:element name="ISA10" minOccurs="0" type="xs:string" />

<xs:element name="ISA11" minOccurs="0" type="xs:string" />

<xs:element name="ISA12" minOccurs="0" type="xs:string" />

<xs:element name="ISA13" minOccurs="0" type="xs:string" />

<xs:element name="ISA14" minOccurs="0" type="xs:string" />

<xs:element name="ISA15" minOccurs="0" type="xs:string" />

<xs:element name="ISA16" minOccurs="0" type="xs:string" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:complexType name="EDI_ISA_Segment_Component">

<xs:sequence>

<xs:element ref="ISA" minOccurs="0" maxOccurs="unbounded" />

</xs:sequence>

</xs:complexType>

<xs:element name="GS">

<xs:complexType>

<xs:sequence>

<xs:element name="GS01" minOccurs="0" type="xs:string" />

<xs:element name="GS02" minOccurs="0" type="xs:string" />

<xs:element name="GS03" minOccurs="0" type="xs:string" />

<xs:element name="GS04" minOccurs="0" type="xs:string" />

<xs:element name="GS05" minOccurs="0" type="xs:string" />

<xs:element name="GS06" minOccurs="0" type="xs:string" />

<xs:element name="GS07" minOccurs="0" type="xs:string" />

<xs:element name="GS08" minOccurs="0" type="xs:string" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:complexType name="EDI_GS_Segment_Component">

<xs:sequence>

<xs:element ref="GS" minOccurs="0" maxOccurs="unbounded" />

</xs:sequence>

</xs:complexType>

<xs:element name="ST">

<xs:complexType>

<xs:sequence>

<xs:element name="ST01" minOccurs="0" type="xs:string" />

<xs:element name="ST02" minOccurs="0" type="xs:string" />

<xs:element name="Implementation_Convention_Reference_03" minOccurs="0" type="xs:string" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:complexType name="EDI_ST_Segment_Component">

<xs:sequence>

<xs:element ref="ST" minOccurs="0" maxOccurs="unbounded" />

</xs:sequence>

</xs:complexType>

<xs:element name="BHT">

<xs:complexType>

<xs:sequence>

<xs:element name="BHT01" minOccurs="0" type="xs:string" />

<xs:element name="BHT02" minOccurs="0" type="xs:string" />

<xs:element name="BHT03" minOccurs="0" type="xs:string" />

<xs:element name="BHT04" minOccurs="0" type="xs:string" />

<xs:element name="BHT05" minOccurs="0" type="xs:string" />

<xs:element name="BHT06" minOccurs="0" type="xs:string" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:complexType name="EDI_BHT_Segment_Component">

<xs:sequence>

<xs:element ref="BHT" minOccurs="0" maxOccurs="unbounded" />

</xs:sequence>

</xs:complexType>

<xs:element name="DTM">

<xs:complexType>

<xs:sequence>

<xs:element name="DTM01" minOccurs="0" type="xs:string" />

<xs:element name="DTM02" minOccurs="0" type="xs:string" />

<xs:element name="DTM03" minOccurs="0" type="xs:string" />

<xs:element name="DTM04" minOccurs="0" type="xs:string" />

<xs:element name="DTM05" minOccurs="0" type="xs:string" />

<xs:element name="DTM06" minOccurs="0" type="xs:string" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:complexType name="EDI_DTM_Segment_Component">

<xs:sequence>

<xs:element ref="DTM" minOccurs="0" maxOccurs="unbounded" />

</xs:sequence>

</xs:complexType>

<xs:element name="REF">

<xs:complexType>

<xs:sequence>

<xs:element name="REF01" minOccurs="0" type="xs:string" />

<xs:element name="REF02" minOccurs="0" type="xs:string" />

<xs:element name="REF03" minOccurs="0" type="xs:string" />

<xs:element name="REF04" minOccurs="0" type="EDI_C040_Composite_Component" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:complexType name="EDI_REF_Segment_Component">

<xs:sequence>

<xs:element ref="REF" minOccurs="0" maxOccurs="unbounded" />

</xs:sequence>

</xs:complexType>

<xs:element name="N1">

<xs:complexType>

<xs:sequence>

<xs:element name="N101" minOccurs="0" type="xs:string" />

<xs:element name="N102" minOccurs="0" type="xs:string" />

<xs:element name="N103" minOccurs="0" type="xs:string" />

<xs:element name="N104" minOccurs="0" type="xs:string" />

<xs:element name="N105" minOccurs="0" type="xs:string" />

<xs:element name="N106" minOccurs="0" type="xs:string" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:complexType name="EDI_N1_Segment_Component">

<xs:sequence>

<xs:element ref="N1" minOccurs="0" maxOccurs="unbounded" />

</xs:sequence>

</xs:complexType>

<xs:element name="N2">

<xs:complexType>

<xs:sequence>

<xs:element name="N201" minOccurs="0" type="xs:string" />

<xs:element name="N202" minOccurs="0" type="xs:string" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:complexType name="EDI_N2_Segment_Component">

<xs:sequence>

<xs:element ref="N2" minOccurs="0" maxOccurs="unbounded" />

</xs:sequence>

</xs:complexType>

<xs:element name="N3">

<xs:complexType>

<xs:sequence>

<xs:element name="N301" minOccurs="0" type="xs:string" />

<xs:element name="N302" minOccurs="0" type="xs:string" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:complexType name="EDI_N3_Segment_Component">

<xs:sequence>

<xs:element ref="N3" minOccurs="0" maxOccurs="unbounded" />

</xs:sequence>

</xs:complexType>

<xs:element name="N4">

<xs:complexType>

<xs:sequence>

<xs:element name="N401" minOccurs="0" type="xs:string" />

<xs:element name="N402" minOccurs="0" type="xs:string" />

<xs:element name="N403" minOccurs="0" type="xs:string" />

<xs:element name="N404" minOccurs="0" type="xs:string" />

<xs:element name="N405" minOccurs="0" type="xs:string" />

<xs:element name="N406" minOccurs="0" type="xs:string" />

<xs:element name="N407" minOccurs="0" type="xs:string" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:complexType name="EDI_N4_Segment_Component">

<xs:sequence>

<xs:element ref="N4" minOccurs="0" maxOccurs="unbounded" />

</xs:sequence>

</xs:complexType>

<xs:element name="PER">

<xs:complexType>

<xs:sequence>

<xs:element name="PER01" minOccurs="0" type="xs:string" />

<xs:element name="PER02" minOccurs="0" type="xs:string" />

<xs:element name="PER03" minOccurs="0" type="xs:string" />

<xs:element name="PER04" minOccurs="0" type="xs:string" />

<xs:element name="PER05" minOccurs="0" type="xs:string" />

<xs:element name="PER06" minOccurs="0" type="xs:string" />

<xs:element name="PER07" minOccurs="0" type="xs:string" />

<xs:element name="PER08" minOccurs="0" type="xs:string" />

<xs:element name="PER09" minOccurs="0" type="xs:string" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:complexType name="EDI_PER_Segment_Component">

<xs:sequence>

<xs:element ref="PER" minOccurs="0" maxOccurs="unbounded" />

</xs:sequence>

</xs:complexType>

<xs:element name="HL">

<xs:complexType>

<xs:sequence>

<xs:element name="HL01" minOccurs="0" type="xs:string" />

<xs:element name="HL02" minOccurs="0" type="xs:string" />

<xs:element name="HL03" minOccurs="0" type="xs:string" />

<xs:element name="HL04" minOccurs="0" type="xs:string" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:complexType name="EDI_HL_Segment_Component">

<xs:sequence>

<xs:element ref="HL" minOccurs="0" maxOccurs="unbounded" />

</xs:sequence>

</xs:complexType>

<xs:element name="QTY">

<xs:complexType>

<xs:sequence>

<xs:element name="QTY01" minOccurs="0" type="xs:string" />

<xs:element name="QTY02" minOccurs="0" type="xs:string" />

<xs:element name="QTY03" minOccurs="0" type="EDI_C001_Composite_Component" />

<xs:element name="QTY04" minOccurs="0" type="xs:string" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:complexType name="EDI_QTY_Segment_Component">

<xs:sequence>

<xs:element ref="QTY" minOccurs="0" maxOccurs="unbounded" />

</xs:sequence>

</xs:complexType>

<xs:element name="LQ">

<xs:complexType>

<xs:sequence>

<xs:element name="LQ01" minOccurs="0" type="xs:string" />

<xs:element name="LQ02" minOccurs="0" type="xs:string" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:complexType name="EDI_LQ_Segment_Component">

<xs:sequence>

<xs:element ref="LQ" minOccurs="0" maxOccurs="unbounded" />

</xs:sequence>

</xs:complexType>

<xs:element name="ASI">

<xs:complexType>

<xs:sequence>

<xs:element name="ASI01" minOccurs="0" type="xs:string" />

<xs:element name="ASI02" minOccurs="0" type="xs:string" />

<xs:element name="ASI03" minOccurs="0" type="xs:string" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:complexType name="EDI_ASI_Segment_Component">

<xs:sequence>

<xs:element ref="ASI" minOccurs="0" maxOccurs="unbounded" />

</xs:sequence>

</xs:complexType>

<xs:element name="SE">

<xs:complexType>

<xs:sequence>

<xs:element name="SE01" minOccurs="0" type="xs:string" />

<xs:element name="SE02" minOccurs="0" type="xs:string" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:complexType name="EDI_SE_Segment_Component">

<xs:sequence>

<xs:element ref="SE" minOccurs="0" maxOccurs="unbounded" />

</xs:sequence>

</xs:complexType>

<xs:element name="GE">

<xs:complexType>

<xs:sequence>

<xs:element name="GE01" minOccurs="0" type="xs:string" />

<xs:element name="GE02" minOccurs="0" type="xs:string" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:complexType name="EDI_GE_Segment_Component">

<xs:sequence>

<xs:element ref="GE" minOccurs="0" maxOccurs="unbounded" />

</xs:sequence>

</xs:complexType>

<xs:element name="IEA">

<xs:complexType>

<xs:sequence>

<xs:element name="IEA01" minOccurs="0" type="xs:string" />

<xs:element name="IEA02" minOccurs="0" type="xs:string" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:complexType name="EDI_IEA_Segment_Component">

<xs:sequence>

<xs:element ref="IEA" minOccurs="0" maxOccurs="unbounded" />

</xs:sequence>

</xs:complexType>

<xs:element name="C040">

<xs:complexType>

<xs:sequence>

<xs:element name="C04001" minOccurs="0" type="xs:string" />

<xs:element name="C04002" minOccurs="0" type="xs:string" />

<xs:element name="C04003" minOccurs="0" type="xs:string" />

<xs:element name="C04004" minOccurs="0" type="xs:string" />

<xs:element name="C04005" minOccurs="0" type="xs:string" />

<xs:element name="C04006" minOccurs="0" type="xs:string" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:complexType name="EDI_C040_Composite_Component">

<xs:sequence>

<xs:element ref="C040" minOccurs="0" />

</xs:sequence>

</xs:complexType>

<xs:element name="C001">

<xs:complexType>

<xs:sequence>

<xs:element name="C00101" minOccurs="0" type="xs:string" />

<xs:element name="C00102" minOccurs="0" type="xs:string" />

<xs:element name="C00103" minOccurs="0" type="xs:string" />

<xs:element name="C00104" minOccurs="0" type="xs:string" />

<xs:element name="C00105" minOccurs="0" type="xs:string" />

<xs:element name="C00106" minOccurs="0" type="xs:string" />

<xs:element name="C00107" minOccurs="0" type="xs:string" />

<xs:element name="C00108" minOccurs="0" type="xs:string" />

<xs:element name="C00109" minOccurs="0" type="xs:string" />

<xs:element name="C00110" minOccurs="0" type="xs:string" />

<xs:element name="C00111" minOccurs="0" type="xs:string" />

<xs:element name="C00112" minOccurs="0" type="xs:string" />

<xs:element name="C00113" minOccurs="0" type="xs:string" />

<xs:element name="C00114" minOccurs="0" type="xs:string" />

<xs:element name="C00115" minOccurs="0" type="xs:string" />

</xs:sequence>

</xs:complexType>

</xs:element>

<xs:complexType name="EDI_C001_Composite_Component">

<xs:sequence>

<xs:element ref="C001" minOccurs="0" />

</xs:sequence>

</xs:complexType>

</xs:schema>

Former Member
0 Kudos

Hi

Thank u seshagiri. i have got the answer. namespace is the problem. i have copied wsdl file in notepad and inserted the namespace, and again imported the wsdl file instead of xsd file.then it is coming. thank u so much.

Answers (4)

Answers (4)

former_member556603
Active Contributor
0 Kudos

Hello Lellaratnam,

Hope these links are useful .

XSD Data Types vs. ABAP Data Types - Quick Reference - Part I:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/25c78f79-0801-0010-1e8d-c7f911cf...

XSD Data Types vs. ABAP Data Types - Quick Reference - Part II:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8b749279-0801-0010-6396-bbbb50f9...

http://www.w3schools.com/DTD/default.asp

http://www.xmlfiles.com/dtd/

This link contains example code

http://www.xmlfiles.com/dtd/dtd_examples.asp

Thanks,

Satya Kumar.

Reward points if it is useful..

Edited by: SATYA KUMAR AKKARABOYANA on Apr 16, 2008 11:13 AM

Former Member
0 Kudos

hi,

If you have xsd file then , Go to external definetions...and upload u r xsd to Integration Repository and use that as data type..

Former Member
0 Kudos

Hi,

External Definitions

There is a series of standard schema for describing the message structure at runtime. WSDL (Web Service Description Language), XSD (XML Schema Definition Language), or DTDs (Document Type Definitions) are often used to describe message schema. If a description of the message structure already exists in one of the above formats, you can use it in the Integration Repository by importing it as an external definition rather than re-entering it manually using the data type editor.

An external definition enables you to import a local WSDL, XSD, or DTD file to the Integration Repository and specify which parts of the schema to extract as the description for a message. You can use these extracted message schema as:

&#9679; Output or input messages in message interfaces

&#9679; Source or target structures for message mappings

• Imported Document: Your file in text format.

• &#9675; Messages: The message schema that have been extracted using the selected mode.

• &#9675; WSDL: The result of the conversion to WSDL.

• &#9675; External References: Overview of the references used in the imported document. This will show any other imported documents that have been recognized.

For example if you are working in a scenario where you need to connect to a web service, then the web service people will provide you their WSDl that you need to import in external definitions and use it in

mapping and stuff. It saves you lot of time and hard work of creating data types and message types.

Regards

Former Member
0 Kudos

Hi

Refer the discussion about real time scenario use of External defination,

Regards,

Shabari