Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • marthin 87 posts 106 karma points
    Oct 01, 2010 @ 09:01
    marthin
    0

    Webservice in 4.5

    Hi,

    I have a webservice that iv installed in v4.03. I simply put the asxm file in the webservice folder and could then use it. Now I have updated to v.4.5 and it says that i cant reach the URL?

    i used a Ajax call to mywebsite.com/webservices/productNavXml.asmx/GetXmlNodes

    Request format is unrecognized for URL unexpectedly ending in '/GetXmlNodes'

    Are there any changes i need to make to the webconfig to make this work in 4.5?

    I can however reach the webservices/productNavXml.asmx but i cant test the GetXmlNodes function because it says :

    ------

    Test

    The test form is only available for requests from the local machine.

    -----

    I could use this before.

     

    Thx for any help!

    /Marthin

  • marthin 87 posts 106 karma points
    Oct 01, 2010 @ 09:08
    marthin
    0

    Nvm, i found out that the new web.config didnt include

    <webServices>
              <protocols>
                  <add name="HttpGet"/>
                  <add name="HttpPost"/>
              </protocols>

    </webServices> 

     

    By the way, is there anyway to mark my own answer as a solution to the question?

    Best of Regards

    Marthin

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies