use of javax.wsdl.xml.WSDLReader in project jbossws-cxf by jbossws.
the class JBWS1665TestCase method testWebService.
@Test
@RunAsClient
public void testWebService() throws Exception {
URL wsdlURL = new URL(baseURL + "/jaxws-jbws1665/TrackingService?wsdl");
WSDLReader wsdlReader = WSDLFactory.newInstance().newWSDLReader();
Definition wsdlDefinition = wsdlReader.readWSDL(wsdlURL.toString());
assertNotNull(wsdlDefinition);
}
use of javax.wsdl.xml.WSDLReader in project jbossws-cxf by jbossws.
the class JBWS2150TestCase method getWSDLDefinition.
private Definition getWSDLDefinition(String wsdlLocation) throws Exception {
WSDLFactory wsdlFactory = WSDLFactory.newInstance();
WSDLReader wsdlReader = wsdlFactory.newWSDLReader();
wsdlReader.setFeature("javax.wsdl.importDocuments", false);
wsdlReader.setFeature("javax.wsdl.verbose", false);
Definition definition = wsdlReader.readWSDL(null, wsdlLocation);
return definition;
}
use of javax.wsdl.xml.WSDLReader in project jbossws-cxf by jbossws.
the class EndpointTestCase method readWSDL.
private void readWSDL(URL wsdlURL) throws Exception {
WSDLReader wsdlReader = WSDLFactory.newInstance().newWSDLReader();
Definition wsdlDefinition = wsdlReader.readWSDL(wsdlURL.toString());
assertNotNull(wsdlDefinition);
}
use of javax.wsdl.xml.WSDLReader in project jbossws-cxf by jbossws.
the class JBWS944TestCase method assertWSDLAccess.
private void assertWSDLAccess() throws Exception {
URL wsdlURL = new URL(baseURL + "/jaxws-jbws944/FooBean01?wsdl");
WSDLReader wsdlReader = WSDLFactory.newInstance().newWSDLReader();
Definition wsdlDefinition = wsdlReader.readWSDL(wsdlURL.toString());
assertNotNull(wsdlDefinition);
}
use of javax.wsdl.xml.WSDLReader in project jbossws-cxf by jbossws.
the class JBWS860TestCase method testAccessInventoryServiceWsdl.
@Test
@RunAsClient
public void testAccessInventoryServiceWsdl() throws Exception {
URL wsdlURL = new URL(baseURL + "/InventoryWebService?wsdl");
WSDLReader wsdlReader = WSDLFactory.newInstance().newWSDLReader();
Definition wsdlDefinition = wsdlReader.readWSDL(wsdlURL.toString());
assertNotNull(wsdlDefinition);
}
Aggregations