cancel
Showing results for 
Search instead for 
Did you mean: 

Connection refused While Calling a Web Service from WebDynpro Application.

Former Member
0 Kudos

Hi all,

I've created a Webdynpro application by importing a WSDL file which is created from a

Web Service from XI.

While I run this Application, and while it tries to connect to XI, I am getting following

error.

<b>Service call exception; nested exception is: java.net.ConnectException: Connection

refused</b>

Can Someone please help me out on this issue?

Thanks in advance,

Tejas.

Accepted Solutions (0)

Answers (1)

Answers (1)

stefan_grube
Active Contributor
0 Kudos

I think you have not given user and password in your web dynpro.

But it would help, if you could give a more detailed error description.

Former Member
0 Kudos

Hi stefen,

I have given the user name and password in component's method executeRequest_MI_FILE_MI_FILE...

as follows :

wdContext.currentRequest_MI_FILE_MI_FILEElement().modelObject()._setUser("username");

wdContext.currentRequest_MI_FILE_MI_FILEElement().modelObject()._setPassword("password");

And the error that i get is just that i posted...

nothing else is there in the error description..

it just says that :

<b>Service call exception; nested exception is: java.net.ConnectException: Connection refused</b>

Any hint?

Former Member
0 Kudos

Hello,

Did you resolve this issue as I am facing the same request?

Any help would be highly appreciated

Nicolas

Former Member
0 Kudos

Hi Tejas,

Check if the HTTP service is active or not, if not first activate it (use transaction SMICM).

Regards

Ramesh