WCF / ASMX :: Use Of XSD When Providing Web Services To The Client?

Mar 31, 2010

What is the use of XSD when providing web services to the client.?

How visual studio provieds XSD ?

What will be the situtation where we need to develop XSD mannually instead of use of Visualstudio.

Suppose I have created web services for Add method.

How the XSD will be.?

View 1 Replies


Similar Messages:

WCF / ASMX :: Web Services: To Authenticate Sign Client Assembly?

Jul 21, 2010

I have an application that exposes a number of ASP.NET web services at an internet location. For security reasons, I want to be able to authenticate clients, and reject any that are not authorised. The authorised clients in question will be ASP.NET web applications,
but I do not have guaranteed access to their IIS configuration, nor to their local certificate stores, therefore the solution must not involve any of these items.

However, authorised clients, will always make calls to the web services using wrapper methods provided by an assembly that I
do have control over. My idea is to digitally sign that assembly, and use that signature as the basis for authenticating the client.For that to work, the assembly will need to be able to construct an X509Certificate object from itself, and to attach it to the call to the web service:

X509Certificate cert = X509Certificate.CreateFromSignedFile(Assembly.GetExecutingAssembly().Location);
_webService.ClientCertificates.Add(cert);

Then the web service must be able to compare the incoming request certificate to its own signing certificate to authenticate the client:

X509Certificate requestCert = new X509Certificate(Context.Request.ClientCertificate.Certificate);
X509Certificate signingCert = X509Certificate.CreateFromSignedFile(Assembly.GetExecutingAssembly().Location);[code]...

The documentation for the method doesn't help much, other than remarking that ASN.1 DER is the only certificate format supported by the method. if I am signing the assembly incorrectly, misunderstanding the method itself etc.? Or more generally if the approach I am taking will work or is flawed?

View 1 Replies

WCF / ASMX :: IIS Memory Increasing For Each Client Request In Asmx Web Service?

Nov 8, 2010

A customer reported that our asmx web service is continually increasing in memory (mem usage as well as private bytes). We are able to reproduce the problem in our lab with Windows 2003 Server SP2 (fully patched) on some of the machines. The customer is using Windows 2008.

We created a Hello World web service targeting the 2.0 framework built under VS2005 SP1 and a test client that continues to call it. The memory increases steadily - approximately 40K per client request. If the test app is paused, the memory remains the same. When it is closed, the memory drops. Explicit calling of GC.Collect does not drop the memory.

We have run the memory profiler on the service and the leak is all native memory. We have uninstalled/re-installed the Framework on one of the machines but no difference. To our knowledge all of the security and IIS settings are not modified. We have compared app pool, default web site and virtual directory properties to machines that have no problem and they are identical.

View 11 Replies

WCF / ASMX :: How To Use Web Services

Jul 17, 2010

i want to know, how to use the web services in asp.net project

View 2 Replies

Web Forms :: Transfer Data From Server To Client And Client To Server Using XML Web Services

May 24, 2012

