in reply to SOAP::Lite misbehavior or bug?

It's possible to override most of SOAP::Lite's element generation, but it would be helpful to know what the WSDL is so we can find out what's wrong and improve it.

Replies are listed 'Best First'.
Re^2: SOAP::Lite misbehavior or bug?
by McMahon (Chaplain) on Jun 08, 2006 at 19:43 UTC
    The WSDL itself is gigantic, but the appropriate part is
    <simpleType name="ConfirmUnsubEnum"> &#8722; <restriction base="xsd:string"> <enumeration value="0"/> <enumeration value="1"/> <enumeration value="2"/> </restriction> </simpleType>
      Well, I can offer a suggestion for manually encoding your element, which ignores both the WSDL and the broken SOAP::Lite serializer:
      my $confirm = SOAP::Data->new; $confirm->name("{http://the.target.namespace/here}ConfirmUnsubscribes" +); $confirm->type("{http://the.schema.namespace/here}ConfirmUnsubEnum");