Skip to Content
author's profile photo Former Member
Former Member

Can't create .Net web service

I am trying to create a web service in 12.5 but the .Net wizards are all disabled. I guess I need to install some .Net stuff from Microsoft but I don't know what. I have the same issue in 12.6 and earlier versions as well.

wizard.png (33.0 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Apr 08, 2016 at 10:03 PM

    You need to create a .NET Web Service target first.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 08, 2016 at 10:04 PM

    Hi Roland,

    you have to create a .NET target first. Within that you can create this new .NET projects.

    hth

    Arnd

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 08, 2016 at 09:54 PM

    Hi Roland;

    Did the installer ask you about installing the .Net prerequisites?

    FYI: I have never seen this situation!

    Regards ... Chris

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 08, 2016 at 10:19 PM

    Ricardo & Arnd were correct. I had to create a .Net Web Service Target, I had a regular target.

    Now I get the following when I click the "Run Web Service" or "View WSDL" buttons on the project.

    HTTP Error 404.3 - Not Found

    The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

    Most likely causes:

    • It is possible that a handler mapping is missing. By default, the static file handler processes all content.
    • The feature you are trying to use may not be installed.
    • The appropriate MIME map is not enabled for the Web site or application. (Warning: Do not create a MIME map for content that users should not download, such as .ASPX pages or .config files.)
    • If ASP.NET is not installed.
    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Roland;

      1) For the WSDL, just place the URL in a web browser and that should display the WSDL syntax. Just copy this to NotePad & save it as an xxxx.WSDL file.

      2) You can pool DB connections by using ADO.net. or ODBC. Check the pooling options on these connectivity mechanisms.

      You can also use the Activate / Deactivate vs Constructor / Destructor approach to control your DB connections.

      FYI: I have aWS presentation on buikding PB Classic based WS that might be of interest.

      FWIW: Check out my STD WebService framework & WS examples for more ways to address this & other challenges.

      Regards ... Chris

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.