Fellow Monks,
A friend of mine is struggling with WSDL SOAP.
He wants to run a server where a SOAP service will run. He uses:
- XML::Compile::WSDL11 2.12
- XML::Compile::SOAP11 2.12
- XML::Compile::SOAP::HTTPDaemon 2.02
Attempting to run the server leaves this error in the user.log file: no definitions for `service' found
The WSDL can be obtained here: http://oneapi.aepona.com/content/gsma/WSDL-3-0-distribution.zip
use XML::Compile::WSDL11;
use XML::Compile::SOAP11;
use XML::Compile::SOAP::HTTPDaemon;
my @schemas = (
'/home/.../wsdl_soap/parlayx-3.0/WSDL/parlayx-3.0/parlayx_sms_send
+_service_3_1.wsdl',
);
my $wsdl = XML::Compile::WSDL11->new;
$wsdl->importDefinitions(\@schemas);
my $daemon = XML::Compile::SOAP::HTTPDaemon->new;
$daemon->operationsFromWSDL($wsdl);
$daemon->run(name => 'SMS', host => 'localhost', port => 8877,);
Any ideas?
use strict; use warnings; print "Just Another Perl Hacker\n";
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.