Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

soapUI 4.0 question

 
Sangeetha Davey
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I downloaded soapUI 4.0 windows 32 bit installer. Previously I had soap UI 2.5.
I loaded my project using my wsdl but my requests are missing some elements i.e there are no child elements/arguments . Example:
Example:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.nsq.sciquest.com/">
<soapenv:Header/>
<soapenv:Body>
<ws:executeCreateRequisition/>
</soapenv:Body>
</soapenv:Envelope>

When I do the same wsdl in soapUI2.5, I get. Please note the tags with ?.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.nsq.sciquest.com/">
<soapenv:Header/>
<soapenv:Body>
<ws:executeCreateRequisition>
<!--Optional:-->
<arg0>
<!--Optional:-->
<chargeCode>?</chargeCode>
<checkEHS>?</checkEHS>
<checkInventory>?</checkInventory>
<checkOrders>?</checkOrders>
<checkStorerooms>?</checkStorerooms>
<!--Optional:-->
<dateRequired>
<day>?</day>
<month>?</month>
<year>?</year>
</dateRequired>
<!--Optional:-->
<deliveryOption>?</deliveryOption>
<!--Zero or more repetitions:-->
<flexFields>
<!--Optional:-->
<text>?</text>
<!--Optional:-->
<type>?</type>
</flexFields>
<!--Zero or more repetitions:-->
<items>
<!--Optional:-->
<chargeCode>?</chargeCode>
<!--Optional:-->
<comment>?</comment>
<!--Optional:-->
<dateRequired>
<day>?</day>
<month>?</month>
<year>?</year>
</dateRequired>
<!--Optional:-->
<externalNote>?</externalNote>
<!--Zero or more repetitions:-->
<flexFields>
<!--Optional:-->
<text>?</text>
<!--Optional:-->
<type>?</type>
</flexFields>
<lineNumber>?</lineNumber>
<quantityOrdered>?</quantityOrdered>
<!--Optional:-->
<recipientLocation>
<!--Optional:-->
<building>?</building>
<!--Optional:-->
<floor>?</floor>
<!--Optional:-->
<room>?</room>
<!--Optional:-->
<site>?</site>
</recipientLocation>
<!--Optional:-->
<searchResult>
<!--Optional:-->
<checkCode>?</checkCode>
<!--Zero or more repetitions:-->
<fieldValues>
<!--Optional:-->
<text>?</text>
<!--Optional:-->
<type>?</type>
</fieldValues>
<sequence>?</sequence>
</searchResult>
<!--Optional:-->
<storageCode>?</storageCode>
<substanceId>?</substanceId>
<vendorId>?</vendorId>
</items>
<!--Optional:-->
<recipientIdentifier>?</recipientIdentifier>
<!--Optional:-->
<recipientLocation>
<!--Optional:-->
<building>?</building>
<!--Optional:-->
<floor>?</floor>
<!--Optional:-->
<room>?</room>
<!--Optional:-->
<site>?</site>
</recipientLocation>
<!--Optional:-->
<requestorIdentifier>?</requestorIdentifier>
<!--Optional:-->
<requisitionType>?</requisitionType>
</arg0>
</ws:executeCreateRequisition>
</soapenv:Body>
</soapenv:Envelope>

Why am I not seeing the elements in soapUI 4.0? I would really appreciate a response.Thanks in advance.sangeetha

Newbie


Posts: 1
Joined: 08 Aug 2011 15:33
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Could it be that the omitted elements are all optional and soapUI 4 is configured as not to include those?
To make sure, examine the XML schema associated with the web service's WSDL and soapUI preferences.
Also see the manual for the WSDL settings, "include optional" option: http://www.soapui.org/Working-with-soapUI/preferences.html#WSDL%20Settings%20Tab
Best wishes!
 
Sangeetha Davey
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank You! That solved it. Thanks again
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic