Forum Discussion

agupta1's avatar
agupta1
Contributor
15 years ago

anyType element not accepted in the Form editor

I have the following web method defined in my c# code

public void SetVoiceItemAttribute(string identifier, string attributeName, object value)

It generates the following wsdl:


       
         
           
           
           
         

       

     


I can import the wsdl in soapui and this operation in a test case. Hopwever, I cannot edit the "value" field as it shows the following error:
value: Type[{http://www.w3.org/2001/XMLSchema}anyType] is not supported by Form Editor

I understand from one of the postings in the forum the anyType is treated as anySimpleType and this value is editable in SoapUI.

Can anyone please suggest a solution to this problem.
  • Hi!

    anyType means literally just that; the element can contain anything ranging from simple text to complex xml structures; the Form editor can't possibly know what to display here.. (except possibly an XML editor field?).. either try to narrow this down in your schema (ie be more specific than Object) or edit this in the XML source view..

    regards!

    /Ole
    eviware.com