Thanks Scott, that helped :-)

Now I get the SOAPException below if I try to use SSL. (The Web Services is running 
under Bea Weblogic 6.1 and SSL is up and running there...)

[SOAPException: 
  faultCode=SOAP-ENV:Client; 
  msg=Error opening socket: null; 
  targetException=java.lang.IllegalArgumentException: Error opening socket: null]

  at org.apache.soap.transport.http.SOAPHTTPConnection.send
  at org.apache.soap.rpc.Call.invoke
  at...

-> Is the problem on the client or on the server side?
-> Does the SSL connection go through the browser?

I already checked the following documentation:
http://xml.apache.org/soap/docs/install/FAQ_Tomcat_SOAP_SSL.html
http://xml.apache.org/soap/docs/trouble/index.html

I'm thankful for any hint ;-)
Ted


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 03, 2001 3:01 PM
To: [EMAIL PROTECTED]
Subject: Re: Security problem with SOAP Java applet


Are you using Apache SOAP 2.2?  This is an issue that I believe was fixed in that 
version.  If you are using 2.2, perhaps it is fixed in the current daily build.

Scott

----- Original Message -----
From: "Teodoro Megliola" <[EMAIL PROTECTED]>
To: "soap-dev" <[EMAIL PROTECTED]>
Sent: Monday, December 03, 2001 3:05 AM
Subject: Security problem with SOAP Java applet


> Hello there
>
> I wrote a simple and straightforward SOAP client to access an also simple and 
>straightforward service.
>
> When I deployed the client as a Java applet (I know that this implies
downloading the ".jar" files as well, but let's skip this for a moment), I
ran into the following exception:
>
>
com.ms.security.SecurityExceptionEx[org/apache/soap/util/mime/MimeUtils.getU
niqueValue]:
>    Unable to access system property: user.name
>
> I'm aware that Java applets are not allowed to access this specific system
property, so I have 2 question:
>
>  - Why do the SOAP classes actually need this system property at all?
>  - Any workaround to handle this?
>
> Thanks
> Ted

Reply via email to