[jboss-dev-forums] [JBoss ESB Development] - Problem in retrieving WSDL from remote endpoint
David Ward
do-not-reply at jboss.com
Wed Apr 28 10:03:03 EDT 2010
David Ward [http://community.jboss.org/people/dward] replied to the discussion
"Problem in retrieving WSDL from remote endpoint"
To view the discussion, visit: http://community.jboss.org/message/540034#540034
--------------------------------------------------------------
Keith,
Yes, the original example WSDL declares UTF-8, incorrectly. However, my mention of KOI8-R above is not directly related to the original example WSDL. A fellow Red-Hatter sent me various other Russian WSDL examples, with encodings in CP-1251, KOI8-R and UTF-8, and that's what I've been testing with and got working correctly by reading the byte stream into a String using ICU4J. My change also handles the situation of the original example WSDL, incorrect declaration and all.
There is shared code for retrieving the WSDL, so I don't want to do something different for http:// http:// (looking for the Content-Type field) than I do for reading in from file:// or classpath://. Besides, the Content-Type field could be wrong, just as it we saw the declaration was wrong in the original example WSDL.
David
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/540034#540034]
Start a new discussion in JBoss ESB Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2032]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20100428/8b21f362/attachment.html
More information about the jboss-dev-forums
mailing list