@Test public void testWSClientSOAPCallWorks() { final EnforcePolicy.Xspasubject xspasubject = new EnforcePolicy.Xspasubject(); final EnforcePolicy.Xsparesource xsparesource = new EnforcePolicy.Xsparesource(); DS4PContextHandlerImpl.returnedValueOfEnforcePolicy = returnedValueOfEnforcePolicy; ContextHandlerWebServiceClient wsc = new ContextHandlerWebServiceClient(address); Return resp = wsc.enforcePolicy(xspasubject, xsparesource); validateResponse(resp); }
public Return enforcePolicy(EnforcePolicy.Xspasubject xspasubject, EnforcePolicy.Xsparesource xsparesource) { DS4PContextHandler port; if (StringUtils.hasText(this.endpointAddress)) { port = createPort(endpointAddress); } else { port = createPort(); } return enforcePolicy(port, xspasubject, xsparesource); }
ContextHandlerWebServiceClient { public Return enforcePolicy(EnforcePolicy.Xspasubject xspasubject, EnforcePolicy.Xsparesource xsparesource) { DS4PContextHandler port; if (StringUtils.hasText(this.endpointAddress)) { port = createPort(endpointAddress); } else { port = createPort(); } return enforcePolicy(port, xspasubject, xsparesource); } }
ContextHandlerWebServiceClient { public Return enforcePolicy(EnforcePolicy.Xspasubject xspasubject, EnforcePolicy.Xsparesource xsparesource) { DS4PContextHandler port; if (StringUtils.hasText(this.endpointAddress)) { port = createPort(endpointAddress); } else { port = createPort(); } return enforcePolicy(port, xspasubject, xsparesource); } ContextHandlerWebServiceClient(String endpointAddress); }
ContextHandlerWebServiceClient { public Return enforcePolicy(EnforcePolicy.Xspasubject xspasubject, EnforcePolicy.Xsparesource xsparesource) { DS4PContextHandler port; if (StringUtils.hasText(this.endpointAddress)) { port = createPort(endpointAddress); } else { port = createPort(); } return enforcePolicy(port, xspasubject, xsparesource); } ContextHandlerWebServiceClient(String endpointAddress); static void main(String[] args); Return enforcePolicy(EnforcePolicy.Xspasubject xspasubject, EnforcePolicy.Xsparesource xsparesource); }
ContextHandlerWebServiceClient { public Return enforcePolicy(EnforcePolicy.Xspasubject xspasubject, EnforcePolicy.Xsparesource xsparesource) { DS4PContextHandler port; if (StringUtils.hasText(this.endpointAddress)) { port = createPort(endpointAddress); } else { port = createPort(); } return enforcePolicy(port, xspasubject, xsparesource); } ContextHandlerWebServiceClient(String endpointAddress); static void main(String[] args); Return enforcePolicy(EnforcePolicy.Xspasubject xspasubject, EnforcePolicy.Xsparesource xsparesource);  }