We need to parse the xml response of a SOAP web service and the output xml has a list. We can get the result AppState.Variable.SearchServResponse.SearchServResult[“a:BBB”] if there is not a list. But in our example, xml is like the following one I posted and we cannot get the Num[0] for the first response, for instance. Does anybody know how the syntax should be for our case? Composer version is the latest one. We tried to get the response using array but could not be successful.
MCP logs and GVP Debugger results are limited, it can only show us a specific number of characters for JSON. The only thing special is the “[” character after SearchInfo, which means an array is defined at this point.
Yeah…which is weird because seems the xml is not converted correctly. The JSON should contain only the XML elements, not the whole headers and definitions.
Which block are you using?
Expression below should return ‘AAA’ assuming that JSON object (shown in your previous post) is stored in the AppState.Variable.SearchServResponse variable
Thank you guys, I can get the parameter now. I need to be more patient next time, it was all about json. I thought it is not possible to get the parameter after some trials similar to the right method, so I posted it here.