Methods Summary |
---|
public void | testConfigureAddressingAssertionNotPresent()Test of configure method, of class com.sun.xml.ws.policy.jaxws.addressing.AddressingModelConfiguratorProvider.
policy assertion not present
WSDLModel model = getWSDLModel("jaxws-spi/testModelConfigProviderAddrPolicyNotPresent.wsdl");
PolicyMap policyMap = model.getExtension(WSDLPolicyMapWrapper.class).getPolicyMap();
assertNull(model.getService(new QName("http://example.org","DictionaryService")).
getFirstPort().getFeature(AddressingFeature.class));
|
public void | testConfigureMEMBERAddressingAssertionPresent()Test of configure method, of class com.sun.xml.ws.policy.jaxws.addressing.AddressingModelConfiguratorProvider.
policy assertion present
WSDLModel model = getWSDLModel("jaxws-spi/testModelConfigProviderAddrMEMBER.wsdl");
PolicyMap policyMap = model.getExtension(WSDLPolicyMapWrapper.class).getPolicyMap();
assertTrue(model.getService(new QName("http://example.org","DictionaryService")).
getFirstPort().getFeature(MemberSubmissionAddressingFeature.class).isEnabled());
|
public void | testConfigureW3CAddressingAssertionPresent()Test of configure method, of class com.sun.xml.ws.policy.jaxws.addressing.AddressingModelConfiguratorProvider.
policy assertion present
WSDLModel model = getWSDLModel("jaxws-spi/testModelConfigProviderAddrW3C.wsdl");
PolicyMap policyMap = model.getExtension(WSDLPolicyMapWrapper.class).getPolicyMap();
assertTrue(model.getService(new QName("http://example.org","DictionaryService")).
getFirstPort().getFeature(AddressingFeature.class).isEnabled());
|