SOAP 3 Callback Documentation
From
(Difference between revisions)
(New page: Need to implement '''three''' core methods (getVersion, heartBeat and eventSeq): <pre> namespace soap2.nads.econz.co.nz { [WebService(Namespace = "http://soap2.nads.econz.co.nz")] [WebS...) |
|||
Line 1: | Line 1: | ||
+ | The following callback interface is designed using VS2008 and ASMX. | ||
+ | |||
Need to implement '''three''' core methods (getVersion, heartBeat and eventSeq): | Need to implement '''three''' core methods (getVersion, heartBeat and eventSeq): | ||
Revision as of 00:51, 14 December 2009
The following callback interface is designed using VS2008 and ASMX.
Need to implement three core methods (getVersion, heartBeat and eventSeq):
namespace soap2.nads.econz.co.nz { [WebService(Namespace = "http://soap2.nads.econz.co.nz")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] public class NADSCallbackService : System.Web.Services.WebService { [WebMethod] public CallbackVersion getVersion() { return CallbackVersion.VERSION_2; // should match the version of the callback interface } [WebMethod] public void heartBeat(int errorsSinceLastSuccess) { // TODO: Implementation } [WebMethod] public void eventSeq(UserIDBean externalServiceID, EventBean[] eventBeans) { // TODO: Implementation } } }