Interesting, when I did that, it pulled up a ton of SOAP::Data::Destroy: () and some other lines, what stood out is this though..
SOAP::Transport::HTTP::Client::send_receive: HTTP::Response=HASH(0x31f
+20bc)
SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 500 Internal Ser
+ver Error
Cache-Control: private
Date: Wed, 24 Mar 2010 20:27:45 GMT
Server: Microsoft-IIS/6.0
Content-Length: 1106
Content-Type: text/xml; charset=utf-8
Client-Date: Wed, 24 Mar 2010 20:27:45 GMT
Client-Peer: 216.119.106.197:80
Client-Response-Num: 1
X-AspNet-Version: 2.0.50727
EDIT:
After cleaning it up a bit, I also found this...
<faultcode>soap:VersionMismatch</faultcode>
<faultstring>
System.Web.Services.Protocols.SoapException: Possible SOAP version mis
+match: Envelope namespace http://schemas.xmlsoap.org/wsdl/soap/ was u
+nexp
ected. Expecting http://schemas.xmlsoap.org/soap/envelope/.
at System.Web.Services.Protocols.SoapServerProtocol.CheckHelperVers
+ion()
at System.Web.Services.Protocols.SoapServerProtocol.ReadParameters(
+)
at System.Web.Services.Protocols.WebServiceHandler.CoreProcessReque
+st()
</faultstring>
Interesting... Version mismatch? | [reply] [d/l] [select] |
| [reply] |
Ah crap, that says to edit the WDSL file, I cant really do that, guess this isnt possible to use it with SOAP::Lite? :(
| [reply] |
So I guess I should be using SOAP::WSDL, which im trying, here is my code, which returns nothing, and does absolutely nothing either.
#!c:/perl/bin
use SOAP::WSDL;
use strict;
use warnings;
my %data = (
'AuthUserName' => 'xxxxxxxxx',
'AuthPassword' => 'xxxxxxx',
'NewUsername' => 'justatest',
'NewPassword' => 'justatest',
'DomainName' => 'xxxxxxxx.com',
'FirstName' => 'johddn',
'LastName' => 'doedd',
'IsDomainAdmin' => 0
);
my $soap = SOAP::WSDL->new(
wsdl => 'http://soap_web_site.com/services/svcUserAdmin.asmx?WSDL'
+,
);
my $result = $soap->call('AddUser', %data);
print $result;
| [reply] [d/l] |
Is the WSDL you mention the good one ?
If I try to
$ wget http://www.smartertravel.com/services/svcUserAdmin.asmx?WSDL
I get an error, like
Resolving www.smartertravel.com... 207.154.57.193
Connecting to www.smartertravel.com|207.154.57.193|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-03-24 23:50:20 ERROR 404: Not Found.
| [reply] |
No it wasnt, I didnt want to display the actual servers FQDN.
However, it seems that the SOAP::Lite reader isnt compatible with .NET's SOAP. So I guess this isnt possible :(
| [reply] |