Web Service Getting Started Example

 

Create a server

new a webservice project

Create a class under the src/***.***.server package

 

compile

Test release results

 

 The following results indicate that the release is successful

 

 

 

 

 

Create a client

Create a webservice project, project name ****_client

Generate client in command prompt window'

 

Refresh, check the generated class

 

test

Create a class name under the example package: ServiceTest

 

 The content of the code is as above

 

 

compile the class

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324855809&siteId=291194637