square / retrofit

A type-safe HTTP client for Android and the JVM
https://square.github.io/retrofit/
Apache License 2.0
43.12k stars 7.3k forks source link

How to set "noNamespaceSchemaLocation" in retrofit2:converter-simplexml? #1825

Closed 7odri9o closed 8 years ago

7odri9o commented 8 years ago

I ned to use a xml webservice that has "noNamespaceSchemaLocation" with a *.xsd value. When consuming it on android application with retrofit and converter-simplexml content is not recognized.

`<?xml version = '1.0' encoding='UTF-8'?>

` What kind of issue is this? - [x] Question. This issue tracker is not the place for questions. If you want to ask how to do something, or to understand why something isn't working the way you expect it to, use Stack Overflow. https://stackoverflow.com/questions/tagged/retrofit - [ ] Bug report. If you’ve found a bug, spend the time to write a failing test. Bugs with tests get fixed. Here’s an example: https://gist.github.com/swankjesse/6608b4713ad80988cdc9 - [ ] Feature Request. Start by telling us what problem you’re trying to solve. Often a solution already exists! Don’t send pull requests to implement new features without first getting our support. Sometimes we leave features out on purpose to keep the project small.
JakeWharton commented 8 years ago

You'll have to consult the documentation for the Simple XML library or ask on StackOverflow using an appropriate tag for the library. This isn't a problem (or question) about Retrofit itself.

7odri9o commented 8 years ago

Ok Jake! I asked here because I was talk about "com.squareup.retrofit2:converter-simplexml" that is a plugin to do a funcionality that retrofit don't have.

JakeWharton commented 8 years ago

That is just a shim for the Simple library. We have never used it so we have no knowledge of how to configure it.

On Mon, May 30, 2016, 9:03 PM Rodrigo Henrique notifications@github.com wrote:

Ok Jake! I asked here because I was talk about "com.squareup.retrofit2:converter-simplexml" that is a plugin to do a funcionality that retrofit don't have.

— You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub https://github.com/square/retrofit/issues/1825#issuecomment-222571696, or mute the thread https://github.com/notifications/unsubscribe/AAEEEYzrT-50-qRT98OZ5BPsVuiHa5AGks5qG4jFgaJpZM4IphZp .