| |

VerySource

 Forgot password?
 Register
Search
View: 4067|Reply: 13

How to pass an object type parameter to the web service method, please advise!

[Copy link]

1

Threads

6

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2021-4-22 16:30:02
| Show all posts |Read mode
How to pass an object type parameter to the web service method, please advise!
Reply

Use magic Report

0

Threads

64

Posts

35.00

Credits

Newbie

Rank: 1

Credits
35.00

 China

Post time: 2021-4-22 18:15:01
| Show all posts
On the place where WebService technology is discussed, you find examples of "serialization / reverse sequence".
Reply

Use magic Report

1

Threads

6

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2021-4-22 19:45:01
| Show all posts
Dear points of the boss, it is best to give an example.
Reply

Use magic Report

0

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2021-4-22 20:00:02
| Show all posts
Serialized / anti-sequence is not a two sentences to be clear, it is recommended to see related information
Reply

Use magic Report

0

Threads

110

Posts

63.00

Credits

Newbie

Rank: 1

Credits
63.00

 China

Post time: 2021-4-22 20:30:01
| Show all posts
The serialization is used as a binary array as a parameter pass, and the server is retrograde sequence into an object.
Reply

Use magic Report

1

Threads

6

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2021-4-23 02:30:01
| Show all posts
TO:
  The serialization is used as a binary array as a parameter pass, and the server is retrograde sequence into an object.

After doing so, whether the customer's firewall can penetrate.

Please advise.
Reply

Use magic Report

0

Threads

110

Posts

63.00

Credits

Newbie

Rank: 1

Credits
63.00

 China

Post time: 2021-4-23 06:00:01
| Show all posts
Yes, WebService itself is based on HTTP, so it can penetrate the firewall ..
Reply

Use magic Report

1

Threads

6

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2021-4-23 07:15:01
| Show all posts
In addition to serialization is a binary array, it can also use XML serialization.

What is XML serialization, there is a small example of this aspect, thank you.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2021-4-23 12:15:01
| Show all posts
You can do XML analysis, put your class format into XML, then resolve XML instantiation to your class, although it is troublesome to write 嘿
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2021-4-23 12:45:01
| Show all posts
It's good to pass the type of past.
But you have to see what type is it.
Some types cannot be returned
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