jjzjj

GetStockPrice

全部标签

java - JAX-WS:为什么嵌套元素位于 ""命名空间中?

玩具服务如下@WebService(targetNamespace="http://www.example.org/stock")@SOAPBinding(style=Style.RPC,parameterStyle=ParameterStyle.WRAPPED)publicclassGetStockPrice{@WebMethod(operationName="GetStockPrice",action="urn:GetStockPrice")@WebResult(partName="Price")publicDoublegetPrice(@WebParam(name="StockN