Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

I'm trying to connect to a WSDL service at the company I'm consulting to. I should state that I'm a complete newbie with SOAP and WSDL, although I've done plenty of other things with XML. The people in charge of the WSDL services don't speak Perl or anything other than Java, so they haven't been very helpful. My first step was to try to generate some classes, using the URL they gave me:

~$ wsdl2perl.pl -b wsdl_test/ -s http://sv-websvc-t1:9080/UAASCIAMWebS +ervices/services/UAASPort Use of uninitialized value $namespace in hash element at /opt/perl/lib +/site_perl/5.12.2/SOAP/WSDL/TypeLookup.pm line 235. Use of uninitialized value $namespace in hash element at /opt/perl/lib +/site_perl/5.12.2/SOAP/WSDL/TypeLookup.pm line 235. junk after document element at line 2, column 0, byte 64 at /opt/perl/ +lib/site_perl/5.12.2/SOAP/WSDL/Expat/Base.pm line 79 at line 2 at /opt/perl/lib/site_perl/5.12.2/SOAP/WSDL/Expat/Base.pm l +ine 82

I tried the trick I saw on a couple of posts here and tried appending '?wsdl' to their URL to get the WSDL, but that gave me another error. So they said "no, the WSDL is at another url", so I tried that:

~$ wsdl2perl.pl -b wsdl_test/ http://sv-websvc-t1:9080/UAASCIAMWebServ +ices/services/UAASPort/wsdl/ciam_uaas.wsdl [snip lots of "Creating complexType class" messages] Creating element class MyElements/createADAccountOutput.pm unsupported global type <faults:BaseFault> found in part <baseFault> Looks like a rpc/literal WSDL, which is not supported by SOAP::WSDL

I can't see anything in faults::BaseFault that looks any different from any other fault. wsdl_test/MyTypes/ has PM files for all of the types in faults.xsd including BaseFault, so I'm not sure what the error is telling me.

But more important (I think) is that I don't see the promised interface classes. How can I connect to this service?


In reply to SOAP::WSDL isn't generating interfaces by ptomblin

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!
  • 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, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others avoiding work at the Monastery: (6)
    As of 2014-09-23 01:38 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      How do you remember the number of days in each month?











      Results (210 votes), past polls