Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4601074
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T23:46:26+00:00 2026-05-21T23:46:26+00:00

Im having trouble with calling my web service. When I try it localy It’s

  • 0

Im having trouble with calling my web service. When I try it localy It’s working but when I publish it and upload to binero nothing happends. I believe that it dosen’t know where to look for the web service even tho Ive added it to the ftp.

here is my index.aspx

<script language="javascript" type="text/javascript">

function pageLoad() {

    test();
}

function test() {

    MvcApplication8.WebService1.HelloWorld(callback);
}

function callback(result) {

    alert(result);

}

<h2>Index</h2>

  <form runat="server">
<asp:ScriptManager runat="server" ID="scriptservice">
<Services>
<asp:ServiceReference Path="../../WebService1.asmx" />
</Services>
</asp:ScriptManager>
</form>

Here is my webservice.asmx

namespace MvcApplication8
{

[WebService(Namespace = "http://ebrandstedt.se/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.ComponentModel.ToolboxItem(false)]
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. 
[System.Web.Script.Services.ScriptService]
public class WebService1 : System.Web.Services.WebService
{

    [WebMethod]
    public string HelloWorld()
    {
        return "Hello World";
    }
}

}

It’s published at http://www.ebrandstedt.se

http://www.ebrandstedt.se/webservice1.asmx <– There can you find the webservice

All help is appreciated.

/MVH Emil

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T23:46:26+00:00Added an answer on May 21, 2026 at 11:46 pm

    Found my answear here, needed to add alot in my web.config to enable ajax. Very nice guide!

    http://www.asp.net/ajax/videos/how-do-i-aspnet-ajax-enable-an-existing-web-service

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We've having trouble deploying a web service that works in our development environment, but
I'm having trouble figuring out why my web service is not working correctly when
i added a method inside my high chart function but im having trouble calling
I'm having trouble calling a non IDispatch method in an ActiveX control that I've
I'm having trouble with C++ calling elements of an array of type class .
I'm having trouble with encodings when calling the Quickbase API using Python. I call
I'm having trouble getting PEX to automatically cover methods calling Linq extension methods, such
I'm having trouble with the MyClass::function(); style of calling methods and can't figure out
I'm creating a sub dialog another vendor is calling. I'm having trouble reading the
I am having trouble calling a specific function within a class. The call is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.