cancel
Showing results for 
Search instead for 
Did you mean: 

WHAT IS THE BEST WAY TO CREATE AN XSD FILE (TO BE USED BY SOAP ADAPTER)

Former Member
0 Kudos

Dear friends

I have a simple scenario.

OUTBOUND DATA --> SOAP ADAPTER --> ( XI ) --> RFC ADAPTER --> INBOUND DATA

The XML file that I got from mapping area of IR (Design) is as follows

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

<ns0:MT_NAME_SOURCE xmlns:ns0="http://test3.com">

<FIRSTNAME>DAVE</FIRSTNAME>

<LASTNAME>SMITH</LASTNAME>

</ns0:MT_NAME_SOURCE>

If you notice, there are only 2 fields.

I need to create an XSD file and import it as an external object, which I can use for SOAP Adapter.

Which is the best way to create it.

Also, I need to know if there is any step by step of sending a message from XML SPY. I have downloaded this software, but am not able to undertand how to use this.

Hope to hear from any experts on this forum.

Thanks in advance

Ram

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

thanks to everyone who responded. I appreciate it

Former Member
0 Kudos

Hi Ram,

Just save the file as .xsd extention and then under your external definitions in your IR import the .xsd file.

Thanks,

Sidhvin

Former Member
0 Kudos

Hi,

Go to your Message type which holds that data type,

there goto XSD tab besides structure TAB..

just copy the code and save it as your XSD..

Regards,

Ramesh.

prateek
Active Contributor
0 Kudos

Y r u looking for XSD creation. As u have only 2 fields at the sender side, u should create these fields manually in XI. Now go to ID and create a Webservice in XI using Define Webservice option from Menu.

This will create the wsdl file. Use this wsdl file for posting the data.

Regards,

Prateek

prateek
Active Contributor
0 Kudos

Y r u looking for XSD creation. As u have only 2 fields at the sender side, u should create these fields manually in XI. Now go to ID and create a Webservice in XI using Define Webservice option from Menu.

This will create the wsdl file. Use this wsdl file for posting the data.

Regards,

Prateek

Former Member
0 Kudos

Hi Ram,

See the below blog..

It shows how to send SOAP message using XML Spy.

It also shows how to generate wsdl.

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

Regards,

Sumit