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

Re: Perl WSDL WebService Call

by furry_marmot (Pilgrim)
on Feb 29, 2012 at 21:40 UTC ( #957037=note: print w/ replies, xml ) Need Help??


in reply to Perl WSDL WebService Call

Well, first you should open a browser and try to load http://localhost:8080/service.svc?wsdl. If that doesn't work, you found your problem.

If that works, then maybe add some print statements to you code so you see what's giving the error. For example:

use SOAP::Lite; my $lite = SOAP::Lite -> service('http://localhost:8080/service.svc?ws +dl'); print "This is after creating \$lite\n"; my $arg1 ="SRC"; my $arg2 = "ARG"; my @arg3 = ('test1','test2','test3'); my @res = $lite->Func($arg1,$arg2,@arg3); print "This is after running Func\n";

My guess would be that either the URL is no good, or Func is causing the problem. What is Func? Care to share some code so we know what the heck you're doing?

--marmot


Comment on Re: Perl WSDL WebService Call
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://957037]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2014-04-20 00:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls