HI Keith, I tried to change the namespaces under some prefixs, as you
recommended like :

<xs:schema
 xmlns:xs="http://www.w3.org/2001/XMLSchema";
 xmlns:tns="http://myservice/VSLCommonTypes";
 attributeFormDefault="unqualified"
 elementFormDefault="unqualified"
 targetNamespace="http://myservice/VSLCommonTypes";>

and my bugging element (and all the others of course)

            <xs:element maxOccurs="unbounded" name="Values" nillable="true"
type="xs:anyType">
                <xs:annotation>
                    <xs:documentation>
                       Problem in element definition
                    </xs:documentation>
                </xs:annotation>
            </xs:element>

but it still not work, Axis2 send the ADBexception error as before :

"org.apache.axis2.databinding.ADBException: Any type element type has not
been given"

really don't understand, and don't know what I can do to fix that..
Does someone created a request with an anyType element in it, which works
quite good ??



<xs:element type:"AnyIdeas"/> are welcomed !!











2008/7/5 keith chapman <[EMAIL PROTECTED]>:

> Hi,
>
> I assume he issue is in your xsd. You have difined its default namespace to
> be "xmlns="http://www.w3.org/2001/XMLSchema";. I wonder weather this caused
> an issue to Axis. Amila might be in a better position to answer this
> question though. Can try try changing the default namespace of the xsd and
> declaring "xmlns="http://www.w3.org/2001/XMLSchema"; under some prefix.
>
> Thanks,
> Keith.
>
>
> On Fri, Jul 4, 2008 at 8:18 AM, pierre betz <[EMAIL PROTECTED]> wrote:
>
>> So, any ideas ? I tried some other ways, but I still really need to make a
>> request which can send differents type of elements when I call it....
>> still blocked..
>>
>
>
>
> --
> Keith Chapman
> Senior Software Engineer
> WSO2 Inc.
> Oxygenating the Web Service Platform.
> http://wso2.org/
>
> blog: http://www.keith-chapman.org
>

Reply via email to