about enthuware.ocejws.v6.2.27 question 17

Moderators: Site Manager, fjwalraven

Post Reply
himaiMinh
Posts: 358
Joined: Fri Nov 29, 2013 8:26 pm
Contact:

about enthuware.ocejws.v6.2.27 question 17

Post 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>

fjwalraven
Posts: 429
Joined: Tue Jul 24, 2012 2:43 am
Contact:

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

Post 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

Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests