Search in sources :

Example 1 with CommonsSchemaInfoBuilder

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;
}
Also used : JaxRpcServiceInfo(org.apache.openejb.server.axis.assembler.JaxRpcServiceInfo) CommonsSchemaInfoBuilder(org.apache.openejb.server.axis.assembler.CommonsSchemaInfoBuilder) PortComponent(org.apache.openejb.jee.PortComponent) JaxRpcServiceInfoBuilder(org.apache.openejb.server.axis.assembler.JaxRpcServiceInfoBuilder) Port(javax.wsdl.Port) JavaWsdlMapping(org.apache.openejb.jee.JavaWsdlMapping) XmlSchemaInfo(org.apache.openejb.server.axis.assembler.XmlSchemaInfo)

Aggregations

Port (javax.wsdl.Port)1 JavaWsdlMapping (org.apache.openejb.jee.JavaWsdlMapping)1 PortComponent (org.apache.openejb.jee.PortComponent)1 CommonsSchemaInfoBuilder (org.apache.openejb.server.axis.assembler.CommonsSchemaInfoBuilder)1 JaxRpcServiceInfo (org.apache.openejb.server.axis.assembler.JaxRpcServiceInfo)1 JaxRpcServiceInfoBuilder (org.apache.openejb.server.axis.assembler.JaxRpcServiceInfoBuilder)1 XmlSchemaInfo (org.apache.openejb.server.axis.assembler.XmlSchemaInfo)1