Charmed Quark Systems, Ltd. - Support Forums and Community
XML Gateway Server - Printable Version

+- Charmed Quark Systems, Ltd. - Support Forums and Community (https://www.charmedquark.com/vb_forums)
+-- Forum: Third Party Development (https://www.charmedquark.com/vb_forums/forumdisplay.php?fid=8)
+--- Forum: Third Party Development (General) (https://www.charmedquark.com/vb_forums/forumdisplay.php?fid=22)
+--- Thread: XML Gateway Server (/showthread.php?tid=8559)



XML Gateway Server - IslandMan - 10-15-2013

I'm experimenting with the the XML Gateway stuff in Java (trying to learn Java) but I'm having difficulty with the logon - getting the following error - <CQCGW:Msg>
<CQCGW:ExceptionReply CQCGW:ErrClass="EClass_Format" CQCGW:ErrSev="ESev_Failed" CQCGW:File="CQCGWSrv_WorkerHelpers.cpp" CQCGW:Line="396" CQCGWTonguerocess="CQCGWSrv" CQCGW:Thread="CQCGWSrvWorkerThread1">
The packet header had a bad magic value
</CQCGW:ExceptionReply>
</CQCGW:Msg>

Dean any ideas on the issue or can you give me a real example on how to code the header stuff. I'm not understanding these magic values or how the header should be formatted.

Thanks


XML Gateway Server - Mark Stega - 10-15-2013

Find the thread for the Android client. The first post contains a link to the source code and you can see a full XML gateway client implementation including the security stuff.


XML Gateway Server - IslandMan - 10-15-2013

Thanks for the quick reply. I did a search and did not find anything in Android client. Can you give me a more direct link?


XML Gateway Server - Dean Roddey - 10-15-2013

It's in the Android Related Products subsection (below this one) and the thread is "Native Android app (auto-gen based)".


XML Gateway Server - IslandMan - 10-15-2013

Got it, thanks Dean!!!!