| Author |
Getting Axis to publish a wsdl instead of generating it
|
Kevin Eddy
Ranch Hand
Joined: Feb 24, 2010
Posts: 74
|
|
|
Can someone tell me how to have axis publish a wsdl instead of generating one? I have a top down service with a predefined wsdl that needs to be published. Although I used the predefined wsdl to generate my code for my service, when I request the wsdl from the service, there are some slight differences. I know jax-ws has a mechanism for this with the @wsdlLocation annotation. But I'm not sure how to get this done with Axis.
|
 |
Kevin Eddy
Ranch Hand
Joined: Feb 24, 2010
Posts: 74
|
|
It took some digging but I found it.
This element goes in the .wsdd
<wsdlFile>myOwnServiceNameGoesHere.wsdl</wsdlFile>
and put the wsdl file in
axis/WEB-INF/classes
|
 |
kri shan
Ranch Hand
Joined: Apr 08, 2004
Posts: 1300
|
|
Hi Kevin, just curiosity, Why you are calling WSDL using
<wsdlFile>myOwnServiceNameGoesHere.wsdl</wsdlFile>
? You followed top-down approach(generating stub(client class) and skeleton(WebService implementation classes) from the WSDL using java2WSDL.
|
 |
Kevin Eddy
Ranch Hand
Joined: Feb 24, 2010
Posts: 74
|
|
kri shan wrote:
You followed top-down approach(generating stub(client class) and skeleton( WebService implementation classes) from the WSDL using java2WSDL.
I don't know what tool was used to generate the wsdl. All I know is Axis changed it up a little bit when generating it. So to keep with standards, dictated to me by an oversight committee, I needed to publish a static wsdl.
|
 |
 |
|
|
subject: Getting Axis to publish a wsdl instead of generating it
|
|
|