Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
問題は次のとおりです。
内部に空の要素 (例: ) を含む SOAP 応答を取得し... <someDate /> ...、その結果、JAXB がこの要素を解析して適切なフィールドにnull値を設定しようとすると、例外がスローされます。
... <someDate /> ...
null
空の要素を null として扱うように JAXB を構成するにはどうすればよいですか? JAXB のみでこれを行うことはできますか (サードパーティの回避策を使用しないでください)。