Change the response type Follow
I recorded services, with default response type as JSON, How do I change it to be XML?
The default response type of AuraPlayer services is set to JSON by default.
In previous versions the default type used to be XML.
There was always the option to switch between the types, but there is no way to change the default type of the response of the service created.
In you'd like to change the response type of a service you have created you can do either of the following:
1. Once you Create Service, or when you Edit service go to Advance tab, then check or uncheck the "use as JSON" checkbox
2. It is also possible the response type of the Service in the input parameter of the service. ALL AuraPlayer's services have input parameter that determines the response type to be either XML or JSON.
In order to determine the response type it is required to add to the service request the following parameter:
json=false
and then the response would be XML. That flag is overriding the checkbox that is in paragraph 1.
Comments
0 comments
Please sign in to leave a comment.