About Question enthuware.ocejws.v6.2.323 :
Posted: Wed Nov 05, 2014 10:50 am
For the question:
How can you have more than one operation of the same name, regardless of whether they belong to same or different portTypes, when each operation has a corresponding wsimport-generated wrapper class named after the operation name???<definitions>
. . .
<portType name="StringUtilityServer">
<operation name="Echo">
. . .
</operation>
<operation name="Echo">
. . .
</operation>
</portType>
<portType name="UtilityServer">
<operation name="Echo">
. . .
</operation>
</portType>
. . .
</definitions>
Correct answers:
- This WSDL is not Basic Profile v1.1 compliant.
- The WSDL will only be Basic Profile v1.1 compliant if you rename the first operation name of the StringUtilityServer.