Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Transaction code to create virtual interface.

Former Member
0 Likes
2,387

I want to create a web service from a RFC. For that first, virtual interface needs to be created which will be linked to the RFC. Can u please tell me what is the transaction code to create a virtual interface.

5 REPLIES 5
Read only

Former Member
0 Likes
1,329

hi,

Using SE37 the function must be 'RFC Enabled'. Then select the menu 'Utilities -> More Utilities -> Create Web Service'. Name the virtual interface, select the function module as the endpoint. The web service must still be enabled in some way through transaction SICF.

You can test the web service using tcode WSADMIN.

regs,

jaga

Read only

athavanraja
Active Contributor
1,329

Welcome to SDN.

you can follow these steps.

1. se80

2. click on edit object and in the resulting popup box select the tabstrip "Enterprise Services"

3. Now choose the radiobutton virtual interace and click create.

enter the deatils and click create again.

Regards

Raja

Read only

0 Likes
1,329

for more details check out this weblog.

/people/thomas.jung3/blog/2004/11/15/bsp-150-a-developer146s-journal-part-xiii-developing-abap-webservices

particulary read the subheading <b>"WebServices in 640"</b>

Regards

Raja

Message was edited by: Durairaj Athavan Raja

Read only

0 Likes
1,329

Thankx for ur reply.

Now I have created the Web service. To do this I have done the followings-

1. created one RFC enabled Function Module.

2. Created one virtual interface

3. Created Web service defination.

4. Released Web service from the wsconfig transaction.

Then from The transaction wsadmin I have opened the browser by clicking Web Service > Web Service Homepage (from menu)

After logging in it , shows the web service and RFC with in it. Now after clicking the Test link from the browser it asks for the parameter of the RFC. But After populating the parameters and clicking send button. it gives NullpointerException.

exact err message is --

An error has occurred. Maybe the request is not accepted by the server:

java.lang.NullPointerException

Read only

0 Likes
1,329

hi soumen,

I am not sure about the exception, i have not implemented this.

regards,

jaga