maxpaynebupt
13 years agoOccasional Contributor
[SOAPUIPRO_4.5.1]CHOICE item can not be shown correctly
Hi, guys
As I can't post on the other boards, so I can just post here.
I have a delete operation, and it has the choice to use msisdn or imsi, in soapui 3.6.1 , it can be shown correctly, but in soapuipro 4.5.1, only msisdn is shown, and imsi disappeared.............
But, that's not the most weird thing, the most is, when I choose the xml format to look, and then I type "ctrl-Z" twice, the imsi, would come back.....................
who knows why
WSDL:
<xs:element name="Delete">
<xs:complexType>
<xs:sequence>
<xs:element name="MOType" type="xs:string" fixed="Subscription@http://schemas.ericsson.com/ema/UserProvisioning/GsmHlr/" />
<xs:element name="MOId">
<xs:complexType>
<xs:choice>
<xs:element ref="ns:msisdn" />
<xs:element ref="ns:imsi" />
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
soapui 3.6.1:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cai3="http://schemas.ericsson.com/cai3g1.2/" xmlns:gsm="http://schemas.ericsson.com/ema/UserProvisioning/GsmHlr/">
<soapenv:Header>
<cai3:SessionId>?</cai3:SessionId>
</soapenv:Header>
<soapenv:Body>
<cai3:Delete>
<cai3:MOType>Subscription@http://schemas.ericsson.com/ema/UserProvisioning/GsmHlr/</cai3:MOType>
<cai3:MOId>
<!--You have a CHOICE of the next 2 items at this level-->
<gsm:msisdn>?</gsm:msisdn>
<gsm:imsi>?</gsm:imsi>
</cai3:MOId>
</cai3:Delete>
</soapenv:Body>
</soapenv:Envelope>
soapuipro 4.5.1:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cai3="http://schemas.ericsson.com/cai3g1.2/" xmlns:gsm="http://schemas.ericsson.com/ema/UserProvisioning/GsmHlr/">
<soapenv:Header>
<cai3:SessionId>?</cai3:SessionId>
</soapenv:Header>
<soapenv:Body>
<cai3:Delete>
<cai3:MOType>Subscription@http://schemas.ericsson.com/ema/UserProvisioning/GsmHlr/</cai3:MOType>
<cai3:MOId>
<!--You have a CHOICE of the next 2 items at this level-->
<gsm:msisdn>?</gsm:msisdn>
</cai3:MOId>
</cai3:Delete>
</soapenv:Body>
</soapenv:Envelope>
As I can't post on the other boards, so I can just post here.
I have a delete operation, and it has the choice to use msisdn or imsi, in soapui 3.6.1 , it can be shown correctly, but in soapuipro 4.5.1, only msisdn is shown, and imsi disappeared.............
But, that's not the most weird thing, the most is, when I choose the xml format to look, and then I type "ctrl-Z" twice, the imsi, would come back.....................
who knows why
WSDL:
<xs:element name="Delete">
<xs:complexType>
<xs:sequence>
<xs:element name="MOType" type="xs:string" fixed="Subscription@http://schemas.ericsson.com/ema/UserProvisioning/GsmHlr/" />
<xs:element name="MOId">
<xs:complexType>
<xs:choice>
<xs:element ref="ns:msisdn" />
<xs:element ref="ns:imsi" />
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
soapui 3.6.1:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cai3="http://schemas.ericsson.com/cai3g1.2/" xmlns:gsm="http://schemas.ericsson.com/ema/UserProvisioning/GsmHlr/">
<soapenv:Header>
<cai3:SessionId>?</cai3:SessionId>
</soapenv:Header>
<soapenv:Body>
<cai3:Delete>
<cai3:MOType>Subscription@http://schemas.ericsson.com/ema/UserProvisioning/GsmHlr/</cai3:MOType>
<cai3:MOId>
<!--You have a CHOICE of the next 2 items at this level-->
<gsm:msisdn>?</gsm:msisdn>
<gsm:imsi>?</gsm:imsi>
</cai3:MOId>
</cai3:Delete>
</soapenv:Body>
</soapenv:Envelope>
soapuipro 4.5.1:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cai3="http://schemas.ericsson.com/cai3g1.2/" xmlns:gsm="http://schemas.ericsson.com/ema/UserProvisioning/GsmHlr/">
<soapenv:Header>
<cai3:SessionId>?</cai3:SessionId>
</soapenv:Header>
<soapenv:Body>
<cai3:Delete>
<cai3:MOType>Subscription@http://schemas.ericsson.com/ema/UserProvisioning/GsmHlr/</cai3:MOType>
<cai3:MOId>
<!--You have a CHOICE of the next 2 items at this level-->
<gsm:msisdn>?</gsm:msisdn>
</cai3:MOId>
</cai3:Delete>
</soapenv:Body>
</soapenv:Envelope>