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 935567
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T21:10:39+00:00 2026-05-15T21:10:39+00:00

I try to call my webservice but I cant! when I put it in

  • 0

I try to call my webservice but I cant!
when I put it in root directory it possible but when I put it in sub directory it’s impossible to call it!
and one more problem that I face with it,my javascript file stay in 3 sub directory like ../../../myjsfile.js

when I put my webservice address like this ../../../webservice.asmx it dont work but when I change it to a full address it work.anybody know what is my problem?

I put a picture from my directory here

alt text http://www.mypicx.com/07052010//

  • 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-15T21:10:39+00:00Added an answer on May 15, 2026 at 9:10 pm

    I am assuming that you are trying to call the web service with JavaScript.

    When calling the asmx file with JavaScript, the location of the asmx file is relative to the location of the calling page not the Javascript file. So if you are calling it in /default.aspx file, you do not need to specify .. (parent path), but Services/CompanyServices.asmx.

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

Sidebar

Related Questions

I'm trying to call a webservice from my local machine. But the I get
Possible Duplicate: Parsing ksoap2 response So I managed to call a webservice using KSoap2
i am try to call webservice using Android.I have used httpclient as well as
I need to call a webservice but I dont care if I get need
I try to call a webservice provided by SAP to update customer data. I
I call method in webservice that return string true or false and take two
I try to call an API. I just want use active resource so I
I try to call a function which checks a rule and if the rule
I try to call a function which passed as function pointer with no argument,
I try to call the esriRegAsm.exe with arguments from a C# program. The purpose

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.