Do I need to (and how) re-generate wsdl after I modify it?

Hi, I have to edit a vendor's wsdl on our server to change a variable to allow for null.  However, after I save the wsdl, the change is saved no problem however, when I type in url to open the wsdl it doesn't show the changes.  Is it because I have to regenerate or do something else to it?  The vendor's program is written in Java.  I'm using C# and I need to set a datetime variable to null hence the modificaiton.

I did search the only server drive, C, and there is only this copy of wsdl.  The changes is saved when I open it using Notes++.

thank you.
lapuccaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MlandaTCommented:
You cannot edit your vendor's WSDL. Those changes have to be made from their side. You will then generate new C# web service proxy classes from the new WSDL which they publish.

If you really have to...
What you can do however, is to manually generate the C# web service client proxy manually, pointing it to the WSDL file which you have modified. You do this with the WSDL.EXE tool (Open a Visual Studio Command Line) and then use this new class in place of the one you generated by adding a service reference in your Visual Studio.

wsdl.exe PathToYourFile.wsdl /l:CS /serverInterface

Open in new window

Use VB or CS for your language of choice. This will create a new .cs or .vb file

NOTE: Typically, what you see in the WSDL on the url provided by your vendor is an WSDL that is automatically generated from a tool that analyses their code. As such, your changes might in fact not be supported yet by the web service that you are consuming.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
lapuccaAuthor Commented:
Thank you.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.