Hammy has asked for the wisdom of the Perl Monks concerning the following question:
Hello all,
I have a very small piece of code I have been struggling with and I am wondering if anyone has any insight. I have a WSDL definition from a .NET service of
The service is out of my control. I am using SOAP::Lite. I am not very familiar with SOAPs architecture and I have really never used it before. I have had success with every test service I used (from the SOAP documentation I was using - plus a java one we created ourselves), but not with this one. I do not get anything back. The code I used is as follows:http://www.thedialogcenter.com/EncryptionService.wsdl
The code appears to run, but does not print anything. I have a tool called SOAPscope that I ran against this same .WSDL and it returned an encrypted string. I'm not sure if I am missing something simple. I know SOAP::Lite says it does not support complex return types, but this just comes back as a string (according to SOAPscope). I will take any advice you have to offer. Maybe I am getting failure return codes, but I don't know how to check them or maybe the data is coming back and Perl does not know how to handle it. Also, so there is no confusion, every other test I ran I usedprint SOAP::Lite -> uri('http://www.arkbluecross.com/WebServices/EncryptionService/ +Encrypt') -> service('http://thedialogcenter.com/EncryptionService.wsdl') -> Encrypt('43877AF844D640A189E5708F3BE9222E', 'Testing');
and in that proxy I put the name and location of the service. In this case the service is putting out a bogus .wsdl so I modified it to better reflect the service. I used SOAPscope to test with the .WSDL I created and it works as hoped. Thanks.->proxy() instead of ->service()
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: SOAP Client
by rob_au (Abbot) on Apr 14, 2004 at 02:43 UTC | |
by Hammy (Scribe) on Apr 14, 2004 at 03:09 UTC | |
by rob_au (Abbot) on Apr 14, 2004 at 03:14 UTC | |
by Hammy (Scribe) on Apr 15, 2004 at 03:22 UTC | |
by Hammy (Scribe) on Apr 14, 2004 at 03:12 UTC | |
Re: SOAP Client
by esskar (Deacon) on Apr 14, 2004 at 02:35 UTC | |
by Hammy (Scribe) on Apr 14, 2004 at 03:06 UTC |
Back to
Seekers of Perl Wisdom