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
>>
>
>
>
--
View this message in context:
http://www.nabble.com/Add-ws-security-to-jetty-endpoint-tp17883208s22882p18155980.html
Sent from the Camel - Users mailing list archive at Nabble.com.