Title: Message
Trying to unmarshall an XML file.
 
Getting this error:
 
[LBHttpMessageDispatcher] Exception occurred: org.xml.sax.SAXException: unable to find FieldDescriptor for 'response-type' in ClassDescriptor of response-header{file: [not available]; line: 1; column: 649}
 
 
Mapping file:
    <class name="com.mhub.core.transaction.message.ResponseHeader" auto-complete="false">
        <description>Default mapping for class com.mhub.core.transaction.message.ResponseHeader</description>
        <map-to xml="response-header" ns-uri="
http://www.mortgagehub.com/schemas/trans" ns-prefix="trans"/>
        <field name="responseStatus" type="com.mhub.core.transaction.message.ResponseStatus"
            required="false" direct="false" transient="false">
            <bind-xml name="response-status" node="element"/>
        </field>
         <field name="responseType" type="string" required="false"
            direct="false" transient="false">
            <bind-xml name="response-type" node="element"/>
        </field>
    </class>
 
 
Input XML:
<response-header>
 
<response-type>????</response-type>
<behavior transaction-mode="????" timeout-interval="????"><call-back-address><type>??http-post??</type><location>????</location><username>????</username><password>????</password></call-back-address></behavior>
 
<context><class>??Web??</class><id>????</id><transaction-id>1234567?</transaction-id><user>????</user><session>????</session><description>??My Client??</description></context>
 
<timestamp>??Tue, 16 Jan 2001 15:16:00 EST??</timestamp>
 
<provider-activity provider-id="??1234567??"><activity activity-id="??1234567??"><description>??blahblahblah??</description></activity><provider-contact>????</provider-contact><provider-name>????</provider-name><timestamp>????</timestamp></provider-activity>
 
<response-status><status-code>SUCCESS/FAILURE/PENDING</status-code><error-code>??123??</error-code><status-message>??Something happended??</status-message></response-status>
 
</response-header>
----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to