Hi
I have created the following class for reading XML Message from UPS, i use
XMLSerializer to read the xml file , there is a minor problem , Response is
a single item whereas RatedShipment is an array, but when reading it shows
on one item for RatedShipment , where as there are seven items , how do i
correct this problem, itried to add () to RatedShipmentClass, but that does
not work. any help will be greatly appreciated
Public Class RatingServiceSelectionResponse
Public Response As ResponseClass
Public RatedShipment As RatedShipmentClass
Public Class ResponseClass
Barry 2 1240
This doesn't answer your question, but
I have several xml serialization samples here http://sholliday.spaces.live.com/?_c...26ayear%3d2005
9/21/2005 entry
But there is an IDictionary section there, maybe that would provide a clue.
Your post is a little skimpy on the details of your issue.
"Barry" <no****@nowhere.comwrote in message
news:eT**************@TK2MSFTNGP04.phx.gbl...
Hi
I have created the following class for reading XML Message from UPS, i use
XMLSerializer to read the xml file , there is a minor problem , Response
is
a single item whereas RatedShipment is an array, but when reading it shows
on one item for RatedShipment , where as there are seven items , how do i
correct this problem, itried to add () to RatedShipmentClass, but that
does
not work. any help will be greatly appreciated
Public Class RatingServiceSelectionResponse
Public Response As ResponseClass
Public RatedShipment As RatedShipmentClass
Public Class ResponseClass
Barry
Hi sloan,
i was aware of the post being skimpy, because i was not very sure of how to
word it of which part of the code to post.
Anyway thanks for the reply, i will check out the site you mentioned.
Barry
"sloan" <sl***@ipass.netwrote in message
news:uM*************@TK2MSFTNGP04.phx.gbl...
>
This doesn't answer your question, but
I have several xml serialization samples here http://sholliday.spaces.live.com/?_c...26ayear%3d2005
9/21/2005 entry
But there is an IDictionary section there, maybe that would provide a
clue.
Your post is a little skimpy on the details of your issue.
"Barry" <no****@nowhere.comwrote in message
news:eT**************@TK2MSFTNGP04.phx.gbl...
>Hi
I have created the following class for reading XML Message from UPS, i use XMLSerializer to read the xml file , there is a minor problem , Response
is
>a single item whereas RatedShipment is an array, but when reading it shows on one item for RatedShipment , where as there are seven items , how do i correct this problem, itried to add () to RatedShipmentClass, but that
does
>not work. any help will be greatly appreciated
Public Class RatingServiceSelectionResponse Public Response As ResponseClass
Public RatedShipment As RatedShipmentClass
Public Class ResponseClass
Barry
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Steve |
last post by:
Hello,
I'm encountering an unexpected behavior when using
the "new" modifier in a derived class to hide an inherited
base class property. I use "new" intentionally so I can
change the Type of...
|
by: Banaticus Bart |
last post by:
I wrote an abstract base class from which I've derived a few other
classes. I'd like to create a base class array where each element is
an instance of a derived object. I can create a base class...
|
by: Jon Slaughter |
last post by:
I have a class that is basicaly duplicated throughout several files with
only members names changing according to the class name yet with virtually
the exact same coding going on.
e.g.
class...
|
by: Mark Broadbent |
last post by:
Consider the following statements
//-------
Item i = Basket.Items; //indexer is used to return instance of
class Item
Basket.Items.Remove(); //method on class item is fired
item i = new...
|
by: Nick Flandry |
last post by:
I'm running into an Invalid Cast Exception on an ASP.NET application that runs fine in my
development environment (Win2K server running IIS 5) and a test environment (also Win2K server
running IIS...
| |
by: tshad |
last post by:
I cannot seem to get the asp:textbox to use classes. Style works fine. I
am trying to set the textbox to act like a label in some instance so it
doesn't have a border, readonly and the background...
|
by: Tony Johansson |
last post by:
Hello!
I have one solution file that consist of three project.
One project that build the exe file called A
One project that build a user control dll. Here we have a class called B
One project...
|
by: tony |
last post by:
Hello!
This is a rather long mail but it's a very interesting one.
I hope you read it. I have tried several times to get an answer to this mail
but I have
not get any answer saying something...
|
by: Hamilton Woods |
last post by:
Diehards,
I developed a template matrix class back around 1992 using Borland C++ 4.5
(ancestor of C++ Builder) and haven't touched it until a few days ago. I
pulled it from the freezer and...
|
by: TamusJRoyce |
last post by:
Hello. This is my first thread here.
My problem has probably been came across by a lot of people, but tutorials and things I've seen don't address it (usually too basic).
My problem is that I...
|
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,...
| |
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: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |