Loading ...
Sorry, an error occurred while loading the content.

linux soap client connecting to .Net server receives "xml-escaped" output

Expand Messages
  • guymatz
    Hello! i m getting xml-escaped output back from a .Net SOAP server. It looks like: %lt;row>data%lt;/row>data anyone have any idea how i can get that to
    Message 1 of 2 , Sep 17 1:39 PM
    • 0 Attachment
      Hello!

      i'm getting xml-escaped output back from a .Net SOAP server. It looks
      like:
      %lt;row>data%lt;/row>data

      anyone have any idea how i can get that to look like:
      <row>data</row>

      without using a global search/replace?

      code looks like this:

      use SOAP::Lite::Simple::DotNet;
      my $soap_simple = SOAP::Lite::Simple::DotNet->new({
      uri => $soap_uri,
      proxy => $soap_proxy,
      xmlns => $soap_uri,
      soapversion => '1.1', # defaults to 1.1
      timeout => '30', # detauls to 30 seconds
      strip_default_xmlns => 1, # defaults to 1
      }) || die "Could not create simple SOAP: $!";

      $soap_simple->fetch( { 'method' => 'getData', 'xml' => '' })
      || die $soap_simple->error();
      print $xml_results = $soap_simple->results();
    • Sebastian Jaenicke
      ... HTML::Entities, decode_entities() - Sebastian -- Progress (n.): The process through which Usenet has evolved from smart people in front of dumb terminals
      Message 2 of 2 , Sep 18 5:00 AM
      • 0 Attachment
        On Mon, Sep 17, 2007 at 08:39:01PM -0000, guymatz wrote:
        > Hello!
        >
        > i'm getting xml-escaped output back from a .Net SOAP server. It looks
        > like:
        > %lt;row>data%lt;/row>data

        HTML::Entities, decode_entities()

        - Sebastian

        --
        Progress (n.): The process through which Usenet has evolved from
        smart people in front of dumb terminals to dumb people in front
        of smart terminals.
        -- obs@...
      Your message has been successfully submitted and would be delivered to recipients shortly.