473,405 Members | 2,373 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Webservice Private reference

Hi all,
am developing an vb dotnet application (windows exe) which references a
(vbdotnet) dll. This dll makes use of a webservice and as such has a
webreference set in the visual studio project to this resource. However i
have noticed that (since the application has a reference to the dll) i can
see the webservice reference from the application and can instantiate an
instance and call a webmethod. I would like the webreference to be private
to the dll only. However i cannot see any obvious way to change this, apart
from amending the code in the autogenerated reference.vb file created which
is visible when the show all files option is enabled. The problem with
using this method is that as i am developing the applicaiton and the
webservice i may need to refresh the webreference which in theory will reset
the reference to be public. Does anyone know a way around this?
Thanks greatly in advance

--
TimB
Nov 21 '05 #1
1 1032
bump

--
--
TimB
"timb" <ti**@test.com> wrote in message
news:ue**************@tk2msftngp13.phx.gbl...
Hi all,
am developing an vb dotnet application (windows exe) which references
a (vbdotnet) dll. This dll makes use of a webservice and as such has a
webreference set in the visual studio project to this resource. However i
have noticed that (since the application has a reference to the dll) i can
see the webservice reference from the application and can instantiate an
instance and call a webmethod. I would like the webreference to be
private to the dll only. However i cannot see any obvious way to change
this, apart from amending the code in the autogenerated reference.vb file
created which is visible when the show all files option is enabled. The
problem with using this method is that as i am developing the applicaiton
and the webservice i may need to refresh the webreference which in theory
will reset the reference to be public. Does anyone know a way around
this?
Thanks greatly in advance

--
TimB

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Jose Fernandez | last post by:
Hello. I'm building a web service and I get this error. NEWS.News.CoverNews(string)': not all code paths return a value This is the WebMethod public SqlDataReader CoverNews(string Sport)...
24
by: Nikolay Petrov | last post by:
In my WebService I have structure Structure myStr1 Dim text as String Dim Key as Byte() End Structure and a Web Method, containing Function which retruns data as this Structure My qustion...
8
by: Topper | last post by:
Hello. I have simple web folders structure: -ROOT - BIN WebService.dll WebService.asmx I need to use my WebService.dll not in bin folder - for example, in ROOT. How do i this? How can i do...
1
by: Thomas D. | last post by:
Hello all, I'm using the IXmlSerializable interface for a project and encounter some problems when testing my webservice in a client application. I know this interface is undocumented and not...
0
by: Standist | last post by:
vs.net 2003 I create a webservice using vc.net.In the webservice invoked a method in a dll from third party. I compile and link the program without any error.But I got a error when I debug it,I...
1
by: jens Jensen | last post by:
Hello , i'm calling a webservice generated with oracle webservice java tools. I'm not able to add a web reference to a .net client the usual way with visual studio 2005. I was therefore...
4
by: jens Jensen | last post by:
Hello, I need to call a webservice with an System.Xml.XmlDocument objet and read the return value into and System.Xml.XmlDocument. The webservice was written with an oracle tool and wrapped...
4
by: =?Utf-8?B?TmFkYXYgUG9wcGxld2VsbA==?= | last post by:
Hi everybody, I've got two questions about using the EnableSession property with an ASP.NET WebService: First Question: I'm trying to create a web service with EnableSession=true. I can't...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.