Customizing the SOAP response

P

Paul K

Currently, my web service method ("SubmitNotifications") responds with a
"SoapNotificationsResult" element:

<SubmitNotificationsResult
xmlns="http://tempuri.org/MISOListener/MISOListenerService" />

Is there any way (preferably via attributes) to change the above elements
name to something else? Better yet would be a way change the element name on
the fly. From what I've seen, it looks like SOAP extensions might be the
answer I'm looking for.

Any help would be greatly appreciated!

Paul K
 
P

Paul K

Okay, I've figured that using the XmlElementAttribute class allows me to
change the name of the result element, but is there a way to do this
dynamically?
 

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

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top