on 10-18-2007 1:07 PM
Hello,
We have a webdynpro application using adaptive webservices to consume a web service provided by external apache tomcat server.
Using http protocol, everything works fine. But when we want to setup the destination using https protocol (e.g. https://tomcat.server:7443/app/inspection.wsil), we got
following webdynpro exception:
[code]
java.io.IOException: Unable to open connection to proxy "tomcat.server:7443. opening proxy tunnel [failed][Socket output stream shutdown by peer.].
at at com.tssap.dtr.client.lib.protocol.Connection.openSocket(Connection.java:2117)
at at com.tssap.dtr.client.lib.protocol.Connection.open(Connection.java:1380)
at at com.tssap.dtr.client.lib.protocol.Connection.sendInternal(Connection.java:1534)
at at com.tssap.dtr.client.lib.protocol.Connection.send(Connection.java:1427)
at at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
... 50 more
[/code]
Debug messages in defaulttrace.trc just before the exception (location com.tssap.dtr.client.lib.protocol.Connection):
[code]
connection created [url=]#1#https://tomcat.server:7443/app/inspection.wsil/ SSL handshake [succeeded][time=0ms] CONNECT tomcat.server:7443 HTTP/1.1 Host: #2#tomcat.server#:7443
Content-Length: 0
User-Agent: SAP HTTP CLIENT/6.40
Cookie: $Version=1;MYSAPSSO2=...
[/code]
It seems that it wants to open some proxy tunnel connection, but we are not using any proxy server in the communication.
Do you see any solutions?
Thanks,
Samuel
Now I discovered, that if I go in Visual Administrator into Server > Services > Web Services Container > Runtime > Settings and set the HTTP proxy, everything works. But I really don't want to be dependent on some http proxy inside our intranet, the direct connection should work...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually, this is not normal proxy, it's some 'proxy tunnel'. And we have not setup any proxy in the visual administrator.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Samuel,
I guess its using proxy to access the tomcat server.Please add your
tomcat server in the exclude list of WS Global setting in the Netweaver administrator if you dont want to use proxy.It will work fine.
Thanks and Regards
Ashis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try this.. i haven't worked with https...
http://help.sap.com/saphelp_erp2005/helpdata/en/a0/a5d13f83a14d21e10000000a1550b0/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.