What is Web services? What is Web services? How can I Transfer the data from server to client and  client to server using XML. Need one simple Example program(C# web Application) ...

View 1 Replies

ASMX :: Books For Web Services, And WCF

Jul 28, 2010

I need a book or two to get a good understanding of web services, starting from very basics, and going upto WCF. I've been using c# for 2 years and have intermediate level of experience with the language.

View 1 Replies

WCF / ASMX :: How To Distribute Web Services

Sep 21, 2010

Using ASP.NET 3.5 /C# / VS 2008.

I have written some web services that I want to make available to others by subscription. The subscribers need to use the service from a specific domain / IP address and also authenticate with a user Id and password.

What exactly should I distribute to the subscriber so they can use the services, while exposing the least about my code?How can authenticate a consumer of services without always passing an Id / password for each service?

View 3 Replies

WCF / ASMX :: Difference Between Web Services And WCF?

Feb 8, 2011

I learned from internet that webservices can be invoked only by HTTP whereas WCF can be invoked by HTTP,TCP,et., can i know the difference between them

View 4 Replies

WCF / ASMX :: How To Learn Web Services

Aug 6, 2010

These days I see that every other job posting requires LINQ and WCF. I have spent lot of time on LINQ, was fun to learn.

Now I want to move on to Web Services and WCF. After goggleing for some time, I am not sure either go for web services or WCF.

View 2 Replies

WCF / ASMX :: Host Web Services In IIS 5.1?

Mar 2, 2011

I've created Web Services in .Net 3.5 & Consumed those Web Services in a Client Web Application. Now i want to Host the WebService in IIS 5.1. I'm very new to .net, I'm using VS 2010, Wndows XP Service Pack 3, IIS 5.1;

View 15 Replies

ASMX :: WCF Services To Talk To Each Other?

May 5, 2010

I have a wcf dataservice that talks to a silverlight client and a wcf service library that talks to a chat client.How can i get the two services to talk to each other?

View 3 Replies

WCF / ASMX :: Impersonation For Web Services?

Mar 18, 2011

From my following code snippet:

ExchangeServiceBinding binding = new ExchangeServiceBinding();
binding.Credentials = new NetworkCredential(username, password);
binding.Url = "http://servername/ews/exchange.asmx";

The above web services throws Unauthorized Access Error (Error : 401) for newly created users.I would like to know how to impersonate this user for accessing this exchange web services.

View 1 Replies

WCF / ASMX :: End Point URL In Web Services?

May 12, 2010

What is End Point URL in Web Services?

View 1 Replies

WCF / ASMX :: Microsoft Dynamics GP Web Services?

Jul 7, 2010

Microsoft Dynamics GP is installed on my system..can I access GP web services?...If I can,how it is possible

View 1 Replies

WCF / ASMX :: Web Services Do Not Support Datareader?

Dec 25, 2010

why does web services do not support datareader? plz explain it ,it's urgent .

View 3 Replies

WCF / ASMX :: How To Communicate With Other Applications In Web Services

Nov 22, 2010

How to communicate with applications which build in lets say SAP,Java,Ruby or any other technology through web services

View 3 Replies

WCF / ASMX :: Starting Integration With Web Services?

Mar 25, 2010

I'm having my first experience with Web Services with .Net. I received from a client an integration manual to consume a web service they have.

In this manual I have the following information:

Request Interface: [URL]

Using SOAP request would return a XML Document with the response.

WSDL: [URL]

Request XML:

[Code]....

There's also XSD for the response XML.

Well, I'm having a little trouble trying to figure out how to consume this web service.

I found a topic here pointing to a MSDN article. There it says that I would have to add a Web Reference for this web service, but in my case this web service is external. Do I really have to add this reference to consume the web service? If yes how do I do that?

Next I have to create the XML Document that will be sent with the SOAP request. But here's a question. Searching on the internet I found mainly two types of request XML. I don't know wich one I should use.

The first one would be:

[Code]....

The second one is a XML file with soap:Body, soap:Header, soap:Envelope, etc.

Wich one should I create with my application in order to consume the web service? If it's the second one, how would look the XML for the data of the first XML?

And finally, how do I send the Soap request? As I said above, I found a MSDN article but it assumes I'm adding a web reference to the web service on my project and I belive that in my case I won't add this reference. So, how do I consume this web service?

I'm kind of lost here and really really soon I will have to estimate how long will take to develop the web service consume code.

View 3 Replies

WCF / ASMX :: How To Access Profiles From Web Services

Aug 22, 2010

I have a simeple web service set up to call from JAVASCRIPT. That works. Can someone tell me how to access profiles from a web seervice. I get arofileCommon could nt be found......I have included the following in the service but it doesn't seem to solve the problem:

View 1 Replies

WCF / ASMX :: Can Access Both Web Services And Database

Jan 4, 2011

Can we access a DB through Web Service?If yes wd u explain the difference with usual DB accessing with web page?

View 2 Replies

How To Make Web Services Secure In C# Both The Asmx And On WCF

Jan 25, 2010

How to make web services secure in asp.net both the asmx and on WCF. Currently we have web services and now are in process of converting them to WCF in some modules in our application. Now as upgradation is in process we like to incorporate security on the web services as we intend to open some of them to all our clients via web (they contain both asmx and WCF as well).

View 1 Replies

WCF / ASMX :: Customize Timeouts For Web Services?

Mar 25, 2010

I have a webservice, that when called, calls many other web services based on the information that was sent. I have always left the timeout as the default, or a better way to describe it, I have never changed anything.
How (and where) do I change the timeouts for each service individually. Since I have quite a few now, I want the original transaction to never take more than 30 seconds. That said. I want to go in and change the timeouts for the services I have to ping in that 30 seconds to be 5 to 10 seconds based on which one.

View 2 Replies

WCF / ASMX :: Difference Between Java And Web Services?

May 4, 2010

I am a .NET programmer trying to catch up on Java web services for an upcoming project in office. Can someone describe briefly what are the differences between .NET web services and Java web services?

View 4 Replies

WCF / ASMX :: Finding Guidance In Web Services

Sep 20, 2010

i had been developing web applications in .net 2.0 version ,now i need to learn concepts in web services and wcf as they are the major improvements over previous versions... if anyone can provide RELIABLE online resources link for learning about web services and wcf..i had seen the msdn link but am not knowing where to start..??...will there be any virtual labs to practise in .net 3.5.

View 3 Replies

WCF / ASMX :: Asynchronous Call To Web Services?

Feb 1, 2011

I'm working on an existing web application (web site project and some class library projects). In the web site project, the guys created many web services, that are called from the aspx pages (sometimes on client side).

I need to create a new web service, so I was suggested to put it "near" the existing web services. I'm gonna need to make an asynchronous call to my new web services.

So I created the service this way, but when I try calling a method asynchronisly, I have only the method in intellisense, I don't have the method for the asynchronous call, neither the Complete event. Why is that ?

On the other hand, I created a new project, with a web service application and a web site where I added the reference to the web service, and this way I have the asynchronous method and the complete event in intellisense.

View 2 Replies

WCF / ASMX :: Checking A Web Services Availability?

Jun 15, 2010

Is there any way to check a web service's availability and get an alert whenever it is down?

I am supporting a very critical application and it went down few times because the webservice that it is supposed to be using was not accessible to it. So is there a way in which I could set up some monitoring and poll the web service periodically to check if it is available or not.

If calling the web service is the only way to check, I have a method in the web service which is supposed to return true.. How do I write code(windows app/web app/windows service/anything) so that it calls this method every 5 mins and sends me an email.

What would be the best way to setup the periodic polling, and how do I do it?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved