Coder Social home page Coder Social logo

Comments (11)

davidverholen avatar davidverholen commented on July 29, 2024 1

it's looking good. After pulling in the changes I can use the order API again

from magento-2.

fjbender avatar fjbender commented on July 29, 2024

Thanks for pointing out this issue! We'll look into that.

from magento-2.

davidverholen avatar davidverholen commented on July 29, 2024

@fjbender will this be fixed anytime soon? Currently our Customer cannot continue developing / testing the SAP integration since the getOrders API Call does not work on the staging System

from magento-2.

fjbender avatar fjbender commented on July 29, 2024

@davidverholen We have assessed the issue and are currently working on it. Expect more feedback the next week.

from magento-2.

fjbender avatar fjbender commented on July 29, 2024

Hi @davidverholen, can you check Robert's patch from #35?

from magento-2.

davidverholen avatar davidverholen commented on July 29, 2024

@fjbender looks good to me

from magento-2.

davidverholen avatar davidverholen commented on July 29, 2024

@fjbender unfortunately, it still throws an exception with the message: Invalid parameter type "\Payone\Core\Model\WebApi\AddresscheckResponse"

I think it's the same Problem, but this time for the parameter. I'll look into it now

from magento-2.

fjbender avatar fjbender commented on July 29, 2024

@davidverholen all right, thanks. Any way for me to reproduce this on our system without having a complete SAP Integration?

from magento-2.

davidverholen avatar davidverholen commented on July 29, 2024

should be sufficient to execute the getOrderList SOAP API call.

Problem seems to be here: https://github.com/magento/magento2/blob/develop/lib/internal/Magento/Framework/Reflection/TypeProcessor.php#L462

Also the Parameter has to be in the Api or Service Namespace. Best practice would be the same changes as for the Service itself:

  • create API Interface
  • use the Interface in the webapi.xml
  • Implement the Interface in the Serviec/V1 namespace
  • add a preference for the Interface pointing to the implementation in di.xml

I could provide a PR again, but maybe it's just faster, if you do it directly? ;)

from magento-2.

davidverholen avatar davidverholen commented on July 29, 2024

ok, I just created the PR since I will test it now on our installation from my forked repository and then come back with the result

from magento-2.

fjbender avatar fjbender commented on July 29, 2024

Great, thanks! I was still busy reproducing this issue. Apparently, we didn't break the REST API, only SOAP.

I'll test your changes and merge if successful.

from magento-2.

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.