Get your CodeRanch badge!*
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
Author

MessageFactory hickup

Felix Uzoukwu
Greenhorn

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");
props.setProperty("Mars.com","fromdomain");
props.setProperty("Pluto","fromname");
try{
mFact = MessageFactory.newInstance();//after this
SOAPMessage msg = getSOAPMessage();//line it goes
}catch (Throwable th){ //into the catch block
th.getCause();
}
....
}
....
}

I will appreciate any insight
Thank you
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MessageFactory hickup
 
Similar Threads
Problem calling Axis SWA web service
Webservice Help!
Digital signature in SOAP XML
JAXM Soap client- cannot authenticate through proxy
SoapConnection timeout