Click here to Skip to main content
11,415,046 members (67,077 online)
Rate this: bad
good
Please Sign up or sign in to vote.
Hi,,

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?

Thanks.
Posted 20-Jan-12 0:59am
comred1.2K

1 solution

Rate this: bad
good
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:
    http://en.wikipedia.org/wiki/Application_Layer[^],
    http://en.wikipedia.org/wiki/SOAP[^].

    FTP is on the application level, too. Please see http://en.wikipedia.org/wiki/FTP[^].

    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, http://en.wikipedia.org/wiki/Mono_%28software%29[^]). 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.

—SA
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 9,160
1 OriginalGriff 7,487
2 Maciej Los 3,710
3 Abhinav S 3,298
4 Peter Leow 3,084


Advertise | Privacy | Mobile
Web01 | 2.8.150427.4 | Last Updated 20 Jan 2012
Copyright © CodeProject, 1999-2015
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