RE: [flexcoders] HTTPService Vs WebService

2007-01-26 Thread Tracy Spratt
Web services use the SOAP protocol and the wsdl file in order to provide
anonymous third parties with information about the interface.  So you
can easily consume a web service, without any other knowledge of the
service or documentation.

 

HTTPService is simpler, but to use an HTTPService source you will need
to know, via documentation, or looking at the code if you control it,
what it requires as input and what it will output.

 

If you control both server and client, and you do not plan to make your
data service accessible to outside third parties, then HTTPService is a
good option.  It is very easy to build xml on the server, in almost any
server language. It is simple string or dom manipulation.  And some data
bases make it even easier (FOR XML AUTO).  

 

Creating a Web service is more complicated.  There is a significant
learning curve.  If you do not plan to make your service publicly
available, you do not need the complexity.  Also, the SOAP protocol adds
some bulk to the data passed down the wire, but in my experience this a
minor consideration compared to the business issues.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of theduderino82
Sent: Thursday, January 25, 2007 8:09 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] HTTPService Vs WebService

 

I've seen many tutorials and I just can't figure out what is the
difference between this too services. I usually use it to interrogate
mysql database through a php file. Which is best?

 



Re: [flexcoders] HTTPService Vs WebService

2007-01-25 Thread Abdul Qabiz

HTTPService is good for doing standard HTTP GET/POST stuff...

Where as WebService can be used for SOAP, etc based webservices...


-abdul



On 1/25/07, theduderino82 [EMAIL PROTECTED] wrote:


  I've seen many tutorials and I just can't figure out what is the
difference between this too services. I usually use it to interrogate
mysql database through a php file. Which is best?

 



Re: [flexcoders] HTTPService Vs WebService

2007-01-25 Thread Nick Sophinos
The simplest dinstinction is that one is SOAP and the other one is XML.

A SOAP interface, with its type safety and other such assurances
contrasts to plain old XML, which has the advantage of simplicity.

- Nick

On 1/25/07, theduderino82 [EMAIL PROTECTED] wrote:






 I've seen many tutorials and I just can't figure out what is the
  difference between this too services. I usually use it to interrogate
  mysql database through a php file. Which is best?

  


RE: [flexcoders] HTTPService Vs WebService

2007-01-25 Thread Merrill, Jason
The simplest dinstinction is that one is SOAP and the other one is
XML.

not quite that simple - not to confuse anyone further, but SOAP is
actually an XML-based protocol... :) 

Jason Merrill 
Bank of America
Learning  Organizational Effectiveness 
  
  
  
 
http://geo.yahoo.com/serv?s=97359714/grpId=12286167/grpspId=1705007207/
msgId=62622/stime=1169732739/nc1=3848640/nc2=2/nc3=3 
 



Re: [flexcoders] HTTPService Vs WebService

2007-01-25 Thread Abdul Qabiz

Yup! You can use HTTPService with backend-scripts that return text or
name-value pairs...You can even use it for SOAP but you would need to do
more work.

Where as WebService can easily be used with SOAP but expects right input and
result.

-abdul


On 1/25/07, Merrill, Jason [EMAIL PROTECTED] wrote:


   The simplest dinstinction is that one is SOAP and the other one is
XML.
not quite that simple - not to confuse anyone further, but SOAP is
actually an XML-based protocol... :)

Jason Merrill
Bank of America
Learning  Organizational Effectiveness