Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SOAP WSDL example

302 views
Skip to first unread message

Ram Prasad

unread,
Dec 28, 2009, 8:25:08 AM12/28/09
to begi...@perl.org
Hi All,

I am trying to use SOAP WSDL for the first time
I am not even able to initialize the script

I am not sure if the WSDL is valid. How do I check this ?

-----------
#!/usr/bin/perl
use SOAP::WSDL;
use Data::Dumper;

my $soap = SOAP::WSDL->new(wsdl=>'http://smytoday.com/psmw/psmw?
WSDL');
----------

Jim Gibson

unread,
Dec 29, 2009, 12:42:20 PM12/29/09
to begi...@perl.org
On 12/28/09 Mon Dec 28, 2009 5:25 AM, "Ram Prasad"
<rampra...@gmail.com> scribbled:

What errors do you get when you run this program? Please cut-and-paste the
exact output. Thanks.


Bized

unread,
Dec 30, 2009, 1:18:06 PM12/30/09
to begi...@perl.org
On Dec 29, 7:42 pm, jimsgib...@gmail.com (Jim Gibson) wrote:
> On 12/28/09 Mon  Dec 28, 2009  5:25 AM, "Ram Prasad"
> <ramprasad...@gmail.com> scribbled:

>
> > Hi All,
>
> > I am trying to use SOAP WSDL for the first time
> > I am not even able to initialize the script
>
> > I am not sure if the WSDL is valid. How do I check this ?
>
> > -----------
> > #!/usr/bin/perl
> > use SOAP::WSDL;
> > use Data::Dumper;
>
> > my $soap = SOAP::WSDL->new(wsdl=>'http://smytoday.com/psmw/psmw?
> > WSDL');
> > ----------
>
> What errors do you get when you run this program? Please cut-and-paste the
> exact output. Thanks.

I suppose there will not be any error on run....
To use SOAP::WSDL you need firstly create Perl classes for your wsdl
read all here - http://search.cpan.org/~mkutter/SOAP-WSDL-2.00.10/lib/SOAP/WSDL.pm

0 new messages