Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have created a web service with a couple methods. It is working OK.

 

I have two applications that consume the web service, this is also working OK.

 

The trouble I am having is that if I update the web service. Say add a new method -- not even a new web method, just a method for use inside the web service.

 

The applications that consume the web service need the "Update Web Reference" in Visual Studio ran, and then rebuilt and deployed.

 

Is there a way that I can update my web service without being required to rebuild my consumeing applications?

 

Happy New Year,

Thanks in Advance

-Nate

~Nate�

___________________________________________

Please use the [vb]/[cs] tags on posted code.

Please post solutions you find somewhere else.

Follow me on Twitter here.

  • Administrators
Posted

How would the client applications even know how to call the new method(s) unless they are recompiled against an updated version of the WSDL?

 

If the method in question isn't consumed directly by a client but is only there for the web service itself then it probably doesn't need to be a web method and there certainly shouldn't be any need for the client to be recompiled.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted

That's exactly what I thought; however, the new methods are only used by the web service internally and aren't marked with

WebMethod
void

I must have changed something else without noticing.

 

Thanks!

~Nate�

___________________________________________

Please use the [vb]/[cs] tags on posted code.

Please post solutions you find somewhere else.

Follow me on Twitter here.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...