Click here to Skip to main content
13,095,004 members (83,911 online)
Rate this:
Please Sign up or sign in to vote.

I am started working on web service recently. and facing some problems while working with it.

1. If Web service is on Remote Ftp then how we can consume / use it?
2. Does FTP supports SOAP protocol?
3. WCFservice and web service which is better?
4. Can we call external web service from within a web service?

Posted 19-Jan-12 23:59pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Please see my answers:

  1. The question is not quite clear. What is "service is on Remote FTP"? The Web service itself is based on HTTP, a protocol on the same Application Level as FTP (please see the references below). If you simply mean using FTP for deployment or support of your Web service code and data, this question is unrelated to the service itself; it totally depends on what your provider's settings or on your own settings on the related hosts including the one running HTTP server.

  2. No. SOAP protocol is the protocol of the Application Level, please see:[^],[^].

    FTP is on the application level, too. Please see[^].

    There for, the problem is not that FTP cannot "implement" SOAP, the problem is that the question does not make certain sense. What would it be? Just having some files served by FTP (this is what FTP does, nothing else; FTP is just like a kind of a file system, remotely accessed) in the SOAP format? This is not what could be called a protocol.

  3. This is yet another example of things which can not compare. Microsoft maintains that for new development everyone should switch to WCF. I agree as soon as you can use only CLR (.NET but can also be Mono,[^]). So, it you use just .NET and Mono, you can create a distributed multi-platform (because Mono implements WCF and supports many platfroms including Windows, Linux, Max OS X, Android and other portable systems and more) applications much easier, with much better flexibility and maintainability and less overhead than with Web services.

    Nevertheless, there are legacy systems and situation when having .NET or Mono is not an option. In this case, you are bound to Web services which are way more widespread right now.

  4. Sure, why not? Perhaps in many case you need to be sure that using the external Web service is fast enough to keep your calling service responsive enough.

That's it. Thank you for attention.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.170813.1 | Last Updated 20 Jan 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100