[JDEV] wcs configuration

Eric C. Snowdeal III eric at snowdeal.org
Tue Oct 16 15:00:14 CDT 2001


i'm trying to get familiar with the web client services and i'm stumped.
so far i've compiled the modules and configured jabber.xml following the
instructions provided on jabber.org [1],  with some changes inspired 
by other config files i've seen [2].  my jabber.xml file now contains 
the information shown in [3].

i can use a web brower to talk to the wcs and get presence information 
- see [4] to see if i'm online. but when i try using the web client 
provided in the docs i run into problems.

i can send messages to another client [5], but the server isn't able to
handle the response from that client correctly.  it starts complaining 
about not being to
process the message...can't find component [i'm paraphrasing the error
message - i don't have it in front of me right now].

i'm probably missing something pretty dopey.  how do i set the config 
file so that native jabber clients can respond to
the wcs correctly?

- eric

[1] http://jabber.org/?oid=1102
[2] http://home.jeremie.com/httpconfig.txt
[3] 
<listen port="5280">
<map to="wcs.snowdeal.org">wcs.snowdeal.org</map>
</listen>
<listen port="5288">

<service id="wcs.snowdeal.org">
<load main="wcs">
<wcs>./wcs/wcs.so</wcs>
<wcs_html>./wcs/wcs.so</wcs_html>
<wcs_js>./wcs/wcs.so</wcs_js>
<wcs_redir>./wcs/wcs.so</wcs_redir>
<wcs_htmlx>./wcs/wcs.so</wcs_htmlx>
<wcs_xml>./wcs/wcs.so</wcs_xml>
<wcs_pub_register>./wcs/wcs.so</wcs_pub_register>
<wcs_pub_message>./wcs/wcs.so</wcs_pub_message>
<wcs_pub_presence>./wcs/wcs.so</wcs_pub_presence>
<wcs_pub_chat>./wcs/wcs.so</wcs_pub_chat>
<wcs_pub_iq>./wcs/wcs.so</wcs_pub_iq>
<wcs_pub_conference>./wcs/wcs.so</wcs_pub_conference>
<wcs_test>./wcs/wcs.so</wcs_test>
<wcs_basic>./wcs/wcs.so</wcs_basic>
<wcs_cache>./wcs/wcs.so</wcs_cache>
<wcs_message>./wcs/wcs.so</wcs_message>
<wcs_presence>./wcs/wcs.so</wcs_presence>
<wcs_sid>./wcs/wcs.so</wcs_sid>
<wcs_roster>./wcs/wcs.so</wcs_roster>
<wcs_iq>./wcs/wcs.so</wcs_iq>
<wcs_rpc>./wcs/wcs.so</wcs_rpc>
<wcs_rpc_morph>./wcs/wcs.so</wcs_rpc_morph>
</load>
<wcs xmlns="jabber:config:wcs">
</wcs>
</service>  

[4]http://wcs.snowdeal.org:5280/pub/presence.redir?jid=eric@snowdeal.
org&base=http://snowdeal.org/messaging/icons/
[5] xml debug from message received by WinJab client from web client.
RECV: <message to=' eric at snowdeal.org' from='eric at wcs.snowdeal.
org/Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.5) Gecko/20011011' 
type='chat'><subject>refeshing</subject><body>web user &apos;eric at snowdeal.
org&apos; is requesting to chat with you about &apos;hey&apos;</body><x 
xmlns='jabber:x:delay' from=' eric at snowdeal.org' stamp='20011014T22:
05:35'>web user from xx.xx.xxx.xxx</x></message>



- snowdeal.org [mutated daily]










More information about the JDev mailing list