WddxDeserializer
<cfset FileReader = createObject("java", "java.io.FileReader
").init("C://helloWDDXJWS.wddx")>
<cfset InputSource = CreateObject("java", "org.xml.sax.InputSource
").init(FileReader)>
<cfset WddxDeserializer = CreateObject("java", "
coldfusion.wddx.WddxDeserializer").init()>
<cfset theObject = WddxDeserializer.deserialize(InputSource)>
<cfset FileReader.close()>
On 10/16/06, Dan Plesse <[EMAIL PROTECTED]> wrote:
>
> WDDX Meets Pure Java Web Service
>
> Something I always wanted to do is create objects in jws and then access
> them in coldfusion without createObject.
> Now you just point cffile and output to cfddx.
>
> The invoker
>
> <cfinvoke webservice="http://localhost:8500/wddx_test.jws?wsdl"
> method="toLower"
> returnvariable="lowered">
> <cfinvokeargument name="str" value="HELLO LOWER">
> </cfinvoke>
>
> wddx_test.jws
> renamed
> wddx_test.txt
>
> http://www.cfide.org/wddx_test.txt
>
> The helloWDDXJWS.wddx ouput
>
> <wddxPacket version='1.0'><header/><data><string>HELLO
> LOWER</string></data></wddxPacket>
>
> On 10/15/06, Mark Mandel <[EMAIL PROTECTED]> wrote:
> >
> > Here are all my cf / java posts:
> >
> > http://www.compoundtheory.com/?action=displayCategory&ID=5
> >
> > Enjoy!
> >
> > Mark
> >
> > On 10/14/06, Ben Nadel < [EMAIL PROTECTED]> wrote:
> > > Not to sell myself here, but I have started doing a bunch of
> > exploration
> > > in java:
> > >
> > >
> > http://www.bennadel.com/index.cfm?dax=search.search&search_criteria=%22j
> > > ava%22
> > >
> > > ......................
> > > Ben Nadel
> > > Certified Advanced ColdFusion Developer
> > > www.bennadel.com
> >
> > --
> > E: [EMAIL PROTECTED]
> > W: www.compoundtheory.com
> >
> >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthority.com/quarterly
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256978
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4