Axis gurus,
I am learning axis as part of my job and came accros following issue.
I am generating WSDL files through
Ant Axis using JAVA2WSDL tool and converting generated WSDL file to
JAVA using WSDL2JAVA. I have created one of the web service which returns array of custom Java class. I am running into issues when generating code from WSDL to JAVA, it is writing additional code to the Custom Java class.
Really appreciate your answer on this are direct me where I can find the answer and what to look for (BTW I have google for solution but not able to find a solution or not able to stitch things together).
1. I am using following technologies:
- Java - 1.5
- Eclipse
IDE Ganymede
- Axis 1.3
- Ant Contrib 0.6
- antlr - 2.7.5H3
2. I am using "RPC" as JAVA2WSDL/WSDL2JAVA style (no enclosing style)
Examples():
Service method: public DenomPortfolioVO[] getAllDenoms()
Custom Class:
public class DenomPortfolioVO extends VisualObject implements Serializable {
/** logger for the class */
private static final Logger log = Logger.getLogger(DenomPortfolioVO.class);
/**
* Serialization version id
*/
private static final long serialVersionUID = 1L;
private
String code;
private String category;
private String descr;
private String grpPrtInd;
private String activeYN;
private String lotType;
private String notes;
/**
* DenomPortfolioVO
*/
public DenomPortfolioVO()
{
super();
log.trace("DenomPortfolioVO()");
}
/**
* Get the id from the record
*
* @return Long - id
*/
public Long getId() {
return super.getId();
}
/**
* Sets the id for the record
*
* @param Long - id
*/
public void setId(Long id) {
super.setId(id);
}
/**
* Get the Modified YN from the record
*
* @return String - ModifiedYN
*/
public String getModifiedYN() {
return super.getModifiedYN();
}
/**
* Sets the Modified YN for the record
*
* @param String - modYN
*/
public void setModifiedYN(String modYN) {
super.setModifiedYN(modYN);
}
/**
* get the code from the record
*
* @return String - code
*/
public String getCode(){
return this.code;
}
/**
* Sets the code for the record
*
* @param String - denomCode
*/
public void setCode(String denomCode) {
this.code = denomCode;
}
/**
* get the code from the record
*
* @return String - category
*/
public String getCategory(){
return this.category;
}
/**
* Sets the code for the record
*
* @param String - denomCategory
*/
public void setCategory(String denomCategory) {
this.category = denomCategory;
}
/**
* get the Description from the record
*
* @return String - descr
*/
public String getDescr(){
return this.descr;
}
/**
* Sets the Description for the record
*
* @param String - denomDescr
*/
public void setDescr(String denomDescr) {
this.descr = denomDescr;
}
/**
* get the GroupPort Indicator from the record
*
* @return String - grpPrtInd
*/
public String getGrpPrtInd(){
return this.grpPrtInd;
}
/**
* Sets the GroupPort Indicator for the record
*
* @param String - grpPrtInd
*/
public void setGrpPrtInd(String denomGrpPrtInd) {
this.grpPrtInd = denomGrpPrtInd;
}
/**
* get the Active YN Indicator from the record
*
* @return String - activeYN
*/
public String getActiveYN(){
return this.activeYN;
}
/**
* Sets the Active YN for the record
*
* @param String - activeYN
*/
public void setActiveYN(String denomActiveYN) {
this.activeYN = denomActiveYN;
}
/**
* get the Lot Type from the record
*
* @return String - lotType
*/
public String getLotType(){
return this.lotType;
}
/**
* Sets the Lot Type for the record
*
* @param String - lotType
*/
public void setLotType(String denomLotType) {
this.lotType = denomLotType;
}
/**
* get the Notes from the record
*
* @return String - notes
*/
public String getNotes(){
return this.notes;
}
/**
* Sets the Notes for the record
*
* @param String - notes
*/
public void setNotes(String denomNotes) {
this.notes = denomNotes;
}
Thanks in advance.