2017-08-23 4 views
0

をヌル変数を設定します。はSOAP UIで、このスクリプトからnullを設定する方法

<dat:customerNo></ dat:customerNo> 

私はすでにこれを行うことを試みた:

<dat:customerNo xsi:nil="true" /> 

をしかし、エラーを得た:

<soapenv:Fault> 
<faultcode>soapenv:Server.generalException</faultcode> 
<faultstring>WSDoAllReceiver: cannot convert into document; nested exception is: 
org.xml.sax.SAXParseException: The prefix "xsi" for attribute "xsi:nil" associated with an element type "dat:customerNo" is not bound.</faultstring> 

してください誰でも助けることができますか?ありがとうございました

+0

どこでSoapUIで必要ですか?グルーヴィーステップ?残り ?石鹸のリクエスト? – Rao

+0

私は確かではない、それはたぶん石鹸の要求です。どうすれば確認できますか? – user3679987

+0

誰でもお手伝いできますか? – user3679987

答えて

0

xsi要素の定義をフィールドまたは石鹸の封筒に追加する必要があります。

<dat:customerNo xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" /> 
+0

これは大変ありがとうございます:) – user3679987

+0

あなたは大歓迎です。あなたが大丈夫なら答えを受け入れることができます:) – Lerminou

関連する問題