Hi,
I need to use pub.client:HTTP passing a simple URL. Fine, but also I need to authenticate myself using BASIC authenticate md5 format on HTTP Header, so I configured on “headers” (print 1).
I got this error: com.wm.app.b2b.server.ServiceException: java.net.ConnectException: Connection refused (print 2).
Can someone help me?
Thanks!
Have you tested if the target server is reachable at all (i.e by “telnet host port”)?
You can try to provide the authentication info under the auth-document.
It has three fields:
- user
- password
- method (set this one to “Basic”)
Please share the output of the response hearder/lines-field as this contains some more information about the http error code.
Regards,
Holger