I have an axis message style web service that works quite well with perl
and java clients. I was hoping to get a c# client to test .net interop.

Any C# experts know the equivalent of the following perl code?

-----------------------

use SOAP::Lite;
use SOAP::MIME;

open (FILE, $ARGV[0]);
while (<FILE>){ $xml .= $_; }
$data = SOAP::Data->name('msg')->value($xml)->type('xml');
my $HOST = "http://uid:[EMAIL PROTECTED]/SoapEndpoint";
my $NS = "http://soapserver.com/ns";;

my $soap = SOAP::Lite
    ->outputxml(1)
    ->readable(1)
    ->proxy($HOST)
    ->uri($NS);

my $som = $soap->MessageStyleMethod($data);

print $som;



Reply via email to