aspose file tools
The moose likes Web Services and the fly likes How to control the name attribute value for the wsdl binding element Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "How to control the name attribute value for the wsdl binding element" Watch "How to control the name attribute value for the wsdl binding element" New topic
Author

How to control the name attribute value for the wsdl binding element

Rr Kumaran
Ranch Hand

Joined: Sep 17, 2001
Posts: 548
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
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.


Spritle Software Blogs
Rr Kumaran
Ranch Hand

Joined: Sep 17, 2001
Posts: 548
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 ...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to control the name attribute value for the wsdl binding element
 
Similar Threads
How to change the name of the binding element in wsdl file ?
Client for Stateless Session Bean Service
binding and service elements in wsdl
How to change the name of the binding element in wsdl file ?
Get webservice location using wsdl4j api