Wrong WSDL generation


I am trying to create a WSDL from a flow service to send/receive XML over HTTP POST.
My input document and output documents share element names for example tag appears in both Input and Output document.
When I generate my WSDL the signature of the services does not get generated properly.
Can someone help?

You can generate the WSDL with fields being shared ,but it would be generated with warnings. Edit the WSDL to change the tag… It may work…