cancel
Showing results for 
Search instead for 
Did you mean: 

Importing data types

Former Member
0 Kudos

Hi all,

I need to export data types and message interfaces from external definition files. I have XSD and WSDL for the same. But when i imported it, i cannot see any structure.

I am new to this. can any body please suggest the steps involved.

Help will be really appriciated.

Thanks and best regards,

Kulwant Singh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Wat do u mean by "I need to export data types and message interfaces from external definition files. "

U need to import the XSD and WSDL in external definition of IR.

Select the option of XSD or WSDL and select the file from the Desktop which is to be imported.

Check the XSD or WSDL strucutre before importing to IR.

R u following the same steps.

Thnx

Chirag

Former Member
0 Kudos

hi Kulwant,

ur question is confusing!!

i guess u want to know how to import the XSD and WSDL into Externel defination.

Right click on Externel defn->create new ->give the name->click on xsd if u wana import xsd file ,and click on wsdl if u wana import wsdl file.->now import the file.

use it in message mapping to check the elemnts of the xsd/wsdl

Regards

Biplab

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Kulwant,

As Chirag had mentioned you need to import the XSD or WSDL through External Defination in XI.

But in case you have exported the XSD of the existing Msg type or Data type on local PC then you can see it with using various xml tools such as xmlSpy, or even you could open it in internet browser for detail structure.

In XI if you wish to see the structure of external defination as it looks for Data type or Message type then just create one test message mapping and import the external defination in it. You could be able to see the structure in tree node format.

thanks

swarup

Edited by: Swarup Sawant on Feb 21, 2008 7:00 AM

Former Member
0 Kudos

Hello all,

Thanks for the information. I have many questions reagrding this.

1. I need to call the web services in the third party system who has provided me with various XSD and WSDl for the services (I think Biplab is aware of the scenario as he has answered many questions earlier). Now when i have imported tyhe XSd and WSDLs under external definitions, but i cannot see any data types? May be i am not aware of the exact procedure. Will i be able to see the data types structures in the XI?

2. Do i need to create wrapper data types or it will appear as normal structures??

Thanks and best regards,

Kulwant

Former Member
0 Kudos

Hi,

1. -


> you need to create the XSD or Wsdl in Message Interface and the XSD or WSDl file has to directly use it as Message Type.

2. Do i need to create wrapper data types or it will appear as normal structures??

no need of any wrapper data types.

whatever data type you will be creating is by nature in XSD format only (XML Schema defination). thus when you will import it in Mapping you will see the tree structure.

The whole scenraio will be same as per general steps, just use direcly external defination as Message Type in your scenario.

Thanks

Swarup

Former Member
0 Kudos

Hi,

U will see the WSDL or XSD structure in external definition only

U check the imported document and message tab in external definition.

.

Because of external definition strucutre u do not require to create any data type in IR.

U use the WSDL or XSD strucutre directly in Message mapping as a data type strucutre.

Thnx

Chirag

Former Member
0 Kudos

Hi,

I again have a question. If i can use the external defintions directly in the maessage mapping but what about the message interfaces? In the message interfaces, how will a define the message data types.

Let me make it more clear about my problem:

Since i need to trigger the web services in third party system, how would i create its interfaces here? Does the importing of external defintions means that i don't need to create any message interfaces, just mapping them will be sufficient? I means if i map it with another interfaces in message mapping from which i need to pass the data will be sufficient?

Or there are any other steps involved?

Thanks for your patience,

Kulwant

Former Member
0 Kudos

Hi,

Here wat u need to do:

1) Exported WSDL or XSD in external definition

2) Create message interface and Assign external definition to it as a message type. No need to create data type and message type.

3) In message mapping use the external definition structure.

4) In interface mapping use the message interface which is created with external definition as message type and use the message mapping which is created.

Thnx

Chirag

Former Member
0 Kudos

Hi,

but what about the message interfaces? In the message interfaces, how will a define the message data types.

You need to directly drag n drop the external defination in Message interface. It will be consider as message type.

AS its already mentioned no need of message data types.

Ya it will be sufficent to just map it with other interface, but for Webservice side declare the Message Interface for external defination.

'

While doing the scenario imagine or treat the external defination as Message type and do all the necessary stope that you will do for Message type.

thanks

swarup

Former Member
0 Kudos

Hello friends,

Can any one of you explain me the entire procedure for using externally exported definitions for the same scenario. Because still this scnario is not clear to me. I will appriciate your effort.

Also if you have link to any Weblog which explains the process of using exterally exported data types, that would be really help for me.

I hope that i have explained the entire details alreday but still if you need anything in specific, please let me know.

Thanks and best regards,

Kulwant

Former Member
0 Kudos

Hi,

Please see below link for the steps to use XSD or WSDL as external defination

http://help.sap.com/saphelp_nw04/helpdata/en/e9/b957912781704eba049740e866d7e4/frameset.htm

Follow the below steps,

/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi

OR

Either you are using this external defination on receiver side or sender side

See below link with 2nd Scenario HTTP to SOAP -

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c4f78d...

Thanks

swarup

Former Member
0 Kudos

Hi Kulwant,

Go through these weblogs:

/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1

/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2

I dont know what is ur sender( here it is RFC)

Hope it will clear ur doubt.

Thanks,

Maheshwari

Former Member
0 Kudos

If you are not creating DT in iR, then you have to import the srtucutre of the message in the form of XSD, WSDL or DTD.

Just validate you xds, wsdl first then, simply import it in the External Defination of the IR using category XSD for xsd, WSDL- for wsdl etc.

thanks

farooq.