Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: SOAP::WSDL Installation

by erroneousBollock (Curate)
on Nov 07, 2007 at 00:31 UTC ( [id://649374]=note: print w/replies, xml ) Need Help??


in reply to SOAP::WSDL Installation

You do seem to be having a few issues with regard to installation.

My advice (in your specific case) would be to put aside the cygwin shell completely w.r.t Perl, and to stick with ActivePerl 5.8.8.

If you run ActivePerl's perl from within cygwin, you can get a few issues with filenames containing spaces. If you prefer cygwin, you should use the Perl port that is installable via the cygwin installer (not ActivePerl).

It's pretty painless to uninstall+reinstall ActivePerl so go ahead and do so. When it's installed, you can run ppm from the cmd.exe shell; that'll give you a GUI for finding/installing PPD modules from the ActiveState Perl repository. SOAP-WSDL-1.20 is the latest available version in that repository, and I can verify that it works fine.

-David

Replies are listed 'Best First'.
Re^2: SOAP::WSDL Installation
by Khurrum (Novice) on Nov 07, 2007 at 06:49 UTC
    I will try doing that but the only reason why i am using cygwin is because it provides the "Make" utility. I cant seem to find the binary files for GNU make, which is why i cant run the make command from cmd.exe. The reason why i need the utitliy because the perl packages require the execution of makefiles provided. I am not sure if it would be required if i use PPM.

    Would you be able to clarify that while i uninstall and install Active Perl again.

    The other issue is that PPM has really old version of the packages. Like i just checked and it has SOAP::Lite 0.55 whereas now 0.70 is even available and same is the thing with SOAP::WSDL. Is there any way i can another repository?
      I will try doing that but the only reason why i am using cygwin is because it provides the "Make" utility. I cant seem to find the binary files for GNU make, which is why i cant run the make command from cmd.exe.
      You don't need make, or any other tools. If you use ActivePerl, it installs binary packages, much like a linux distribution.

      The other issue is that PPM has really old version of the packages. Like i just checked and it has SOAP::Lite 0.55 whereas now 0.70 is even available and same is the thing with SOAP::WSDL. Is there any way i can another repository?
      ppm rep add trouchelle.com http://trouchelle.com/ppm/

      That will add the trouchelle.com repository, which has SOAP-Lite 0.69 and SOAP::WSDL 1.26.

      -David

        Thank you so much for your reply. I did add the repository and when i used the GUI for PPM i verified that the repository was added but when i search for the perl module it still shows version 0.55 for SOAP::Lite and for SOAP::WSDL it shows 1.23 i went further to check the website manually and verified that it does have the latest packages. I tried to manually install the packages but it gives the following errors:
        C:\SoapTest>ppm install http://trouchelle.com/ppm/SOAP-Lite.ppd ppm install failed: Can't find any package that provide Crypt-SSLeay f +or SOAP-Li te
        C:\SoapTest>ppm install http://trouchelle.com/ppm/SOAP-WSDL.ppd ppm install failed: No PPD found at http://trouchelle.com/ppm/SOAP-WSD +L.ppd
        Secondly, using the older packages that i was able to get from before i am getting another error. Initially it complained about using the <import> tag for XML Schema definition, which was a problem i knew as SOAP::WSDL doesnt support XML Schema definition imports. I fixed that by inlining the schema and now when i run the script it gives the following error:
        C:\SoapTest>perl perlMonk.pl Reference found where even-sized list expected at C:/Perl/site/lib/SOA +P/WSDL.pm line 235. SampleTest Error: The message with Action 'http://tempuri.org/#SampleT +est' canno t be processed at the receiver, due to a ContractFilter mismatch at th +e Endpoint Dispatcher. This may be because of either a contract mismatch (mismatc +hed Action s between sender and receiver) or a binding/security mismatch between +the sender and the receiver. Check that sender and receiver have the same contr +act and th e same binding (including security requirements, e.g. Message, Transpo +rt, None).
        I am thinking maybe it has to do with my App.config file and the settings i use there. Would you be able to guide me on this? Lastly, can you suggest a tool that i can use to view the expected SOAP request that my WCF web service expects, the actual request sent from my perl script and the response sent from the web service. I have tried Microsoft's Service Trace Viewer but it doesnt provide all the info. Maybe a tool like NetMon would allow me to view the network traffic or something else that you can suggest.

        Thanks

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-24 21:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found