Application Development 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: 

Testing a ABAP WebService Using WSnavigator of Remote J2EE Engine..!!!

Former Member
0 Kudos

Dear Experts...!!!

Good Day to all.... Here i have an RFC which is then converted into a WebService.

Using WSCONFIG i have checked the release of the WS.

But the requirement is to test the Webservice (wsdl link) thru WSNAVIGATOR by a remote J2EE Engine.

For this I went to the Webservice Homepage (Ctrl F8) and then here "http://localhost:8000/wsnavigator/............." i changed the J2eeServer's Name and Port with the Remote server's name and port no.

when the Test is performed.. it says " Connection Refused : Connect"

How to make the remote J2EE server recognize the WebService.

Plz help me...

Thanx and Regards,

Vinod.

3 REPLIES 3

athavanraja
Active Contributor
0 Kudos

go to transaction WSADMIN and go to->Administration setting

there maintain the address of the j2ee server

http://<j2eehost>.<domain.com:<port>;

save and then hit F8 to test your webservice.

Raja

0 Kudos

thanx Raja,

I have done this setting..

The J2EE server is not recognising the WS...

the Overview of the WS could be seen and in Test, the Functions r also visible but after entering the inputs and after sending "Connection is refused ".

Regards,

Vinod

0 Kudos

this could be due to no authorizaion to run webservices.

you need s_service and s_object authorization objects in your role.

its explained in this document

section 3.1 on page 7

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/92d80512-0a01-0010-32a3-cd3...

Regards

Raja