web-services

Application_BeginRequest doesn't fire In Web Service

I created a web service on localhost, and I tried to call it from a web app (also on the localhost) via HttpWebRequest, but Application_BeginRequest in Global.asax didn't fire. When I type in IE 'http://localhost:8010/Test/' (the web service) Application_BeginRequest fires. Where is the problem? How can I test a localhost web service fro...

Web service for european weather forecast?

Does anybody know any web service to get weather forecast data for Spain (Europe)? I´ve tried with NOAA web service, but it only covers EEUU. ...

Can you use jqGrid within ASP.net using a webservice and javascript?

The jqGrid has been kicking my butt (as well as others on this site). I can't seem to get the JSON data from the webservice to load into the jqGrid when using the addJSONData method. Does anyone know if this is possible to do? I am not using MVC just a plain WebProject webservice in ASP.NET 3.5. I am using the latest version of jqGri...

Is there any way to have a [System.Web.Services.WebMethod] method in a standard page in c#?

Is there any way to have a [System.Web.Services.WebMethod] method in a standard page in c#? I have a c# ASPX page that I would like to have a a method for my ajax to call. I want everything to be self contained in a single file for organization and deployment purposes. When I add that directive to a System.Web.UI.Page for example: [Sy...

Retrieve MySQL data with webservice to create FTP Folder and user/pass ?

Hi there, I need to create something that will retrieve new Users from a VTiger CRM and create a FTP folder and user/pass on another server. SERV-A: VTiger CRM, powered by MYSQL. With WSDL directory. SERV-B: FTP server The reason why I thought doing a WebService is that I must constantly check for new users. The language used isn'...

How to connect a iPhone to a .Net Web Service and get 1000's XML files efficiently?

I need to get 1000's of XML files stored in a sql server database through a .Net web service for a call from iPhone? Please suggest a better way to handle it in .net web service? ...

What type of webservice works best with iOS?

I'm going to be creating an internal app for the iPhone and iPad that will keep track of sales calls, the associated quotes, photos, and drawings for those quotes. I'm still in the concept design phase and I'm trying to read up on the different ways to communicate between my app and the webservice. Obviously since this will be used mostl...

HTTP GET REST Web Service returns XML but file_get_contents returns blank

I am using PHP to interact with a Web Service using REST and HTTP GET requests to call on the available APIs to return XML data. When testing via the address bar, I get the expected XML content. So the next step I tried was to read that XML data or store the values returned into a string. But when I use file_get_contents I don't get a...

Creating web service and client with shared types

I have created two wsdl files with shared types imported from xsd schema file. After that I have created web services using interface generated by wsdl.exe tool with parameter /serverInterface. Frist web service, have web method “RegisterData” with put into queue some complex object to be processed, by system “A”. As result of this m...

Exposing WCF service for Flash 9/AS2

I am trying to consume our existing WCF service using Flash 9 (with ActionScript2, for Flash Lite compatibility). However, when I add the service in Adobe Flash Professional CS5, I am not seeing all the details of my service. Specifically, service methods appear but not type information for params and results. I am able to successfully ...

Web Service Forms Authentication and deny users="*"

I have an ASP.Net MVC app where I want to allow clients to download data via a webservice. However, I want to only allow authenticated clients to accesses their data. At first I added deny users="*" to the path in my web.config, but this creates difficulty when trying to add the webservice as a reference because I already have forms aut...

WCF service exposed as ASMX won't accept parameters

Hello. I have a server/client application developed in Delphi 2006. The client is Win32 and the Server is a .net 1.1 webservice. We are in the process of updateing this project, but it has to be done in small steps. I started with the server and created a WCF project in VS2010(C# .net 4.0). The first step is to get the server running i...

ASP.NET Web Service POST/GET via REST unavailable?

I'm working with a .NET based Web Service where some of the API calls can be accessed via HTTP POST/GET but on others only SOAP 1.1/1.2 are available. The company that has developed the API have come back to me have said the following and I was wondering if he's trying to pull the wool over my eyes or whether he's speaking the truth. H...

ASP.Net Webservice Serialization

Hi All, Could someone here point me in the right direction about how I can override the serialization that occurs when my webservice is called? Basically the end result I am aiming for is appending a TIMESTAMP to all objects returned from my webservice but only when the JavascriptSerializer is being used in my webservice as opposed to ...

How do I return a WCF webservice without having the Serialization Error

I'm getting an error after acessing my webservice like: Server Error in '/' Application. Type 'System.Xml.XmlDocument' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. See the Microsoft .NET Framework documenta...

push and pull sms messages in a web service

We need a web service in which the information can be stored in a persistence queue. And a process checks and sends that information using sms. We use axis2 to implement the web service. What is the best way to implement this? Thanks. ...

Web Service reference changed

Hi Friend, I have publish one webservice on server let say on abc.com server. now more than 10 client subscribe for this webservice. Now I want to shift same web service to server xyz.com and want to close server abc.com. So without updating client how can i make this move successful so my client Web Service do not need to update anyt...

How to access the url property from web service consumers

Hi, My client is required to pass the Url to my web service. They use the SoapHttpClientProtocol Url property to set it's value. However, I need to check the Url value inside my web method. How can i access these Url property value set by my clients? Please advice. Thanks. ...

How to access the url property from web service consumers

My client is required to pass the Url to my WSDL web service. They use the SoapHttpClientProtocol Url property to set it's value. Example my client pass the url value which is "http://www.contoso.com/math.asmx": namespace MyMath { using System.Diagnostics; using System.Xml.Serialization; using System; using System.Web.S...

Flex portlets calling web service

Hi, Flex portlet is calling a webservice and I am intercepting the calls to check the session credentials using XFire AbstractHandler method implementation. But I am not getting the same httpsession value that is used for login in to the application. I have intercepted the calls using TCPmon also. But no clue.. Do anybody have any idea...