You need to sign in to do that
Don't have an account?
nits
Return exception in web service to external app
I have a web service in SFDC. it is being called by external java app. inputs are sent into web service and output is returned as sobject.
Eg
global class Pipeline {
WebService static opportunity[] Apptaker(string adid, string Ftype, date Frmdt, date todt, string stype, string sorder) {
opportunity[] opp;
WebService static opportunity[] Apptaker(string adid, string Ftype, date Frmdt, date todt, string stype, string sorder) {
opportunity[] opp;
...........
.........
return opp;
}
Now I have not handled exceptions. In case there is any exception from web service, how do I return error to the UI java app
Most soap stacks will automatically turn a soap fault into a thrown exception (for languages that use exceptions)
That will be java application. That application will consume our Enterprise WSDl to login in SFDC. Then the WSDL for the web service to call it.
How will SOAP section be implemented. Any recommendations or pointers.
Thanks Simon, As ever you have resolution for anything nd everything.
If you kindly look into my other issue as well.
In my other thread
http://community.salesforce.com/sforce/board/message?board.id=general_development&thread.id=19244
Thanks and Best Regards
AD