Code Monkey home page Code Monkey logo

Comments (14)

cryptiklemur avatar cryptiklemur commented on June 14, 2024 10

Any update on this?

from guzzle-services.

Guibod avatar Guibod commented on June 14, 2024 3

Soon they said. 2 years ago.

from guzzle-services.

gkzsolt avatar gkzsolt commented on June 14, 2024 3

We are using Guzzle services successfully for a few years now and I thought to upgrade it, because version 3.5 is very outdated, you have Guzzle 6 now. Composer is warning me any time that "Package guzzle/guzzle is abandoned, you should avoid using it. Use guzzlehttp/guzzle instead." So I decided to upgrade to 6, or, well, to version 5. So far so good.

The problems start when I want to migrate my services. Packages and namespaces are gone, there is no Guzzle/Service/Command/ResponseClassInterface, for example and, although there is a Migration Guide, I found NOT A WORD about new guzzle services! Was hoping to find an API reference, at least, but nothing! Are you serious? How do you imagine people will migrate their web services code??

I understand that most people use Guzzle for HTTP, but still it's not only for this. If you don't have the resources to write a proper doc, please don't upgrade the code. I am now looking to go back to Guzzle 3.*, hope to work with the other upgraded libraries.

A shame and too bad for such a good library.

from guzzle-services.

shirshir avatar shirshir commented on June 14, 2024 1

You need to define the response model. Here is an example (in PHP array notation):

https://github.com/Rarst/wporg-client/blob/33fb0dcce9f170b92824d09f5717ca814d7ecd29/php/WporgService.php

from guzzle-services.

moniang avatar moniang commented on June 14, 2024 1

There aren't any docs yet, and this repo isn't yet stable. I'm hoping to get guzzlehttp/command tagged stable soon, thoroughly document it, then come back to guzzlehttp/guzzle-services to write more docs.

Is it now 2021 and the document has not been updated yet?

from guzzle-services.

mtdowling avatar mtdowling commented on June 14, 2024

There aren't any docs yet, and this repo isn't yet stable. I'm hoping to get guzzlehttp/command tagged stable soon, thoroughly document it, then come back to guzzlehttp/guzzle-services to write more docs.

from guzzle-services.

dragonwize avatar dragonwize commented on June 14, 2024

I realize the code could can change, and am will to accept that. I have used this code successfully in the past and remember specifically reading about the different options in the service description such "extends", "$ref", etc.

I believe it was on the old guzzlephp site, if I remember correctly. However, the site is now completely different and archive.org has been no help as I think the URLs have changed and there is only sporadic crawls.

Does this documentation not exist anymore?

from guzzle-services.

mtdowling avatar mtdowling commented on June 14, 2024

The Guzzle 3 documentation is hosted at http://guzzle3.readthedocs.org/webservice-client/guzzle-service-descriptions.html. The docs here are going to differ in many ways from this repo (and the rest of the docs differ quite a bit from Guzzle 5).

from guzzle-services.

hassankhan avatar hassankhan commented on June 14, 2024

+1 on docs, I cannot figure out why I'm receiving no data back from a simple GET request to httpbin.org

For reference, here's the JSON schema:

{
    "name": "httpbin",
    "baseUrl": "http://httpbin.org",
    "operations": {
        "html": {
            "httpMethod": "GET",
            "uri": "/html"
        }
    }
}

from guzzle-services.

hassankhan avatar hassankhan commented on June 14, 2024

Thank you so much!!

from guzzle-services.

eddiejaoude avatar eddiejaoude commented on June 14, 2024

Any docs coming soon?

from guzzle-services.

richhl avatar richhl commented on June 14, 2024

@mtdowling same doubt. thx

from guzzle-services.

cdarken avatar cdarken commented on June 14, 2024

@gkzsolt same here, I'm pulling my hair out looking for something about that ResponseClassInterface. I can't find anything. In the upgrade guide from 3 to 4 they're mentioning methods that are gone in v4.

from guzzle-services.

tlorens avatar tlorens commented on June 14, 2024

Use the source, Luke.

from guzzle-services.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.