I have one query related to non buildin datatype in webservice. I use user defined exception in my webservice. when i use the error code and error message in the webservice it is working fine for me. When i tried with only the error message it is not working for me. Is that necessary for us to give both error code and message?
It is not necessary to mention errorCode, it all depends on the way u have configured ur fault message in wsdl. I tried with the below sample wsdl which does not have any errorCode element in the Fault, it works fine for me. Even errorCode element is present u can pass a null for that.