[JBoss JIRA] Created: (JBWS-1330) Fix jaxrpc wsse tests for jbossws-5.0
by Thomas Diesler (JIRA)
Fix jaxrpc wsse tests for jbossws-5.0
-------------------------------------
Key: JBWS-1330
URL: http://jira.jboss.com/jira/browse/JBWS-1330
Project: JBoss Web Services
Issue Type: Task
Security Level: Public (Everyone can see)
Reporter: Thomas Diesler
Fix For: jbossws-2.0.0.CR2
[tdiesler@tdvaio test]$ ant -Dtest=jaxrpc/wsse test
tests-main:
[junit] Running org.jboss.test.ws.jaxrpc.wsse.MicrosoftInteropTestCase
[junit] FIXME: [JBWS-1130] Consolidate namespace declarations
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.863 sec
[junit] Running org.jboss.test.ws.jaxrpc.wsse.NotEncodedTestCase
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 3.536 sec
[junit] Test org.jboss.test.ws.jaxrpc.wsse.NotEncodedTestCase FAILED
[junit] Running org.jboss.test.ws.jaxrpc.wsse.RoundTripTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 3.289 sec
[junit] Running org.jboss.test.ws.jaxrpc.wsse.RpcTestCase
[junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 6.722 sec
[junit] Test org.jboss.test.ws.jaxrpc.wsse.RpcTestCase FAILED
[junit] Running org.jboss.test.ws.jaxrpc.wsse.SignEncryptFaultTestCase
[junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 7.19 sec
[junit] Test org.jboss.test.ws.jaxrpc.wsse.SignEncryptFaultTestCase FAILED
[junit] Running org.jboss.test.ws.jaxrpc.wsse.SignFaultTestCase
[junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 5.947 sec
[junit] Test org.jboss.test.ws.jaxrpc.wsse.SignFaultTestCase FAILED
[junit] Running org.jboss.test.ws.jaxrpc.wsse.SimpleSignEncryptTestCase
[junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 6.581 sec
[junit] Test org.jboss.test.ws.jaxrpc.wsse.SimpleSignEncryptTestCase FAILED
[junit] Running org.jboss.test.ws.jaxrpc.wsse.StorePassEncryptTestCase
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 5.452 sec
[junit] Test org.jboss.test.ws.jaxrpc.wsse.StorePassEncryptTestCase FAILED
[junit] Running org.jboss.test.ws.jaxrpc.wsse.SunInteropTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 2.382 sec
[junit] Running org.jboss.test.ws.jaxrpc.wsse.UsernameTestCase
[junit] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 0.431 sec
[junit] Test org.jboss.test.ws.jaxrpc.wsse.UsernameTestCase FAILED
[junit] Running org.jboss.test.ws.jaxrpc.wsse.WebClientTestCase
[junit] [JBAS-3824] Fix ENC for EJB2.1 and Servlets
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.524 sec
[junit] Running org.jboss.test.ws.jaxrpc.wsse.signup.AccountSignupTestCase
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 4.64 sec
[junit] Test org.jboss.test.ws.jaxrpc.wsse.signup.AccountSignupTestCase FAILED
--
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, 3 months
[JBoss JIRA] Created: (JBWS-1808) BackwardCompatibleURLPatternDeploymentAspect is mangling valid URLpatterns
by Andrew Dinn (JIRA)
BackwardCompatibleURLPatternDeploymentAspect is mangling valid URLpatterns
--------------------------------------------------------------------------
Key: JBWS-1808
URL: http://jira.jboss.com/jira/browse/JBWS-1808
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: jbossws-2.1.0
Reporter: Andrew Dinn
Priority: Minor
BackwardCompatibleURLPatternDeploymentAspect overrides method getExplicitPattern to check for and remove any leading context root in a servlet mapping URL pattern e.g. if the context root is "/provider" and the URL pattern is "/provider/services/* it 'corrects' the URL pattern to "/services/*". However, it is over-eager. For example, if the context root is "/provider" and the URL pattern is "/providerservices/*" then the pattern is mangled to "services/*" causing problems down the line. The check at line 59 needs to be modified a follows
StringTokenizer st = new StringTokenizer(urlPattern, "/");
- if (st.countTokens() > 1 && urlPattern.startsWith(contextRoot))
+ if (st.countTokens() > 1 && urlPattern.startsWith(contextRoot + "/"))
{
urlPattern = urlPattern.substring(contextRoot.length());
}
--
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, 3 months