Greetings Monks-
I am in dire need of assistance with SOAP::WSDL. I'll admit upfront to being an average Perl programmer, and knowing little to nothing about WSDL, however, I've been thrust to the front lines and am confounded.
I'm working with our internal .NET team and they've chosen (or perhaps mandated) this format, and they also are using (and require) Complex datatypes. From what I read, this makes using SOAP::LITE more challenging, so I opted to go with SOAP::WSDL.
If I try to generate the bindings through wsdl2perl.pl I get many things generated, but I don't get any interfaces. Which seems to mean to me that something is failing.
When I call SOAP::WSDL directly like so:
I get the following erroruse warnings; use strict; use SOAP::WSDL; use Data::Dumper; my $soap = SOAP::WSDL->new( wsdl => 'http://bar.foo.com/EventServices.svc?wsdl', ); my $result = $soap->call('NewEvent', %data); my ($body_ref,$header_ref); print Dumper($result);
cannot import document from namespace >http://tempuri.org/< without ba +se uri. Use >parse_uri< or >set_uri< to set one. at /usr/local/lib/pe +rl5/site_perl/5.10.1/SOAP/WSDL/Expat/WSDLParser.pm line 96. at line 1 at /usr/local/lib/perl5/site_perl/5.10.1/SOAP/WSDL/Expat/Ba +se.pm line 82
I've been googling to the point my eyes are bleeding. If I could wrap an answer around the problem that isn't "It's .NET's fault" I may be able to make some progress between us. For right now the attitude is one of "you're tools (meaning Perl) can't handle it".
In reply to wsdl2perl.pl & SOAP::WSDL by the.duck
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |