Thank you Precia. That's of great help!
Xingfeng
Precia <[EMAIL PROTECTED]> wrote:
Xingfeng,
http://livedocs.macromedia.com/flex/2/langref/mx/rpc/remoting/mxml/RemoteObject.html#includeExamplesSummary
Is the first example I have come across. Not being a java developer, I'm not
sure if this completely answers your questions, but my hope is that it points
you in the right direction.
What I do to get data in to a Flex app is to us the mx:RemoteObject tag.
The following information may also help in your answer to your question. As
for Java specific answers, I would search Java User Groups that are pushing
Flex use.
http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001124.html#181380
RemoteObject components RemoteObject components let you access the methods
of server-side objects, such as Java objects, without manually configuring the
objects as web services. Unlike WebService and HTTPService components, you can
only use RemoteObject components in conjunction with Flex Data Services or
Macromedia ColdFusion MX 7.0.2 with the Remoting Update. You configure the
objects that you want to access as Remoting Service destinations in the Flex
services configuration file that is part of Flex Data Services. You can use
RemoteObject components in MXML or ActionScript.
You can use a RemoteObject component instead of a WebService component when
objects are not already published as web services, web services are not used in
your environment, or you would rather use Java objects than web services. You
can use a RemoteObject component to connect to a local Java object that is in
the Flex Data Services or ColdFusion MX 7.0.2 web application source path.
When you use a RemoteObject tag, data is passed between your application and
the server-side object in the binary Action Message Format (AMF) format.
For more information about using RemoteObject components, see Using RPC
Components.
WebService components WebService components let you access web services,
which are software modules with methods, commonly referred to as operations;
web service interfaces are defined by using XML. Web services provide a
standards-compliant way for software modules that are running on a variety of
platforms to interact with each other. For more information about web services,
see the web services section of the World Wide Web Consortium's website at
www.w3.org/2002/ws/.
Flex applications can interact with web services that define their interfaces
in a Web Services Description Language (WSDL) document, which is available as a
URL. WSDL is a standard format for describing the messages that a web service
understands, the format of its responses to those messages, the protocols that
the web service supports, and where to send messages.
Flex supports WSDL 1.1, which is described at www.w3.org/TR/wsdl. Flex
supports both RPC-encoded and document-literal web services.
Flex applications support web service requests and results that are formatted
as SOAP messages and are transported over HTTP. SOAP provides the definition of
the XML-based format that you can use for exchanging structured and typed
information between a web service client, such as a Flex application, and a web
service.
You can use a WebService component to connect to a SOAP-compliant web service
when web services are an established standard in your environment. WebService
components are also useful for objects that are within an enterprise
environment, but not necessarily available to the Flex web application's source
path.
For more information about using WebService components, see Using RPC
Components.
Sincerely,
Precia
On 2/4/07, DENG,Xingfeng <[EMAIL PROTECTED]> wrote: Hi my name is
Xingfeng Deng and I have a newbie question: how flex invokes web services? The
syntax? I'd appreciate any pointers on finding the best tutorial on that. I am
a java/J2EE developer so the best one to me is the one written for novice Flex
developers with years of J2EE background.
Do we meet regularly 3RD WEDNESDAY OF every MONTH ? What topics will be
covered for this month?
Thank you,
Xingfeng
-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the
subject line
For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by FusionLink
-------------------------------------------------------------
-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the
subject line
For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by FusionLink
-------------------------------------------------------------
-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the
subject line
For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------