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 */ |