Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

WSDL Generator for SOAP::Lite?

by c0d3cr33p (Acolyte)
on Mar 19, 2004 at 16:41 UTC ( #338043=perlquestion: print w/ replies, xml ) Need Help??
c0d3cr33p has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks,

I want to use my SOAP::Lite webservices from a client which can only access webservices with a corresponding WSDL file.

So my question is, how do I go about generating WSDL for a SOAP::Lite webservice?

I have seen WSDL::Generator but I wonder if there is a better way?

Comment on WSDL Generator for SOAP::Lite?
Re: WSDL Generator for SOAP::Lite?
by rob_au (Abbot) on Mar 19, 2004 at 23:34 UTC
    Having recently faced this same issue, I ended up having to create the WSDL file for my SOAP service (mostly) manually. To this end, I found the freeware WSDL editor provided by Capescience here to be most useful - Note that the system requirements for this package list Windows system requirements, but the editor is written entirely in Java and happily runs without issue on other platforms. Also useful in helping me understand the WSDL layout were the following links:

     

    perl -le "print unpack'N', pack'B32', '00000000000000000000001011001010'"

      I have a linux box as my desktop and would like to use the Capescience wsdl editor. What command did you have to run to get the editor to run?

      Thanks,

      --habit

        I have a shell script like:

        #! /bin/sh + cd /usr/local/WSDLEditor + CP=lib/wsdleditor.jar:lib/dom4j-1_0.jar:lib/dtdparser-1_1_3.jar:lib/xa +lan-2_4_0.jar:lib/xercesImpl-2_1_0.jar:lib/xml-apis.jar:lib/soap-2_3. +jar:lib/uddi4j-1_0_3.jar:lib/jsse-1_0_3.jar:lib/wsdl4j-1_0.jar:lib/ja +xrpc-api-1_0.jar:lib/mail-1_3.jar:lib/activation-1_0_2.jar: + # assert JAVA_HOME environment variable if [ "$JAVA_HOME" = "" ] ; then java -mx128M -cp $CP com.capeclear.capestudio.wsdleditor.gui.Appli +cation exit 1; fi + $JAVA_HOME/bin/java -mx128M -cp $CP com.capeclear.capestudio.wsdledito +r.gui.Application exit 0;
        Of course a) this will probably need to be changed for your system b) nothing to do with Perl

        /J\

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://338043]
Approved by Old_Gray_Bear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2014-08-02 00:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (53 votes), past polls