[ 
https://issues.apache.org/activemq/browse/CAMEL-2396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57188#action_57188
 ] 

Willem Jiang commented on CAMEL-2396:
-------------------------------------

Hi Christian,

1. It will be little confuse for the people that a soap DataFormat is in 
camel-jaxb module.

2. It dependents on how you setup the camel context for testing. Can you check 
out the [camel-protobuf unit 
test|https://svn.apache.org/repos/asf/camel/trunk/components/camel-protobuf/src/test/java/org/apache/camel/dataformat/protobuf/ProtobufMarshalTest.java]
 for example ?

3. Yes, I mean you can put the constant into the Exchange interface.

For the bare style code generation you can take a look at camel-cxf unit test, 
you just need to put a binding.xml file like 
[this|https://svn.apache.org/repos/asf/camel/trunk/components/camel-cxf/src/test/resources/person-non-wrapper-binding.xml]

> 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.

Reply via email to