Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3A367EF54 for ; Tue, 29 Jan 2013 18:43:33 +0000 (UTC) Received: (qmail 70992 invoked by uid 500); 29 Jan 2013 18:43:32 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 70953 invoked by uid 500); 29 Jan 2013 18:43:32 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 70943 invoked by uid 99); 29 Jan 2013 18:43:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jan 2013 18:43:32 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jan 2013 18:43:26 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1U0G9B-0007Pj-5e for users@camel.apache.org; Tue, 29 Jan 2013 10:43:05 -0800 Date: Tue, 29 Jan 2013 10:43:05 -0800 (PST) From: Angelo To: users@camel.apache.org Message-ID: <1359484985169-5726508.post@n5.nabble.com> In-Reply-To: References: <1359471484229-5726490.post@n5.nabble.com> Subject: Re: camel-cxf in WebSphere without geronimo/jetty depdendencies - possible MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I already have the servlet working using this in my web.xml CXFServlet org.apache.cxf.transport.servlet.CXFServlet 1 CXFServlet /webservices/* I can access the wsdl once it's up e.g., http://localhost:8081/webservices/contracting?WSDL using this cxf endpoint in camel: cxf:///contracting?dataFormat=PAYLOAD&serviceName=http://mhs.mckesson.com/contracting/contract/ContractServiceV1}CreateContractService&endpointName=http://mhs.mckesson.com/contracting/contract/ContractServiceV1}ptCreateContract&serviceClass=com.mckesson.mhs.integration.ws.contracting.ContractProvider&defaultOperationNamespace=http://mhs.mckesson.com/contracting/contract/ContractServiceV1&wsdlURL=classpath:com/mckesson/mhs/contracting/contract/ContractServiceV1.wsdl In WebSphere, the routes won't initialize unless I have the geronimo servlet jars in the classpath - it gives me this error. This strikes me as odd because it's almost like whatever is trying to resolve the endpoint in camel is not able to find the appropriate field to set the endpointName attribute. I'm trying to remove the geronimo jars because they interfere with the websphere specific servlet/jsp libraries. Caused by: org.apache.camel.spring.GenericBeansException: Error post processing bean: com.mckesson.mhs.integration.route.PIMCreateContractRoute; nested exception is org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: cxf:///contracting?dataFormat=PAYLOAD&serviceName=http://mhs.mckesson.com/contracting/contract/ContractServiceV1}CreateContractService&endpointName=http://mhs.mckesson.com/contracting/contract/ContractServiceV1}ptCreateContract&serviceClass=com.mckesson.mhs.integration.ws.contracting.ContractProvider&defaultOperationNamespace=http://mhs.mckesson.com/contracting/contract/ContractServiceV1&wsdlURL=classpath:com/mckesson/mhs/contracting/contract/ContractServiceV1.wsdl due to: Could not find a suitable setter for property: endpointName as there isn't a setter method with same type: java.lang.String nor type conversion possible: No type converter available to convert from type: java.lang.String to the required type: javax.xml.namespace.QName with value {http://mhs.mckesson.com/contracting/contract/ContractServiceV1}ptCreateContract ... 47 more Caused by: java.lang.IllegalArgumentException: Could not find a suitable setter for property: endpointName as there isn't a setter method with same type: java.lang.String nor type conversion possible: No type converter available to convert from type: java.lang.String to the required type: javax.xml.namespace.QName with value {http://mhs.mckesson.com/contracting/contract/ContractServiceV1}ptCreateContract at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:347) at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:367) at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:297) -- View this message in context: http://camel.465427.n5.nabble.com/camel-cxf-in-WebSphere-without-geronimo-jetty-depdendencies-possible-tp5726490p5726508.html Sent from the Camel - Users mailing list archive at Nabble.com.