* JAX-WS MessageContex. As per the agreement between OpenEJB and the Web Service Provider
* the MessageContex should have been passed into the container.invoke method
* and the container should then ensure it's available via getContextData()
* for the duration of this call.
*/
MessageContext messageContext = (MessageContext)context.getContextData();
junit.framework.Assert.assertNotNull("message context should not be null", messageContext);
junit.framework.Assert.assertTrue("the Web Service Provider's message context should be used", messageContext instanceof FakeMessageContext);
// Try to get JAX-RPC context, should throw an exception since it's JAX-WS