Suppose your Axis2 service archive (*.aar) includes a test.wsdl in the META-INF directory. Now, you deploy your Axis2 service and issue http://<host>:<port>/services/
Then, Axis2 generates a wsdl instead of your own wsdl placed in your service archive. How do you avoid this behavior?
Open your services.xml and add the following parameter.
<parameter name="useOriginalwsdl">true</parameter>
Now you will get the original wsdl when requesting ?wsdl of your service.
Simple.. isn't it?
No comments:
Post a Comment