I am writing a program to measure the latency(response round trip time) for a web service. I need to have this at client side.
My initial plan is to store the time at which request is sent and then calculate the difference in time when we recieve a response from the web service. Is this the correct way to measure latency of web service. This has some overhead because of storing time and all. How can this be done?
Another option is to attach a timestamp with the SOAP request. But the server should return the timestamp. This will not be possible in case of third party web services.
What is the easiest way to create a web service with XML response?Use WCF to create the web service? (seems really complicated)If i want to use WCF to create my web service, where do I start?
i want to"steal" the xml that the web service return to the client.how can i steal it ?what can i override ?i dont care if it will be also wcf...i just want to reach the result as xml after a specfic function start on the web serviceike there is no over ride to on serlize or something like that on the web service or any property on the client side ?
I have an ASP.NET website set up, and I'm using Google Analytics for page tracking. The only thing I don't like is that I have to go away from my site (to the Google Analytics site) to see the report. Is there any way to show the Google Analytics data on my own site with all the AJAX that they have?
I'm developing a client of a webservice in C# with VS.NET 2008.And I would like view the xml response of my request to the web service. which i have call . Is it posible?
am currently trying to learn about consuming web services within .net and am having trouble with the following example.I have the WSDL file to contact a vehicle look up web service which based on two parameters, pCode which validates me and pID which is the ID of a make of car. The result of the call should bring back an XML response used to populate a drop down list with a list of models available for the specified MAKE.
I am new to the wcf services and soap. Kindly give me an example or demo how to generate a soap request and response using wcf services. I need to use VB.net for this.
I read that webservices are basically used in backgroung. It can't be use for redirecting to some other url. Then what is meaning of following code which is from msdn. I am not able to implement this code.
Redirection If you need to provide a redirect response in your Web service, do not use the Context.Response.Redirect method because the HTTP response will differ from what the Basic Profile mandates. [R1130]
The following example shows how to give a redirect response that complies with the Basic Profile:
I saw on the google when search "code project", some keywords and a text field and a button to search that google has generated for "code project" keyword also for "manchester university" in the same way.
How is it possible to show key words and text field/button for our website on google? As it shows for "code project" and "manchester university" etc.
visit google and search "manchester university" u'll see:
StudentNet Job Opportunities PostGraduate StaffNet etc.. and textfield/ and a button
I want this kind of result for my site from Google!!
I am trying to simulate a sample web service payload similar to that which i will receive one the webservice is live. Can anyone help me simulate this?Criteria for my response will be:a bool pass or fail string - message and the object (in this case in the form of a list) heres the class I am to populate with sample data:
[Code]....
How can I use this class to put sample data in it? Lets say I want to put customers in the list 'ReturnObjects'?
where i need to understand the Raw XML Request and Response send thru when an web service API is called.We are using a Third part web service i.e. we have reference a third party wsdl file in our application and using its APIs defined.For Authentication purpose we are using web service extension in Framework 2.0
I inherited a old WSE 3.0 service. I am building an ASP.NET client for it. It is returning a MTOM response so my client is complaining. Does anyone know of a way to change the response type to XML? Or change my client to accept MTOM? I just want this crap to work.
I have a requirement below;Step 1: I must insert and update record with "xx" Running Number into Tables in Database.Step 2: I must send "xx" Running Number from Step 1 go with Web Service and wait the response.Step 3: If Step 2 has a error. I must roll back Step 1 data that I do in Step 1. But If Step 2 is success, everything is Ok.How can I solve this requirement? and How can I write asp.net code?
I want to show google maps and street view and have a relation between them so that if the user moved in the map the street view will refresh, something like this [URL] but without the birds eye.
This might be a silly question, how do you usually response to errors? Response with one error at a time or Response with multiple errors at a time, in a list record
Example
Invalid Email Address format Invalid Phone number format Invalid Password .etc... Invalid API credentials
When a marker is clicked, I'd like to display a popup.
this is easy, my problem is that the popup needs to be updated from the database before and the popup has some links that should be inside an UpdatePanel to avoid refresh.
I can use the marker function to display a popup (with a given html) how to get the html with the updatepanel .
I thougt about using the ajax popup control but I don't know how to position it on the marker.
I want create/show/edit a excel file from my asp.net application. All I want is like the working of Google docs. Is there a way I can implement it? Any dll or can i even use the google docs api for that?