greetings and merry Christmas to all,
I'm using SOAP::Lite in a perl app on a windows server running perl 5.10.0, to
connect to a web service. it mostly works fine except i sometimes am getting a
400 Bad Request error sent back by the web service. I'm not too familiar with
the use of SOAP, and my question involves the following snippet:
my $soap = SOAP::Lite
-> uri('https://services.websiteurl.com/')
-> on_action( sub { join '/', 'https://services.websiteurl.com', $_[1] } )
-> proxy('https://services.websiteurl.com/ReferralServices/Warmxfer.asmx');
my $method = SOAP::Data->name('service_name')
->attr({xmlns => 'https://services.websiteurl.com/'});
note the $_[1] reference in the ON_ACTION line. I can't figure out what the
value of $_[1] is or when it's being resolved to determine its value. it
appears to have no value immediately preceding the snippet above, nor does it
have a value immediately preceding this line of code later in the program:
eval { $result = $soap->call($method => @params) };
please let me know if you know how I can determine the value of $_[1]. much
thanks.
John DePasquale
IT Manager
Law Offices of James Sokolove
1340 Centre Street - Suite 102
Newton, MA 02459
Direct line: 617-467-6932
Fax: 617-964-4336
This email is intended solely for the use of the individual to whom it is
addressed and may contain information that is privileged, confidential or
otherwise exempt from disclosure under applicable law. If the reader of this
email is not the intended recipient or the employee or agent responsible for
delivering the message to the intended recipient, you are hereby notified that
any dissemination, distribution, or copying of this communication is strictly
prohibited. If you have received this communication in error, please
immediately notify us by telephone and return the original message to us at the
listed email address. Thank You.
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs