コード例 #1
0
  public void testProviderDispatch() throws Exception {
    Dispatch<Source> dispatch = createDispatch("ProviderEndpoint");
    Source resPayload = dispatch.invoke(new DOMSource(DOMUtils.parse(reqString)));

    Element docElement = DOMUtils.sourceToElement(resPayload);
    assertEquals(DOMUtils.parse(resString), docElement);
  }
コード例 #2
0
 public void testWSDLAccess() throws Exception {
   URL wsdlURL =
       new URL("http://" + getServerHost() + ":8080/jaxws-samples-httpbinding-payload?wsdl");
   Element wsdl = DOMUtils.parse(wsdlURL.openStream());
   assertNotNull(wsdl);
 }