Thank you for the quick response Daniel. Here is the TestDataModel class. I
have tried to add annotations @WebParam(targetNamespace="",
name="test_data_model" to my implementation (as seen at very end) but I
still get the same error. 

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB)
Reference Implementation, vJAXB 2.1.10 in JDK 6 
// See  http://java.sun.com/xml/jaxb <http://java.sun.com/xml/jaxb>   
// Any modifications to this file will be lost upon recompilation of the
source schema. 
// Generated on: 2013.03.13 at 01:03:25 PM CDT 
//


/**
 * <p>Java class for anonymous complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained
within this class.
 * 
 * <pre>
 * &lt;complexType>
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType";>
 *       &lt;sequence>
 *         &lt;element name="processing_information"
type="{}processing-information"/>
 *         &lt;element name="cte_document" type="{}cte-document"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", namespace = "", propOrder = {
    "processingInformation",
    "cteDocument"
})
@XmlRootElement(name = "test_data_model")
public class TestDataModel {

    @XmlElement(name = "processing_information", required = true)
    protected ProcessingInformation processingInformation;
    @XmlElement(name = "cte_document", required = true)
    protected CteDocument cteDocument;

    /**
     * Gets the value of the processingInformation property.
     * 
     * @return
     *     possible object is
     *     {@link ProcessingInformation }
     *     
     */
    public ProcessingInformation getProcessingInformation() {
        return processingInformation;
    }

    /**
     * Sets the value of the processingInformation property.
     * 
     * @param value
     *     allowed object is
     *     {@link ProcessingInformation }
     *     
     */
    public void setProcessingInformation(ProcessingInformation value) {
        this.processingInformation = value;
    }

    /**
     * Gets the value of the cteDocument property.
     * 
     * @return
     *     possible object is
     *     {@link CteDocument }
     *     
     */
    public CteDocument getCteDocument() {
        return cteDocument;
    }

    /**
     * Sets the value of the cteDocument property.
     * 
     * @param value
     *     allowed object is
     *     {@link CteDocument }
     *     
     */
    public void setCteDocument(CteDocument value) {
        this.cteDocument = value;
    }

}








Implementation





@WebService(endpointInterface =
"com.hp.test.testService.server.TestService", serviceName = "testService")
//@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)

public class TestServiceImpl implements TestService
{
        @Override
        public String calculateSum(String anXMLDocument) 
        {
                return TestServiceUtil.calculateSum(anXMLDocument);
        }

        @Override
        public TestDataModel
calculateSumOnTestDataModel(@WebParam(targetNamespace="",
name="test_data_model") TestDataModel aTestDataModel) 
        {
                return 
TestServiceUtil.calculateSumOnTestDataModel(aTestDataModel);
        }

}



--
View this message in context: 
http://cxf.547215.n5.nabble.com/Backwards-compatiblity-between-cxf-2-7-3-and-cxf-2-3-1-tp5724643p5724658.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to