cancel
Showing results for 
Search instead for 
Did you mean: 

Adaptive Web Services and HTTPS protocol

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

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...

Former Member
0 Kudos

Actually, this is not normal proxy, it's some 'proxy tunnel'. And we have not setup any proxy in the visual administrator.

Former Member
0 Kudos

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

Former Member
0 Kudos