Aarrrr........
What does the "java.net.SocketFactory" has to do with SOAP and J2EE?

Pae

> I'm using the UDDI4J library (IBM's UDDI API) and when I hit its
> UDDIProxy.get_authToken() method I get the exception (pasted below) that it
> can't find javax.net.SocketFactory after it gets down into the Apache SOAP
> packages.  Does this mean that SOAP requires J2EE to be installed?  I didn't
> see that in the installation directions.  I could do searches with the
> UDDI4J but as soon as I try to get an auth token, I get the below exception.
> I'm using SOAP 2.0 I think...  (looked in the JAR, didn't see any
> version.txt)
> 
> java.lang.NoClassDefFoundError: javax/net/SocketFactory
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:120)
>         at
> org.apache.soap.util.net.HTTPUtils.buildSocket(HTTPUtils.java:112)
>         at org.apache.soap.util.net.HTTPUtils.post(HTTPUtils.java:165)
>         at
> org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.ja
> va:208)
>         at org.apache.soap.messaging.Message.send(Message.java:120)
>         at com.ibm.uddi.client.UDDIProxy.send(UDDIProxy.java:1217)
>         at com.ibm.uddi.client.UDDIProxy.send(UDDIProxy.java:1187)
>         at com.ibm.uddi.client.UDDIProxy.get_authToken(UDDIProxy.java:907)
>         at
> com.abilizer.client.webservices.PublishPanel.buildTree(PublishPanel.java:242
> )
>         at
> com.abilizer.client.webservices.PublishPanel.paint(PublishPanel.java:221)
>         at javax.swing.JComponent.paintChildren(JComponent.java:523)
>         at javax.swing.JComponent.paint(JComponent.java:748)
>         at javax.swing.JComponent.paintChildren(JComponent.java:523)
>         at javax.swing.JComponent.paint(JComponent.java:748)

Reply via email to