[ https://issues.apache.org/activemq/browse/CAMEL-2396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57157#action_57157 ]
Willem Jiang commented on CAMEL-2396: ------------------------------------- Hi Christian, I just have a quick look at your patch, just few comments here. 1. I think we can create a new module camel-soap to hold this soap DataFormat, the people who 2. Please don't use Class.forName(), this method will not work in the OSGi world, please use the camel context's ClassResolver() to load the class. You can get the camelContext reference from the exchange, and you can find more information by taking a look at the code of camel-protobuf. {code} Class<?> instanceClass = context.getClassResolver().resolveMandatoryClass(className); {code} 3. If you want to add new properties into the exchange, please follow the camel style name like "camelSoapAction", and you can find the constants example into the Exchange. And I just have another question for your ServiceInterfaceStrategy, how do you deal with the SEI which has the non-wrapped message definition ? Willem > 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.