MessageFactory.createMessage() change between jwsdp 1.1 and 1.2

From: Karr, David <>
Date: Thu, 2 Dec 2004 14:03:33 -0800

In JWSDP 1.1, I could call "MessageFactory.createMessage()" to create a
"hollow" SOAPMessage. In JWSDP 1.2, that method throws an unsupported
operation exception, so I have to use the "createMessage(MimeHeaders,
InputStream)" method. What's the proper way to get a "hollow"
SOAPMessage from this?

I'm guessing I at least need to add a "Content-Type" header of
"text/xml" to the MimeHeaders object. Will a null InputStream work?

David M. Karr, Technical Specialist II
TSG Data Delivery and Integration Services
Enterprise Application Integration (EAI)

Washington Mutual
1201 Third Avenue, WMT0914, Seattle, WA 98101

206.490.7289 direct | 206.909.0664 mobile
206.490.2262 fax

To unsubscribe, e-mail:
For additional commands, e-mail: