Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: SOAP::Lite Module

by Anonymous Monk
on Mar 24, 2010 at 20:11 UTC ( #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: 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 was u +nexp ected. Expecting 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' => '', 'FirstName' => 'johddn', 'LastName' => 'doedd', 'IsDomainAdmin' => 0 ); my $soap = SOAP::WSDL->new( wsdl => '' +, ); my $result = $soap->call('AddUser', %data); print $result;
      Is the WSDL you mention the good one ?

      If I try to
      $ wget
      I get an error, like
      Connecting to||:80... connected.
      HTTP request sent, awaiting response... 404 Not Found
      2010-03-24 23:50:20 ERROR 404: Not Found.

        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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://830662]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2018-05-21 17:49 GMT
Find Nodes?
    Voting Booth?