in reply to SOAP::Transport::HTTP::Daemon and XML
Request
Copy the real service's WSDL description, then serve it from http://fakeserver/service?WDSL. Then you can use SOAP::WSDL to make the request. Because it gets the same WSDL from both services, it will send the same request to both.
Response
validTypes and statistics should probably be returned as array refs, rather than hash refs.The main problem seems to be that you're not returning the node name info with your data, so SOAP::Lite is using a gensym value.
I can't remember exactly the incantation (I mainly deal with .NET services), but try:
return bless { info => $serverinfo }, 'getServerInfoResponse';
-David
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: SOAP::Transport::HTTP::Daemon and XML
by rppowell (Novice) on Nov 22, 2007 at 03:43 UTC | |
by erroneousBollock (Curate) on Nov 22, 2007 at 04:05 UTC | |
by romanovsky (Initiate) on Apr 02, 2008 at 14:44 UTC | |
by upage123 (Initiate) on Nov 29, 2009 at 19:11 UTC |
In Section
Seekers of Perl Wisdom