You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergio Shapoval (JIRA)" <ji...@apache.org> on 2015/04/09 08:06:12 UTC

[jira] [Created] (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.

Sergio Shapoval created CXF-6339:
------------------------------------

             Summary: CXF Client platform dependent problem: javax.xml.ws.soap.SOAPFaultException: No conduit initiator was found for the namespace http://schemas.xmlsoap.org/soap/http.
                 Key: CXF-6339
                 URL: https://issues.apache.org/jira/browse/CXF-6339
             Project: CXF
          Issue Type: Bug
          Components: Soap Binding
    Affects Versions: 2.5
         Environment: Stack: cedar-10
Framework: Play 2.x - Java

JavaOpts:  -Xss512k -XX:+UseCompressedOops
SBT_OPTS : -Xss512k -XX:+UseCompressedOops

OpenJDK 1.8, 64-Bit Server VM

deployed on herokuapp.com, cannot determine platform on which I have problem - some deploys don't throw exceptions, some throw
            Reporter: Sergio Shapoval
            Priority: Blocker


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?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)