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

Accessing SOAP message

Expand Messages
  • Frank McCown
    Could someone tell me how I can see the SOAP response message when using SOAP Lite and the Google Web Search API? For example, after calling doGoogleSearch(),
    Message 1 of 3 , Oct 14, 2006
    • 0 Attachment
      Could someone tell me how I can see the SOAP response message when using
      SOAP Lite and the Google Web Search API? For example, after calling
      doGoogleSearch(), I'd like to see the raw response.

      $results = $google->doGoogleSearch(
      $google_key, "house", 0, 10, "false", "", "false", "",
      "latin1", "latin1");

      # Show response
      print ???


      Thanks,
      Frank
    • Eric Bridger
      I use something like: print $google- transport- http_response- content() . n ;
      Message 2 of 3 , Oct 16, 2006
      • 0 Attachment
        I use something like:

        print $google->transport->http_response->content() . "\n";

        On Sat, 2006-10-14 at 20:39, Frank McCown wrote:
        > Could someone tell me how I can see the SOAP response message when using
        > SOAP Lite and the Google Web Search API? For example, after calling
        > doGoogleSearch(), I'd like to see the raw response.
        >
        > $results = $google->doGoogleSearch(
        > $google_key, "house", 0, 10, "false", "", "false", "",
        > "latin1", "latin1");
        >
        > # Show response
        > print ???
        >
        >
        > Thanks,
        > Frank
        >
        >
      • Frank McCown
        Thanks, Eric. I also found the following to work: print $google- {_transport}- {_proxy}- {_http_response}- {_content}; Frank ... -- Frank McCown Old Dominion
        Message 3 of 3 , Oct 16, 2006
        • 0 Attachment
          Thanks, Eric. I also found the following to work:

          print $google->{_transport}->{_proxy}->{_http_response}->{_content};

          Frank


          Eric Bridger wrote:
          > I use something like:
          >
          > print $google->transport->http_response->content() . "\n";
          >
          > On Sat, 2006-10-14 at 20:39, Frank McCown wrote:
          >
          >>Could someone tell me how I can see the SOAP response message when using
          >>SOAP Lite and the Google Web Search API? For example, after calling
          >>doGoogleSearch(), I'd like to see the raw response.
          >>
          >>$results = $google->doGoogleSearch(
          >> $google_key, "house", 0, 10, "false", "", "false", "",
          >>"latin1", "latin1");
          >>
          >># Show response
          >>print ???
          >>
          >>
          >>Thanks,
          >>Frank
          >>
          >>
          >
          >

          --
          Frank McCown
          Old Dominion University
          http://www.cs.odu.edu/~fmccown/
        Your message has been successfully submitted and would be delivered to recipients shortly.