hanspr has asked for the wisdom of the Perl Monks concerning the following question:
<?xml version="1.0" encoding="UTF-8"?> <soap:Envelope ...> <soap:Body> <getStamp xmlns="http://tempuri.org/"> ...XML FILE... </getStamp> </soap:Body> </soap:Envelope>
<?xml version="1.0" encoding="UTF-8"?> <soap:Envelope ...> <soap:Body> <getStamp xmlns="http://tempuri.org/"> <c-gensym2> ...XML FILE... </c-gensym2> </getStamp> </soap:Body> </soap:Envelope>
$client = SOAP::Lite -> proxy($endpoint); $client->soapversion('1.1'); $client->on_action(sub {"http://tempuri.org/getStamp"}); $client->autotype(0); $client->default_ns($namespace); $res = $client->getStamp($xml_file);
$method = SOAP::Data->name('getStamp')->attr({xmlns => $namespace}); $res = $client->call('getStamp', SOAP::Data->name('getStamp')->attr({xmnls => $namespace})->value($xml_ +file) );
<?xml version="1.0" encoding="UTF-8"?> <soap:Envelope ...> <soap:Body> <getStamp xmlns="http://tempuri.org/"> <getStamp xmlns="http://tempuri.org/"> ...XML FILE... </getStamp> </getStamp> </soap:Body> </soap:Envelope>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Another SOAP::Lite remove gensym tag
by Anonymous Monk on May 23, 2011 at 23:40 UTC |