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

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top