File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
I agree. Here's the link:
subject: MessageFactory hickup
It's not a secret anymore!