Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^2: SOAP::Lite Module

by jhyland87 (Sexton)
on Mar 24, 2010 at 20:31 UTC ( #830667=note: print w/replies, xml ) Need Help??

in reply to Re: SOAP::Lite Module
in thread SOAP::Lite Module

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?

Replies are listed 'Best First'.
Re^3: SOAP::Lite Module
by Khen1950fx (Canon) on Mar 24, 2010 at 21:15 UTC
      Ah crap, that says to edit the WDSL file, I cant really do that, guess this isnt possible to use it with SOAP::Lite? :(
        If the automatic way isn't working, you can always do things manually.
      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;
Re^3: SOAP::Lite Module
by Krambambuli (Curate) on Mar 24, 2010 at 21:53 UTC
    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 :(
        However, it seems that the SOAP::Lite reader isnt compatible with .NET's SOAP. So I guess this isnt possible :(

        It isn't a compatibility issue, SOAP::Lite simply doesn't support WSDL fully (as documented, IIRC). Thats fine since doing things manually is fairly simple. Alternatively you could try SOAP::WSDL

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2016-10-23 18:02 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (301 votes). Check out past polls.