GeeCON Prague 2014*
The moose likes Web Services and the fly likes Using Axis2 wsdl2java tool java client code syntax difference Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "Using Axis2 wsdl2java tool java client code syntax difference" Watch "Using Axis2 wsdl2java tool java client code syntax difference" New topic
Author

Using Axis2 wsdl2java tool java client code syntax difference

vittal mareddy
Greenhorn

Joined: Jul 24, 2011
Posts: 16
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

 
GeeCON Prague 2014
 
subject: Using Axis2 wsdl2java tool java client code syntax difference