src/share/jaxws_classes/com/sun/xml/internal/ws/model/JavaMethodImpl.java

changeset 408
b0610cd08440
parent 368
0989ad8c0860
child 637
9c07ef4934dd
equal deleted inserted replaced
405:cc682329886b 408:b0610cd08440
23 * questions. 23 * questions.
24 */ 24 */
25 25
26 package com.sun.xml.internal.ws.model; 26 package com.sun.xml.internal.ws.model;
27 27
28 import com.sun.istack.internal.NotNull;
29 import com.sun.xml.internal.bind.api.TypeReference; 28 import com.sun.xml.internal.bind.api.TypeReference;
30 import com.sun.xml.internal.ws.api.databinding.MetadataReader; 29 import com.sun.xml.internal.ws.api.databinding.MetadataReader;
31 import com.sun.xml.internal.ws.api.model.JavaMethod; 30 import com.sun.xml.internal.ws.api.model.JavaMethod;
32 import com.sun.xml.internal.ws.api.model.MEP; 31 import com.sun.xml.internal.ws.api.model.MEP;
33 import com.sun.xml.internal.ws.api.model.SEIModel; 32 import com.sun.xml.internal.ws.api.model.SEIModel;
214 213
215 /** 214 /**
216 * @return soap:Body's first child name for request message. 215 * @return soap:Body's first child name for request message.
217 */ 216 */
218 public @Nullable QName getRequestPayloadName() { 217 public @Nullable QName getRequestPayloadName() {
219 return (wsdlOperation != null)? wsdlOperation.getReqPayloadName(): requestPayloadName; 218 return (wsdlOperation != null)? wsdlOperation.getRequestPayloadName(): requestPayloadName;
220 } 219 }
221 220
222 /** 221 /**
223 * @return soap:Body's first child name for response message. 222 * @return soap:Body's first child name for response message.
224 */ 223 */
225 public @Nullable QName getResponsePayloadName() { 224 public @Nullable QName getResponsePayloadName() {
226 return (mep == MEP.ONE_WAY) ? null : wsdlOperation.getResPayloadName(); 225 return (mep == MEP.ONE_WAY) ? null : wsdlOperation.getResponsePayloadName();
227 } 226 }
228 227
229 /** 228 /**
230 * @return returns unmodifiable list of request parameters 229 * @return returns unmodifiable list of request parameters
231 */ 230 */

mercurial