Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WSDL Location in Axis2

 
madhup narain
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic