Hi create an API from web services soap i use jtrasformation for Request and response , but i have this issue, if web services response with a value jtrasform work fine in case of web serv ice return no value (e.g show method do not find any result) web service return a faultHandling. I tried to use in response in jtrasfomation this code <jsonTransform continueOnError="false"
displayName="jsonTransformMingle01"
enabled="true"
name="JSONTransformMingle01"
version="1"
xmlns="http://www.infor.com/ion/api"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.infor.com/ion/api jsonTransform.xsd">
<transformations>
<transform kind="handlebars"
outputType="application/json">
<![CDATA[{
{{#if (isJson input)}}
"text": "{{jsonPathValue '$..addressCode'}}"
{{else}}
"error": {
"code": "{{xPath '/S:Envelope/S:Body/S:Fault/faultcode/text()'}}",
"message": "{{xPath '/S:Envelope/S:Body/S:Fault/faultstring/text()'}}",
"details": "{{xPath '/S:Envelope/S:Body/S:Fault/detail//messageText/text()'}}"
}
{{/if}}
}]]></transform>
</transformations>
</jsonTransform> but gve error i tried also using faultiHandling but i'm always problem to trasform this value in json. Target is using in document flow and response must be a json.
Some one have already a situationlike this. Maybe there is a solution.
I'm begin Mad
A