[
https://issues.apache.org/jira/browse/AXIS2-4374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Malleswara Sarma updated AXIS2-4374:
------------------------------------
Attachment: company.zip
When we change the elementFormDefault="qualified" this works fine. While
parsing the response at the client side we are getting this error. When looked
at the generated stub class while parsing the server response it is getting
error.
We are using Axis 1.4
> 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
> Reporter: Malleswara Sarma
> Priority: Critical
> Attachments: company.zip
>
>
> 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.