The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: New Desktop Build



------=_NextPart_000_0015_01C44431.C3DE0450
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

MessageOk, I've got a malformed message here.
I've set up an event on a display to set a homeseer device value.

Raw xap
target=3D
class=3Dhomeseer.command

message body

homeseer.command
{
command=3Dsetvalue
data1=3D]12
data2=3D0
}

xap viewer gives me the following message

The following message caused an error during its processing.

The xAP message value is malformed. The block name contains one or more
inv=
alid characters

The message was received from 192.168.1.14:49153

xap-header

{

v=3D12

hop=3D1

uid=3DFF422200

class=3D]12

source=3Dmi4.desktop.max-study

}

0data2=3D0

}



The error that was generated is as follows:

The xAP message value is malformed

The block name contains one or more invalid characters

Source: xAPMessage

The xAP message value is malformed

The block name contains one or more invalid characters.

System.FormatException: The xAP message value is malformed

The block name contains one or more invalid characters

at KCS.xAP.Framework.Message.xAPMultiComponentValue.set_FullName(String
val=
ue)

at KCS.xAP.Framework.Message.xAPMultiComponentValue..ctor(String value,
Cha=
r seperator_char)

at KCS.xAP.Framework.Message.xAPMessageBlock..ctor(String keyword)

at
KCS.xAP.Framework.Message.xAPMessageReader.ReadMessageBlockKeyword(xAPMe=
ssage message, String line)

at KCS.xAP.Framework.Message.xAPMessageReader.ReadMessage()



Where's the problem?



Max



------=_NextPart_000_0015_01C44431.C3DE0450
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html;
charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>


<DIV><FONT face=Arial size=2>Ok, I've got a malformed message
here.</FONT></DIV>
<DIV><FONT face=Arial size=2>I've set up an event on a display
to set a homeseer
device value.</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><EM>Raw
xap</EM></FONT></DIV>
<DIV><FONT face=Arial
size=2><EM>target=</EM></FONT></DIV>
<DIV><FONT face=Arial
size=2><EM>class=homeseer.command</EM></FONT></DIV>
<DIV><FONT face=Arial
size=2><EM></EM></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><EM>message
body</EM></FONT></DIV>
<DIV><FONT face=Arial
size=2><EM></EM></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial
size=2><EM>homeseer.command<BR>{<BR>command=setvalue<BR>data1=]12<BR>data2=0<BR>}<BR></EM></FONT></DIV>
<DIV><FONT face=Arial size=2>xap viewer gives me the following
message</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><FONT size=1>
<P><EM>The following message caused an error during its
processing.</EM></P>
<P><EM>The xAP message value is malformed. The block name
contains one or more
invalid characters</EM></P>
<P><EM>The message was received from
192.168.1.14:49153</EM></P></FONT><B><FONT
face="Microsoft Sans Serif" color=#0000ff size=1>
<P><EM>xap-header</EM></P>
<P><EM>{</EM></P>
<P><EM>v</EM></B></FONT><FONT
size=1><FONT
face="Times New
Roman"><EM>=12</EM></FONT></P></FONT><B><FONT
face="Microsoft Sans Serif" color=#0000ff size=1>
<P><EM>hop</EM></B></FONT><FONT
size=1><FONT
face="Times New
Roman"><EM>=1</EM></FONT></P></FONT><B><FONT
face="Microsoft Sans Serif" color=#0000ff size=1>
<P><EM>uid</EM></B></FONT><FONT
size=1><FONT
face="Times New
Roman"><EM>=FF422200</EM></FONT></P></FONT><B><FONT
face="Microsoft Sans Serif" color=#0000ff size=1>
<P><EM>class</EM></B></FONT><FONT
size=1><FONT
face="Times New
Roman"><EM>=]12</EM></FONT></P></FONT><B><FONT
face="Microsoft Sans Serif" color=#0000ff size=1>
<P><EM>source</EM></B></FONT><FONT
size=1><FONT
face="Times New
Roman"><EM>=mi4.desktop.max-study</EM></FONT></P></FONT><B><FONT
face="Microsoft Sans Serif" color=#0000ff size=1>
<P><EM>}</EM></P></B></FONT><FONT
size=1>
<P><EM>0data2=0</EM></P></FONT><B><FONT
face="Microsoft Sans Serif"
color=#0000ff size=1>
<P><EM>}</EM></P></B></FONT><FONT
size=1>
<P><EM></EM>&nbsp;</P>
<P><EM>The error that was generated is as
follows:</EM></P>
<P><EM>The xAP message value is malformed</EM></P>
<P><EM>The block name contains one or more invalid
characters</EM></P>
<P><EM>Source: xAPMessage</EM></P>
<P><EM>The xAP message value is malformed</EM></P>
<P><EM>The block name contains one or more invalid
characters.</EM></P>
<P><EM>System.FormatException: The xAP message value is
malformed</EM></P>
<P><EM>The block name contains one or more invalid
characters</EM></P>
<P><EM>at
KCS.xAP.Framework.Message.xAPMultiComponentValue.set_FullName(String
value)</EM></P>
<P><EM>at
KCS.xAP.Framework.Message.xAPMultiComponentValue..ctor(String value,
Char seperator_char)</EM></P>
<P><EM>at
KCS.xAP.Framework.Message.xAPMessageBlock..ctor(String
keyword)</EM></P>
<P><EM>at
KCS.xAP.Framework.Message.xAPMessageReader.ReadMessageBlockKeyword(xAPMessage
message, String line)</EM></P>
<P><EM>at
KCS.xAP.Framework.Message.xAPMessageReader.ReadMessage()</EM></P>
<P><EM></EM>&nbsp;</P>
<P><FONT size=2>Where's the problem?</FONT></P>
<P><FONT size=2></FONT>&nbsp;</P>
<P><FONT size=2>Max</FONT></P>
<P>&nbsp;</P></FONT></DIV></FONT><!--
**end egp html banner** -->

