Where does the serialization happen?
See original GitHub issueI’m trying to find the code that performs the SOAP serialization when we call a ClientBase<T> method of a SvcUtil generated proxy. Which file(s) carry that code?
I have tried to generate the same SOAP envelope that the proxy creates by serializing the SvcUtil generated request classes using DataContractSerializer
, XmlSerializer
and SoapFormatter
(3rd party NuGet package). However, none of them produce the correct SOAP request. So, I’m interested in seeing the code that produces the correct SOAP xml.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:12 (5 by maintainers)
Top Results From Across the Web
What is serialization and how does it work?
Serialization is the process of converting a data object—a combination of code and data represented within a region of data storage—into a series...
Read more >Everything You Need to Know About Java Serialization ...
Serialization is the process of saving an object's state to a sequence of bytes, which then can be stored on a file or...
Read more >Serialization - .NET
Serialization is the process of converting the state of an object into a form that can be persisted or transported.
Read more >Serialization and Deserialization in Java with Example
Deserialization is the reverse process where the byte stream is used to recreate the actual Java object in memory. This mechanism is used...
Read more >Introduction to Java Serialization
The serialization process is instance-independent; for example, we can serialize objects on one platform and deserialize them on another.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Any update here? I am facing same issue. Can’t find a generic way to serialize/deserialize wcf generated classes 😦
At operations level, there’s only a handful. However, each operation can work with a large number of types and probably, its the number of these record types that causing the problem. To give more context, this is the Reference.cs generated by ServiceUtil. https://github.com/sameera/lib-netsuite-servicemgr/blob/master/Celigo.SuiteTalk/src/Connected Services/SuiteTalk/Reference.cs
So, I believe splitting up the client in to multiple operations wouldn’t help.
This is only if all endpoints belong to the same domain, isn’t it? In our case, webservice for each customer is accessible through a domain specific to the customer.
We’ve done this and it reduced the time by 1-2 seconds. Unfortunately, that’s only about a 10-15% improvement.