cancel
Showing results for 
Search instead for 
Did you mean: 

Creating webservice in XI

0 Kudos

Hi Experts,

I have created webservice using Define webservice from option Tools in Integration Directory, this kind of webservice is used as sender( webservice). is there any other way to create Webservice( to use it as Receiver Webservice) in XI. Plz help me out.

Thanks

Siva Grandhi.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi shiva,

we publish webservice from XI so that thrid party service can call XI box.

if you want receiver webservice then you need to consume webservice from other party's in to XI.

simple rule in deciding sender or receiver webservice is

1)sender webservice(sender SOAP) is when u publish webservice in XI n u r expecting others to call u.

2)Receiver webservice(receiver SOAP): u will consume webservice from others party's when u want to approach other party's which are out of XI box.

sender webservice : created by XI

receiver webservice:created by other party consumed by XI.

hope things are clear

Thanks & Regards,

Rama Krishna

0 Kudos

Hi Rama Krisna,

Thaque very much for your very clear information.

Thanks,

siva grandhi.

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Shiva,

When we are going to provide a webserive, we will generate the webservice and provide the WSDL file, as you did. This is SOAP sender Scenario.

When you want to use, SOAP as reciever, You have to consume the web service into the XI. i.e. From Some third party you have to get the WSDL, and import the WSDL using external defination. Below is the weblog, which gives the info how to consume an Webservice.

/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

http://www.saptechnical.com/Tutorials/XI/RFC2WebService/Page1.htm

Regards

Vijayanand Poreddy

Former Member
0 Kudos

Hi

in XI u can create the web servie using that option only.

after creating the wsdl file using the ID u have to import as an external definition in XI.

u can also create the web service using the RFC in the R/3 system.

To create the web service using the RFC u have to create the function module using the transaction SE37, and that function should be RFC enabled.

to make the function RFC enable go to the properties --->selce the ardio button RFC Enabled.

now go to the utilities->More utilities->create web service-->from function module

a wizard will be open to create the web service.

provide the mandatory field parametewrs like web service name , function module name and complete the wizard.

the web service will be craeted using that wizard.

now to see the web service go to the transaction wsadmin

in wsadmin go to the

SOAP Application for RFC-Compliant FMs

and the web service that u have craeted is now present in the list.

Thanks

Rinku

Former Member
0 Kudos

Hi,

Defining the Webservice in XI is to just generate the wsdl file which contains the Message Structure.

Now this wsdl fiel should have to be deploy on the Receiver system as Webservice.

In case if you have to use the external defination in XI as WSDL then there will be no need to define the Webservice in ID.

XI tools is used to just generate the wsdl file.

Thanks

Swarup

prateek
Active Contributor
0 Kudos

Logically, the webservice at receiver means that the receiver system is hosting the webservice. In this case, receiver generated the wsdl and sends it to XI. The wsdl should not be generated at XI.

In case of sender, XI hosts the webservice and always the system which holds the webservice has the wsdl

Regards,

Prateek

Former Member
0 Kudos

We will generate .wsdl and provide to the source system in case of SOAP sender.

For SOAP receiver we need to get the .wsdl file from the target system and we can't generate that in XI.