You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Scott Merritt <SM...@abilizer.com> on 2001/09/18 02:37:22 UTC
Does SOAP require J2EE? (Not finding javax.net.SocketFactory)
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)
Re: Does SOAP require J2EE? (Not finding javax.net.SocketFactory)
Posted by Pae Choi <pa...@earthlink.net>.
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)
Re: Does SOAP require J2EE? (Not finding javax.net.SocketFactory)
Posted by Victor Hadianto <vi...@nuix.com.au>.
> 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
You'd better off downloading wstk toolkit from alphawork website. That
contains a lot of example and third party library required. The SocketFactory
class is bundled with ibmjsse.jar file
Regards,
Victor
Re: Does SOAP require J2EE? (Not finding javax.net.SocketFactory)
Posted by Pae Choi <pa...@earthlink.net>.
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)
Re: Does SOAP require J2EE? (Not finding javax.net.SocketFactory)
Posted by Victor Hadianto <vi...@nuix.com.au>.
> 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
You'd better off downloading wstk toolkit from alphawork website. That
contains a lot of example and third party library required. The SocketFactory
class is bundled with ibmjsse.jar file
Regards,
Victor