I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-02-27 09:51:57-08 by ele
soap:lite service returning complex types-interoperability problems with clients
In soap::lite perl service, the get_srvorder_details method returns the following complex structure:
sub get_srvorder_details{ my @srv = ( format_general_out($$ret{err_info})); return SOAP::Data->name("result")->attr({"xmlns:tns1"=>URI}) ->type("tns1:item_get_srvorder_details")->value(\SOAP::Data->value(@srv)); } sub format_general_out{ my @gen = ( SOAP::Data->name("err_code"=>$$gn{err_code})->type("int"), SOAP::Data->name("err_text"=>$$gn{err_text})->type("string")); return SOAP::Data->name( "err_info" )->attr( {"xmlns:tns1" => URI} ) ->type( "tns1:General_out" )->value( \SOAP::Data->value(@gen)); }
I have created the wsdl file for this service using POD::WSDL tool. I use this generated file to create the necessary client/proxy in java and it works fine(the result is returned), but when i do the same in C# .NET in the response returned is null. Does anyone encountered this error before? What i am doing wrong? I have placed the necessary serializers for the methods on the server as well but nothing works.
Direct Responses: Write a response