Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: SOAP::Lite Module

by Anonymous Monk
on Mar 24, 2010 at 20:11 UTC ( [id://830662]=note: print w/replies, xml ) Need Help??


in reply to SOAP::Lite Module

See SOAP::Trace

Replies are listed 'Best First'.
Re^2: SOAP::Lite Module
by jhyland87 (Sexton) on Mar 24, 2010 at 20:31 UTC
    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?
        Ah crap, that says to edit the WDSL file, I cant really do that, guess this isnt possible to use it with SOAP::Lite? :(
        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;
      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.
      

      Krambambuli
      ---
        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 :(

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://830662]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-19 01:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found