cancel
Showing results for 
Search instead for 
Did you mean: 

Expose webservice with more than one method (operation)

jakob_steen-petersen
Active Participant
0 Kudos

Hi,

I have found out how to expose an interface as a Webservice using the Define Web Service function. But i need to create a Webservice with more than one method?

Do anyone know how to do that??

/Jakob

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi jacob,

using any 3rd party editor like XML spy u can create WSDL.

can download XML spy here...

http://www.altova.com/simpledownload1.html?gclid=CKyS25aNrI4CFRAvYAodEHQrSw

regards

Biplab

jakob_steen-petersen
Active Participant
0 Kudos

Hi,

1. I do not think using a third party editor is a solution. If SAP XI wants to be a usable product i should use only XI for this.

2. Even if i use a third party editor i then need to know how to react on the different methods in the SOAP adapter?

/Jakob

Former Member
0 Kudos

Hi Jakob,

Please have a look at this below blog's comment section(Define more than one methods in the same WSDL).

Blog : /people/susanne.rothaug/blog/2007/06/28/enterprise-services-repository-and-registry-with-sap-netweaver-process-integration-71

Even I have tried to create two methods with PI7.0, but I couldn't do it. Hope, PI7.1 will support for more than one method scenarios.

Regards

Sundari

Former Member
0 Kudos

Hi jacob,

I am a bit confused...wat u r saying....

u want to create WSDL ..is not it?

one way is go to ID(configuration)->Tools->Define webservice

This wizard enables you to create Web service documents in WSDL....

you have to give url (format is

http://url:port/XISOAPAdapter/MessageServlet?channel=:service:channel)

then have to give message interface and namespace.....

U can create WSDL in XML SPY also......

After then u can edit ur WSDL and change it as ur requirement.

Regards

biplab

Former Member
0 Kudos

Hi Biplab,

Could you please answer for the below questions?

1. When we create the wsdl file we can use only one message interface(method).Is it Right? Here method represents message Interface.

2. If we edit the wsdl file with the addition of one more method (message interface) then is it possible to access that (newly added) message interface service thro' XML Spy or any of the webservice testing tool? In this case one wsdl file contains two message interface.

Regards

Sundari

Former Member
0 Kudos

Hi Sundari

You can edit any WSDL file in XML SPY.But I think.... a WSDL can't have 2 MI's.

correct me if i am wrong.

Regards

Biplab