Click here to Skip to main content
15,917,645 members
Home / Discussions / C#
   

C#

 
QuestionSocket issue Pin
yesu prakash17-Feb-09 17:54
yesu prakash17-Feb-09 17:54 
AnswerRe: Socket issue Pin
carbon_golem18-Feb-09 2:28
carbon_golem18-Feb-09 2:28 
GeneralRe: Socket issue Pin
yesu prakash18-Feb-09 17:57
yesu prakash18-Feb-09 17:57 
QuestionC# Web Service Custom Return Object Problem Pin
WhatDoIHaveToDoToGetAUniqueName17-Feb-09 10:54
WhatDoIHaveToDoToGetAUniqueName17-Feb-09 10:54 
AnswerRe: C# Web Service Custom Return Object Problem Pin
Calin Tatar17-Feb-09 11:05
Calin Tatar17-Feb-09 11:05 
GeneralRe: C# Web Service Custom Return Object Problem [modified] Pin
WhatDoIHaveToDoToGetAUniqueName17-Feb-09 12:37
WhatDoIHaveToDoToGetAUniqueName17-Feb-09 12:37 
GeneralRe: C# Web Service Custom Return Object Problem Pin
Ennis Ray Lynch, Jr.17-Feb-09 15:21
Ennis Ray Lynch, Jr.17-Feb-09 15:21 
GeneralRe: C# Web Service Custom Return Object Problem [modified] Pin
WhatDoIHaveToDoToGetAUniqueName18-Feb-09 10:00
WhatDoIHaveToDoToGetAUniqueName18-Feb-09 10:00 
I have not removed the web reference on the client yet, I've only been updating it as I republish the service with each attempt. I'll give that a whirl, see what happens, and post the results here. Thanks for the suggestion.

I always thought you had to have an empty parameter-less constructor in order for an object to serialize properly. Good to know.

EDIT: I just tried removing and re-adding the web reference, making sure the Settings.Designer.cs file reflected the changes, and still nothing.

Here's the XML from the return object as I see it on the server from the test method. This is what I expect to see on the client side:

<pingresult>
<returncode>1204</returncode>
-
<meternumber>
<string>12081056</string>
<string>12092171</string>
<string>12113456</string>
</meternumber>
-
<amiserialnumber>
<unsignedint>9245344</unsignedint>
<unsignedint>9317678</unsignedint>
<unsignedint>11110689</unsignedint>
</amiserialnumber>
-
<serviceaddresskey>
<unsignedint>500006497</unsignedint>
<unsignedint>500148477</unsignedint>
<unsignedint>500154274</unsignedint>
</serviceaddresskey>
-
<usagepointkey>
<unsignedint>500013896</unsignedint>
<unsignedint>500215109</unsignedint>
<unsignedint>500223149</unsignedint>
</usagepointkey>
-
<meterstatuscode>
<short>1122</short>
<short>1122</short>
<short>1122</short>
</meterstatuscode>
</pingresult>


Well, the xml tags dont show up but imagine these numbers that exist in groups of 3 as being elements of the arrays.

modified on Wednesday, February 18, 2009 4:30 PM

GeneralRe: C# Web Service Custom Return Object Problem Pin
Ennis Ray Lynch, Jr.18-Feb-09 10:22
Ennis Ray Lynch, Jr.18-Feb-09 10:22 
GeneralRe: C# Web Service Custom Return Object Problem Pin
WhatDoIHaveToDoToGetAUniqueName18-Feb-09 12:55
WhatDoIHaveToDoToGetAUniqueName18-Feb-09 12:55 
QuestionParsing Line by line Pin
alwaysthinking17-Feb-09 10:40
alwaysthinking17-Feb-09 10:40 
AnswerRe: Parsing Line by line Pin
Calin Tatar17-Feb-09 11:01
Calin Tatar17-Feb-09 11:01 
AnswerRe: Parsing Line by line Pin
PIEBALDconsult17-Feb-09 12:46
mvePIEBALDconsult17-Feb-09 12:46 
GeneralRe: Parsing Line by line Pin
alwaysthinking17-Feb-09 13:35
alwaysthinking17-Feb-09 13:35 
GeneralRe: Parsing Line by line Pin
PIEBALDconsult17-Feb-09 15:21
mvePIEBALDconsult17-Feb-09 15:21 
Question[Message Deleted] Pin
wwwxyz17-Feb-09 10:08
wwwxyz17-Feb-09 10:08 
AnswerRe: how can I apply all txt files in the folder this code? Pin
DaveyM6917-Feb-09 10:19
professionalDaveyM6917-Feb-09 10:19 
General[Message Deleted] Pin
wwwxyz17-Feb-09 10:24
wwwxyz17-Feb-09 10:24 
GeneralRe: how can I apply all txt files in the folder this code? Pin
Calin Tatar17-Feb-09 10:36
Calin Tatar17-Feb-09 10:36 
General[Message Deleted] Pin
wwwxyz17-Feb-09 10:39
wwwxyz17-Feb-09 10:39 
GeneralRe: how can I apply all txt files in the folder this code? Pin
Calin Tatar17-Feb-09 10:56
Calin Tatar17-Feb-09 10:56 
GeneralRe: how can I apply all txt files in the folder this code? Pin
wwwxyz17-Feb-09 11:35
wwwxyz17-Feb-09 11:35 
GeneralRe: how can I apply all txt files in the folder this code? Pin
Calin Tatar17-Feb-09 11:40
Calin Tatar17-Feb-09 11:40 
GeneralRe: how can I apply all txt files in the folder this code? Pin
wwwxyz17-Feb-09 10:35
wwwxyz17-Feb-09 10:35 
AnswerRe: [Message Deleted] Pin
wwwxyz18-Feb-09 12:01
wwwxyz18-Feb-09 12:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.