From: "NAKAMURA, Hiroshi" Date: 2006-09-20T23:06:52+09:00 Subject: Re: Problem with generated soap requests using the WSDLDriverFactory? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, David Sledge wrote: > When using the SOAP::WSDLDriverFactory to talk to webservices the form > tag of some elements is not honored. If you look at the wsdl below you > will see that the schemas 'elementFormDefault="qualified"' but the > complexType sequence elements have a 'form="unqualified"' tag. The > generated soap request is not correct. It adds the namespace for the > sequence elements of the complexType anyway. This also happens with the > classes generated using the WSDL2Ruby class to generate classdef's. I > was able to get around it by generating a driver with WSDL2Ruby and > setting the flag on the in parameters to false and then modifying the > classdef generated file for the complexType to have nil namespaces in > the @@schema_element. Also it seems wrong for the response that I do not > have to set the flag on the out parameters of the generated driver class > to false or change the @@schema_element in the classdef generated file > and it still properly handlers the response xml that does not have the > namespace on its complex type sequence elements. You are right. I filed this as a ticket: http://dev.ctor.org/soap4r/ticket/260 . I'll look into this. Regards, // NaHi -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (Cygwin) iQEVAwUBRRFK1R9L2jg5EEGlAQKlYQgAlHKbsQOVymA0DLZb2QBwLbvaenM8YuyC PqT+8S+rSpxtEA6P1GUJOiGGwdtyzGZ06i5CXsygFZhXLeuQgWFfm0OG7PNl2b8K 1WBTATJrSs2FlKOGygyyFJGiJPLJoqgr6qg/7KVv0BCgB4yJnNWm+C2ZoKmrQPlE vgkIDsZUWm9Q3CZPqpe7AFfS2HuabvyAWgblhe7ecuOZdSWbvp9mMKnk/TWPiM3p poRUpdIY1b3w+ykkpPsslfsFMOCbmms/RqwNuWmmThhmDPzHbPGVNOqIdbrxIPE1 hF94BzzmrQZ00/pJCPBrvV/3AvcdOWrNDLJK+FsESVkk/D07+pZt6A== =Z53/ -----END PGP SIGNATURE-----