Dear Monks,
I'm at another impasse trying to get my Perl SOAP::WSDL client to play nice with our WCF/.net generated WSDL interface. What I'm running into I *think* is a problem with the way my envelope is being generated. The root may well be something on the WCF side, but I'm likely going to be the one who has to become "compliant". Right now the WSDL server doesn't think it's getting any values from me. I added a print dumper in Base.pm to output the envelope (shown below) I say the soap envelope as what the .NET WSDL server expects is something like:
<s:Body> <NewEvent xmlns="http://tempuri.org/"> <values xmlns:d4p1="http://schemas.datacontract.org/foo" xmlns:i +="http://www.w3.org/2001/XMLSchema-instance"> <d4p1:ConfigItemName>MyConfigName</d4p1:ConfigItemName>
However what I'm sending is more like:
<SOAP-ENV:Body> <NewEvent xmlns="http://tempuri.org/"> <values> <ConfigItemName xmlns="">foo</ConfigItemName>
All I'm really doing at this point is the test script from SOAP::WSDL::Manual:
use MyInterfaces::EventServiceManager::basicHttp; use SOAP::WSDL; use Data::Dumper; my $service = MyInterfaces::EventServiceManager::basicHttp->new(); my $result = $service->NewEvent({ values => { Description => "The system is down description", # string EntityKey => "foobar", # string EventID => "TestEvent1", # string NoteDescription => "now is the time for all good men to come to + the aid of their country", # string SourceSystemID => "test", # string Summary => "The system is down" # string } } ); die $result if not $result; print "$result\n";
Thanks to anyone who takes the time to look at my issue.
In reply to SOAP::WSDL::Manual almost there... but not quite by the.duck
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |