Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Biz Modules provides professional business modules and solutions for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  Need help in calling a webservice located in a server from a remote machine
Previous Previous
 
Next Next
New Post 6/28/2008 6:45 AM
User is offline Sidewinder2
7 posts
10th Ranked


Need help in calling a webservice located in a server from a remote machine 

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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  Need help in calling a webservice located in a server from a remote machine
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DeutschNetNuke = DotNetNuke in German
DeutschNetNuke provides all DotNetNuke related services in German (and English).
www.DeutschNetNuke.de
The Standard in Senior Housing Information
SNAPforSeniors provides consumers with free online resources to assist them with their search for senior housing
www.snapforseniors.com
DotNetNuke Web Hosting w/ ASP.NET 3.5
Unlimited email boxes, Unlimited databases, Unlimited domains. Plans start at $4.97
www.MyWinHosting.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP