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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.