You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Hans Planting (CWEU-USERS/CWNL)" <ha...@nl.compuware.com> on 2005/11/10 13:47:16 UTC

xsd:any

Hi there,

According to the JAX-RPC 1.1 specification xsd:any should be mapped to 
an attribute of type javax.xml.soap.SOAPElement when maxOccurs="1", or 
javax.xml.soap.SOAPElement[] when maxOccurs is greater than 1. However, 
Axis will always generate an array, regardless of the maxOccurs 
attribute - should this be considered a bug? I didn't find any related 
issues in Jira. Did anyone experience interoperatability problems 
because of this (for example when receiving or sending a message to a 
.net webservice)?

Kind regards,

Hans

Re: xsd:any

Posted by "Hans Planting (CWEU-USERS/CWNL)" <ha...@nl.compuware.com>.
Done - http://issues.apache.org/jira/browse/AXIS-2301

I will attach a testcase and maybe a fix later on.

Regards,
Hans



Davanum Srinivas wrote:

>Please log a bug with your WSDL.
>
>thanks,
>dims
>
>On 11/10/05, Hans Planting (CWEU-USERS/CWNL)
><ha...@nl.compuware.com> wrote:
>  
>
>>Hi there,
>>
>>According to the JAX-RPC 1.1 specification xsd:any should be mapped to
>>an attribute of type javax.xml.soap.SOAPElement when maxOccurs="1", or
>>javax.xml.soap.SOAPElement[] when maxOccurs is greater than 1. However,
>>Axis will always generate an array, regardless of the maxOccurs
>>attribute - should this be considered a bug? I didn't find any related
>>issues in Jira. Did anyone experience interoperatability problems
>>because of this (for example when receiving or sending a message to a
>>.net webservice)?
>>
>>Kind regards,
>>
>>Hans
>>
>>    
>>
>
>
>--
>Davanum Srinivas : http://wso2.com/blogs/
>
>  
>


Re: xsd:any

Posted by Davanum Srinivas <da...@gmail.com>.
Please log a bug with your WSDL.

thanks,
dims

On 11/10/05, Hans Planting (CWEU-USERS/CWNL)
<ha...@nl.compuware.com> wrote:
> Hi there,
>
> According to the JAX-RPC 1.1 specification xsd:any should be mapped to
> an attribute of type javax.xml.soap.SOAPElement when maxOccurs="1", or
> javax.xml.soap.SOAPElement[] when maxOccurs is greater than 1. However,
> Axis will always generate an array, regardless of the maxOccurs
> attribute - should this be considered a bug? I didn't find any related
> issues in Jira. Did anyone experience interoperatability problems
> because of this (for example when receiving or sending a message to a
> .net webservice)?
>
> Kind regards,
>
> Hans
>


--
Davanum Srinivas : http://wso2.com/blogs/