[jboss-user] [JBossWS] - Re: communicating with WS in c# thorugh Java - encoding prob
Asaf, We had the same problem. The problem occur because not all the steps that are involved in Web Services creation support UTF-8 by default. Add to your JBoss startup script the following parameter: -Dfile.encoding=utf-8 This should solve your problem. Ronen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138709#4138709 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138709 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: communicating with WS in c# thorugh Java - encoding prob
Great, I wouldn't never imagine that this flag is related to WS encoding, Many thanks, Asaf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138763#4138763 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138763 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: communicating with WS in c# thorugh Java - encoding prob
Well, you could start investigating what actually goes to the wire to understand which side is the problem. This way we could eventually see if there's an issue and perhaps create a test case showing it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138293#4138293 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138293 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: communicating with WS in c# thorugh Java - encoding prob
Hey, I performed some tests and now I am sure there's encoding problem but I'm not sure on which size, I've created the simplest WS .NET method with one string parameter and after calling the WS method, on the .NET side I see gibberish instead of UTF8 encoded string, Please note, English works fine, the problem occurs only in other languages (in my situation it's hebrew) Is there anything I can do? I'm clueless, I'm finding myself encoding/decoding strings in Base64 because of this issue :( Many thanks, Asaf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4137146#4137146 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4137146 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: communicating with WS in c# thorugh Java - encoding prob
javax.xml.soap.SOAPMessage |/** Specifies the character type encoding for the SOAP Message. Valid values include utf-8 and utf-16. The default is utf-8. */ |public static final String CHARACTER_SET_ENCODING = javax.xml.soap.character-set-encoding; | The soap message can either be UTF-8 or UTF-16 encoded We regularly attend the MSFT .NET interop workshop and don't see that issue there View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4136534#4136534 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4136534 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: communicating with WS in c# thorugh Java - encoding prob
Hey, Well, something is wrong, I have a file saved as unicode, I read the content of the file into a java String variable and pass it to the WS, I see gibberish on the other side (C#), Is there any way to investigate it? are there any WS testcases in C#/.NET and WS client code in java so I can take a look and see what's wrong ? I have an assumption that the content gets encoded more than once on the way for some reason, Many thanks, Asaf. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4136564#4136564 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4136564 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user