Uploaded image for project: 'apiman (API Management)'
  1. apiman (API Management)
  2. APIMAN-1182

Create a SOAP<->REST policy (similar to the XML<->JSON policy)

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • 1.3.x
    • 1.2.6.Final
    • Plugin
    • None

      We are facing issue while using Transformer plugin.

      Scenario: We have SOAP Service in backend and want to expose as JSON to client App.

      1. we have registered the SOAP service in Implementation (with Basic Auth).
      2. added policy for using Transformation plugin (Client: JSON, Server:XML).
      3. Published as Public API.

      Through Rest Client -> Called Public API (POST -> content type as application/json and json input), however it failed with 500 error (able to read stacktrace - suggest input is not passed correctly).

      With more debugging: As there are no logs from Transformation plugin, have added sysouts and found that JsonToXmlTransformer is NOT being called for input (json -> xml) transformation, however, on response XmlToJsonTransformer is being called successfully.

            ewittman@redhat.com Eric Wittmann
            ashish_jboss Ashish Patel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: