Possibly but I'm struggling to understand how the function works. If I execute the following:
my $soap = SOAP::Lite -> ns( 'http://www.w3.org/2001/XMLSchema-instance', 'xsi' ) -> ns( 'urn::sdp:profilemanager:requestmanager', 'a' ) -> ns( 'urn::sdp:profilemanager:contract:110308', 'b' ) -> uri($uri) -> on_action( sub { join '.ProcessMessage', 'urn::sdp:profilemanag +er:requestmanager:100818.ProfileScopeServiceContract', $_[1] } ) -> proxy($url); my $method = SOAP::Data->name('Request') ->attr({xmlns => 'urn::sdp:profilemanager:profilemanagerrequestman +ager:100818'});
I get the the following so I'm almost there but how do I stop 'Request' being appended to the SOAP Action?
Accept: text/xml Accept: multipart/* Accept: application/soap Content-Length: 1365 Content-Type: text/xml; charset=utf-8 SOAPAction: urn::sdp:profilemanager:requestmanager:100818.ProfileScope +Ser viceContract.ProcessMessageRequest <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:namesp1="ur +n:: sdp:profilemanager:profilemanagerrequestmanager:100818" xmlns:a="urn:: +sdp :profilemanager:requestmanager" soap:encodingStyle="http://schemas.xml +soap.org/s oap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" +xmlns:b="u rn::sdp:profilemanager:contract:110308" xmlns:soapenc="http://schemas. +xml soap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-i +nstance" x="" mlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <Request xmlns="urn:telec om:sdp:profilemanager:profilemanagerrequestmanager:100818"> <a:Payload xsi:type=" b:Organisation"> <b:OrganisationUnitId xsi:type="xsd:string"> OrgId</b:Organisat

In reply to Re^4: SOAP lite with WCF by Anonymous Monk
in thread SOAP lite with WCF by Anonymous Monk

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.