Very large soap header

W

Wilson Cucaita

Hi!

I have a restriction calling a webservice: the soap header can´t be longer
1024 bytes but .Net generates it more than this.

What can i to do?
Any suggestions?

Tanks y advance

Wilo
 
D

Dan Rogers

Do you mean the initial SOAP Element? Or are you asking about a custom
header that you have added? Why is there such a restriction? That's an
awful small payload (it's one packet, it's one packet, why count tiny bite
counts!).

You have two options: Work up the XML yourself manually and interact at
the XML level. Or, add a web service extension that filters the output
stream from the XML serialization. This would let you eliminate whatever
extraneous data you think you need to (it's a stream at this point).
--------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top