http://qs321.pair.com?node_id=649155


in reply to Re: Calling .NET based service using SOAP::Lite for Perl
in thread Calling .NET based service using SOAP::Lite for Perl

Which version of SOAP::WSDL are you running. I just downloaded 2.00_23 from CPAN but having troubles installing it. I remember i tried it before but no luck. I use the following commands:

perl Makefile.pl
make
make test
make intall

During make test some of the test cases are skipped and it complains about the client. Then when i use the Perl script it complains that it cant find the Perl Module WSDL.pm so i manually copied and pasted the perl module in the lib folder for Perl. That seems to solve that problem and then it starts complaining about not finding the perl module Client.pm now i suppose this is same reason "make test" didnt completely pass. Can i install the package somehow other so i dont have to manually find modules and place them in folders? Could you guide me on what i should do?

Really appreciate your help.
  • Comment on Re^2: Calling .NET based service using SOAP::Lite for Perl

Replies are listed 'Best First'.
Re^3: Calling .NET based service using SOAP::Lite for Perl
by erroneousBollock (Curate) on Nov 06, 2007 at 08:22 UTC
    Which version of SOAP::WSDL are you running.
    My current codebase uses SOAP::WSDL 1.25. That's the version that will install if you issue install SOAP::WSDL from CPAN.

    I've not really used version 2. I'm sure Martin will move the CPAN linkage to version 2 when he feels it's ready.

    During make test some of the test cases are skipped and it complains about the client. Then when i use the Perl script it complains that it cant find the Perl Module WSDL.pm
    You should probably file a bug against v2 here.

    i manually copied and pasted the perl module in the lib folder for Perl. That seems to solve that problem and then it starts complaining about not finding the perl module Client.pm
    That's not a good idea. Sounds like Makefile.PL is broken.

    Can i install the package somehow other so i dont have to manually find modules and place them in folders?
    No one is recommending you do those things.

    Could you guide me on what i should do?
    Use the v1 series.

    -David

Re^3: Calling .NET based service using SOAP::Lite for Perl
by erroneousBollock (Curate) on Nov 06, 2007 at 08:23 UTC
    dup, please reap.
      I installed SOAP::WSDL using the CPAN command "install SOAP::WSDL" and still an error when i compile the Perl script saying that:

      Can't locate object method "on_action" via package "SOAP::WSDL" at perlMonk.pl l ine 7

      I am not entirely sure what version of the package is being used. I would assume that because i have installed so many packages the right one might not be used. Is there a way to check which version is being used? The other problem i am looking into is that i shifted from using the Command Prompt to cygwin now. So i have noticed that they use different directories for storing the Perl packages.

      This means that when i compile a script the packages being used differ, which i dont realise. Would you be able to suggest what i should do? Scrap one way completely and start fresh somehow?

      I actually have more than one copy of perl.exe how would i be able to delete all perl modules on my box start from scratch. I currently use ActivePerl and i guess i can try removing that will all the modules and then try using cygwin to install whateevr modules i need from CPAN. Is this a good idea?
        Can't locate object method "on_action" via package "SOAP::WSDL" at perlMonk.pl line 7
        SOAP::WSDL is a subclass of SOAP::Lite. SOAP::Lite contains the on_action method an has since at least February 2004 (v0.60a - the earliest version currently visible on search.cpan.org).

        It sounds like you have a really broken system.

        See my advice in the other thread relating to ActivePerl installation.

        -David