Click here to Skip to main content
15,914,795 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionOle DB command not working Pin
W4Rl0CK4720-Oct-09 10:00
W4Rl0CK4720-Oct-09 10:00 
QuestionProblems with VB6 Winsock connection and Senddata Pin
she-Developer20-Oct-09 4:58
she-Developer20-Oct-09 4:58 
AnswerRe: Problems with VB6 Winsock connection and Senddata Pin
dan!sh 20-Oct-09 7:20
professional dan!sh 20-Oct-09 7:20 
AnswerRe: Problems with VB6 Winsock connection and Senddata Pin
Eddy Vluggen20-Oct-09 10:50
professionalEddy Vluggen20-Oct-09 10:50 
GeneralRe: Problems with VB6 Winsock connection and Senddata Pin
she-Developer20-Oct-09 21:40
she-Developer20-Oct-09 21:40 
GeneralRe: Problems with VB6 Winsock connection and Senddata Pin
Eddy Vluggen20-Oct-09 22:45
professionalEddy Vluggen20-Oct-09 22:45 
AnswerRe: Problems with VB6 Winsock connection and Senddata [modified] Pin
MatthysDT21-Oct-09 20:33
MatthysDT21-Oct-09 20:33 
QuestionProblem serializing to SOAP when using System.Object [modified] Pin
annathor20-Oct-09 1:36
annathor20-Oct-09 1:36 
We have a transport class, one of the members is
private object _containerObject;
with get/set methods. In our system this container object can contain every .net type, every class in our B.O layer, or a List<T> of those types, we also have a WebService with a method returning a transport class object, the problem is that this fails:

GenericTransportObject resoultGTO = new GenericTransportObject(); 
TestService.Service1 ourService = new TestService.Service1();
resoultGTO = ourService.WS_Input(gto);


The error I get is:
System.InvalidOperationException: The type BOLayer.UserInformation was
not expected. Use the XmlInclude or SoapInclude attribute to specify types
that are not known statically.


what happens in the web service is that the method creates a new GenericTransportObject, sets the metadata and set the _containerObject to a object of type UserInformation, and returns that object.

I get a message telling me to use XmlInclude or SoapInclude, but how do I do it, when the class I need to edit is a base class in a compiled .net assembly?
I hope I have explained the problem well (English isn’t my first language).

modified on Tuesday, October 20, 2009 8:04 AM

QuestionInterop Questions Pin
#realJSOP20-Oct-09 1:02
professional#realJSOP20-Oct-09 1:02 
AnswerRe: Interop Questions Pin
NormDroid20-Oct-09 1:35
professionalNormDroid20-Oct-09 1:35 
GeneralRe: Interop Questions Pin
#realJSOP20-Oct-09 3:49
professional#realJSOP20-Oct-09 3:49 
AnswerRe: Interop Questions Pin
freakyit20-Oct-09 1:35
freakyit20-Oct-09 1:35 
AnswerRe: Interop Questions Pin
Richard MacCutchan20-Oct-09 1:36
mveRichard MacCutchan20-Oct-09 1:36 
QuestionOracle 10 g user id passwords Pin
manish.m.meshram19-Oct-09 18:30
manish.m.meshram19-Oct-09 18:30 
QuestionHow to get Default Mail Application name? (like microsoft office outlook) Pin
CeremBeyazit19-Oct-09 12:39
CeremBeyazit19-Oct-09 12:39 
AnswerRe: How to get Default Mail Application name? (like microsoft office outlook) Pin
N a v a n e e t h19-Oct-09 16:40
N a v a n e e t h19-Oct-09 16:40 
QuestionUnusual Problem: Listbox Not Updating Pin
raineym19-Oct-09 7:50
raineym19-Oct-09 7:50 
AnswerRe: Unusual Problem: Listbox Not Updating Pin
Luc Pattyn19-Oct-09 7:57
sitebuilderLuc Pattyn19-Oct-09 7:57 
GeneralRe: Unusual Problem: Listbox Not Updating [modified] Pin
raineym19-Oct-09 8:52
raineym19-Oct-09 8:52 
GeneralRe: Unusual Problem: Listbox Not Updating Pin
Luc Pattyn19-Oct-09 9:11
sitebuilderLuc Pattyn19-Oct-09 9:11 
GeneralRe: Unusual Problem: Listbox Not Updating Pin
raineym19-Oct-09 10:34
raineym19-Oct-09 10:34 
GeneralRe: Unusual Problem: Listbox Not Updating Pin
Luc Pattyn19-Oct-09 10:38
sitebuilderLuc Pattyn19-Oct-09 10:38 
NewsVisual Studio Beta 2 Available This Week, VS 2010 Launch Date Announced, New Packaging Revealed Pin
brucedkyle19-Oct-09 6:24
brucedkyle19-Oct-09 6:24 
QuestionCapture Screenshot of a Window(With Handle) Pin
Harrison Jones19-Oct-09 6:17
Harrison Jones19-Oct-09 6:17 
AnswerRe: Capture Screenshot of a Window(With Handle) Pin
Richard MacCutchan19-Oct-09 10:14
mveRichard MacCutchan19-Oct-09 10:14 

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.