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

WebService : Connection Refused...!!!!

Former Member
0 Likes
3,245

Dear Experts...!!!

I'm accesing the a Webservice "ZOppurtunity_Service" from a Remote ABAP Engine.

(1). when i execute the WSDL(Ctrl F1), this is the link got processed....

"http://localhost:8000/sap/bc/srt/rfc/sap/ZOPPORTUNITY_SERVICE?sap-client=000&wsdl=1.1"

now the Wsdl file is not displayed.

then after changing the system name from "localhost" to "sys" (System name of the Abap engine).

"http://<b>sys</b>:8000/sap/bc/srt/rfc/sap/ZOPPORTUNITY_SERVICE?sap-client=000&wsdl=1.1"

and now the wsdl file is getting getting displayed.

(2.) when opening the WS home page(Ctrl + F8).. this link got processed.

http://<b>j2eeserver</b>:50100/wsnavigator/jsps/explorer.jsp?description=WebServiceZOPPORTUNITY_SERVICE&wsdl=http%3A%2F%2F<b>localhost</b>%3A8000%2Fsap%2Fbc%2Fsrt%2Frfc%2Fsap%2FZOPPORTUNITY_SERVICE%3Fsap-client%3D000%26wsdl%3D1.1&name=ZOPPORTUNITY_SERVICE

Where j2eeserver is another Remote J2EE engine and after the changing the 'localhost' to "sys" manually, it asked for the autorization

"The selected endpoint requires basic authentication. Please, enter correct username and password: "

After giving it, the wsnaviagtor of the J2eeserver dispalys the Overview of the Webservice

But after testing it..

the Error is : "<b>An error has occurred. Maybe the request is not accepted by the server:

Connection Refused :Connect</b>"

Is it so that accesing the remote engines doesn't work or is there any other config to be done for the WS to be made generic...

What is it wrong happening here.. i'm not able to sort it out..Plz help me out for deploying the WS of the Remote ABAP engine.

1 ACCEPTED SOLUTION
Read only

athavanraja
Active Contributor
0 Likes
1,256

thats because you need to use fully qualified domain name in the url (FQDN)

instead of http://sys:8000/sap/bc/srt/rfc/sap.

you need ot be using

http://sys<b>.<domain>.</b>com:8000/sap/bc/srt/rfc/sap/ZOPPORTUNITY_SERVICE

this has to be set in the profile parameter icm/host_name_full from transaction RZ10 and the server needs to be restarted

Raja

7 REPLIES 7
Read only

athavanraja
Active Contributor
0 Likes
1,257

thats because you need to use fully qualified domain name in the url (FQDN)

instead of http://sys:8000/sap/bc/srt/rfc/sap.

you need ot be using

http://sys<b>.<domain>.</b>com:8000/sap/bc/srt/rfc/sap/ZOPPORTUNITY_SERVICE

this has to be set in the profile parameter icm/host_name_full from transaction RZ10 and the server needs to be restarted

Raja

Read only

0 Likes
1,256

Thanz Raja for ur valuable input...

Plz do tell me abt setting the Profile parameter..

In the Transaction RZ10, icm/host_name_full is not found... Do i need to create it...

Plz explain....

Thanks and Regards,

Prem

Read only

0 Likes
1,256

yes you have to create it.

go to transaction RZ10 - and choose instance profile and choose extended maintenance radiobutton. and click change.

in the resulting screen click create button and from drop down choose icm/host_name_full and enter the value for that . save and activate and restart server.

Raja

Read only

0 Likes
1,256

Hi Raja,

when started creating the Host_name, in the Edit Profile the icm/host_name_full does not exist in the drop down...

I then entered the name manually and again got stuck up in Creating the Parameters.

what is the parameter name and the Value to be given...??? also what to be done to get the name from the drop down..???

Thanz and

Regards,,

Prem

Read only

0 Likes
1,256

it should be there. which version of R/3 you are on.

may be check in RZ11 whether its there.

Raja

Read only

0 Likes
1,256

may be check this weblog where i have explained with screen shots.

/people/durairaj.athavanraja/blog/2005/08/21/running-your-first-bsp-application-in-sap-netweaver-04-abap-edition--nsp

Raja

Read only

0 Likes
1,256

Thanx Raja..!!!

The inputs u gave solved our issue...

Thanx a lot...

Regards,

Prem and Vinod