Senhores bom dia ,
Como eu faço para transformar um serviço SOAP em Rest utilizando do APIM ?
O serviço SOAP ja esta publicado no SOAPUI mas falta agora publica - lo em REST mas estou com dificuldades , teriam como me ajudar ?
translate - Google Search
Sirs, good morning, How do I transform a SOAP service into Rest using APIM? The SOAP service is already published in SOAPUI but it is missing now publish it in REST but I am in difficulties, could they help me? Wallace Felipe
I have added a translation of your question so more people can reply to it ,
Can you explain a bit more which problems you have with this translation ?
This translation is good. The problem is that I am trying to publish a Rest service through a CA API Gateway Policy, I created the policy with the SOAP page and tested it in SOAPUI but now I want to use the same policy to publish a rest service and convert from XML for Json but I do not know how to do the procedure.
I don't know whether I understand your question correctly or not.
If it is regarding message conversion from JSON to XML or XML to JSON you can see below.
Apply JSON Transformation Assertion - CA API Gateway - 9.4 - CA Technologies Documentation
If you want to have custom transformation you have xsl transformation assertion and also below assertions.
Apply XSL Transformation Assertion - CA API Gateway - 9.4 - CA Technologies Documentation
Add or Remove XML Element(s) Assertion - CA API Gateway - 9.4 - CA Technologies Documentation
Evaluate Regular Expression Assertion - CA API Gateway - 9.4 - CA Technologies Documentation
I've already seen this documentation, but I can not implement it in politics, but the way is the same.
Good afternoon, are you able to share your current policy so we can help determine the next step?
Just a note down the track, if you find some issue with the default conversion.
Then keep in mind Guy's converter :
As it can be more specific, following hints to convert single XML child elements into arrays where needed.
Here is the direct link showing in the advanced example using hints to convert children to JSON array - even when only one object.
GitHub - guyplusplus/JSON-XML-Converter-via-OpenAPI-Schema: Convert JSON from and to XML based on the JSON schema includ…
Cheers - Mark
Retrieving data ...