GithubHelp home page GithubHelp logo

SOAP gateway? about apiman HOT 7 CLOSED

apiman avatar apiman commented on July 25, 2024
SOAP gateway?

from apiman.

Comments (7)

EricWittmann avatar EricWittmann commented on July 25, 2024

No you're right - SOAP support isn't really finished yet. The UI certainly implies that setting the endpoint type to SOAP will do something interesting, but it doesn't.

That said, in the latest version of apiman you can use the URL Rewriting policy to convert all the URLs in the WSDL to the appropriate apiman gateway endpoint format.

from apiman.

cen1 avatar cen1 commented on July 25, 2024

I will take a look at that, thanks.

from apiman.

osbeorn avatar osbeorn commented on July 25, 2024

I've been trying to use this policy to rewrite the soap:address URL to the Apiman gateway endpoint URL, but it seems that this isn't working. If I attach a debugger to Apiman I notice, that the code in URLRewritingStream.java doesn't find any URLs in the body of the response and therefore no replacements are made.

from apiman.

osbeorn avatar osbeorn commented on July 25, 2024

My guess is that this is a problem with content encoding, gzip in this case.

from apiman.

osbeorn avatar osbeorn commented on July 25, 2024

I was right. If I disable gzip encoding by sending Accept-Encoding=identity header, the URLs are correctly replaced.

from apiman.

EricWittmann avatar EricWittmann commented on July 25, 2024

Ah ha! Well that makes a lot of sense I think. The question is, what to do about it...

I'm open to suggestions!

For awhile now we have wanted to create a GZIP policy, but the idea there was to GZIP the body so that back-end APIs didn't need to. In other words, the back end API would just respond with JSON or XML, and then apiman would gzip it. That wouldn't help in this case, obviously.

We could of course also have a policy that unzips the content.

Thoughts?

from apiman.

EricWittmann avatar EricWittmann commented on July 25, 2024

For those who find their way to this issue, have a look at this JIRA:

https://issues.jboss.org/browse/APIMAN-1072

I am closing this ticket, because we track this sort of thing in JIRA instead of github.

from apiman.

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.