Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6339

CXF Client platform dependent problem: javax.xml.ws.soap.SOAPFaultException: No conduit initiator was found for the namespace http://schemas.xmlsoap.org/soap/http.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Invalid
    • 2.5
    • Invalid
    • Soap Binding
    • None
    • Advanced

    Description

      Hi,
      I am using herokuapp.com for staging my app.

      Several builds are throwing next error when I am trying to make any SOAP request:
      https://www.dropbox.com/s/pj1aqkcwkc0to71/errorLog.txt?dl=0

      I have generated CXF client by wsdl2java:
      https://www.dropbox.com/s/nao5ilph11k8f3j/pom.xml?dl=0

      I am using generated classes in next configuration of play framework -
      https://www.dropbox.com/s/iy88w0g5opqf1zt/build.sbt?dl=0

      I have tryed to add additional dependencies or cancel requests validation as it was described here - http://stackoverflow.com/questions/7611803/cxf-2-4-2-no-conduit-initiator-was-found-for-the-namespace-http-schemas-xmlso

      JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
      factory.getInInterceptors().add(new LoggingInInterceptor());
      factory.getOutInterceptors().add(new LoggingOutInterceptor());
      Logger.info("webServiceAddress:" + webServiceAddress);

      factory.setAddress(webServiceAddress);
      factory.setServiceClass(clazz);
      factory.setProperties(new HashMap<String, Object>(){{
      put("schema-validation-enabled", false);
      put("set-jaxb-validation-event-handler", false);
      }});
      Logger.info("service factory:" + factory);
      return factory.create();

      but no success.

      when I make SOAP requests on localhost or test my app in https://codeship.com I don't have such problem.

      so, I think it is platform dependent problem.

      How I can resolve this error?

      Attachments

        Activity

          People

            Unassigned Unassigned
            sergio.shapoval Sergio Shapoval
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: