Which two statements are true?

Given:
1. @WebService(name="LogInventory")
2. public class InventoryReader {
3. @WebMethod(operationName=check?
4. @OneWay
5. public void checkProduct(String name);
6. @WebMethod
7. public void addInventory(
8. @WebParam(name="total") int quantity)
9. throws InventoryException;
10. }
Assume the code is free of gross flaws and syntax errors. Which two statements are true? (Choose two.)
A. Line 8 specifies that addInventory accepts either a valid total or quantity.
B. Line 1 indicates the portType is LoginInventory.
C. Line 3 shows the method is mapped to the WSDL operation called checkProduct?
D. Line 4 means that a method is not expected to return a value unless requested.
E. Line 6 implies WSDL operation and method name are the same.

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.