• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using Axis2 wsdl2java tool java client code syntax difference

 
vittal mareddy
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have 2 sets of java client files generated from wsdl i can see some syntax difference between generated by somebody else & myself. what i have to do, so i my java code syntax will match

below are difference marked in red & bold

somebody java client code syntax

public enum AccessType {

PERMIT, RESTRICT, REQUIRE_GROUP, REQUIRE_GROUP_SET;

public String value() {
return name();
}

public static AccessType fromValue(final String v ) {
return valueOf(v);
}

}


my java client code syntax

public enum AccessType {

PERMIT,
RESTRICT,
REQUIRE_GROUP,
REQUIRE_GROUP_SET;


public String value() {
return name();
}

public static AccessType fromValue(String v) {
return valueOf(v);
}


using
Using AXIS2_HOME: C:\vittal\downloads\axis2-1.4.1
Using JAVA_HOME: C:\Program Files\Java\jdk1.5.0_22

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic