You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Sagara Gunathunga (JIRA)" <ji...@apache.org> on 2013/07/13 09:49:51 UTC

[jira] [Resolved] (AXIS2-5341) Recursion within a extension causes an ADBException: Unexpected subelement XXXX

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

Sagara Gunathunga  resolved AXIS2-5341.
---------------------------------------

    Resolution: Cannot Reproduce
      Assignee: Kishanthan Thangarajah
    
> Recursion within a extension causes an ADBException: Unexpected subelement XXXX
> -------------------------------------------------------------------------------
>
>                 Key: AXIS2-5341
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5341
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.6.2
>         Environment: JBoss 4.3.2, Ubuntu 11.10
>            Reporter: Ami Bender
>            Assignee: Kishanthan Thangarajah
>         Attachments: RecursiveTestService-test-client.jar, RescursiveTestWSDL.wsdl, ResponseMessage.txt, test.xsd
>
>
> when receiving a response message for the following WSDL, I get a "org.apache.axis2.databinding.ADBException: Unexpected subelement XXXX". This appears to be caused by a recursive call within a extension
> 2012-06-13 16:10:38,728 ERROR org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement notes
>     at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
>     at uk.co.test.temp.recursivetest.all.all.service.RecursiveTestServiceStub.fromOM(RecursiveTestServiceStub.java:4188)
>     at uk.co.test.temp.recursivetest.all.all.service.RecursiveTestServiceStub.retrieveValues(RecursiveTestServiceStub.java:190)
> Relevant bit of Schema
> <xsd:complexType name="ResponseBodyContent">
> 		<xsd:complexContent>
> 			<xsd:extension base="tns:AbstratObject">
> 				<xsd:sequence>
> 					<xsd:element name="responseValue" type="xsd:string"/>
> 				</xsd:sequence>
> 			</xsd:extension>
> 		</xsd:complexContent>
> 	</xsd:complexType>
> 	<xsd:complexType name="AbstratObject">
> 		<xsd:sequence>
> 			<xsd:element name="notes" type="tns:Note" minOccurs="0" maxOccurs="unbounded"/>
> 		</xsd:sequence>	
> 	</xsd:complexType>
> 	<xsd:complexType name="Note">
> 		<xsd:complexContent>
> 			<xsd:extension base="tns:AbstratObject">
> 				<xsd:sequence>
> 					<xsd:element name="temp" type="xsd:string" minOccurs="0" maxOccurs="1"/>
> 				</xsd:sequence>
> 			</xsd:extension>
> 		</xsd:complexContent>
> 	</xsd:complexType>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org