HighTechTalks DotNet Forums  

Use Method inside ASMX file

ASP.net ASP.net discussions (microsoft.public.dotnet.framework.aspnet)


Discuss Use Method inside ASMX file in the ASP.net forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
shapper
 
Posts: n/a

Default Use Method inside ASMX file - 10-09-2007 , 11:04 AM






Hello,

In a VB code file I need to use a method from an ASMX file.

How can I do that?

Thanks,

Miguel


Reply With Quote
  #2  
Old   
Cowboy \(Gregory A. Beamer\)
 
Posts: n/a

Default Re: Use Method inside ASMX file - 10-09-2007 , 11:33 AM






Extract the code in question (using the refactor menu?) into its own
routine. You can then put it in its own code file and call from both the
ASMX file (web service) and another code file.

If you are talking a different project, make a web service call.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
Quote:
Think outside the box!

*************************************************
"shapper" <mdmoura (AT) gmail (DOT) com> wrote

Quote:
Hello,

In a VB code file I need to use a method from an ASMX file.

How can I do that?

Thanks,

Miguel




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.