dev@ws-test-harness.java.net

wstrust test case failure in e2e harness

From: Ken Hofsass <Kenneth.Hofsass_at_Sun.COM>
Date: Wed, 04 Oct 2006 21:03:34 -0700

Jiandong,

I know you're probably swamped with the jaxws 2.1 migration right now,
but when you have a chance I would appreciate your help on the following
issue...

The wstrust test (scenario5) we've automated with the harness fails.
The failure is caused by SecurityServerPipe.process() calling into
Packet.getApplicationScopedProperties() with
Constants.SUN_TRUST_SERVER_SECURITY_POLICY_NS.

In the last pre-jaxws2.1 version of SecurityServerPipe.java (1.13) it's
at line 215 or line 187 in the latest version (1.14). I'm using the
WSIT tree from Monday afternoon, a few hours before Arun checked in the
JAXWS 2.1 jars.

Kohsuke changed getApplicationScopedProperties to 'assert false'
immediately a while back. This seems to indicate that the test harness
run is getting in a block of code in SecurityServerPipe.process() that
is not normally executed...

This failure code path might occur because the harness is using local
transport. (I'll try it with http and see if happens too). Or it could
be a bug or config error with the e2e harness. If you could take a look
and let me know if you see anything obvious, that would be great.

thanks,
Ken