This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes MessageFactory hickup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "MessageFactory hickup" Watch "MessageFactory hickup" New topic

MessageFactory hickup

Felix Uzoukwu

Joined: Mar 20, 2007
Posts: 5
Could anybody tell me why this code is generating a SOAPException

public class SOAPStub {
private String reqAction;
SOAPMessage sMsg = null;
MessageFactory mFact = null;

public SOAPStub(){
req = new TxnReq();
props = new Properties();
props.setProperty("water", "Mars");
mFact = MessageFactory.newInstance();//after this
SOAPMessage msg = getSOAPMessage();//line it goes
}catch (Throwable th){ //into the catch block

I will appreciate any insight
Thank you
subject: MessageFactory hickup
Similar Threads
Problem calling Axis SWA web service
JAXM Soap client- cannot authenticate through proxy
SoapConnection timeout
Webservice Help!
Digital signature in SOAP XML