0 Replies Latest reply on Jul 27, 2018 4:35 AM by markuswoe

    No binding factory for namespace http://schemas.xmlsoap.org/soap/ registered

    markuswoe

      Hi all,

       

      struggling with the following since days. Read all post I could find, but

      nothing helped me out.

       

      In my application I'v a @Stateless bean. From there I'm consuming a SOAP

      Endpoint (remote on a remote Server)

       

      Whenever my application reaches *create* method from *JaxWsProxyFactoryBean*

      I get the exception *No binding factory for namespace

      http://schema.xmlsoap.org/soap registered*

       

      // Webservice konfigurieren

          JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();

       

          factory.setServiceClass(SeminaranbindungDatenabfrageSoapPortTypeV1.class);

          factory.setAddress(endpointAdress);

       

          // Service erstellen

          service = factory.create(SeminaranbindungDatenabfrageSoapPortTypeV1.class);

       

          // Interceptoren für die Befüllung des Headers mit den Benutzerinformationen hinzufügen

          Client client = ClientProxy.getClient(service); <- here Exception occurs

       

      My pom contains

       

      ....

      <dependencies>

          <dependency>

            <groupId>javax.ejb</groupId>

            <artifactId>javax.ejb-api</artifactId>

            <version>3.2</version>

          </dependency>

         

          <dependency>

            <groupId>org.apache.cxf</groupId>

            <artifactId>cxf-rt-frontend-jaxws</artifactId>

            <version>${cxf.version}</version>

          </dependency>

        

          <dependency>

            <groupId>org.apache.cxf</groupId>

            <artifactId>cxf-rt-bindings-soap</artifactId>

            <version>${cxf.version}</version>

          </dependency>

         

          <dependency>

            <groupId>org.apache.cxf</groupId>

            <artifactId>cxf-rt-bindings-xml</artifactId>

            <version>${cxf.version}</version>

          </dependency>

         

         

          <dependency>

            <groupId>org.apache.cxf</groupId>

            <artifactId>cxf-rt-transports-http</artifactId>

            <version>${cxf.version}</version>

          </dependency>

        

          <dependency>

            <groupId>org.apache.cxf</groupId>

            <artifactId>cxf-rt-frontend-jaxrs</artifactId>

            <version>${cxf.version}</version>

          </dependency>

         

       

          <dependency>

          <groupId>javax.ws.rs</groupId>

          <artifactId>jsr311-api</artifactId>

          <version>1.1.1</version>

        </dependency>

       

          <dependency>

            <groupId>org.springframework</groupId>

            <artifactId>spring-web</artifactId>

            <version>${spring.version}</version>

          </dependency>

       

          <dependency>

            <groupId>org.springframework</groupId>

            <artifactId>spring-aop</artifactId>

            <version>${spring.version}</version>

          </dependency>

       

          <dependency>

            <groupId>org.springframework</groupId>

            <artifactId>spring-context</artifactId>

            <version>${spring.version}</version>

          </dependency>

       

          <dependency>

            <groupId>org.springframework</groupId>

            <artifactId>spring-expression</artifactId>

            <version>${spring.version}</version>

          </dependency>

       

          <dependency>

            <groupId>org.springframework</groupId>

            <artifactId>spring-jms</artifactId>

            <version>${spring.version}</version>

          </dependency>

       

          <dependency>

            <groupId>org.springframework</groupId>

            <artifactId>spring-tx</artifactId>

            <version>${spring.version}</version>

          </dependency> 

         

           <dependency>

            <groupId>org.hibernate.javax.persistence</groupId>

            <artifactId>hibernate-jpa-2.1-api</artifactId>

            <scope>provided</scope>

          </dependency>

          <dependency>

            <groupId>org.hibernate</groupId>

            <artifactId>hibernate-core</artifactId>

            <version>5.0.7.Final</version>

            <scope>provided</scope>

          </dependency>

       

       

       

      As there are obviously many struggling on that problem - are the any new

      thoughts on the problem.

       

      Deployment is on a Wildly 10.0.0

       

      I use cxf Version 3.2.5 and spring 3.2.9. I already tried other versions,

      but didn't work.

       

      Regards, Markus.