[JBoss JIRA] Commented: (JBWS-1584) Wrong character conversion on windows
by anajavi (JIRA)
[ http://jira.jboss.com/jira/browse/JBWS-1584?page=comments#action_12366141 ]
anajavi commented on JBWS-1584:
-------------------------------
I have same problem using JBoss 4.2.0GA.
I do not think that setting file.encoding should affect parsing XML, because the XML declaration tells the right encoding.
Should this issue be reopened or resubmitted?
> Wrong character conversion on windows
> -------------------------------------
>
> Key: JBWS-1584
> URL: http://jira.jboss.com/jira/browse/JBWS-1584
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: jbossws-1.2.0, jbossws-1.2.0.SP1
> Environment: windows xp professional
> jboss-4.0.5.GA
> jdk1.5.0_11
> Reporter: Frank Grupe
>
> Hi,
> I am facing a problem in the following stripped down scenario:
> @WebService
> @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
> @Stateless
> public class TestService
> {
> @WebMethod
> public String stringTest(String string)
> {
> return string;
> }
> }
> This WebService runs fine on jbossws version 1.0.3.GA, but when upgrading to version 1.2.0 or 1.2.0.SP1 it fails in the following way:
> When passing 'äöü' the service returns 'äöü' instead of 'äöü'. The same conversion errors occur when passing some chinese characters, they are perfectly returned with the old version, but are erroneous with the new versions. (I have used the eclipse WebService Explorer as well as the SUN jaxws client to test it)
> I have also tested this on Linux, but there it works correctly with all versions.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 6 months
[JBoss JIRA] Commented: (JBWS-1594) Support certificate password different from keystore
by Peter Johnson (JIRA)
[ http://jira.jboss.com/jira/browse/JBWS-1594?page=comments#action_12365589 ]
Peter Johnson commented on JBWS-1594:
-------------------------------------
Thomas, I checked out the 2.0 branch from Subversion and verified that the patch works correctly. I used JBossAS 4.2 for my test. Thanks for putting this in.
> Support certificate password different from keystore
> ----------------------------------------------------
>
> Key: JBWS-1594
> URL: http://jira.jboss.com/jira/browse/JBWS-1594
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: ws-security
> Affects Versions: jbossws-2.0.0.CR5, jbossws-2.0.0.Beta, jbossws-1.2.0.SP1, jbossws-1.2.0
> Reporter: Peter Johnson
> Assigned To: Thomas Diesler
> Priority: Critical
> Fix For: jbossws-2.0.0
>
> Attachments: patch.txt
>
>
> If I generate a certificate and use a different password for it than what I used for the keystore, then I get a key not found error on the server when an ecnrypted SOAP message is sent. The problem appears to be in the SecurityStore.getPrivateKey method, this line:
> key = (PrivateKey)keyStore.getKey(alias, decryptPassword(keyStorePassword).toCharArray());
> which assumes that the keystore password is also associated with the certificate.
> I also checked jboss-ws-security_1_0.xsd to see if there was a way to provide a password along with the alias in the tag, but there was none.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 6 months
[JBoss JIRA] Reopened: (JBWS-1556) @WebWservice does not work with class isolation
by Thomas Diesler (JIRA)
[ http://jira.jboss.com/jira/browse/JBWS-1556?page=all ]
Thomas Diesler reopened JBWS-1556:
----------------------------------
Extend test case to exchange a user type
> @WebWservice does not work with class isolation
> ------------------------------------------------
>
> Key: JBWS-1556
> URL: http://jira.jboss.com/jira/browse/JBWS-1556
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: jbossws-jaxws
> Reporter: Thomas Diesler
> Assigned To: Thomas Diesler
> Fix For: jbossws-2.0.0
>
>
> It seems that Web Services do not work when the EAR that contains the @WebService class has an isolated classloader. Here is my take on what happens:
> You deploy the ear and JBoss creates a war, that contains a web.xml, that points to the org.jboss.ws.server.ServiceEndpointServlet.
> You can send a request to the web service bean no problem, but any objects that get returned from it will throw a NoClassDefFoundError because this ServiceEndpointServlet is deployed outside of the EAR and, since it has an isolated classloader, can't reference the returned class.
> My application works absolutely fine when I turn off all isolation of the classloader. I don't think this can be fixed. Any ideas?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 6 months
[JBoss JIRA] Reopened: (JBWS-1594) Support certificate password different from keystore
by Thomas Diesler (JIRA)
[ http://jira.jboss.com/jira/browse/JBWS-1594?page=all ]
Thomas Diesler reopened JBWS-1594:
----------------------------------
Peter, I reopen the issue to remind myself that it needs confirmation from you.
The release is scheduled for 1-Jul-2007 if. I don't hear from before code freeze (22-Jun-2007)
the code will go into the release as is.
> Support certificate password different from keystore
> ----------------------------------------------------
>
> Key: JBWS-1594
> URL: http://jira.jboss.com/jira/browse/JBWS-1594
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: ws-security
> Affects Versions: jbossws-2.0.0.Beta, jbossws-1.2.0, jbossws-1.2.0.SP1, jbossws-2.0.0.CR5
> Reporter: Peter Johnson
> Assigned To: Thomas Diesler
> Priority: Critical
> Fix For: jbossws-2.0.0
>
> Attachments: patch.txt
>
>
> If I generate a certificate and use a different password for it than what I used for the keystore, then I get a key not found error on the server when an ecnrypted SOAP message is sent. The problem appears to be in the SecurityStore.getPrivateKey method, this line:
> key = (PrivateKey)keyStore.getKey(alias, decryptPassword(keyStorePassword).toCharArray());
> which assumes that the keystore password is also associated with the certificate.
> I also checked jboss-ws-security_1_0.xsd to see if there was a way to provide a password along with the alias in the tag, but there was none.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 6 months