on 05-22-2012 3:39 PM
Hi All,
Our Java team is consuming HTTPS webservices which are published by us(SAP ABAP).
But when they call the service , they are getting exception java.net.ConnectException: Connection timed out: connect.
While they are able to consume HTTP Webservice successfully for that they are sending Usename ,Passport and Endpoints.
Below is code which they are using for HTTPS call
ZSL_E010_WS_Service service = new ZSL_E010_WS_ServiceLocator();
proxy = service.getPort(ZSL_E010_WS_PortType.class);
((ZSL_E010_WS_BindingStub) proxy)
._setProperty(((ZSL_E010_WS_BindingStub) proxy).USERNAME_PROPERTY,
sapUser);
((ZSL_E010_WS_BindingStub) proxy)._setProperty(
((ZSL_E010_WS_BindingStub) proxy).PASSWORD_PROPERTY, sapPassword);
((ZSL_E010_WS_BindingStub) proxy)
._setProperty(
((ZSL_E010_WS_BindingStub) proxy).ENDPOINT_ADDRESS_PROPERTY,
(String)e010EndPointMap.get("E010"));
Please guide us where we doing wrong.
Many Thanks,
Jitendra
Hi Jitendra,
I need one help from you. We are calling HTTP webservice from the Java which is exposed from SAP.
I am ABAP developer, and with Java guys help I created Webservice classes but they dont know the authentication process. Can you please help me by providing the logic for that?
Thanks in advance.
Regards,
Vicky
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Experts,
Please suggest.
Many Thanks,
Jitendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.