Eviware Forum

soapUI => soapUI => Topic started by: ramesh nallavolu on April 11, 2008, 04:54:07 pm



Title: How do I pass array of data elements in request
Post by: ramesh nallavolu on April 11, 2008, 04:54:07 pm
We have webservice, in which request accepts multiple email id's... i.e array

  <ns:EmailDetails>
            <!--Optional:-->
            <ns1:EMailAddress>test@mail.com</ns1:EMailAddress>
         </ns:EmailDetails>


Right now form not allowing to add more than one value(emails)... how do I add multiple emails ...


Thank you in advance



Title: Re: How do I pass array of data elements in request
Post by: omatzura on April 12, 2008, 01:27:29 am
Hi!

hm.. does the associated schema allow multiple EMailAddress entries? Does the form editor only show one text-field for this?

You can bypass an eventual bug in the Form Editor by switching to the XML Source view and "manually" entering you addresses there, but please let me know on the above questions so we can fix this if necessary.

Thanks in advance!

regards,

/Ole
eviware.com


Title: Re: How do I pass array of data elements in request
Post by: ramesh nallavolu on April 16, 2008, 09:50:37 pm
Yes - schema allows multiple email address ( array )

1. Form gives option to add a text box , but not more than one ( add link is disabled on the form UI )

2. After adding xml  in source view multiple emailaddress entries... and  in form view... you will see 2 text boxes... :-)


I think we need fix on UI ( form side ) , i.e if input accepts array ( based on schema ), use should be able to add any number of fileds on form,  i.e add link should be enable after adding first one...


hope helps..

- Ramesh



Title: Re: How do I pass array of data elements in request
Post by: omatzura on April 16, 2008, 10:07:38 pm
Hi!

I need the WSDL to debug this, can you mail/attach?

regards,

/Ole
eviware.com


Title: Re: How do I pass array of data elements in request
Post by: ramesh nallavolu on April 17, 2008, 04:26:34 pm
I sent you email... ( wsdl file )