SOAP-Lite - soap:lite service returning complex types-interoperability problems with clients

Posted on Wed Feb 27 11:51:57 2008 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.
Write a response