Hi All,
In my requirement I have to generate
SOAP message from a
java class.
The sending portion will be handled by a framework [ our firm has a framework built over JMS], so I just need to create a message only.
I tried to use these methods
MessageFactory messageFactory = MessageFactory.newInstance();
SOAPMessage message = messageFactory.createMessage();
//Create objects for the message parts
SOAPPart soapPart = message.getSOAPPart();
in a simple program but while running it throws the following exception
xception in
thread "main" java.lang.NoClassDefFoundError: com/ibm/ws/ffdc/FFDCFilter
at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:197)
So, I am thinking I somehow am not proceeding correct.
Can anyone please provide suggestions ?
Thanks