Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPINeed help in calling a webservice located in a server from a remote machineNeed help in calling a webservice located in a server from a remote machine
Previous
 
Next
New Post
6/28/2008 9:45 AM
 

Hi there!,

                I am currently working on a Asp.net web form. in that i have used ajax to perform some operation. the main thing is, i am not able to call the webervice method from a remote machine. that is the Webservice method is not getting called when i access the server(in which the web service method is written) from a remote machine and tried to call the webservice .

Clearly.

 

this is the main code to cal the webservice

var url = "../Webservices/GridTasks.asmx/FillTable"; //35

 

xmlHttp1.open("POST", url, true );

 

xmlHttp1.setRequestHeader("Content-Type","application/x-www-form-urlencoded");

 

// xmlHttp1.setRequestHeader("Content-Length","params.length");

 

xmlHttp1.setRequestHeader("Connection", "close");

 

xmlHttp1.send(parameter));

 

return false;

 

 This is the Web service method:

<WebMethod(True)> _

Public Sub Deleterow(ByVal param As String)

Dim Table7 As New DataTable

Dim index As Integer

index = Convert.ToInt32(param) - 1

Table7 = Session("AL_FF_INFO")

Table7.Rows(index).Delete()

Session("AL_FF_INFO") = Table7

End Sub

 

Any help regarding this would be very helpful for me!.

 


Thanks & luv U All, Myself
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPINeed help in calling a webservice located in a server from a remote machineNeed help in calling a webservice located in a server from a remote machine


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out