Tracy I have been told before that I take things a little too literally.
I should have thought through just what Vik really wanted rather than just answer the question. Well done for coming to the right conclusion. --- In flexcoders@yahoogroups.com, "Tracy Spratt" <tspr...@...> wrote: > > Yes, Web Services can be difficult. > > > > But, we need to be clear on our language. Vik, when you use the words > "web service" are you using them in the specific, Flex sense, meaning > using the SOAP xml protocol? > > > > Or are you using the words web service in the more general sense of > accessing data over the internet? > > > > SOAP based WebService is compicated because the format provides for > anonymous third parties to use the service with only the wsdl as > documentation. If you ae not planning to make your back-end business > logic tier available to anonymous third parties, then you do not nead > SOAP. > > > > The easiest way to deliver data over the internet is to use HTTPService, > which is XML over HTTP. This is what "AJAX" apps often use. > > > > You would simply build xml (as an object or string) and pass it back to > Flex. You will get exactly the xml you build, unlike SOAP, that wraps > your data in a bunch of other stuff. Of course you wont get any data > type information, but since you wrote the service you will know the data > types. > > > > I have not done this with java, but have done it using a JSP page. > > http://www.cflex.net/showFileDetails.cfm?ObjectID=556 > > > > Tracy Spratt > Lariat Services > > Flex development bandwidth available > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of valdhor > Sent: Wednesday, February 04, 2009 9:29 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Simplest way to create a webservice and deploy > > > > As far as I know there is no simple way to create a web service. I > thought the easiest way would be to use the built-in functionality of > PHP (Should only take a few lines). I found out the hard way that it > is not that simple. It took me months of research and a lot of > tinkering (Not to mention a few leaps of faith) on my part to figure > it out. > > When I started learning Java a few months ago, I used that tutorial to > jump start my understanding of Web Services in Java. > > If you are an absolute beginner, I would suggest reading up on WSDL > files. Once you know enough, try to create a WSDL file for your Web > Service (You are going to need one when you deploy your service). Once > you can create a WSDL, you are well on your way to understanding how > to build a web service and deploy it. > > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > , Vik <vik.ceo@> wrote: > > > > Hmm > > I think this is not at least the simplest way to start with > especially for a > > beginner. Any other ideas? > > Thankx and Regards > > > > Vik > > Founder > > www.sakshum.com > > www.sakshum.blogspot.com > > > > > > On Wed, Feb 4, 2009 at 12:51 AM, valdhor <valdhorlists@>wrote: > > > > > http://java.sun.com/webservices/docs/1.6/tutorial/doc/ > <http://java.sun.com/webservices/docs/1.6/tutorial/doc/> ? > > > > > > --- In flexcoders@yahoogroups.com > <mailto:flexcoders%40yahoogroups.com> <flexcoders%40yahoogroups.com>, > Vik > > > <vik.ceo@> wrote: > > > > > > > > Hie > > > > I am very new to web services. My very simple requirement is to > > > > return the records from a db table as an xml when i invoke a ws > from > > > my flex > > > > application. > > > > > > > > I have already code ready which is having a java method fetchRow() > > > which > > > > returns a List of objects (rows). > > > > > > > > Any idea how to about creating and deploying it as a web service > > > > > > > > Thankx and Regards > > > > > > > > Vik > > > > Founder > > > > www.sakshum.com > > > > www.sakshum.blogspot.com > > > > > > > > > > > > > > > >