javaee / metro-wsit

https://javaee.github.io/metro-wsit/
Other
9 stars 24 forks source link

WSA Interop tests 1143, 1243 regression failures against 3.5 & 4.0 endpoints #1292

Open glassfishrobot opened 15 years ago

glassfishrobot commented 15 years ago

WSA Interop 3.5 endpoints Interop Tests (Tango Client -> Tango Endpoint) interop-tango2tango wsa.​crinterop.​s11.​client.​AllTests 24 23 wsa.​crinterop.​s12.​client.​AllTests 29 28 wsa.​msinterop.​s11.​client.​AllTests 18 17 wsa.​msinterop.​s12.​client.​AllTests 19 18

Test Suite wsa.crinterop.s11.client.AllTests test1143 fail expected:<

{http://www.w3.org/2005/08/addressing}

InvalidAddressingHeader> but was:<

{http://www.w3.org/2005/08/addressing}

MessageAddressingHeaderRequired>

Test Suite wsa.crinterop.s12.client.AllTests test1243 fail expected:<

{http://www.w3.org/2005/08/addressing}

MessageAddressingHeaderRequired> but was:<

{http://www.w3.org/2005/08/addressing}

InvalidAddressingHeader>

Test Suite wsa.msinterop.s11.client.AllTests test1143 fail expected:<

{http://schemas.xmlsoap.org/ws/2004/08/addressing}

InvalidMessageInformationHeader> but was:<

{http://schemas.xmlsoap.org/ws/2004/08/addressing}

MessageInformationHeaderRequired>

Test Suite wsa.msinterop.s12.client.AllTests test1243 fail expected:<

{http://schemas.xmlsoap.org/ws/2004/08/addressing}

MessageInformationHeaderRequired> but was:<

{http://schemas.xmlsoap.org/ws/2004/08/addressing}

InvalidMessageInformationHeader>

Interop Tests (Tango Client -> Indigo Endpoint) interop-tango2indigo Test Suite wsa.crinterop.s11.client.AllTests2Indigo test1143 fail expected:<

{http://www.w3.org/2005/08/addressing}

InvalidAddressingHeader> but was:<

{http://www.w3.org/2005/08/addressing}

MessageAddressingHeaderRequired>

Test Suite wsa.crinterop.s12.client.AllTests2Indigo test1243 fail expected:<

{http://www.w3.org/2005/08/addressing}

MessageAddressingHeaderRequired> but was:<

{http://www.w3.org/2005/08/addressing}

InvalidAddressingHeader>

WSA Interop 4.0 endpoints Interop Tests (Tango Client -> Tango Endpoint) interop-tango2tango

Test Suite wsa.crinterop.s11.client.AllTests test1143 fail expected:<

{http://www.w3.org/2005/08/addressing}

InvalidAddressingHeader> but was:<

{http://www.w3.org/2005/08/addressing}

MessageAddressingHeaderRequired>

Test Suite wsa.crinterop.s12.client.AllTests test1243 fail expected:<

{http://www.w3.org/2005/08/addressing}

MessageAddressingHeaderRequired> but was:<

{http://www.w3.org/2005/08/addressing}

InvalidAddressingHeader>

Test Suite wsa.msinterop.s11.client.AllTests test1143 fail expected:<

{http://schemas.xmlsoap.org/ws/2004/08/addressing}

InvalidMessageInformationHeader> but was:<

{http://schemas.xmlsoap.org/ws/2004/08/addressing}

MessageInformationHeaderRequired>

Test Suite wsa.msinterop.s12.client.AllTests test1243 fail expected:<

{http://schemas.xmlsoap.org/ws/2004/08/addressing}

MessageInformationHeaderRequired> but was:<

{http://schemas.xmlsoap.org/ws/2004/08/addressing}

InvalidMessageInformationHeader>

Interop Tests (Tango Client -> Indigo Endpoint) interop-tango2indigo Test Suite wsa.crinterop.s11.client.AllTests2Indigo test1143 fail expected:<

{http://www.w3.org/2005/08/addressing}

InvalidAddressingHeader> but was:<

{http://www.w3.org/2005/08/addressing}

MessageAddressingHeaderRequired>

Test Suite wsa.crinterop.s12.client.AllTests2Indigo test1243 fail expected:<

{http://www.w3.org/2005/08/addressing}

MessageAddressingHeaderRequired> but was:<

{http://www.w3.org/2005/08/addressing}

InvalidAddressingHeader>

4.0 tests S->M test4u log shows this stack trace:

[jvmTestRunner] WARNING: A required header representing a Message Addressing Property is not present, Problem header:

{http://www.w3.org/2005/08/addressing}

RelatesTo [jvmTestRunner] com.sun.xml.ws.addressing.model.MissingAddressingHeaderException: Missing WS-Addressing header: "

{http://www.w3.org/2005/08/addressing}

RelatesTo" [jvmTestRunner] at com.sun.xml.ws.addressing.W3CWsaClientTube.checkMandatoryHeaders(W3CWsaClientTube.java:76) [jvmTestRunner] at com.sun.xml.ws.addressing.WsaTube.checkCardinality(WsaTube.java:337) [jvmTestRunner] at com.sun.xml.ws.addressing.WsaTube.checkMessageAddressingProperties(WsaTube.java:183) [jvmTestRunner] at com.sun.xml.ws.addressing.WsaTube.validateInboundHeaders(WsaTube.java:140) [jvmTestRunner] at com.sun.xml.ws.addressing.WsaClientTube.processResponse(WsaClientTube.java:85) [jvmTestRunner] at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:639) [jvmTestRunner] at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588) [jvmTestRunner] at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573) [jvmTestRunner] at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470) [jvmTestRunner] at com.sun.xml.ws.client.Stub.process(Stub.java:319) [jvmTestRunner] at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:189) [jvmTestRunner] at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:215) [jvmTestRunner] at testutil.WsaUtils.invoke(WsaUtils.java:91) [jvmTestRunner] at wsa.crinterop.s11.client.EchoClient2Indigo.test1143(EchoClient2Indigo.java:213) [jvmTestRunner] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [jvmTestRunner] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [jvmTestRunner] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [jvmTestRunner] at java.lang.reflect.Method.invoke(Method.java:597) [jvmTestRunner] at junit.framework.TestCase.runTest(TestCase.java:164) [jvmTestRunner] at junit.framework.TestCase.runBare(TestCase.java:130) [jvmTestRunner] at junit.framework.TestResult$1.protect(TestResult.java:106) [jvmTestRunner] at junit.framework.TestResult.runProtected(TestResult.java:124) [jvmTestRunner] at junit.framework.TestResult.run(TestResult.java:109) [jvmTestRunner] at junit.framework.TestCase.run(TestCase.java:120) [jvmTestRunner] at junit.framework.TestSuite.runTest(TestSuite.java:230) [jvmTestRunner] at junit.framework.TestSuite.run(TestSuite.java:225) [jvmTestRunner] at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:191) [jvmTestRunner] at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:146) [jvmTestRunner] at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:82)

[snip] test suite wsa.crinterop.s11.client.AllTests2Indigo FAILED [jvmTestRunner] - time elapsed: 63.354 seconds [jvmTestRunner] - passed: 22 failed: 1 errors: 0 total: 23

[jvmTestRunner] WARNING: A required header representing a Message Addressing Property is not present, Problem header:

{http://www.w3.org/2005/08/addressing}

RelatesTo [jvmTestRunner] com.sun.xml.ws.addressing.model.MissingAddressingHeaderException: Missing WS-Addressing header: "

{http://www.w3.org/2005/08/addressing}

RelatesTo" [jvmTestRunner] at com.sun.xml.ws.addressing.W3CWsaClientTube.checkMandatoryHeaders(W3CWsaClientTube.java:76) [jvmTestRunner] at com.sun.xml.ws.addressing.WsaTube.checkCardinality(WsaTube.java:337) [jvmTestRunner] at com.sun.xml.ws.addressing.WsaTube.checkMessageAddressingProperties(WsaTube.java:183) [jvmTestRunner] at com.sun.xml.ws.addressing.WsaTube.validateInboundHeaders(WsaTube.java:140) [jvmTestRunner] at com.sun.xml.ws.addressing.WsaClientTube.processResponse(WsaClientTube.java:85) [jvmTestRunner] at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:639) [jvmTestRunner] at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588) [jvmTestRunner] at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573) [jvmTestRunner] at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470) [jvmTestRunner] at com.sun.xml.ws.client.Stub.process(Stub.java:319) [jvmTestRunner] at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:189) [jvmTestRunner] at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:215) [jvmTestRunner] at testutil.WsaUtils.invoke12(WsaUtils.java:103) [jvmTestRunner] at wsa.crinterop.s12.client.EchoClient2Indigo.test1243(EchoClient2Indigo.java:213) [jvmTestRunner] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [jvmTestRunner] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [jvmTestRunner] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [jvmTestRunner] at java.lang.reflect.Method.invoke(Method.java:597) [jvmTestRunner] at junit.framework.TestCase.runTest(TestCase.java:164) [jvmTestRunner] at junit.framework.TestCase.runBare(TestCase.java:130) [jvmTestRunner] at junit.framework.TestResult$1.protect(TestResult.java:106) [jvmTestRunner] at junit.framework.TestResult.runProtected(TestResult.java:124) [jvmTestRunner] at junit.framework.TestResult.run(TestResult.java:109) [jvmTestRunner] at junit.framework.TestCase.run(TestCase.java:120) [jvmTestRunner] at junit.framework.TestSuite.runTest(TestSuite.java:230) [jvmTestRunner] at junit.framework.TestSuite.run(TestSuite.java:225) [jvmTestRunner] at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:191) [jvmTestRunner] at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:146) [jvmTestRunner] at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:82)

[snip]

[jvmTestRunner] - test suite wsa.crinterop.s12.client.AllTests2Indigo FAILED [jvmTestRunner] - time elapsed: 123.386 seconds [jvmTestRunner] - passed: 24 failed: 1 errors: 0 total: 25

3.5 endpoints S->M test4u log shows this stack trace:

[jvmTestRunner] WARNING: A required header representing a Message Addressing Property is not present, Problem header:

{http://www.w3.org/2005/08/addressing}

RelatesTo [jvmTestRunner] com.sun.xml.ws.addressing.model.MissingAddressingHeaderException: Missing WS-Addressing header: "

{http://www.w3.org/2005/08/addressing}

RelatesTo" [jvmTestRunner] at com.sun.xml.ws.addressing.W3CWsaClientTube.checkMandatoryHeaders(W3CWsaClientTube.java:76) [jvmTestRunner] at com.sun.xml.ws.addressing.WsaTube.checkCardinality(WsaTube.java:337) [jvmTestRunner] at com.sun.xml.ws.addressing.WsaTube.checkMessageAddressingProperties(WsaTube.java:183) [jvmTestRunner] at com.sun.xml.ws.addressing.WsaTube.validateInboundHeaders(WsaTube.java:140) [jvmTestRunner] at com.sun.xml.ws.addressing.WsaClientTube.processResponse(WsaClientTube.java:85) [jvmTestRunner] at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:639) [jvmTestRunner] at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588) [jvmTestRunner] at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573) [jvmTestRunner] at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470) [jvmTestRunner] at com.sun.xml.ws.client.Stub.process(Stub.java:319) [jvmTestRunner] at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:189) [jvmTestRunner] at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:215) [jvmTestRunner] at testutil.WsaUtils.invoke12(WsaUtils.java:103) [jvmTestRunner] at wsa.crinterop.s12.client.EchoClient2Indigo.test1243(EchoClient2Indigo.java:213) [jvmTestRunner] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [jvmTestRunner] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [jvmTestRunner] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [jvmTestRunner] at java.lang.reflect.Method.invoke(Method.java:597) [jvmTestRunner] at junit.framework.TestCase.runTest(TestCase.java:164) [jvmTestRunner] at junit.framework.TestCase.runBare(TestCase.java:130) [jvmTestRunner] at junit.framework.TestResult$1.protect(TestResult.java:106) [jvmTestRunner] at junit.framework.TestResult.runProtected(TestResult.java:124) [jvmTestRunner] at junit.framework.TestResult.run(TestResult.java:109) [jvmTestRunner] at junit.framework.TestCase.run(TestCase.java:120) [jvmTestRunner] at junit.framework.TestSuite.runTest(TestSuite.java:230) [jvmTestRunner] at junit.framework.TestSuite.run(TestSuite.java:225) [jvmTestRunner] at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:191) [jvmTestRunner] at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:146) [jvmTestRunner] at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:82)

[jvmTestRunner] - test suite wsa.crinterop.s12.client.AllTests2Indigo FAILED [jvmTestRunner] - time elapsed: 123.737 seconds [jvmTestRunner] - passed: 24 failed: 1 errors: 0 total: 25

[jvmTestRunner] WARNING: A required header representing a Message Addressing Property is not present, Problem header:

{http://www.w3.org/2005/08/addressing}

RelatesTo [jvmTestRunner] com.sun.xml.ws.addressing.model.MissingAddressingHeaderException: Missing WS-Addressing header: "

{http://www.w3.org/2005/08/addressing}

RelatesTo" [jvmTestRunner] at com.sun.xml.ws.addressing.W3CWsaClientTube.checkMandatoryHeaders(W3CWsaClientTube.java:76) [jvmTestRunner] at com.sun.xml.ws.addressing.WsaTube.checkCardinality(WsaTube.java:337) [jvmTestRunner] at com.sun.xml.ws.addressing.WsaTube.checkMessageAddressingProperties(WsaTube.java:183) [jvmTestRunner] at com.sun.xml.ws.addressing.WsaTube.validateInboundHeaders(WsaTube.java:140) [jvmTestRunner] at com.sun.xml.ws.addressing.WsaClientTube.processResponse(WsaClientTube.java:85) [jvmTestRunner] at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:639) [jvmTestRunner] at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588) [jvmTestRunner] at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573) [jvmTestRunner] at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470) [jvmTestRunner] at com.sun.xml.ws.client.Stub.process(Stub.java:319) [jvmTestRunner] at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:189) [jvmTestRunner] at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:215) [jvmTestRunner] at testutil.WsaUtils.invoke(WsaUtils.java:91) [jvmTestRunner] at wsa.crinterop.s11.client.EchoClient2Indigo.test1143(EchoClient2Indigo.java:213) [jvmTestRunner] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [jvmTestRunner] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [jvmTestRunner] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [jvmTestRunner] at java.lang.reflect.Method.invoke(Method.java:597) [jvmTestRunner] at junit.framework.TestCase.runTest(TestCase.java:164) [jvmTestRunner] at junit.framework.TestCase.runBare(TestCase.java:130) [jvmTestRunner] at junit.framework.TestResult$1.protect(TestResult.java:106) [jvmTestRunner] at junit.framework.TestResult.runProtected(TestResult.java:124) [jvmTestRunner] at junit.framework.TestResult.run(TestResult.java:109) [jvmTestRunner] at junit.framework.TestCase.run(TestCase.java:120) [jvmTestRunner] at junit.framework.TestSuite.runTest(TestSuite.java:230) [jvmTestRunner] at junit.framework.TestSuite.run(TestSuite.java:225) [jvmTestRunner] at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:191) [jvmTestRunner] at org.netbeans.xtest.testrunner.JUnitTestRunner.runTests(JUnitTestRunner.java:146) [jvmTestRunner] at org.netbeans.xtest.plugin.jvm.JUnitTestRunnerLauncher.main(JUnitTestRunnerLauncher.java:82)

[snip]

[jvmTestRunner] - test suite wsa.crinterop.s11.client.AllTests2Indigo FAILED [jvmTestRunner] - time elapsed: 63.503 seconds [jvmTestRunner] - passed: 22 failed: 1 errors: 0 total: 23

Rama Pulavarthi wrote:

Please expect some regressions in WSA interop due to my latest fixes for JAX-WS #701 This is a not regression to main wsa fucntinality but to negative tests which manipulate wsa headers explicitly. Regressions we caught in unit tests are test1143, test1243, test with duplicate action header. I will soon send changes to be made to these tests.

thanks, Rama Pulavarthi

On 10/02/09 14:25, Rama Pulavarthi wrote:

Now with Dispatch and Provider, Addressing is enabled by default if WSDL has Addressing Policy in it and this is amde as part of bug fix https://jax-ws.dev.java.net/issues/show_bug.cgi?id=701. For tests 1143 and 1243, AddressingFeature should be disabled and complete soap message with all the required WSA headers for the test need to be sent. You can look at the unit tests /sw/wpts/jaxws-ri/test/src/wsa/fromwsdl/crinterop/s12/client and /sw/wpts/jaxws-ri/testutil/src/testutil/Attic/WsaSOAPMessages.java to

neither of these two files/dirs exist.

% cvs co -P jaxws-ri/test % cat CVS/Root :pserver:jbenoit@sunsw.sfbay.sun.com:/sw/wpts

%pwd /jaxws-ri/test/src

% ls CVS/ fromjava/ RuntimeModelerDriver.java fromwsdl/ WsGen.java rt_wsdl_parser/ WsImport.java server/ async/ testutil/ benchmark/ whitebox/ client/ xop/ customization/

% ls wsa/fromwsdl/crinterop/s12/client wsa/fromwsdl/crinterop/s12/client: No such file or directory

% ls testutil/Attic/WsaSOAPMessages.java testutil/Attic/WsaSOAPMessages.java: No such file or directory

Rama states to use "Use rearch-2005 branch. "

i wrote, did that and still don't see jaxws-ri/testutil/src/testutil/Attic/WsaSOAPMessages.java

Rama wrote: Ah, It should be /sw/wpts/jaxws-ri/testutil/src/testutil/WsaSOAPMessages.java I thought deleted files will be under Attic. I don't know why the cvs notification in the attached message has Attic in the path.

Fabian wrote: When you cvs remove a file or add a file on a branch, CVS moves it to a subdirectory named Attic in the repository. In your local checkout, CVS will still display that file as belonging to the parent directory. Looks like the application that mails these CVS notifications isn't very smart about that.

I wrote: the example you cite above still uses createDispatchWithWSDLWithAddressing() but your comment above says "AddressingFeature should be disabled" so shouldn't example use createDispatchWithWSDLWithoutAddressing() defined in BindingProviderUtil.java

Rama writes: Yes, as we want Addressing disabled on that proxy, you should use createDispatchWithWSDLWithoutAddressing() method.

I've made these changes to the 3.5 CVS test branch to use createDispatchWithWSDLWithoutAddressing() instead of createDispatchWithWSDLWithAddressing() and tests still fail.

investigating what if any changes to WSA tests equivalent file for jaxws-ri/testutil/src/testutil/Attic/WsaSOAPMessages.java which may need to be made.

Environment

Operating System: SunOS Platform: All

Affected Versions

[2.0]

glassfishrobot commented 15 years ago

Reported by jbenoit@java.net

glassfishrobot commented 14 years ago

dougb62@java.net said: Adding myself as a CC

glassfishrobot commented 14 years ago

msreekanth@java.net said: adding myself to cc list.

glassfishrobot commented 12 years ago

snajper said: Sreekanth, is this still valid?

glassfishrobot commented 12 years ago

msreekanth said: The above tests are commented out and not run.Will start working on these tests.

glassfishrobot commented 15 years ago

Was assigned to msreekanth

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA WSIT-1292