Hi,

Below is brief description of what I'm attempting to do. If you could help
with some code snippets (or a good place to look) that would be great.

Objective:
1) To have an applet (on start or initialization) call the cfm page on the
home server with an id number.
2) The cfm page will take that id number and return an array of information
via WDDX.
3) The applet needs to deserialize the WDDX packet into a Java array.
4) The applet populates that array with information.
5) The applet needs to return that array back to the server, I'm assuming in
a newly serialized WDDX packet. A cfm page takes that packet and puts it
into the database.

Work to Date:
Passing the applet an id number is done.
Not done, applet passing the id to the cfm page.
The cfm page creating a wddx array packet is done.
Not done, the applet getting and deserializing the wddx packet.
Having the applet populate the array with info is done.
Not done, having the applet pass the newly serialized packet back to the
server.
Not done, having the cfm page take the packet and deserialize it.

My compiler has the following.
import org.xml.sax.InputSource;
import com.allaire.wddx.WddxDeserializer;
import com.allaire.wddx.WddxSerializer;
import com.jclark.xml.sax.Driver;

The WddxDeserializationDemo1.class generates this error at runtime:
C:\myJava>java WddxDeserializationDemo1
<wddxPacket version='1.0'><header/><data><string>Hello
World!</string></data></w
ddxPacket>
Exception in thread "main" java.lang.NoClassDefFoundError:
org/xml/sax/InputSource at
WddxDeserializationDemo1.testDeserialization(WddxDeserializationDemo1.java:5
5) at WddxDeserializationDemo1.main(WddxDeserializationDemo1.java:27)

Why the demo from wddx.org sdk doesn't work I don't know.

Thanks,

Rick






__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to