cancel
Showing results for 
Search instead for 
Did you mean: 

Difference between ExtranlDefinition and ImportedArchive

Former Member
0 Kudos

Hi All,

Could you please clear my doubt What is the Difference between External Definition and ImporedArchives in SAP XI.

Thanks in Advance,

Srini.

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hello Srinivas,

External Definition

It is just a data structure that is externally created i.e. in format of XSD. Does not contain any Logic

Imported Archive

It is a archived program that usually holds the Logic of Conversion (say .jar or .xsl) . Does not represent any Data structure.

Regards,

Ashwin M

{Reward if useful}

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.

Imported Archives:

You can also implement XSLT and Java mappings yourself and save them as archives in the Integration Repository. This enables you to reuse mapping programs that already exist. Mapping programs from imported archives are executed on the J2EE Engine of the Integration Server.

Thanks,

Satish

Jitendra_Jeswan
Contributor
0 Kudos

External Defination :

When you want to create the XML messges inside XI using some external definations like WSDL, XSD, DTD then you use External Defination. It is used only when you want to define your message in XI

Imported Archive :

You create Imported Archive when you are using some custom Java classes which you might want to call in message Mapping in User defined functions or you have created a Java Mapping, and then you import them in the form of "zip" or "jar".

This is where you put the logic, what has to be done when message arrives in XI and is more related to manipulation of message but not defining it.

Former Member
0 Kudos

Hello Srini,

An external definition enables you to import a local WSDL, XSD, or DTD file to the Integration Repository. The can mainly be used in case of;

1. Output or input messages in message interfaces

2. Source or target structures for message mappings

More at -

http://help.sap.com/saphelp_nw04/helpdata/en/26/9e97b0f525d743882936c2d6f375c7/content.htm

*****************************************************************

Regarding Imported Archive....

When we are doing JAVA , XSLT mappings we have to do import archievs

after developing the JAva mapping in NWDS and create jar file come back to IR under imported archieves we will import the jar file.

Similarly XSLT als make the zip and import under imported archieves

Also when we have any java packages ,import it under archieves and make them to use in UDF

See the below links

XSLT Mapping

/people/prasadbabu.nemalikanti3/blog/2006/03/30/xpath-functions-in-xslt-mapping

/people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt

/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping

XSLT Mapping with java enhancement

/people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners

/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i

/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii

/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=...ValidationsinSAPXI-ACaseStudy.pdf

Check this thread...

Check this thread...

see sap documentation:

http://help.sap.com/saphelp_nw04s/helpdata/en/4c/b2ad3de2d76b3be10000000a114084/frameset.htm

<b>***********Reward points,if found useful</b>

GabrielSagaya
Active Contributor
0 Kudos

External Definition(ED)

**************************

External Definitions are used when you want to import an external message structure to your namespace .

You can modify the namespace in the xsd to match it with the namespace there in your component.

External Defination are used in XI to import the any wsdl files from any remote stystem or any landscape.

Let's take an example you have webservice which is not in your landscape and you want to use that webservice in your business requirement...in such a situation you can imort that wsdl file as external defeniation in XI and you can map the reqired fields....here we are making use of webservice as external definiation which is not in ur landscape.

Hope you clear about what is the use of exeternal definition

Imported Archives

********************

You can also implement XSLT and Java mappings yourself and save them as archives in the Integration Repository. This enables you to reuse mapping programs that already exist. Mapping programs from imported archives are executed on the J2EE Engine of the Integration Server.

http://help.sap.com/saphelp_nw04/helpdata/en/4c/b2ad3de2d76b3be10000000a114084/frameset.htm

former_member859847
Active Contributor
0 Kudos

Hi,

Inorder to import any XSD defination , we go for External defination.

to import any java program as jar file, we go for Imported Archive.

still u have any clarifications required let us know.

regards

mahesh.