[Apiman-user] Transformer policy plugin issue

Ashish Patel Ashish.Patel at futureretail.in
Thu Jun 9 08:45:36 EDT 2016


Hi,

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.

Kindly suggest.

Thanks & Regards,
Ashish Patel

"Scientists investigate that which already is;Engineers create that which has never been." - Albert Einstein.


________________________________
Disclaimer: This message may contain privileged and confidential information and is solely for the use of intended recipient. The views expressed in this email are those of the sender and not Future Group's. The recipient should check this email and attachments for the presence of viruses. Future Group accepts no liability for any damage caused by any virus transmitted by this email. Future Group may monitor and record all emails.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20160609/221e4739/attachment.html 


More information about the Apiman-user mailing list