on 04-27-2009 1:13 PM
Hi All,
I am trying to create a SOAP to File scenario .These are the following things I have done so far :
IR - 2 datatypes ( 1 for soap message and 1 for file message )
2 message types for the corresponding messages
2 Message interfaces, both are asynchronous
1 message mapping
1 interface mapping
ID- 2 business systems (1 to send soap, 1 to recieve file )
2 communiccation channel (soap sender, file receiver )
soap sender adapter parameters - Interface Name - Message interface for soap message
interface namespace - scenario namespace
Then, i generated a wsdl file to expose the outbound message interface for soap message as a web service, url for message interface : http://host:port.XISOAPAdapter/MessageServlet?:service:channel.
After generating the wsdl file, i imported it in external definition
Could anyone plz. tell me, is this the right approach to creat this scenario ? how can I test this scenario?using altova spy ?
Hi,
After generating the wsdl file, i imported it in external definition
This step is needed if you are getting the wsdl file from some other application...in such a case you develop the IR objects (MI, MM, IM) on this wsdl..
but in you case there is no need to import the XI generated wsdl into XI.....
The URL format is incorrect...to check which URL format suits you check this SAP Note:
https://websmp130.sap-ag.de/sap/support/notes/856597
rest of the development is fine:)
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
RWB--> Component Monitoring --> Integration Engine --> Test Message
Make sure that you enter all the relevant details...sender/receiver service, interface, namespace, your XI user-id and password.....
Make sure that you have SAP_XI_APPL_SERV_USER role assigned to your XI-id.....check in transaction /nSU01.
Regards,
Abhishek.
Hi,
The URL you have mentioned to genarate WSDL is not a valid one
http://host:port.XISOAPAdapter/MessageServlet?:service:channel.
Check the below valid URL
http://host:port/XISOAPAdapter/MessageServlet?channel=:service:channel.
You no need to import this to the Eexternal Definition as you already have DT,MT and MI, Any way this dosn't make any difference.
You can use SOAPGUI Tool to test:
->Create New Project -> provide WSDL you have genarated.
->Select Request and provide username and password and click the green button on top(Submit request to end URL).
Using altova spy:
Select SOAP Menu->Create New SOAP Request and provide your WSDL file and
SOAPMenu->Send Request To Server
Then you will get response..
Regards,
Prasanna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
how can I test this scenario?using altova spy ?
To send a SOAP request from the timeservice.wsdl file, so the following:
1. Make timeservice.wsdl the active file in the Main Window.
2. Select the menu option SOAP | Create new SOAP request.
3. Browse for the file timeservice.wsdl and confirm with OK.
4. In the dialog box that pops up (screenshot below), select a SOAP operation, for example, getServerTime, and click OK.
This creates a SOAP request document containing the getServerTime operation.
5. Select the menu option SOAP | Send request to server. The SOAP response document appears in the Main Window, containing the element getServerTimeResult, which displays the current server time of the Nanonull.com time service.
After generating the wsdl file, u need not import it in external definition
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
-->After generating the WSDL file Using the URL that should be imported into SOAP GUI or XML SPY not into the External definitions.
-->Save the WSDL file in your local desktop and import into your SOAP GUI or XML SPY,using that you can invoke your webservice.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
>> After generating the wsdl file, i imported it in external definition.
This is not required..Once you genarate the WSDL from PI then it will be consume by SOAP Client (Altova or XML Spy)
Open Altova tool:
Go to soap ---> Create new soparequest then select the wsdl form the local desktop then
Again Go to soap->send soap request...follow by user Id and password.
Sameer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>is this the right approach to creat this scenario ?
Yes it is right approach.
>>how can I test this scenario?using altova spy ?
You can open the WSDL file in XML spy and
in altova goto soap->crete new soparequest...browse and select the wsdl that you had saved ...then again goto soap->send soap request...
this would ask for for a userid and pwd for the 1st time ..you can give XI user id and pwd
Regards
Madan Agrawal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> After generating the wsdl file, i imported it in external definition
>
I think this step is not required.
Otherwise, Your approach seems to be ok.
How to test this scenario?
1) using tools like XML Spy or altova
2) Using SOAP Client (Search the web for SOAP Client for free downloads)
3) From the test message option of the RWB
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.