473,387 Members | 1,520 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

XML sub hierarchy using classes

Stu
Hi,

Ive been using classes as output from webservices which until now have
worked well and have serialised into the xml i wanted.
Now i want to have a structure of
clients which have accounts which have securities

So ive defined the following classes (See below) when I look a the xml
when it gets to the <clientsaccounts> i dont see the full serialised
definition
Any ideas TIA

Stu
Public Class ClientDetails
Public ClientId As String = ""
Public clientInError As Boolean = False
Public clientAccounts() As ClientAccounts
End Class
<Serializable()> _
Public Class ClientAccounts
Public accountId As String = ""
Public accountnominal As Decimal = 0
Public ClientNominal As Decimal = 0
Public securities() As accountSecurity
End Class
<Serializable()> _
Public Class accountSecurity
Public securityId As String = ""
Public currency As String = ""
Public holdingInError As Boolean = False
End Class
<wsClientInfoResult>
<ClientDetails>
<ClientId>string</ClientId>
<clientInError>boolean</clientInError>
<clientAccounts>
<ClientAccounts xsi:nil="true" />
<ClientAccounts xsi:nil="true" />
</clientAccounts>
</ClientDetails>
</wsClientInfoResult>

Nov 23 '05 #1
0 688

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: John J. Lee | last post by:
I'm trying to change a base class of a big class hierarchy. The hierarchy in question is 4DOM (from PyXML). 4DOM has an FtNode class that defines __getattr__ and __setattr__ that I need to...
2
by: Matt | last post by:
Hello, I would like to generate what I call an "overall class hierarchy" in UML automatically derived from my C++ code source. An example of what I seek: ...
822
by: Turamnvia Suouriviaskimatta | last post by:
I 'm following various posting in "comp.lang.ada, comp.lang.c++ , comp.realtime, comp.software-eng" groups regarding selection of a programming language of C, C++ or Ada for safety critical...
2
by: Lorenzo Castelli | last post by:
Hi, I'm trying to emulate the behavior of Java and C# interfaces in C++. In particular I want to create a hierarchy among the interfaces and a corresponding hierarchy among the implementations....
2
by: Lorenzo Castelli | last post by:
This is an old problem of mine. Basically I have an abstract base class which represents a generic iterator over a collection of elements, and various derived classes that implement the...
0
by: Siphiuel | last post by:
Hi everyone. When using visitor pattern, we have a nasty dependence on the types of visitable objects that is coded way on top on the visitor hierarchy. i mean, like this: class AbstractVisitor...
3
by: krzysztof.konopko | last post by:
Hello! I want to design a class hierarchy with one base abstract class, let's say CBase. I have a predicate that every object in the class hierarchy must have a parent object of type from this...
6
by: Nikola | last post by:
Is it possible in C++ to create a class hierarchy by inheritance that spans across various namespaces? For example, say I want to create a class which would behave like object type in C#, so...
2
by: Anton Bredikhin | last post by:
Hello! I have a class hierarchy that consists mainly of one base class CtxBase, and two children: LoginCtx and DisconnectCtx. Now, there's a need to provide an interfaces for this hierarchy....
2
by: Rob Kirkpatrick | last post by:
Hi All, I just finished debugging some code where I needed to determine why one subclass had a bound method and another did not. They had different pedigree's but I didn't know immediately what...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.