So, riddle me this:
This url:
returns a valid json encoded string.https://example.com/webservices.cfc?j_username=foo&j_password=bar&meth +od=MyMethodName&someVar=123456&returnformat=json
I think my problem here, I am not authenticating... (Actually I'm pretty sure this is the problem.) Is there a way to authenticate with wsdl/SOAP? Or, do I have to use lynx (or wget) to pull the response down, then parse the response. The latter seems like a hack way to do this...
#!/usr/bin/perl use 5.010001; use strict; use warnings; use LWP::Simple qw/mirror/; use SOAP::Simple; my $url = "https://example.com/webservices.cfc"; my $wsdlFile = 'webservices.wsdl'; mirror( $wsdlUrl, $wsdlFile ); my $soap = SOAP::Simple->new( $wsdlFile );
In reply to Re: Coldfusion Integration
by PyrexKidd
in thread Coldfusion Integration
by PyrexKidd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |