header
header
Main Menu
Home
Eviware Store
Downloads
Products
News
Forum
Eviware Blog
Search
FAQs
Customer Area
Support
Documentation
Tutorials
CookBook
Downloads
Forum
Login Form
Welcome, Guest. Please login or register.
December 01, 2008, 06:37:34 pm
Username: Password:
Login with username, password and session length

Forgot your password?
 
Not able to get data elements in mock response defiend under wsdl:arrayType
Welcome, Guest. Please login or register.
December 01, 2008, 06:37:34 pm
Home Help Search Login Register
News: The Forums are up! Welcome to eviware.

+  Eviware Forum
|-+  soapUI
| |-+  soapUI
| | |-+  Not able to get data elements in mock response defiend under wsdl:arrayType
« previous next »
Pages: [1] Print
Author Topic: Not able to get data elements in mock response defiend under wsdl:arrayType  (Read 248 times)
apoorva
Newbie
*
Posts: 16


« on: August 20, 2008, 07:09:38 am »

Hi All,

I have an urgent query.

while creating mock response  I m not able to get data elements whose are defiend under wsdl:arrayType..

My WSDL looks like this

 <complexType name="ArrayOf_tns3_License">
  <complexContent>
  <restriction base="soapenc:Array">
  <attribute ref="soapenc:arrayType" wsdl:arrayType="tns1:License[]" />
  </restriction>
  </complexContent>
 </complexType>

<complexType name="License">
  <sequence>
  <element name="priceValue" nillable="true" type="soapenc:string" />
  <element name="priceMethod" nillable="true" type="soapenc:string" />
  <element name="type" nillable="true" type="soapenc:string" />
  <element name="priceBasis" nillable="true" type="soapenc:string" />
  <element name="currentEvent" nillable="true" type="tns1:Event" />
  <element name="id" nillable="true" type="soapenc:string" />
  </sequence>
</complexType>

And "ArrayOf_tns3_License" is include in one of the operation's response but
Elements defined under License[] is not available in mock response.

In mock Response its looks like
<sid xsi:type="urn:ArrayOf_tns3_License" soapenc:arrayType="data:License[]"/>

Instead of including all data elements of License.

Is there any configuration that I am missing?

I will appreciate if any input will be available.


Thanks,
Jim
Logged
omatzura
Administrator
Hero Member
*****
Posts: 1,466


« Reply #1 on: August 20, 2008, 09:20:12 pm »

Hi Jim,

the default message created by soapUI does currently not include empty items in a SOAP-Encoding array.. sorry.. (the Form-editor in the Pro-version helps you create these though..)

regards!

/Ole
eviware.com
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
header header
header
header