0
我工作的web服務botttom了計算策略上IRAD 7我想打的WebMethod參數強制JAXWS 2.1.and JAXBWEBSERVICES IRAD 7
,我嘗試使用@XmlElement(所需=真) 但它不是更新我的XSd。
您能否提供合適的計算策略,使我的webmethod paramets強制性
在此先感謝。 rama。
我工作的web服務botttom了計算策略上IRAD 7我想打的WebMethod參數強制JAXWS 2.1.and JAXBWEBSERVICES IRAD 7
,我嘗試使用@XmlElement(所需=真) 但它不是更新我的XSd。
您能否提供合適的計算策略,使我的webmethod paramets強制性
在此先感謝。 rama。
Websphere的JAX-WS運行時是Axis2。您可以使用所需的參數在Java Web services: JAXB and JAX-WS in Axis2中找到示例。
對於Metro運行時,請檢查此問題How can I make a WebMethod parameter required