Create WSDL at each request (ASP.net 2.0)

J

Jay Douglas

Using a SoapExtensionReflector I'm making some adjustments to some the wsdl
document auto generated by asp.net. It seems as the wsdl is being cached
thus only showing the original modifications.

How do I disable any caching that asp.net is using for generation of the
wsdl documents? I need to make specific modifications to the wsdl on each
request because I'm using virtual URLs and RewritePath.

Any help is GREATLY appreciated.

Jay
 
J

John Saunders [MVP]

Jay Douglas said:
Using a SoapExtensionReflector I'm making some adjustments to some the
wsdl
document auto generated by asp.net. It seems as the wsdl is being cached
thus only showing the original modifications.

How do I disable any caching that asp.net is using for generation of the
wsdl documents? I need to make specific modifications to the wsdl on each
request because I'm using virtual URLs and RewritePath.

I've never done this before. In fact, I could have used the technique a year
ago, but didn't think of it!

Can you keep the WSDL requests in a single virtual directory tree so that
you can change the caching settings in the web.config for that <location>?
 
Joined
Aug 7, 2012
Messages
1
Reaction score
0
Hi Jay,

do you have the answer already?, i also try to create data object that can be create dynamically by modifying the web service wsdl, but the previous xml is always being cached.

please let me know if you have the answer.

thanks
Alexander Kho
 

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

Top