This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: MessageFactory hickup
 
Similar Threads
Webservice Help!
JAXM Soap client- cannot authenticate through proxy
SoapConnection timeout
Digital signature in SOAP XML
Problem calling Axis SWA web service