Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

XML enumerated values.

0 views
Skip to first unread message

gonz...@hotmail.com

unread,
Sep 11, 2006, 5:01:22 AM9/11/06
to
Hi Group

I have a problem, creating enumerating values.

I receive an xml message to my orchestration, and want to build an
answer xml schema to return.

The return schema(Named SForbrug) has an enumeration YesNo i assign to
my received field, which only accepts the YesNo enum.

How do i assign the value to my message containing the SForbrug schema.
I cannot reference the enumeration list from the schema.

I have tried several things, among this:
Msg_SForbrug.Received = "Yes";
and
Msg_SForbrug.Received = 0;
but all give me errors.

Kind Regards
G.

Jan Eliasen

unread,
Sep 11, 2006, 6:10:52 AM9/11/06
to
On 11 Sep 2006 02:01:22 -0700, gonz...@hotmail.com wrote:

>I have tried several things, among this:
>Msg_SForbrug.Received = "Yes";
>and
>Msg_SForbrug.Received = 0;
>but all give me errors.

Have you tried Msg_SForbrug.Received = true
or Msg_SForbrug.Received = false
?

If you can't get it to work, send me your schema by email - I can take
a look at it.

--
eliasen, representing himself and not the company he works for.

private email: j...@eliasen.dk

0 new messages