How to control the name attribute value for the wsdl binding element
Rr Kumaran
Ranch Hand
Joined: Sep 17, 2001
Posts: 548
posted
0
Hi All,
I have created a wsdl file out a web service and this is the binding element generated in wsdl file wsdl:binding name=weatherSoapBinding type=impl:weather
now, how do control the name attribute value of this binding element. e.g. I want weatherSoap as name attribute value instead of weahterSoapBinding
RR Kumaran
SCJP 1.4
Balaji Loganathan
author and deputy
Bartender
Joined: Jul 13, 2001
Posts: 3150
posted
0
Well..i saw your other question and tried to find some answer for you... I once tried like adding the below parameter tag inside service tag <parameter name="wsdlBinding" value="MyBindingName"/> No..it was not working...
If you are very keen, then you can try to publish custom wsdl file using axis.there is an article on how to do it but cant find the link now, try google.
There is an option for controlling the binding element name when using the axis tool JavaToWSDL but if we are not using this tool for deployment and instead relying on axis server-config.wsdd then I dont find any options. Still trying my luck ...