axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-4374) org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement
Date Mon, 22 Jun 2009 19:44:07 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-4374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Veithen resolved AXIS2-4374.
------------------------------------

    Resolution: Invalid

Checked the provided sample request and response against the provided schemas. The response
is invalid and ADB is right to complain that element {http://service.test.com/provider/shared/company/2009/02/}address1
is unexpected.

> org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement

> ---------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4374
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4374
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.4
>            Reporter: Malleswara Sarma
>            Priority: Critical
>         Attachments: Address_type.java, company.zip, request-response.txt
>
>
> Getting the following error 
> rg.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement
address1
> 	at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
> 	at com.example.company.CompanyStub.fromOM(CompanyStub.java:543)
> 	at com.example.company.CompanyStub.getCompanyDetails(CompanyStub.java:183)
> 	at org.example.www.company.CallService.main(CallService.java:35)
> Caused by: java.lang.Exception: org.apache.axis2.databinding.ADBException: Unexpected
subelement address1
> 	at com.test.service.provider.shared.companytype._2009._02.Address_type$Factory.parse(Address_type.java:675)
> 	at com.test.service.provider.shared.companyflow._2009._02.CompanyResponse$Factory.parse(CompanyResponse.java:553)
> 	at com.example.company.GetCompanyDetailsResponse$Factory.parse(GetCompanyDetailsResponse.java:419)
> 	at com.example.company.CompanyStub.fromOM(CompanyStub.java:538)
> 	... 2 more
> Caused by: org.apache.axis2.databinding.ADBException: Unexpected subelement address1
> 	at com.test.service.provider.shared.companytype._2009._02.Address_type$Factory.parse(Address_type.java:669)
> 	... 5 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message