Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-3282

How do we implement castor mapping during marshalling of request and unmarshalling of response xml using CXF framework.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.2.9
    • Invalid
    • Integration
    • None
    • JDK 1.6,

    • Advanced

    Description

      Hi,

      I have an existing web service developed using Axis 1.2 where I use Castor Mapping API and perform custom mapping for the request xml received and outgoing response xml.

      Example:

      Request: <soap:body><Person ><fname>abc</name><id>rta</id></soap:body>

      Mapping: Person - > Employee; name -> fullName; id - > employeeId

      Objects inside my service :

      public class Employee

      { private String fullName; private String employeeId }

      Is there any similar and flexible way of doing a custom mapping in CXF. Please suggest.

      Thanks,
      Asif Ali Mohammed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            asifali Asif Ali Mohammed
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified