Hi, I have the same issue as the threat author I know this is an old Threat, but I want to know if it ever was solved....
Anyway, if it's useful, this is my WSDL [1] and this [2] is the request I'm doing on soapUI. I want to probe the WS sending the array as input. Thank You [1] http://pastebin.com/f732ec7c8 [2] http://pastebin.com/fb044c47 omatzura wrote: > > Hi Mar, > > Ole from the soapUI team here.. maybe this is an error in how soapUI > generates the request, would it be possible for you to mail me this WSDL > containing the complex type so I can have a look? ([email protected]) > > Thanks in advance! > > best regards, > > /Ole > eviware.com > > > Mar-3 wrote: >> >> I am trying to create a webservice that uses complex type arrays. How >> do I display an example of a complex type within a complex type array. >> >> For single complex type requests I get the layout of the object like so: >> >> <urn:setAdvClassTest >> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> >> <adv xsi:type="urn:AdvClass"> >> <advStringTest xsi:type="soapenc:string" >> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">?</advStringTest> >> </adv> >> </urn:setAdvClassTest> >> >> For arrays of complex type I get an empty array list. The complex type >> array does not specify what is required in an object of that array. >> >> <urn:setAdvClassArray >> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> >> <advs xsi:type="urn:ArrayOfAdvClass" >> soapenc:arrayType="urn:AdvClass[]"/> >> </urn:setAdvClassArray> >> >> How do I cater for complex types so that SOAPUI can display the complex >> object type within the array. Like so: >> >> <urn:setAdvClassArray >> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> >> <advs xsi:type="urn:ArrayOfAdvClass" >> soapenc:arrayType="urn:AdvClass[]"> >> <adv xsi:type="urn:AdvClass"> >> <advStringTest xsi:type="soapenc:string" >> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">?</advStringTest> >> </adv> >> </advs> >> </urn:setAdvClassArray> >> >> >> >> Searching for answers led me to a reply that stated that the array name >> was different to the one generated by the proxy. I've searched through >> the auto generation and the array names all seem to line up (called >> avs). Nothing seems out of the ordinary. >> >> Can anyone tell me how to represent an object within an array using >> SOAPUI? >> >> Thanks, >> Mar >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >> > > -- View this message in context: http://www.nabble.com/SOAPUI-Complex-Type-Arrays-tp15086103p25959232.html Sent from the Axis - User mailing list archive at Nabble.com.
