From: "NAKAMURA, Hiroshi" Date: 2004-04-09T13:34:06+09:00 Subject: Re: Send XML Document over SOAP Hi, > From: "Scott Rubin" > Sent: Friday, April 09, 2004 5:05 AM > While I wait for SOAP/SSL to be implemented I have another problem. I Same man responding. :-) > The best I've gotten it to do is have the response be a > SOAP::Mapping:Object. This kind of works, but it doesn't give me access > to attributes, multiple elements of the same name, or the type of the > root element in the xml document. > Let me re-phrase the question again, to be sure. I want to do the > following. First, connect to a webservice using soap4r > SOAP::RPC::Driver. Then call a function and recieve a response. I want > that response to be, or be turned into, something I can pass to rexml to > be parsed. Something like a Document object or a string of the xml > document. If I understand the problem correctly, your client wants to call the service with "rpc/encoded" and want to get response with "document/literal" or "rpc/literal" right? Current soap4r rpc driver implementation can handle rpc/encoded, rpc/literal, document/literal, but has some restrictions. * call and response must be the same mode. * literal XML cannot have CDATA, PI, etc. etc. Can I see the call and response sample XML, could be privately? I might be able to find a workaround. If not, I'll show you examples for you to find one. Regards, // NaHi