The method from which the exception is actually thrown is
java.lang.ClassLoader.getBootstrapResourceClassPath()
It appears that in the path is something Java thinks is a URL like
jserver:....
I am not sure where this path is set in Oracle.
Scott Nichol
Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message -----
From: "Pospisil, Pavel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 14, 2004 7:10 AM
Subject: java.net.MalformedURLException while initialize SOAP client
> Hallo,
>
> I implemented small WS client based on SOAP 2.3.1.
> This is imported in ORACLE database (needed classes HTTPClient, jsse,
> ApacheSOAP, ... are loaded into database).
>
> Client is running (send data, receive data...), but while initialization
> (only first time) I become :
>
> java.net.MalformedURLException: unknown protocol: jserver
> at java.net.URL.<init>(URL.java)
> at java.net.URL.<init>(URL.java)
> at java.net.URL.<init>(URL.java)
> at java.lang.ClassLoader.getBootstrapResourceClassPath(ClassLoader.java)
> at java.lang.ClassLoader.getBootstrapResource(ClassLoader.java)
> at java.lang.ClassLoader.getResource(ClassLoader.java)
> at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java)
> at java.util.ResourceBundle$1.run(ResourceBundle.java)
> at java.security.AccessController.doPrivileged(AccessController.java)
> at java.util.ResourceBundle.loadBundle(ResourceBundle.java)
> at java.util.ResourceBundle.findBundle(ResourceBundle.java)
> at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java)
> at java.util.ResourceBundle.getBundle(ResourceBundle.java)
> at java.text.DateFormatSymbols.getZoneData(DateFormatSymbols.java)
> at java.text.DateFormatSymbols.cacheLookup(DateFormatSymbols.java)
> at java.text.DateFormatSymbols.initializeData(DateFormatSymbols.java)
> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java)
> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java)
> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java)
> at
> org.apache.soap.encoding.soapenc.DateSerializer.<init>(DateSerializer.java:8
> 8)
> at
> org.apache.soap.encoding.SOAPMappingRegistry.<clinit>(SOAPMappingRegistry.ja
> va:118)
> at
> gedas.DMS.AutoPlus.AutoplusServiceStub.<init>(AutoplusServiceStub.java:61)
> at gedas.DMS.AutoPlus.SQLWrap.InteresentList(SQLWrap.java:248)
>
> some snipped of code....
> public AutoplusServiceStub(ConnectionInfo connInf)
> {
>
> System.setProperty("java.protocol.handler.pkgs","HTTPClient");
> Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
>
> m_httpConnection = new TrustfulSOAPHTTPConnection();
> m_smr = new SOAPMappingRegistry(); //<-- this is line 61
>
> endpoint = connInf.getService();
>
> m_httpConnection.setProxyHost(connInf.getProxyHost());
> m_httpConnection.setProxyPort(((connInf.getProxyPort() != null) ?
> connInf.getProxyPort() : new Integer(-1)).intValue());
>
> if ((connInf.getCertFile())!= null)
> {
> m_httpConnection.setCertPath(connInf.getCertFile());
> }
>
> if ((connInf.getCertPass())!= null)
> {
> m_httpConnection.setCertPass(connInf.getCertPass());
> }
> if (connInf.getTimeOut() != null)
> {
> m_httpConnection.setTimeOut((connInf.getTimeOut()).intValue());
> }
> .......
> .......
>
> May I ask You for some help or advice ?
>
> Best regards
> Pavel Pospisil
>
>