CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Advanced:
SOAP::LITE + WSDL

 



ptop
Novice

Mar 12, 2009, 3:27 AM

Post #1 of 3 (2506 views)
SOAP::LITE + WSDL Can't Post

Hi ,all

I'm trying to write an "automatic" SOAP client , the script should get the WDSL url path , analyzing the SERVICE name and automaticliy resolve the FUNCTIONS names form the SERVICE , then it should generate request to each of the existings FUNCTIONS with the Functions parameters.

I'm not able to get the Functions name and the Parameters name , how do i get then and generating the SOAP requests ???

Thanks.

my script:

#! /usr/bin/perl

use SOAP::Lite;
use XML::Simple;


my $wsdl = "http://www.WSDLTEST.com/Test.asmx?wsdl" ;
my $soap_service = SOAP::Lite->service($wsdl);

print $soap_service; # The Service Name

exit(0);

Thanks !!!


1arryb
User

Mar 12, 2009, 7:24 AM

Post #2 of 3 (2503 views)
Re: [ptop] SOAP::LITE + WSDL [In reply to] Can't Post

Hi ptop,

Disclaimer: I am not a SOAP programmer. However, a quick survey of the SOAP::Lite perldoc combined with some examples from another language (see http://www.diveintopython.org/soap_web_services/introspection.html) hints that:

Code
SOAP::Lite->proxy($wsdl)->methods()

or

Code
SOAP::Lite->server($wsdl)->methods()

Might return a structure whose keys are the method names and whose values might contain the call parameters.

Sorry my help is so thin. Please post back what you discover.

Cheers,

Larry


ramindya
New User

Oct 2, 2009, 3:44 PM

Post #3 of 3 (2270 views)
Re: [1arryb] SOAP::LITE + WSDL [In reply to] Can't Post

I am tyring to do the same thing but I am agetting the error

"document/literal support is EXPERIMENTAL in SOAP::Lite"

My code is

use SOAP::Lite;
my $soap = SOAP::Lite->service("http://xxxx/tttt/V2.5/services.asmx?wsdl");
print $soap;

Thanks in advance!

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives