axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bárbara Minitti <>
Subject Re: client pojo composition/pojo inheritance - URGENT
Date Mon, 24 Dec 2012 03:40:41 GMT
In my WSDL not appear the POJOS that are composition e inheritance.

How to do for this appear appear ?

for exemple

My Method

public String agendarVistoria(VOAgendamentoVist agendamento) {


My POJO VOAgendamentoVist has VOPessoa with get and set

VOPessoaFis extends VOPessoa

VOPessoaJur extends VOPessoa

In WSDL not appear VOPessoaFis and VOPessoaJur

Another problem is:

VOPessoa has attibute name.The name of the attribute reaches null in
method, lose value in the call.


2012/12/23 Deepal jayasinghe <>

>  See whether auto generated WSDL has the correct parameter names. For
> example, when you compile your java class you need to compile with
> debugging on, if not you might see this kind of behavior. By looking at the
> WSDL you can see whether you have the correct parameter names or arg0, arg1
> etc...
> Deepal
> Hi,
>>  I am developing my graduate work with Axis2.
>>  I have a service. The method of my service has POJO like parameter
>> input and return string message,
>>  This POJO has others POJO in your structure, like composition and
>> inheritance.
>>  To invoke  my service I'm using RPCServiceClient, but when my pojo is
>> read in the service method  the attributes of my pojo composition and pojo
>> inheritance is null.
>>  How to create a client that support composition pojo and  pojo
>> inheritance?
>>  Please, help. I don't know how to resolve this problem and I don't
>>  where to search. My graduate work is delayed because only this.
>>  Thanks,
>> Bárbara

View raw message