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.
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.