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

The request format is XML? #2

Closed
neusoft-wang opened this issue Dec 20, 2017 · 3 comments
Closed

The request format is XML? #2

neusoft-wang opened this issue Dec 20, 2017 · 3 comments

Comments

@neusoft-wang
Copy link

The request format is APPLICATION_XML? Is there a problem?

@phillip-kruger
Copy link
Owner

Hi.
Sorry, I am not follwing ? Are you creating a REST service with XML payload and using apiee ?
Please elaborate.

Thanks

@neusoft-wang
Copy link
Author

yes. Just as you said.When using Apiee SAXParseException.It is not clear whether it supports XML format payload。
Thanks

@phillip-kruger
Copy link
Owner

I have added an XML Example in the apiee-example:
https://github.com/phillip-kruger/apiee/blob/master/apiee-example/src/main/java/com/github/phillipkruger/apiee/example/ExampleXmlService.java

This shows how you can return XML content. It uses JAXB under the covers.

image

This has got nothing to do with apiee, It's plain JAX-RS.

Does this help ?

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

2 participants