Hammy has asked for the wisdom of the Perl Monks concerning the following question:
I have done a lot of reading and found some forum updates that said there is something wrong with my namespace. I pulled the above namespace right out of the WSDL. Any suggestions you may have would be greatly appreciated. Since it is only a few lines of code I have included my code below:Server did not recognize the value of HTTP Header SOAPAction: https:// +my.ephit.com/WebServices/Website/GetConditionsText/
use SOAP::Lite +trace; my $s = SOAP::Lite -> uri('https://my.ephit.com/WebServices/Website') -> proxy('https://my-test.ephit.com/webservices/website.asmx') -> on_action(sub{sprintf '%s/%s/%s', @_ }); my $Req = SOAP::Data->new(name => 'Req', value => "ASTHMA", type =>'xs +i:string'); my $Gender = SOAP::Data->new(name => 'Gender', value => "MALE", type = +> 'xsi:string'); my $Age = SOAP::Data->new(name => 'Age', value => "38", type => 'xsi:i +nt'); $result = $s->GetConditionsText($Req, $Gender, $Age)->result; return($result);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: SOAP call to .NET Service
by olus (Curate) on Jan 08, 2008 at 11:58 UTC | |
by Hammy (Scribe) on Jan 08, 2008 at 14:28 UTC | |
|
Re: SOAP call to .NET Service
by hossman (Prior) on Jan 08, 2008 at 06:39 UTC |