Hi,
Can we have an internal static final representation for the MEP's
other than the URI. Reason fo r raising this issue is that MEP uris do
change and Axis2's MEP uri's are different version that of the woden
MEP URIs. So i am having a hard time comparing them with axis2's woden
URIs. So what i propose is somethims like the following
public class WodenMEPVersionResolver{
public static final int WODEN_IN_OUT_MEP =0;
.......
public static final String IN_OUT_MEP_URI_VERSION_08_04 =
"http://www.w3.org/2004/08/wsdl/in-out";
public static final String IN_OUT_MEP_URI_VERSION_03_04 =
"http://www.w3.org/2004/03/wsdl/in-out";
etc....
public static int getMEP(URI somemepURI){
if(IN_OUT_MEP_URI_VERSION_08_04.equals(somemepuri.toString()) ||
IN_OUT_MEP_URI_VERSION_03_04.equals(somemepuri.toString()){
return WODEN_IN_OUT_MEP;
} else if(...){
}......
}
}
This way we introduce the semantic meaning of the MEP uri and it is
indeed the semantic meaning that we (applications like axis2) is
interested in
Comments??
--
Chathura Herath
http://people.apache.org/~chathura/
http://chathurah.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]