Visual Studio Development Bookmark and Share   
 index > Visual C# Express Edition > Inherits Serialize
 

Inherits Serialize

Hi to All,

Well I have an Web Services Client in c# and a Server in Axis 2.1. When I want to consume an transaction, the server not recognize inherits objects. For example, I have an class called Person and two classes called Fireman and Policeman that inherits from Person class. This structure isn't recognize from the Axis. I'm working with an web reference (wsdl) in my client. Can you help me please?

Thank you very much.

PD:

class Person{
 String id;
 String name;
}

class Fireman: Person{
String experence;
City city
}

class Policeman: Person{
String experence;
Cases cases;
String middlename;
}

class City{
 String id;
 String name;
}

class Cases{
 String id;
 String name;
}
ingridcmc_punk86  Friday, October 09, 2009 4:54 PM
Ok in base of the last e-mail, I'm pass to the method that consume, the Person parameter as an Array (Person[] persons), in the moment that the method consume, don´t recognized this parameter and show the WSE910 exception.
ingridcmc_punk86  Friday, October 09, 2009 5:15 PM
I think you need to check with Apache for support.

Mark the best replies as answers. "Fooling computers since 1971."
Rudedog2  Friday, October 09, 2009 7:12 PM
But when I test Java and PHP clients consume successful, but in my C# client don't consume.
ingridcmc_punk86  Friday, October 09, 2009 8:48 PM

You can use google to search for other answers

Custom Search

More Threads

• Way to free up UI?
• sql & Visual Studio C# 2008
• Load a file
• Panel flickering
• TabStop Problem
• Writing to a File
• Who do I consult if an issue occurs during the registration or installation process of Visual C# Express?
• Datagrid sort
• Listview question
• Very newbie question about C# console and sdk