Complex type in axis

F

ffellico

I need to deploy the following web service (Demografica) wich return a
complex type named InformazioneResidenza wich is created using other
classes. Whatching the code it's easy to understand.

The problem is that I can't see in the WSDL any information about the
types tha must be returned.

What I must do to have the information about all the classes a
structures in the WSDL?

Here are the 6 classes of the Demografica vebservice:

Thank you for help. Franco Fellicò.

package esempi.demografica;

/**
* <p>Title: </p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2005</p>
* <p>Company: </p>
* @author unascribed
* @version 1.0
*/

public class Demografica {
public clsInformazioneResidenza getInformazioneResidenza(String
cfisc) {
clsInformazioneResidenza InfResReturn = new
clsInformazioneResidenza();
return InfResReturn;
}
public clsRichiedente getRichiedente(String cfisc) {
clsRichiedente RichiedenteReturn = new clsRichiedente();
return RichiedenteReturn;
}
}

--------------------

package esempi.demografica;

/**
* <p>Title: </p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2005</p>
* <p>Company: </p>
* @author unascribed
* @version 1.0
*/

public class clsInformazioneResidenza {
clsRichiedente Richiedente = new clsRichiedente();
clsDatiNascita DatiNascita = new clsDatiNascita();
clsIndirizzoResidenza IndirixxoResidenza = new
clsIndirizzoResidenza();

public clsInformazioneResidenza() {
}
}

----------------

package esempi.demografica;

/**
* <p>Title: </p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2005</p>
* <p>Company: </p>
* @author unascribed
* @version 1.0
*/

public class clsRichiedente {
String CodiceFiscale;
clsNomeCompleto NomeCompleto = new clsNomeCompleto();
String AltraInfo;
public clsRichiedente() {
CodiceFiscale = "DZENRC49M31H501T";
AltraInfo = "Ciao";
}
}

---------------------

package esempi.demografica;

/**
* <p>Title: </p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2005</p>
* <p>Company: </p>
* @author unascribed
* @version 1.0
*/

public class clsDatiNascita {
String DataDiNascita;
String Comune;
String Provincia;
String CodiceISTATComune;

public clsDatiNascita() {
DataDiNascita = "31/08/1949";
Comune = "ROMA";
Provincia = "RM";
CodiceISTATComune = "058091";
}
}

--------------------

package esempi.demografica;

/**
* <p>Title: </p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2005</p>
* <p>Company: </p>
* @author unascribed
* @version 1.0
*/

public class clsIndirizzoResidenza {
String Denominazione;
String NumeroCivico;
String Comune;
String Provincia;
String CAP;

public clsIndirizzoResidenza() {
NumeroCivico = "00013";
String Comune = "ANGUILLARA SABAZIA";
Provincia = "RM";
CAP = "00061";
}
}

----------------------

package esempi.demografica;

/**
* <p>Title: </p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2005</p>
* <p>Company: </p>
* @author unascribed
* @version 1.0
*/

public class clsNomeCompleto {
String sesso;
String Cognome;
String Nome;

public clsNomeCompleto() {
sesso = "M";
Cognome = "DEZI";
Nome = "ENRICO";
}
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top