It's not a secret anymore!
The moose likes Web Services and the fly likes WSDL Location in Axis2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "WSDL Location in Axis2" Watch "WSDL Location in Axis2" New topic

WSDL Location in Axis2

madhup narain
Ranch Hand

Joined: Dec 14, 2004
Posts: 148
I have a web-service built out on Axis2, since axis2 generates the wsdl file at runtime i need to know where to put the WSDL (after changing the minoccurs, required elements ) so that it picks the changed wsdl from a project rather than generating it on run time.

I read somewhere -
When Axis2 finds a service what it does is first it check whether there are any WSDL files in META-INF directory. If there is give the priority to the WSDL files and using those Axis2 web service will be created. If no WSDL files are found then it goes through services.xml file to find the service implementation class.

Here is how my package structure looks like; After placing the WSDLfile in both META-INF locations i am still not able to pick it up. Can someone help me ?

Where can i put the WSDL file so that once i hit the ?wsdl i pick the one from the project rather than generating it on runtime

Money for nothing and Java for Free
I agree. Here's the link:
subject: WSDL Location in Axis2
It's not a secret anymore!