[ https://issues.apache.org/activemq/browse/CAMEL-2396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57712#action_57712 ]
Christian Schneider commented on CAMEL-2396: -------------------------------------------- Hi Claus, WebMethod is part of the JAX-WS spec. The spec is included in Java 6 so I think the dependency could be added for the time till we can stop support for Java 5. In CXF we have recently added a profile for Java 5 which adds the dependencies which are only needed for Java 5. So people using Java already do not have to bother about these dependencies. Alternatively we could add the SoapAction in the camel-soap module. The BeanInvocation class contains a getter for the Method. This allows to fetch the SoapAction from the WebMethod annotation. After thinking about this I guess the camel-soap module is probably the better place. If you agree I will prepare a new patch. Greetings Christian > 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.3.0 > > Attachments: camel-soap-2010-02-07.patch, > camel-soap-2010-02-08.patch, camel-soap-2010-02-19.patch, > camel-soap-no-classresolver-2010-02-09.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.