Here is my current code:
import org.apache.commons.logging
import javax.xml.soap.MessageFact
import javax.xml.soap.SOAPMessage
public class test2 {
public static void main (String args[]) throws Exception {
MessageFactory mf = MessageFactory.newInstance
SOAPMessage soapmsg = mf.createMessage();
}
}
It compiles but gives this error when executed:
pwh@suse103:/hdb/javatests
Exception in thread "main" java.lang.NoClassDefFoundE
at org.apache.axis.schema.Sch
at org.apache.axis.message.SO
at org.apache.axis.message.SO
at org.apache.axis.soap.Messa
at test2.main(test2.java:7)
I guess javax/xml/rpc/encoding/Ser
Am I using the wrong packages to begin with? How does one know what packages to use, or what "technologies" to use? I am confused by JAX-RPC, Glassfish, Metro, JavaEESDK, etc.
I hope someone can help> I am spinning my wheels.
All I want to do is send a SOAP message with security elements to a web service.
I've done it with Jitterbit and gotten a usable response, but with Jitterbit everything is under the covers.
I need to know what's happening so I can adapt.
I won't say that money is no object but I sure am wasting a lot of time.
Main Topics
Browse All Topics





by: galar71Posted on 2008-01-06 at 16:27:19ID: 20596369
What sort of errors are you getting?