Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SOAPMessage through ObjectInputStream

Status
Not open for further replies.

RogerFGay

Programmer
Jun 22, 2001
49
SE
Anybody know what the problem is with SOAPMessage? I can pass Document, String, and custom objects with

out.writeObject(),
in.readObject,

just fine. If a SOAPMessage is an XML document, it seems like it should be just as successful as a Document.

But I get serialization and eof errors when I try to do it with a SOAPMessage. I'm not using soapMsg.writeTo() and not doing the whole RPC thing at the moment. I want to be able to accept soap messages through the same process as the others -- i.e. without knowing in advance what type of object it is.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top