最近使用 Axis2 在撰寫 Web Service 服務常遇到有時候 element 忘了帶值或是處理過後本身為 Null 值造成 Exception,上網 google 了一下在 WSDL element 可以設定這些參數 minOccurs="0" // minOccurs = 0 表示 Variable 這個 element 會出現也或許不會出現 nillable="true" // nillable = true 表示可為 null 值 還沒試驗過,等有空再來試試看
The blog is about the life of a sunshine and Otaku boy, a little food, a little movie, and no matter good or bad things worth recorded. Sometimes it maybe be subjective on some thinking and some writing. However, if u like here, enjoy it. C'est la vie!