| |

VerySource

 Forgot password?
 Register
Search
View: 716|Reply: 4

What is the difference between http: //aa.jsp? A = 1&b = 2 or a servlet and a webservice call?

[Copy link]

1

Threads

9

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 China

Post time: 2020-3-12 10:00:02
| Show all posts |Read mode
let him
Reply

Use magic Report

1

Threads

9

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 China

 Author| Post time: 2020-6-5 22:00:01
| Show all posts
Is there any better webservice than http call?
Reply

Use magic Report

0

Threads

18

Posts

15.00

Credits

Newbie

Rank: 1

Credits
15.00

 China

Post time: 2020-6-7 12:15:01
| Show all posts
webservice is a high-level protocol based on http, which is not comparable
Webservice is used for language-independent data transmission and method invocation. You should compare webservice and RMI


For a simple example, two services A\B, A need to call a method of B String getString (String param); directly call with webService, feels like a local call, but using http to implement it is very troublesome


There are many differences, you just need to search for it
Reply

Use magic Report

1

Threads

9

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 China

 Author| Post time: 2020-6-12 16:15:01
| Show all posts
webservice is used for language-independent data transmission and method invocation
=========
Is http related to language? I post a.jsp and post a.asp and get a text string.
What is the relationship between the client program and jsp or asp writing this page program.

For a simple example, two services A\B, A need to call a method of B String getString (String param); directly call with webService, it feels like a local call, but using http itself is very troublesome
===============
webservcie call directly?

httpost only needs new url, conn.read.

The webser requires many steps to start the call.
Reply

Use magic Report

1

Threads

9

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 China

 Author| Post time: 2020-6-21 14:15:01
| Show all posts
Finally figured it out.

The development tool can generate a local class interface based on the wsdl file.
Enter the wsdl file address, click a few buttons, and several types of local projects will appear.
These classes are just like using the interfaces of the classes on the remote server.

This is the biggest difference between webserivce and httppost for programmers.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list