[jboss-dev-forums] [JBoss ESB Development] - Re: Conversion of org.jboss.soa.esb.message.Message to SOAPM

beve do-not-reply at jboss.com
Thu Nov 12 03:09:33 EST 2009


Hi, 

you could use http://java.sun.com/javaee/5/docs/api/javax/xml/soap/MessageFactory.html. Something like this might work:


  | ByteArrayInputStream inputStream = new ByteArrayInputStream(soapStr.getBytes());
  | SOAPMessage soap = MessageFactory.newInstance().createMessage(null, inputStream);
  | 

Regards,

/Daniel

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265174#4265174

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265174



More information about the jboss-dev-forums mailing list