GeeCON Prague 2014*
The moose likes Web Services and the fly likes soapUI 4.0 question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "soapUI 4.0 question" Watch "soapUI 4.0 question" New topic
Author

soapUI 4.0 question

Sangeetha Davey
Greenhorn

Joined: May 10, 2011
Posts: 5
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

Joined: Oct 04, 2006
Posts: 2198
    
    1
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!


My free books and tutorials: http://www.slideshare.net/krizsan
Sangeetha Davey
Greenhorn

Joined: May 10, 2011
Posts: 5
Thank You! That solved it. Thanks again
 
GeeCON Prague 2014
 
subject: soapUI 4.0 question