11/24/2006 5:43 PM
post5679
|
Naming Conventions Consistency
1. Currently, all port types does not have input and output name, except for Agreement port type:
<wsdl:input name="TerminateRequest" message="wsag:TerminateInputMessage" />
<wsdl:output name="TerminateResponse" message="wsag:TerminateOuputMessage"/>
The name attribute should be removed for consistency.
2. the names for message names, message element names and message type names are not totally symmetric
-- Agreement.wsdl
TerminateInputMessage <-> TerminateOuputMessage
TerminateInput <-> TerminateResponse (!)
TerminateInputType <-> TerminateOutputType
-- AgreementAcceptance.wsdl
AcceptAgreementInputMessage <-> AcceptAgreementOuputMessage
AcceptAgreementInput <-> AcceptAgreementResponse (!)
AgreementAcceptanceInputType <-> AgreementAcceptanceOutputType
RejectAgreementInputMessage <-> RejectAgreementOuputMessage
RejectAgreementInput <-> RejectAgreementResponse (!)
AgreementAcceptanceInputType <-> AgreementAcceptanceOutputType
-- AgreementFactory.wsdl
CreateAgreementInputMessage <-> CreateAgreementOuputMessage
CreateAgreementInput <-> CreateAgreementResponse (!)
CreateAgreementInputType <-> CreateAgreementOutputType
-- PendingAgreementFactory.wsdl
CreatePendingAgreementInputMessage <-> CreatePendingAgreementOuputMessage
CreatePendingAgreementInput <-> CreatePendingAgreementResponse (!)
CreatePendingAgreementInputType <-> CreatePendingAgreementOutputType
Solution:
TerminateResponse should be renamed TerminateOutput
AcceptAgreementResponse should be renamed AcceptAgreementOutput
RejectAgreementResponse should be renamed RejectAgreementOutput
CreateAgreementResponse should be renamed CreateAgreementOutput
CreatePendingAgreementResponse should be renamed CreatePendingAgreementOutput
|
|
|