views:

15

answers:

0

Hi All,

I have a single WSDL file with many operation. But each of the operation soap body has the same element name , but in different namespaces. e.g operation1 has soap.body.op1:Service and operation 2 has soap.body.op2:Service , where op1 and op2 are namespace prefixes.

When i generate my proxy code using wsdl.exe , he generated classes as Service1 and Service2, but if the order is changed in wsdl for service 1 and 2 , or if a new service 3 is added, it becomes difficult to maintain the proxy code.

Is there a way to generate the Service1 and Service2 class names based on the wsdl operation , instead of the tag name?

So i would get class names as Operation1 and Operation2 , instead of Service1 and Service2.? Thanks all.