Data Access Worldwide Knowledge Base
Article ID 2082 Article Title INFO: No WSDL information returned when using the ?WSDL parameter Article URL http://www.dataaccess.com/kbasepublic/kbprint.asp?ArticleID=2082 KBase Category VDF (GENERAL) Date Created 01/25/2005 Last Edit Date 10/04/2007
Article Text
QUESTION:
When I enter "http://localhost/daw.examples.Order_Entry_12_1/testservice.wso?WSDL" the result in the browser does not look like a WSDL document. It looks like an INI file. It looks like:
[WebService]
Application=DAW.Examples.Order_Entry_12_1
Object=oTestService
ServicePageGenerator=DefaultWebServiceHomePage.xslt
TestPageGenerator=DefaultWebServiceMethodPage.xslt
WSDLGenerator=DefaultWebServiceDescription.xslt
SoapBodyStyle=document
What is happening?
ANSWER:
What you see is the contents of the testservice.wso file on disk. The browser just displays the file and does not call an application to return the WSDL document. The reason why it does this is most likely a missing .WSO definition inside the IIS application information. Another reason might be an incorrect path to that service.
To check this:
- Start | Programs | Administrative tools
- Select Internet Information Services
- Wait till it is opened
- Browse to your webapplication by expanding the tree. When looking at above example find the entry labeled "daw.examples.order10_1".
- Right click the entry and select properties
- On the tabpage labeled "Virtual Directory" click the button "Configuration"
- A dialog labeled "Application Configuration" appears
- On the tabpage labeled "Mappings" look for the .WSO extension.
If the .wso extension is missing, click the ADD button. If it is there click the EDIT button.
For the value of the executable browse (via the button) to the waswsvc.dll file in the right directory. If you installed Visual DataFlex in the default directory it will be "c:\program files\visual dataflex 10.1\bin\waswsvc.dll". If you installed somewhere else, find the appropriate DLL name.
NOTE: The path to the location of waswsvc.dll MUST BE entered using its short name. You can obtain the short name for any directory via "dir /x". For example:
dir /x "c:\program files"
If you clicked the ADD button you need to enter the filename extension too. While capatilization is not a problem the extensions are usually listed in lowercase so you will enter ".wso". The DOT is important but you can see this clearly because the OK button stays disabled.
Contributed By:
Vincent Oorsprong
Company: Data Access Worldwide
email: vincent.oorsprong@dataaccess.eu
Web Site: http://www.dataaccess.eu
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.