<br>

<!-- **begin egp html banner** -->

<table border=0 cellspacing=0 cellpadding=2>
<tr bgcolor=#FFFFCC>
<td align=center><font size="-1"
color=#003399><b>Yahoo! Groups
Sponsor</b></font></td>
</tr>
<tr bgcolor=#FFFFFF>
<td align=center width=470><table border=0 cellpadding=0
cellspacing=0> <tr> <td align=center><font face=arial
size=-2>ADVERTISEMENT</font><br><a href="http://rd.yahoo.com/SIG=129hqa2ic/M=295196.4901138.6071305.3001176/D=groups/S=1705007709:HM/EXP=1085776203/A=2128215/R=0/SIG=10se96mf6/*http://companion.yahoo.com";
alt=""><img src="http://us.a1.yimg.com/us.yimg.com/a/ya/yahoo_companion/lrec_companion_043004.gif";
alt="click here" width="300" height="250"
border="0"></a></td></tr></table>
</td>
</tr>
<tr><td><img alt="" width=1 height=1 src="http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S=:HM/A=2128215/rand=347692523";></td></tr>
</table>

<!-- **end egp html banner** -->



<!-- **begin egp html banner** -->

<br>
<tt><hr width="500">
<b>Yahoo! Groups Links</b><br>
<ul>
<li>To visit your group on the web, go to:<br><a
href="http://groups.yahoo.com/group/xap_automation/";>http://groups.yahoo.com/group/xap_automation/</a><br>&nbsp;
<li>To unsubscribe from this group, send an email to:<br><a
href="mailto:xap_automation-unsubscribe@xxxxxxx?subject=Unsubscribe";>xap_automation-unsubscribe@xxxxxxx</a><br>&nbsp;
<li>Your use of Yahoo! Groups is subject to the <a href="http://docs.yahoo.com/info/terms/";>Yahoo!
Terms of Service</a>.
</ul>
</tt>
</br>

<!-- **end egp html banner** -->


</BODY></HTML>

------=_NextPart_000_0015_01C44431.C3DE0450--


xAP_Automation Main Index | xAP_Automation Thread Index | xAP_Automation Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.