Dileep,
I think you are running an issue that is the driving force behind why you should do WSDL first development. You are taking an existing service and then generating a WSDL from it. You are leaving it up to webMethods IS to interpret your service and it’s documents.
The IS WSD service is abstracting your service and generating schema elements and types based upon it’s interpretation. It would appear to have some issues when the input documents are already namespace qualified. Take a look at Mark C.'s example on you will see how to do it without explicit namespace qualification on the input documents. The WSDL generated from that appears as you would expect based upon the signatures and without modification.
If you modify Mark’s documents to be explicitly namespace qualified you will see the same types of interpretation issues that you are currently seeing.
If you do WSDL first it you will not have this issue. For me personally I don’t like enabling an existing service as a web service. I prefer the web service to be abstract and hand off the processing/implementation to another service. It’s kind of a router pattern with the web service really not doing much.
#API-Management#webMethods#soa