Hi, my name is Charles and this is my first post here ... although i've been around reading alot.

I'm currently facing a problem I'm not able solve by myself. I'm trying to build a client base on SOAP::WSDL as it seems to be more recommanded than SOAP::LITE; I've done alot of reading here, on the CPAN forum and a few others and I'm still not able to make it through it.

I'm sure one of the post i've read had the answer to my problem but there is so much Technical terms to learn only for SOAP that i end up a bit more confused after each reading.

And so to be brief, Here's the code :

#------------------- my $USER = "evouser" ; my $PASS = "xxxxxxx" ; my $PROTOCOL = "http" ; # http or https my $SERVER = "205.236.148.5" ; # IP or hostname of soap adapter my $PORT = 8095 ; # port number SOAP server is run +ning on my $WSDL_LOC = "/evo-soap/services/EvoServerSoapService?wsdl" ; # build the WSDL URL my $WSDL_URL = $PROTOCOL . "://" . $SERVER . ":" . $PORT . $WSDL_LOC ; print "Using SOAP WSDL located at: \n " . $WSDL_URL . "\n" ; print "Creating the SOAP service ....\n" ; my $service = SOAP::WSDL->new( wsdl => $WSDL_URL ) ;
AND BANG : cannot import document for namespace >http://schemas.xmlsoap.org/wsdl/< without location at /usr/lib/perl5/site_perl/5.8.8/SOAP/WSDL/Expat/WSDLParser.pm line 84.

I've also tried to make it work wsdsl2perl.pl as it's seem to be THE recommanded way but it ... didn't work!
perl wsdl2perl.pl -b evoapp http://205.236.148.5:8095/evo-soap/services/EvoServerSoapService?wsdl

No matter what i try it's cannot get SOAP::WSDL to work!

On the good side, i'm able to do whatever i want with SOAP::LITE and SoapUI(not perl related). It's just that i don't really like the approach of SOAP::LITE; The code feels "clunky".

You can try the WSDL here : http://205.236.148.5:8095/evo-soap/services/EvoServerSoapService?wsdl

Now I'm begging you! Please forgive my ignorance and enlightenment me!! ;)

Thanks
---------
Charles D.

In reply to SOAP::WSDL problems by nyxOne

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.