Skip to content

SOAP My Way: SoapDocumentMethodAttribute

January 17, 2007

Using attributes ASP.Net allows you to customize a lot of your SOAP messages that your web services transport. I was working on a custom web service that was really a thin wrapper around an existing web service and didn\’t want all the extra namespace declarations on my result and looked into the code of the web client proxy to see how they used attributes to control their web service output.

The SoapDocumentMethod attribute is used to specify that a web method uses Document formatting for its SOAP messages.

 [ SoapDocumentMethod(Action=””, RequestNamespace=””,


From → Uncategorized

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: