SKoneru
12 years agoContributor
[Res]Automatically inserts additional tags in SOAP test step
Hi SOAPUI-PRO team,
I have created a sample SOAP request test step for one of the operation and modified the request according to my use-case. Which means, I removed some tags from the request.
Noticed that tool automatically inserts these tags when ever I close the test step and open it.
I am giving a sample XSD for which I notice this problem.
<xs:complexType name="DraftCheck">
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="1" name="listingMode" type="xs:token"/>
<xs:element maxOccurs="1" minOccurs="1" name="listingSource" type="tns:ListingSource"/>
<xs:any maxOccurs="unbounded" minOccurs="0" processContents="lax"/>
</xs:sequence>
</xs:complexType>
In my request, I just need only listingMode and not listingSource, so I deleted listingSource, but I keep getting back this tag contents(close the request and open it, you will see it).
As this keeps appearing my tests fail.
I looked at all the options in tool preferences, update definitions for WSDL, but didn't find any option to fix it.
Any suggestions..
Thanks
Surya
I have created a sample SOAP request test step for one of the operation and modified the request according to my use-case. Which means, I removed some tags from the request.
Noticed that tool automatically inserts these tags when ever I close the test step and open it.
I am giving a sample XSD for which I notice this problem.
<xs:complexType name="DraftCheck">
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="1" name="listingMode" type="xs:token"/>
<xs:element maxOccurs="1" minOccurs="1" name="listingSource" type="tns:ListingSource"/>
<xs:any maxOccurs="unbounded" minOccurs="0" processContents="lax"/>
</xs:sequence>
</xs:complexType>
In my request, I just need only listingMode and not listingSource, so I deleted listingSource, but I keep getting back this tag contents(close the request and open it, you will see it).
As this keeps appearing my tests fail.
I looked at all the options in tool preferences, update definitions for WSDL, but didn't find any option to fix it.
Any suggestions..
Thanks
Surya