Forums Register Login

Using Axis2 wsdl2java tool java client code syntax difference

+Pie Number of slices to send: Send
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

joke time: What is brown and sticky? ... ... ... A stick! Use it to beat this tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 810 times.
Similar Threads
Enum question
XMLBeans versus JAXB schema compilation differences
Invoke .NET Web Service using Java/Axis passing SoapHeader
Creating a web service with Axis2 built in script
looping through an enum?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 08:44:46.