add prefix to the root tag <AbstractClass xsi:type="ns1:ConcreteClass1" xmlns:ns1=" http://namespaceurl.com" " xmlns:xsi=" http://www.w3.org/2001/XMLSchema-nstance> <ClassName>class1</ClassName> </AbstractClass> <AbstractClass xsi:type="ns1:ConcreteClass2" xmlns:ns1=" http://namespaceurl.com"> <ClassName>class1</ClassName> </AbstractClass>
On Mon, Jun 14, 2010 at 8:40 PM, Utkarsh kaushal <[email protected]>wrote: > Anyone? > > Hello, >> >> I am working on web service client (using action script). The web service >> request should be created as given below : >> >> ... >> <AbstractClass xsi:type="ns1:ConcreteClass1" xmlns:ns1=" >> http://namespaceurl.com"> >> <ClassName>class1</ClassName> >> </AbstractClass> >> <AbstractClass xsi:type="ns1:ConcreteClass2" xmlns:ns1=" >> http://namespaceurl.com"> >> <ClassName>class1</ClassName> >> </AbstractClass> >> .... >> >> I have defined ns1 as >> var ns1:Namespace = new Namespace ("ns1","http://namespaceurl.com"); >> >> Problem: >> I am getting error TypeError: Error #1083: The prefix "xsi" for element >> "xsi:type" is not bound. >> >> Any pointers will help. >> >> TIA, >> Kay Kay. >> > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<flex_india%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

