Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 339009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T10:28:59+00:00 2026-05-12T10:28:59+00:00

So I have an app that uses the Zend amazon web services client. I

  • 0

So I have an app that uses the Zend amazon web services client. I am now getting an error from the service, and I want to see the raw request and response.

I can’t find a way to do this in the docs! This class implements Zend_Rest_Client so it seems like there should be a rawResponse() method but there isn’t. This is on a production server and I am behind a firewall, so I can’t proxy to fiddler.

Any suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T10:28:59+00:00Added an answer on May 12, 2026 at 10:28 am

    Zend_Rest_Client extends Zend_Service_Abstract, which in turn implements a getHttpClient() method, which returns a Zend_Http_Client instance, which exposes a getLastResponse() method, which returns a Zend_Http_Response instance, which once again exposes a getBody() method. Phew, that’s OOP I guess :).

    Let’s talk our language though:

    $restClient->getHttpClient()->getLastResponse()->getBody();
    

    That’s it.

    EDIT:

    It appears that Zend_Service_Abstract::getHttpClient() is static, so you can even call it like this:

    Zend_Service_Abstract::getHttpClient()->getLastResponse()->getBody();
    

    But I wouldn’t recommend it. You have to know exactly when to call the method, as the HTTP client must be populated with some response. Not to mention that static methods are just some kind of globals, which is bad.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have java app that uses Axis to get data from web service. web
I have war app that uses reasteasy to expose some services. I want to
I have WP7 app that uses the MVVM pattern. When the user goes from
I have an app that uses subdomains for each 'account'. From what I have
i have an app that uses a navbar. What i want to acomplish is
I have an app that uses sharekit to submit stuff to Twitter. I want
I have an app that uses maps. I want to give the user the
I have an app that uses EF. To test my stuff I generally wrap
I have an app that uses the python/c api and I was wondering what
I have an app that uses a tableview, along with a UIButton that I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.