[Xml-compile] Problem with XML::Compile::WSDL11 and RPC Literal.
Mark Overmeer
mark at overmeer.net
Fri May 14 19:31:00 GMT 2010
* Matt (zeppeh at gmail.com) [100514 17:37]:
> I'm trying to get the attached script and wsdl to work and I'm not
> having any luck.
> I can't seem to get anything to show up in the soap body no matter
> what I try.
> Any help would be greatly appreciated.
Still a weak point in the implementation: RPC/type parts :-(
it works with
my ($response, $trace) = $call->(int => 12345);
but it should be
my ($response, $trace) = $call->(ReferenceID => 12345);
as you correctly expect. So for next release, I will make a code breaking
change to fix it. This will be the change in XML/Compile/SOAP.pm:
sub _writer_body($)
{ my ($self, $args) = @_;
my (@rules, @blabels);
...
elsif(my $type = $part->{type})
{ $code = $self->_writer_body_type($args, $part);
- $label = (unpack_type $type)[1];
+ $label = (unpack_type $part->{name})[1];
}
--
Regards,
MarkOv
------------------------------------------------------------------------
Mark Overmeer MSc MARKOV Solutions
Mark at Overmeer.net solutions at overmeer.net
http://Mark.Overmeer.net http://solutions.overmeer.net
More information about the Xml-compile
mailing list