After you create a .NET Web Service project, you can deploy it from the Project painter or from a context menu on the project object in the System Tree.
When you deploy directly to an IIS server, PowerBuilder creates an application directory under the IIS virtual root and creates an ASMX file in the application directory. The ASMX file created by the project is an ASP.NET executable file rather than a true WSDL file, so you might need to add the “?WSDL” suffix to the URL when you try to access this Web service from certain types of applications.
In addition to the application directory and the ASMX file, deploying the project creates a directory structure that is substantially the same as that created by a .NET Web Forms project. In fact, PowerBuilder deploys a Web Service target as a Web Forms target, but it creates an additional assembly containing the Web service wrapper class. The file name for this assembly is generated by appending the characters “_ws” to the file name of the main application assembly. It is generated with the main assembly in the application’s bin directory.
You can prevent this error by granting appropriate user or user group permissions to the Temp directory in the same way you grant permissions for the Sybase and database directories. See Setting Up a SQL Anywhere Database Connection.
You can run or debug a .NET Web Service project from the PowerBuilder UI if you fill in the Application field (and optionally, the Argument and Start In fields) on the project Run tab in the Project painter. The Application field is typically filled in automatically with the name of the Internet Explorer executable on the development computer.