java.net.MalformedURLException while initialize SOAP client

"Pospisil, Pavel" <[email protected]>
Newsgroups gmane.text.xml.soap.user
Message-ID <169AEE79032EEE4E8D893D2E6D72E876016A4167@CZGDASMBX002>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.