Click here to Skip to main content
15,912,837 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Windows foms control in Web page. a simple problem when with web pages Pin
Michael Sync26-Dec-07 23:06
Michael Sync26-Dec-07 23:06 
GeneralRe: Windows foms control in Web page. a simple problem when with web pages Pin
ram197427-Dec-07 19:02
ram197427-Dec-07 19:02 
QuestionNeed help with html client controls in asp.net Pin
sumanshakya26-Dec-07 9:56
sumanshakya26-Dec-07 9:56 
GeneralRe: Need help with html client controls in asp.net Pin
ram197426-Dec-07 18:11
ram197426-Dec-07 18:11 
QuestionHow to run exe from JavaScript Pin
rajesh4u24-Dec-07 0:17
rajesh4u24-Dec-07 0:17 
AnswerRe: How to run exe from JavaScript Pin
Manikandan.net25-Dec-07 19:26
Manikandan.net25-Dec-07 19:26 
AnswerRe: How to run exe from JavaScript Pin
Paul Conrad31-Dec-07 10:27
professionalPaul Conrad31-Dec-07 10:27 
QuestionGetting an Array from a Web Server? Pin
gunner_uk200022-Dec-07 6:59
gunner_uk200022-Dec-07 6:59 
I have a web service which returns a List of Objects:

[WebMethod(EnableSession = true)] public List<object> getProjects()

This returns that data that I want to be returned, Here is the XML:

<arrayofanytype><br />
<anytype xsi:type="xsd:int">2</anytype><br />
<anytype xsi:type="xsd:string">Cow Pie</anytype><br />
<anytype xsi:type="xsd:string">Pies with cows</anytype><br />
<anytype xsi:type="xsd:dateTime">2007-01-01T00:00:00</anytype><br />
<anytype xsi:type="xsd:dateTime">2007-01-22T00:00:00</anytype><br />
<anytype xsi:type="xsd:int">22</anytype><br />
</arrayofanytype><br />


My Question is how do I get this data back like I would a bool being returned from a web server?

When I actually call the method in my c# ASP.Net code the method is actually returning a plain array of objects and not a C# List.

This Code gets me a SOAP System.NullReferenceException

<br />
Object[] objects = null;<br />
objects = service.getProjects();<br />


I realise I'm Probably missing something really simple here, but can anyone enlighten me about whats going wrong here?
AnswerRe: Getting an Array from a Web Server? Pin
Paul Conrad23-Dec-07 14:42
professionalPaul Conrad23-Dec-07 14:42 
QuestionSetting the Date/Time on the server hosting my web service Pin
Skippums21-Dec-07 5:09
Skippums21-Dec-07 5:09 
GeneralRe: Setting the Date/Time on the server hosting my web service Pin
Dave Kreskowiak21-Dec-07 8:34
mveDave Kreskowiak21-Dec-07 8:34 
Questiontransfer input value to another page Pin
idsanjeevjha20-Dec-07 22:09
idsanjeevjha20-Dec-07 22:09 
GeneralRe: transfer input value to another page Pin
Michael Sync21-Dec-07 21:03
Michael Sync21-Dec-07 21:03 
GeneralRe: transfer input value to another page Pin
Paul Conrad23-Dec-07 14:43
professionalPaul Conrad23-Dec-07 14:43 
GeneralRe: transfer input value to another page Pin
Manikandan.net25-Dec-07 19:38
Manikandan.net25-Dec-07 19:38 
GeneralRe: transfer input value to another page Pin
arunkumarv28-Dec-07 23:29
arunkumarv28-Dec-07 23:29 
GeneralRe: transfer input value to another page Pin
idsanjeevjha28-Dec-07 23:59
idsanjeevjha28-Dec-07 23:59 
GeneralSides not loading in IE7 Pin
Brendan Vogt20-Dec-07 4:47
Brendan Vogt20-Dec-07 4:47 
GeneralRe: Sides not loading in IE7 Pin
Guffa23-Dec-07 4:26
Guffa23-Dec-07 4:26 
Questionstore value from table [modified] Pin
idsanjeevjha20-Dec-07 0:22
idsanjeevjha20-Dec-07 0:22 
GeneralRe: store value from table Pin
Dave Sexton20-Dec-07 10:06
Dave Sexton20-Dec-07 10:06 
GeneralRe: store value from table Pin
idsanjeevjha20-Dec-07 21:43
idsanjeevjha20-Dec-07 21:43 
GeneralUsing different fonts for Firefox Pin
Christian Graus20-Dec-07 0:20
protectorChristian Graus20-Dec-07 0:20 
AnswerRe: Using different fonts for Firefox Pin
Ujjaval Modi20-Dec-07 1:20
Ujjaval Modi20-Dec-07 1:20 
GeneralRe: Using different fonts for Firefox Pin
Paddy Boyd20-Dec-07 2:51
Paddy Boyd20-Dec-07 2:51 

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.