Verify that your web service has Public permissions.
Expand the WSDL Publishing Location panel. A sample URL for your WSDL file is displayed in the Specify mid tier's WSDL handler URL field as shown in the following figure.
Modify the URL appropriately for your configuration:
Replace <midtier_server> with the name of the web server where the Mid Tier is running.
Add /public after WSDL. In this scenario, if the Mid Tierserver is TestServer, you would use this URL:
http://TestServer/arsys/WSDL/public/TestServer/Purchase Order Web Service
Click File > Save.
Click View to display the content of the WSDL file.
If prompted, enter a username and password, and click Login. The WSDL code is displayed, as shown in the following figure: