Apr 1st, 2009, 08:13 AM
Contract first webservices issue- Incoming message not having "Request" suffix
We have a strange requirement to have the Incoming message not having the "Request" suffix. Is it possible to have schema top level elemet some thing like "PaymentNotification" and the generated WSDL should be able to consider this as an operation and generated WSDL as below?
<wsdl: PortType name="PaymentNotification">
<wsdl: Operation name="PaymentNotification">
<wsdl:input message="schema:PaymentNotification" name="PaymentNotification" />
<wsdl: Output message="schema:PaymentNotificationResponse" name="PaymentNotificationResponse" />
If I give the Toplevel schema element name as PaymentNotificationRequest, then only it works.
I am using the org.springframework.ws.wsdl.wsdl11.DefaultWsdl11De finition to convert from Schema to the WSDL.
Could you please suggent is there any way we can tell spring to consider some element(Non Request suffix) to treate as Incoming Message for the operation.
Thanks for your help in advance.