Page 1 of 1

about enthuware.ocejws.v6.2.27 question 17

Posted: Mon Apr 07, 2014 1:15 pm
by himaiMinh
Hi, all.
Typically, a web method called Log will have a corresponding request called Log and corresponding response called LogResponse.
But in J2EE Web Services XML,SOAP,WSDL, UDDI, WS-I, JAX-RPC, JAXR,SAAJ , JAXP by Richard Monson-Haefel, there are full of WSDL examples that appends "Request" to the operation name in the WSDL. On p.154, there is an example like this:

Code: Select all

 <message name="GetBookPriceRequest">
      .....
 </message>
 <operation name="getBookPrice">
       <input name="isbn" message="mh:GetBookPriceRequest"/>
        ....
 </operation>

Re: about enthuware.ocejws.v6.2.27 question 17

Posted: Mon Apr 07, 2014 1:33 pm
by fjwalraven
The JAX-WS 2.2 specs say it nicely:
The value of a wsdl:message element’s name attribute is not significant but by convention it is normally equal to the corresponding operation name for input messages and the operation name concatenated with “Response” for output messages.
For the exam it is important to know the convention or the defaults described by the JAX-WS specification (or JSR-181).

Regards,
Frits