Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proper XML support #80

Open
Aelion-MM opened this issue May 4, 2016 · 3 comments
Open

Proper XML support #80

Aelion-MM opened this issue May 4, 2016 · 3 comments

Comments

@Aelion-MM
Copy link

I would like to see proper XML support for:

  • Receiving requests
  • Sending requests body
  • Sending requests result

Right now we can't parse this data because the REST services module expects JSON on all occasions. Simply using the SOAP functionality isn't an option since the web-service is a REST service and doesn't work with all the SOAP overhead in the XML messages.

For the short term solution, I implemented the org.JSON XML to JSON conversion option but this doesn't work really nice in all of the situations.

@mweststrate
Copy link
Contributor

Hi @Aelion-MM

The rest module only offers support for json indeed. Not however that you can make custom requests from java and invoke existing XML mapping documents from Java as well, so in that way you should be able to combine the two concepts.

Nonetheless, I recommend filing a ticket at support.mendix.com for full XML based REST support.

@ako
Copy link
Member

ako commented May 18, 2016

Hi,

Support for XML will be part of native REST. Please visit mendix world session on mappings to learn more about native rest, json and xml mappings.

Regards,
Andrej

@Aelion-MM
Copy link
Author

Hi @mweststrate and @ako,

Thank you for the responses, I would love to see the native REST support, and I'll make sure to join the sessions on topics related to it.

In the mean time my clients need a solution, so I implemented the org.json XML to JSON and JSON to XML converter options in the REST module. Is it possible to push these changes with some documentation so they could become part of the current module?

Regards,
Mitchel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants