When I run a tool I've published as a gp service, the only messages I get are these:
esriJobMessageTypeInformative: Submitted.
esriJobMessageTypeInformative: Executing...
esriJobMessageTypeInformative: Succeeded.
Is there some way I can get the same messages I see when I run the tool locally?
I don't see anything obvious in the documentation.
It is a custom tool written in arcobjects (implementing IGPFunction), so if there's some special way to call IGpMessages I'd consider that.
Answer
What is the "showMessages" option in your service config file?
If it's "false" (the default) then ArcGIS Server will swallow all the messages.
No comments:
Post a Comment