}
@Test
public void testDifferentPolicyLanguage() throws Exception {
try {
HelloWorld helloWorld = node.getService(HelloWorld.class, "HelloWorldClientDifferentPolicyLanguage");
helloWorld.getGreetings("petra");
fail("Exception expected");
} catch (Exception ex) {
assertTrue(ex.getMessage().indexOf("No match because the policy sets on either side have policies in differnt languages {http://www.w3.org/ns/ws-policy}ExactlyOne and {http://tuscany.apache.org/xmlns/sca/1.1}jdkLogger") > -1);
}
}