You need to sign in to do that
Don't have an account?
vfDeveloper.ax341
enums from .net Generated by wsdl2apex
I use couple of enums in my .net web service
For example
public enum ResponseCode {
Success,
Fail,
ServerError,
AuthenticationFail
}
When i import my wsdl, apex code creates empty class
public class ResponseCode {
}
instead of enumeration. However when i create web reference in other .net project (to test web service calls) everything works just fine.
How can i solve this? Or may there is some workaround for enums?
Thanks
For example
public enum ResponseCode {
Success,
Fail,
ServerError,
AuthenticationFail
}
When i import my wsdl, apex code creates empty class
public class ResponseCode {
}
instead of enumeration. However when i create web reference in other .net project (to test web service calls) everything works just fine.
How can i solve this? Or may there is some workaround for enums?
Thanks
wsdl2apex will not generate the empty apex class. So if your instance is updated
to summer 08, please regenerate the stub.
HTHs,