cancel
Showing results for 
Search instead for 
Did you mean: 

Web Service Generation

Former Member
0 Kudos

Working on SOAP to Proxy scenario, and created a WSDL file based on the sender agreement,

Can anyone give idea how can I create the Web service based on the WSDL file

Thanks

RP

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

Thanks

Former Member
0 Kudos

Hi! PR,

Before discussing this first tell me on which Server you are working on ? XI or PI 7.1.

Can anyone give idea how can I create the Web service based on the WSDL file

Except generating WSDL remaining all development steps are same as creating File to Proxy Scenario.

CREATING THE WEBSERVICE IN XI :

1) In Integration Directory, go to Tools tab --> Define Web Services.

2) Now one Wizard window will opens and follow the below steps:

Here donu2019t go for the u2018 Proposed URLu2019, instead specify the URL as::

[http://<host>:<j2ee-port>/XISOAPAdapter/MessageServlet?channel=:<service>:<channel>]

If there is party then ::

[http://host:port/XISOAPAdapter/MessageServlet?channel=<party>:<service>:<channel>.]

3) Specify the Source Messageu2019s Message Interface.and remaining other input parameters.

4) Specify the Sender Business Serviceu2019s details:

5) Here, Cross check the details displayed and then click on u2018Finishu2019 button to create the Web Service

document(WSDL)

6) Now Save the WSDL code to the local system. At the bottom u ill get URL based on the above input

URl:

Note: Here in XI there is no XML Testing tool or SOAP client tool to test SOAP messages. That is why most of the people prefer either ALTOVA XML SPY Tool or SOAP CLIENT TOOL or INFO PATH.

*If your working on PI 7.1 means::*

1) Simply after creating Sender Agreement go to options above to that sender agreement instead of tools menu... and there you can observe 2 options at the bottom side.

a) PUBLISH in SR

b) Generate WSDL.

2) Once after activating your ID componenets just Press or go for option Publish in SR. Then automatically it will generate WSDL and publish that WSDL in the SERVICE REGISTRY. which is latest concept in PI 7.1.

3) Now by entering authentification details you can able to enter into service registry.

There are 4 tabs::

a) Service definitions

b) Publish

c) classifications

d) Manage.

Go for Service definitions::

4) Enter your sender SOAP interface and press GO or enter.

5) Select your interface and then at the bottom u can observe again 4 tabs:

a) General b) End Points c) classifications d) System Details.

6) In the general you can able to see your WSDL URL by again entering Authentification details.

7) Now Click End Points>Test Button>Enter Authentification details-->Seelct your Interface

_*Note:: Now you can test your scenario in this WEB SERVICE NAVIGATOR.*_

😎 There you can enter you can pass your Input data parameters in your SOAP interface and execute or test your scenario here itself without any using of external tool like Altova XML or SOAP client tool.

I hope the above information will give you a detailed information in generating and testing webservice right.

Regards::

Amar Srinivas Eli

Edited by: Amar Srinivas Eli on Apr 2, 2009 1:38 PM

former_member307485
Active Participant
0 Kudos

Hi,

go to tools in ID and click define webservices

It will show a window where u have to give interface name and name space and u have to provide soap url their

http://<port>/XISOAPAdapter/MessageServlet?channel=:service:channel

then a webservice is created....

Also check this link:

How to create a webservice using a WSDL document

http://help.sap.com/saphelp_nwpi71/helpdata/en/46/7f2fef88190ad3e10000000a11466f/frameset.htm

Regards.,

Divya

Former Member
0 Kudos

Have generated the WSDL file as you are receiving the request to XI if not generate the WSDL from ID and provide the same to consumer application which will send a request

if you like to test the generated WSDL then you can do the same using XML SPY or SOAP UI

Rajesh

former_member200962
Active Contributor
0 Kudos

Hi,

Can anyone give idea how can I create the Web service based on the WSDL file

the wsdl file that you have created itself is the web-service so no need of creating anyother file.

Since yours is a SOAP --> Proxy... give this WSDL file to the sender application development team and ask them to use it to send the request to XI

If you open the WSDL file you will find the target location (pointing to your XI server...MI, business service etc)

Regards,

Abhishek.

Former Member
0 Kudos

Hi,

Working on SOAP to Proxy scenario, and created a WSDL file based on the sender agreement, Can anyone give idea how can I create the Web service based on the WSDL file - Since you have already defined your service as msg interface in IR and created a sender agreement for it in ID and have its WSDL, it means you have already exposed your service on XI system which the source applications can consume to send a msg to your XI system using your WSDL...........so now you just need to give this WSDL to target applications and ask them to consume it in their applications.

Regards,

Rajeev Gupta

Shabarish_Nair
Active Contributor
0 Kudos

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

this blog actually shows how you can implement a simple webservice in NWDS