in reply to Accessing .Net Web Service

It looks like the service you are hitting is expecting to use document style while you are sending rpc style. This only affects one thing in the packet. The CountryName has an xsi:type attribute, which is right for rpc, but could be confusing to a document style service.

I don't think Soap::Lite handles document style packets, so I'm not sure what your best solution is. Document style is simple enough to do by hand. See for example Re: Dynamic Language questions. The purpose of the code in that node was to stand alone. If you adopt its approach, you will, of course, want to factor out the SOAP generation into a module (perhaps I should do that for a CPAN module like SOAP::Doc). For now I use Gantry which has that factoring.

Phil

The Gantry Web Framework Book is now available.