on 02-01-2008 11:49 AM
Can anyone please help me with soap to file scenario step by step.The other blogs don't start from the beginning.
I have followed the steps as suggested by all you guys.
After creating the WSDL, how do i import it into the IR?
In case of sender and receiver Communication channels, what do i put for sender and reciver source and target directories?
And i do not have XML Spy, what can i do for that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After creating the WSDL, how do i import it into the IR?
A) Go to IR, Integration objects->external definitoin select WSDl file from ur desktop and file type as WSDl.
In case of sender and receiver Communication channels, what do i put for sender and receiver source and target directories?
A) If u have a file adapter then u need to put either file on application server of XI or u can use FTP server and create ur folder and put the file on that directory.
SOAP adapter u just refer the below link for configuration or refer the below PDF how to use SOAP adapter which is given to u in my previous thread.
http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm
And i do not have XML Spy, what can i do for that?
A) I said u try to search on google download it and use the 30 day trial version or I have given u the Styus studio link for down load u can try that also.
Thnx
Chirag
Reward points to helpful answers.
hi guys
Thanks to all of you for your replies. I'm much more clear abt the scenario.
Can anyone please tell me more about this XML Spy software, how it works, and where can i download it from?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Its is a software which is used to check,create,convert the different formats to some different formats.
It is a client based appication which is used to create the strucutre like XML,XSD,WSDl etc. to check the strucutre whether it is correct or not, used for mapping between source and target. to check the WSDL and test whether its proper or not.
I think if u can search on google then 30 days trial version is available u can also try to use stylus studio for the same.
The steps to convert EDI to XML / XSD can be found at the following link:
http://www.stylusstudio.com/edifact_to_xml.html
Stylus studio download link: http://www.stylusstudio.com/xml_download.html
Thnx
Chirag
Hi,
As I said that tool is used for the above reasons. When u generate the WSDL through ID u need to check whether that WSDL is correct or not through this tool and then only u can use that WSDL if u do not check then sometime because of incorrect WSDL u can not find the exact cause of error.
Hence it always better practice to check the WSDl using all the tools.
Thnx
Chirag
Hi anupma
SENDER SOAP ADAPTER: The sender SOAP adapter is basically used to send content from remote clients or Web service servers to the XI.
To do the end to end scenario let us consider a simple scenario
in IR:
1. source data type
2.target data type
3.MT for Both
4.Message interface for both
5.message mapping
6.interface mapping
in ID:
1. create business scenario
2. create sender and receiver service/system
3.create sender communication channel as SOAP
4. create receiver communication chaneel as file
5.Sender agreement
6.receiver agreement
7.interface determination
8.receiver determination.
Important Step in ID:
Some Important parameters in SOAP adapter
Default Interface Namespace: This will be our interface namespace in which we have design all the Integration Repository objects.
Default Interface Name: This will be the outbound Interface name.
Quality of Service: Select the Exactly once in case of asynchronous. . Select Best Effort in case of synchronous.
To check the end to end scenario we can use the XML SPY tool to send SOAP request.
While using the XML SPY to send the request you have to provide the WSDL (Web Services Description Language) file.
If we dont have any web service we can create the WSDL file and provide the WSDL file to the web service developer to create the web service. The WSDL file can be created in the Integration Directory.
Steps to create the WSDL in the Integration Directory:
1. Go to Tools  DefineWebService .
2.A wizard will be open and click on continue
3.A new window will be opened
Specify the URL of the web service and click on continue
If SOAP adapter channel belongs to service with party the address is as follows.
http://<host>:<j2eeport>/XISOAPAdapter/MessageServlet?channel=<party>:<service>:<channel>;
If SOAP adapter channel belongs to service without party the address is as follows
http://<host>:<j2ee-port>/XISOAPAdapter/MessageServlet?channel=:<service>:<channel>;
4. Click on continue a new window will be open, give the message interface name (outbound) and continue.
5.Give service name, Interface name, Interface Namespace and click on continue
6.and click on finish to create the Web Service Document
7.A WSDL file will be created
8.you can also save the WSDL file created, to save the WSDL file click on the save button
9.A new pop up will be opened, specify the location where you want to save the WSDL file.
The WSDL file created in the Integration Directory can be provided to the web service developer to create the web service
For testing our end to end scenario using this WSDL created, we can use the XML SPY to send request to the web service
Using XML SPY
Steps to make a request using the XML SPY:
1. Open the XML SPY, in the menu go to SOAP  Create new SOAP request
2.it will open a new window you will provide the path wsdl file that you have recently save .
3.Click on OK button a new window will be opened which shows the SOAP request
4.In the menu choose SOAP  Send request to server
5.Asynchronous Request: If your request is successful you will receive a SOAP response which will be empty response in an asynchronous request .
hope this will help you out...if yoiu got nay error then reply me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi:
IR
---
1)define Data type for sender and receiver system, later Message Type, later Message Interface.
2) Define you mapping and Interface mapping.
3)active your changes
ID
---
1)Define Serder Comunication channel type SOAP.
in DEFAULT XI PARAMETER you must put Message interface and Namespace of serder structure defined in IR
2) Define Receiver Communication channel.
3)define Receiver Determination
3)define Interface Determination
4)Define Sender agreement
5) Define Receiver Agreemen.
6)Active your changes.
DEFINE WEB SERVICE:
7)go to tool>enviroment>define Web services and put this string
http://<Host>:<Port>/XISOAPAdapter/MessageServlet?channel=:<Bussines_System>:<Communication Channel>.
Example: http://srv-xi01-adm:50000/XISOAPAdapter/MessageServlet?channel=:SCR_D:scr_d_soap_customer_sender
8)next step select MI of list
9)en next step you must define your sender BS and Message Interface.
10) Save Web service.
Test ur service with for example XML-Spy
Steps to make a request using the XML SPY:
1. Open the XML SPY, in the menu go to SOAP  Create new SOAP request
2.it will open a new window you will provide the path wsdl file that you have recently save .
3.Click on OK button a new window will be opened which shows the SOAP request
4.In the menu choose SOAP  Send request to server
5.Asynchronous Request: If your request is successful you will receive a SOAP response which will be empty response in an asynchronous request .
to configure file receiver adapter take in mind these blogs
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
Thats all!!
Thanks
Rodrigo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
send me your email address. i will send you a word step by step
Tks
Rodrigo
**********
Please read the Forum's Rules of Engagement,
i.e.,
[/thread/117188 [original link is broken];
and refrain from using email correspondence. The main objective of the Forums is to share knowledge.
SDN PI/XI Forum Moderator
**********
Edited by: Kenny Scott on Feb 1, 2008 3:49 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anupama,
your looking for soap to file scenario i.e SYNC to ASYNC communication.
for this scenario, we need to BPM.
please let us know, my understanding correct or not.
regards
mahesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
U need to do the following steps:
1) Create an WSDl in ID for SOAP scenarios if u have WSDL provided with u then no need to generate the WSDL.
2) Check the generated WSDL using XML-SPY.
3) import the WSDl in IR in external definition.
4) Configure the SOAP adapters.
How to use SOAP adapter:
For the file
1) U need to first see in which format u need to generate the file in CSC,fixed length or any other format accordingly u need to write the FCC in file adapters.
Refer following:
FCC
Ref:
Sender -
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
Key value:
/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter -
TAB delimited
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
NAB the TAB (File Adapter)
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
Receiver FCC no need of Endseparator
/people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts
Receiver-
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
Thnx
Chirag
Hi,
Here for SOAP to File you could use adapter modules in File adapter to bridge Sync-Async scenario.
you need to use below modules
Refer below links
/people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii
To configure File as receiver consider the below blogs
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
Take a look at this thread.
I have listed the steps for the same.
Let me know if you need further info,
AND
For SOAP see below links
/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
Some more blogs...:-)
for file adapter refer below links
File Receiver with Content Conversion
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
Configuring the Receiver File/FTP Adapter
http://help.sap.com/saphelp_nw04/helpdata/en/95/bb623c6369f454e10000000a114084/frameset.htm
Please see the below links for file content conversion..
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter - FCC
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter - FCC
File Content Conversion for Unequal Number of Columns
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns - FCC
Content Conversion (Pattern/Random content in input file)
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file - FCC
/people/harrison.holland5/blog/2006/12/20/xi-configuration-for-mdm-integration--sample-scenario - FCC - MDM
XI in the role of a FTP
/people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp - FCC
and
for SOAP adapter
An Overview of SOAP
/people/padmankumar.sahoo/blog/2005/02/15/an-overview-of-soap
Thanks
Swarup
Edited by: Swarup Sawant on Feb 1, 2008 1:44 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.