Hi,
I imported all the axis jar files into classpath and trying to create a
SOAPMessage,
SOAPConnectionFactory connectionFactory = SOAPConnectionFactory.newInstance();
SOAPConnection connection =connectionFactory.createConnection();
MessageFactory messageFactory =MessageFactory.newInstance();
SOAPMessage message =messageFactory.createMessage();
QName bodyName = new QName(SOAPConstants.URI_NS_SOAP_ENVELOPE,"general");
SOAPBody body =message.getSOAPBody();
body.addBodyElement(bodyName);
I am getting error in addBodyElement as addBodyElement(QName) is
not supported.
Does i need to add any extra SAAJ Specific jar files to my classpath
Regards,
ram
---------------------------------
Unlimited freedom, unlimited storage. Get it now