Skip to Content
avatar image
Former Member

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

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"?>

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • avatar image
    Former Member
    Dec 28, 2007 at 01:50 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 28, 2007 at 03:16 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 28, 2007 at 03:22 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 28, 2007 at 09:04 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 28, 2007 at 09:23 AM

    Hi Ram,

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

    Thanks,

    Sidhvin

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 03, 2008 at 03:04 PM

    thanks to everyone who responded. I appreciate it

    Add comment
    10|10000 characters needed characters exceeded