aspose file tools*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "WSDL Location in Axis2" Watch "WSDL Location in Axis2" New topic
Author

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
SCJP, SCWCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WSDL Location in Axis2
 
Similar Threads
URL parameter passing
Web Services not deploying on JBoss
Deploying the Eclipse generated web service client on Tomcat
Axis2 Questions
Axis2 (Embded in tomcat5.5) - Moving services.xml to custom location (or JAX-WS)