I am new to axis 2 and weblogic. I have .aar files which are placed under services directory under WEB-INF folder in axis 2. But I am unable to see the list of services present in the .aar files when I hit http://localhost:7003/Trac/services/listServices
The only service that I can see is version service. When I checked the logs I found the following error
I searched over internet but was unable to find a solution to this problem. I am using weblogic 9.2 and axis 2.
Also I have multiple war files in a single ear. I hope that is not causing the problem.. One of the suggestion I read on website is to pull out axis2.war and make it available at the root and check whether services are getting listed. But that will not solve the purpose since these are bundled in my ear.
I looked at the javadocs for axis and came to know the following points
Gets the axis configuration object by loading the repository. The order of initialization is according the the following precedence: If the parameter axis2.repository.path is present, this folder is used as the location to the repository. Otherwise, if the parameter axis2.repository.url is present, the URL is used as the location to the repository. Otherwise, when both of the above init parameters are not present, the web applications WEB-INF folder is used as the folder for the repository
When I have deployed the application in weblogic 9.2 the directory structure is as follows
conf folder has axis2.xml and services folder has all the services I had deployed. Now if I mention absolute path in web.xml for axis2.xml.path and absolute path for axis2.repository.path then everything works fine.. I am able to see all the webservices I have deployed when I hit the above url.
Can anyone tell me how can I specify the relative path? If I dont specify any init param tag in web.xml, still it doesnt work.
Can anyone please help me ?
Joined: Dec 19, 2004
I got the answer. For axis 2 you need to make an entry in services.list file. Keep all the *.aar files in services folder under WEB-INF folder of Axis2 and that's all you need to make your services available for axis. You should be able to see your services when you hit the url http://localhost:<port_number>/axis2/services/listServices