use of org.apache.openejb.server.axis.assembler.CommonsSchemaInfoBuilder in project tomee by apache.
the class AxisService method getJaxRpcServiceInfo.
private JaxRpcServiceInfo getJaxRpcServiceInfo(ClassLoader classLoader) throws OpenEJBException {
// the java to wsdl mapping file
JavaWsdlMapping mapping = null;
// the schema data from the wsdl file
CommonsSchemaInfoBuilder xmlBeansSchemaInfoBuilder = new CommonsSchemaInfoBuilder(null, null);
// webservice.xml declaration of this service
PortComponent portComponent = null;
// wsdl.xml declaration of this service
Port port = null;
String wsdlFile = null;
XmlSchemaInfo schemaInfo = xmlBeansSchemaInfoBuilder.createSchemaInfo();
JaxRpcServiceInfoBuilder serviceInfoBuilder = new JaxRpcServiceInfoBuilder(mapping, schemaInfo, portComponent, port, wsdlFile, classLoader);
JaxRpcServiceInfo serviceInfo = serviceInfoBuilder.createServiceInfo();
return serviceInfo;
}
Aggregations