Please use Camel 1.3 or above, I remember I fixed lots bugs of camel-cxf
component after camel 1.2 released.
Willem.
Micky Santomax wrote:
Yes, now I use CXF 2.0.4 and compile is ok, but when I run the test
I get a java.net.ConnectException: Connection refused: connect
...
[java] at org.apache.camel.example.cxf.provider.CamelCxfExample.main
(CamelCxfExample.java:39)
[java] java.lang.NullPointerException
It seems that client can't connect to the endpoint
willem.jiang wrote:
I think it is caused by Camel 1.2 only work with CXF 2.0.4 ( which use
JAXWS API 2.0).
CXF 2.1.1 's wsdl2java is using JAXWS API 2.1, you can't run the stub
within the CXF 2.0.x runtime.
Please try the latest chunk version , or the coming up Camel 1.4.0
Willem
Micky Santomax wrote:
I'm not able to run test because there are syntactic error
during compile stubs generated with wsdl2java tool.
Problem is SOAPService stub, in
"return super.getPort(SoapOverHttp, Greeter.class, features);"
where JAX-WS Service accept only 2 parameters
However I use Camel 1.2 and CXF 2.1.1 and I have follow
tests example for my application