Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D981980B4 for ; Thu, 1 Sep 2011 20:47:34 +0000 (UTC) Received: (qmail 78979 invoked by uid 500); 1 Sep 2011 20:47:34 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 78856 invoked by uid 500); 1 Sep 2011 20:47:34 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 78842 invoked by uid 99); 1 Sep 2011 20:47:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2011 20:47:33 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2011 20:47:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0DD3D4BABF for ; Thu, 1 Sep 2011 20:47:10 +0000 (UTC) Date: Thu, 1 Sep 2011 20:47:10 +0000 (UTC) From: "Hadrian Zbarcea (JIRA)" To: dev@camel.apache.org Message-ID: <1588349819.8338.1314910030053.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (CAMEL-4405) Invalid URIs used by camel-cxf MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Invalid URIs used by camel-cxf ------------------------------ Key: CAMEL-4405 URL: https://issues.apache.org/jira/browse/CAMEL-4405 Project: Camel Issue Type: Bug Components: camel-cxf Affects Versions: 2.8.0 Reporter: Hadrian Zbarcea Assignee: Hadrian Zbarcea Priority: Critical Fix For: 2.9.0 This is a nasty one. We currently support URIs of the following form in camel-cxf: {code} "cxf://http://localhost:9000/CxfEndpointTest/helloworld?wsdlURL=classpath:person.wsdl&serviceName={http://camel.apache.org/wsdl-first}PersonService&portName={http://camel.apache.org/wsdl-first}soap" {code} As curly brackets are not valid, URIs like above are invalid. Unfortunately I suspect there are too many users who use this format now to just fix it so we need to deprecate this format, find a workaround and a solution. The solution I am proposing is to use another parameter: targetNamespace to replace the value between the curlies for the serviceName. The portName should not be a QName actually either. As such, the example above would become: {code} "cxf://http://localhost:9000/CxfEndpointTest/helloworld?wsdlURL=classpath:person.wsdl&targetNamespace=http://camel.apache.org/wsdl-first&serviceName=PersonService&portName=soap" {code} I will look for a workaround too, to not break existing code too much. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira