Hi guys,
I don't want to offend anybody, but is this a stupid question or a hard
one? I didn't receive any replies and I must say I googled a few hours
searching for an answer, so it might be a hard question (?).
Best regards,
George.
George Mardale wrote:
Hi everybody,
I use axis1.3 and JDK1.5.0 to develop an applet that calls a
webservice (the webservice is very simple, it calculates the sum of 2
integers and returns it to the client) and handles its response. The
applet and all required jars are signed, they are downloaded on the
client side without problems.
When the applet invokes the webservice, using the following method call:
Integer ret = (Integer) call.invoke( new Object[] { i1, i2 } );
the following log messages appear in the browser's java console:
security: Loading certificates from Deployment session certificate
store
security: Loaded certificates from Deployment session certificate
store
security: Loading certificates from Internet Explorer
TrustedPublisher certificate store
security: Loaded certificates from Internet Explorer
TrustedPublisher certificate store
security: Checking if certificate is in Deployment permanent
certificate store
network: Connecting socket://www.delsyne.ro:80 with proxy=DIRECT
(-----> this connection causes me problems)
network: Connecting
http://www.delsyne.ro/evsMonitoring/intBeanInfo.class with proxy=HTTP
@ delsyne.ro/82.79.170.47:3128
network: Connecting
http://www.delsyne.ro/evsMonitoring/intBeanInfo.class with cookie
"Bugzilla_login=2; Bugzilla_logincookie=2; DEFAULTFORMAT=specific"
The problem with the "socket://" call is that in some environments
users are behind a proxy, which only accepts "http://" requests. Thus,
all calls to "socket://... with proxy=..." fail with the message:
"Can't connect to SOCKS proxy. Connection refused", because their
proxy does not accept socket requests.
Is there a way to force axis not to make "socket://" requests?
Normally, I would have expected axis to use only http/https, but
seeing socket protocol in the console puzzles me a little bit... Since
"socket://" appears only when invoke method is call, it's reasonable
enough to think that AXIS generates this "socket://" request.
Is there another solution for this problem? Clearly, I'm missing
someting in here...
Thank you for your time,
George.