TryPolicyWebServiceClient extends
		AbstractCXFLoggingConfigurerClient { public String tryPolicy(String c32Xml, String xacmlPolicy, String purposeOfUse) { try (TryPolicyPortTypeProxy port = createPort(this.endpointAddress)) { final String tryPolicy = tryPolicy(port, c32Xml, xacmlPolicy, purposeOfUse); return tryPolicy; } catch (final Exception e) { throw toTryPolicyWebServiceClientException(e); } } TryPolicyWebServiceClient(String endpointAddress); String tryPolicy(String c32Xml, String xacmlPolicy,
			String purposeOfUse);  }
@Test public void testWSClientSOAPCallWorks() { final String c32Xml = ""; final String xacmlPolicy = ""; final String purposeOfUse = ""; final TryPolicyWebServiceClient wsc = new TryPolicyWebServiceClient( address); final String resp = wsc.tryPolicy(c32Xml, xacmlPolicy, purposeOfUse); validateResponse(resp); }
@Test(expected = TryPolicyWebServiceClientException.class) public void testWSClientSOAPCallWorks_Throws_Exception() { initExceptionEndpoint(); final String c32Xml = ""; final String xacmlPolicy = ""; final String purposeOfUse = ""; final TryPolicyWebServiceClient wsc = new TryPolicyWebServiceClient( address); final String resp = wsc.tryPolicy(c32Xml, xacmlPolicy, purposeOfUse); validateResponse(resp); }