Data Access Worldwide Knowledge Base

Article ID 2056
Article Title PROBLEM: .wso only shows content of that file instead of test page
Article URL http://www.dataaccess.com/kbasepublic/kbprint.asp?ArticleID=2056
KBase Category WEB APPLICATIONS
Date Created 11/09/2004
Last Edit Date 07/26/2007


Article Text
PROBLEM:
I am trying to test-run a Web Service, but the WSO URL only shows the content of the .WSO file, instead of the Web Service test page:

http://localhost/webtest/tempservice.wso:

[WebService]
Application=webtest
Object=oFoo
ServicePageGenerator=DefaultWebServiceHomePage.xslt
TestPageGenerator=DefaultWebServiceMethodPage.xslt
WSDLGenerator=DefaultWebServiceDescription.xslt
SoapBodyStyle=document


SOLUTION:
You probably configured the virtual directory for this workspace/web service manually using the folder's properties dialog or IIS administration tool. Doing so does not configure the virtual directory to understand the .wso extension that Visual DataFlex web services use.

You should always create virtual diretories for Visual DataFlex web applications and web services using either the Studio or the Web Application Administrator.

You can solve this problem by either:
- Removing the virtual directory and recreating it by creating a new web application in the Studio (probably not a good idea if you have custom code in an existing web application ).
- Creating a new Web Application in the Web Application Administrator. This wizard-driven process allows you to choose an existing virtual directory or create a new one.



Web Links Related to this Article
DAW Knowledge Base article 2082: INFO: No WSDL information returned when using the ?WSDL parameter
URL=http://www.dataaccess.com/kbasepublic/KBPrint.asp?ArticleID=2082


Email this Article
Email this Article to a Colleague
Send Feedback on this Article to Data Access Worldwide
Copyright ©2010 Data Access Corporation. All rights reserved.

The information provided in the Data Access Technical Knowledge Base is provided "as is" without warranty of any kind. Data Access Corporation disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Data Access Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Data Access Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.