Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 3422 invoked from network); 27 Jan 2010 07:54:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Jan 2010 07:54:59 -0000 Received: (qmail 78300 invoked by uid 500); 27 Jan 2010 07:54:59 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 78223 invoked by uid 500); 27 Jan 2010 07:54:58 -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 78213 invoked by uid 500); 27 Jan 2010 07:54:57 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 78210 invoked by uid 99); 27 Jan 2010 07:54:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2010 07:54:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2010 07:54:55 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6D00129A0011 for ; Tue, 26 Jan 2010 23:54:34 -0800 (PST) Message-ID: <1272281552.2431264578874444.JavaMail.jira@brutus.apache.org> Date: Wed, 27 Jan 2010 07:54:34 +0000 (UTC) From: "Christian Schneider (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-2396) Add a DataFormat for handling JAXB data inside SOAP In-Reply-To: <845379042.9521264348964554.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-2396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57158#action_57158 ] Christian Schneider commented on CAMEL-2396: -------------------------------------------- Hi Willem, 1. If you prefer I can create a new module and update the patch. As the SoapJaxbDataformat is based on Jaxb and does not add new dependencies I think we could also leave it in camel-jaxb. 2. I just replaced the this.getClass.forName() with the ClassResolver. Th problem is that I now get ClassNotFoundExceptions. Is there anything else I have to do to make it work? 3. I did not completely understand this. Do you mean I should add a constant in the Exchange interface? About the ServiceInterfaceStrategy: In case of a wrapped definition I look at the RequestWrapper or ResponseWrapper annotations. In case these Annotations are not present I use the WebParam annotation of the parameter of the method or the WebResult annotation of the return type. The isClient property will be used to determine if the request or response is to be analyzed. This strategy does not yet work though. I also have a question that perhaps you can answer. I create code for the CustomerService.wsdl. Currently this will always create wrapped style code. Is there a setting for codegen to create bare style? So my methods look like: GetCustomerResponse getCustomersByName(GetCustomer request); > Add a DataFormat for handling JAXB data inside SOAP > --------------------------------------------------- > > Key: CAMEL-2396 > URL: https://issues.apache.org/activemq/browse/CAMEL-2396 > Project: Apache Camel > Issue Type: New Feature > Components: camel-jaxb > Reporter: Christian Schneider > Assignee: Willem Jiang > Fix For: 2.2.0 > > Attachments: camel-jaxb-2010-01-26.patch > > > Currently a user who wants to implement or call webservices needs to use one of the heavy weight frameworks (CXF or Axis) even for simple cases. > So we should have a SoapJaxbDataFormat that simply allows to add or remove the Soap Envelope and Body around one data element that is then processed using JAXB. The Data format should only handle the case of doc/lit services. > The stub code can be generated using the cxf WSDL2Java or Codegen maven plugin but there should be no runtime dependency on CXF or Axis. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.