Java TimeCard Example

From
(Difference between revisions)
Jump to: navigation, search
m
Line 7: Line 7:
 
https://timecardweb.econz.com/axis/services/timecard1Soap?WSDL
 
https://timecardweb.econz.com/axis/services/timecard1Soap?WSDL
  
After than any method in the interface can be called in the following manner:
+
After that any method in the interface can be called using java in the following manner:
 
<code>
 
<code>
  

Revision as of 11:10, 2 August 2012

Main Page Latest News F.A.Q. EService Timecard Web Services Client Software Downloads


Stubs can be generated from the WSDL file located here:

https://timecardweb.econz.com/axis/services/timecard1Soap?WSDL

After that any method in the interface can be called using java in the following manner:

//get reference to the Timecard1Soap object

Timecard1Soap timecard = new Timecard1Locator().gettimecard1Soap();

// then can call any method eg: addNewTask

timecard.addNewTask(new UserIDBean("pass", "username", NADSWebserviceVersion.TIMECARD_VERSION_1), "test");


Javadoc for the interface can be accessed here [1]

Personal tools
MediaWiki Appliance - Powered by TurnKey Linux