Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MessageFactory hickup

Felix Uzoukwu
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic