Well, I think I figured it out. In my custom serializer, I was blindly 
passing the inScopeEncStyle to calls to marshall for my data members, and 
because that was set to Literal XML, it wouldn't work.  Hardcoding my 
serializer to use the SOAP encoding style, everything works fine.  Thanks 
anyways!

Dan


>From: "Dan Polivy" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Mixing SOAP encoding and Literal XML?
>Date: Thu, 18 Apr 2002 11:40:00 -0700
>
>Hi,
>
>I'm having no luck at all and was hoping someone here might be able to help
>me out.  Using Apache SOAP, just compiled the latest nightly build, and
>trying to call an Apache service, passing it a complex type which I would
>like to serialize using my custom serializer using the SOAP Encoding 
>scheme.
>  However, I would like the return value of this web service to be an XML
>Document (or org.w3c.dom.Element), using the Literal XML encoding scheme.
>
>I have tried making the Call on the client side use Literal XML, and adding
>my parameter using the SOAP Encoding style, but I still get a Client fault
>"Only know how to serialize org.w3c.dom.Element".  However, it works fine
>when I add a String, instead of my complex class.  I have also tried using
>the Call as a SOAP Encoding Style, and my parameter serializes properly, 
>but
>then I get a Server fault, because no serializer can be found for
>org.w3c.dom.Element!
>
>I have checked the FAQ and list archives, and only been able to find that
>what I was trying to do the first time should work!  Perhaps this isn't
>supported for complex types, though?  Is this a bug, or something that is
>not allowed in the specification, or something else altogether?  I would
>really appreciate any help that I can get!  Thank you very much.
>
>Dan
>
>
>_________________________________________________________________
>Send and receive Hotmail on your mobile device: http://mobile.msn.com
>


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

Reply via email to