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  |  

Vote for DotNetNuke as your choice for winner of this year's PackT Open Source CMS Award
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
 


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.

 


Glanton: Enterprise Intranet Specialists Using DNN
Glanton Solutions are a premier provider of sevices for large corporates lloking to outsource Intranet sites.
www.glanton.com
Jetkey Smart Map
Smart Map is an AJAX powered Google Map module that displays driving directions, proximity search results and data from your own databases. Smart Map reads GPX (GPS data) files, GeoRSS feeds, and KML data. You can pass any querystring parameter to Smart Map and into your own custom queries to control what data displays on the map.
smartmap.jetkey.com
DNNSpired.com
Inspired to extend DotNetNuke®, everyday.
www.DNNSpired.com

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