473,785 Members | 2,639 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Hiding web methods or custom WSDL file

I want to make some of my web methods avaible but basically want to hide them
in the WSDL file so not just everyone can consume them. Is there a way using
attributes to still have certain web methods exposed in the WSDL and others
not? Or is there a way to provide a customer WSDL file where I can just take
out the data relating to the methods I want to hide and have that WSDL be the
one that .Net displays when users access the WSDL file through the usual way
(http://host/url?WSDL).

Thanks,
Ryan
Nov 23 '05 #1
10 4214
"=?Utf-8?B?ZHFfdXNlcl9 janI=?=" <dq*********@di scussions.micro soft.com>
wrote in news:4A******** *************** ***********@mic rosoft.com:
I want to make some of my web methods avaible but basically want to
hide them in the WSDL file so not just everyone can consume them. Is
there a way using attributes to still have certain web methods exposed


For security you should implement proper security, not something that is a poor subsitute for it. Better
to make two separate web services and secure the second one if the first one is open.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programmin g is an art form that fights back"

Blog: http://blogs.atozed.com/kudzu
Nov 23 '05 #2
"=?Utf-8?B?ZHFfdXNlcl9 janI=?=" <dq*********@di scussions.micro soft.com>
wrote in news:4A******** *************** ***********@mic rosoft.com:
I want to make some of my web methods avaible but basically want to
hide them in the WSDL file so not just everyone can consume them. Is
there a way using attributes to still have certain web methods exposed


For security you should implement proper security, not something that is a poor subsitute for it. Better
to make two separate web services and secure the second one if the first one is open.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programmin g is an art form that fights back"

Blog: http://blogs.atozed.com/kudzu
Nov 23 '05 #3
I'm not really shooting for security per se. Basically, we're shipping a web
service which customers of our product will use. However, one part of the
application we're shipping will use some new web service methods and we don't
want to expose them to the customer as they'll be changing in the near
future. Thus, we don't want to expose them to customers to easily start
using. That is the reason I'm shooting to hide some of the web methods.

Suggestions on doing so would be greatly appreciated.

Thanks,
Ryan

"Chad Z. Hower aka Kudzu" wrote:
"=?Utf-8?B?ZHFfdXNlcl9 janI=?=" <dq*********@di scussions.micro soft.com>
wrote in news:4A******** *************** ***********@mic rosoft.com:
I want to make some of my web methods avaible but basically want to
hide them in the WSDL file so not just everyone can consume them. Is
there a way using attributes to still have certain web methods exposed


For security you should implement proper security, not something that is a poor subsitute for it. Better
to make two separate web services and secure the second one if the first one is open.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programmin g is an art form that fights back"

Blog: http://blogs.atozed.com/kudzu

Nov 23 '05 #4
I'm not really shooting for security per se. Basically, we're shipping a web
service which customers of our product will use. However, one part of the
application we're shipping will use some new web service methods and we don't
want to expose them to the customer as they'll be changing in the near
future. Thus, we don't want to expose them to customers to easily start
using. That is the reason I'm shooting to hide some of the web methods.

Suggestions on doing so would be greatly appreciated.

Thanks,
Ryan

"Chad Z. Hower aka Kudzu" wrote:
"=?Utf-8?B?ZHFfdXNlcl9 janI=?=" <dq*********@di scussions.micro soft.com>
wrote in news:4A******** *************** ***********@mic rosoft.com:
I want to make some of my web methods avaible but basically want to
hide them in the WSDL file so not just everyone can consume them. Is
there a way using attributes to still have certain web methods exposed


For security you should implement proper security, not something that is a poor subsitute for it. Better
to make two separate web services and secure the second one if the first one is open.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programmin g is an art form that fights back"

Blog: http://blogs.atozed.com/kudzu

Nov 23 '05 #5
"=?Utf-8?B?ZHFfdXNlcl9 janI=?=" <dq*********@di scussions.micro soft.com>
wrote in news:FB******** *************** ***********@mic rosoft.com:
Suggestions on doing so would be greatly appreciated.


I would put them in a separate .asmx file and move then when you are ready for them to be public.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programmin g is an art form that fights back"

Blog: http://blogs.atozed.com/kudzu
Nov 23 '05 #6
"=?Utf-8?B?ZHFfdXNlcl9 janI=?=" <dq*********@di scussions.micro soft.com>
wrote in news:FB******** *************** ***********@mic rosoft.com:
Suggestions on doing so would be greatly appreciated.


I would put them in a separate .asmx file and move then when you are ready for them to be public.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programmin g is an art form that fights back"

Blog: http://blogs.atozed.com/kudzu
Nov 23 '05 #7
Seems the simplest way to achive it is to implement another .asmx file.
--
Can You?You Can.
"Chad Z. Hower aka Kudzu" wrote:
"=?Utf-8?B?ZHFfdXNlcl9 janI=?=" <dq*********@di scussions.micro soft.com>
wrote in news:FB******** *************** ***********@mic rosoft.com:
Suggestions on doing so would be greatly appreciated.


I would put them in a separate .asmx file and move then when you are ready for them to be public.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programmin g is an art form that fights back"

Blog: http://blogs.atozed.com/kudzu

Nov 23 '05 #8
Seems the simplest way to achive it is to implement another .asmx file.
--
Can You?You Can.
"Chad Z. Hower aka Kudzu" wrote:
"=?Utf-8?B?ZHFfdXNlcl9 janI=?=" <dq*********@di scussions.micro soft.com>
wrote in news:FB******** *************** ***********@mic rosoft.com:
Suggestions on doing so would be greatly appreciated.


I would put them in a separate .asmx file and move then when you are ready for them to be public.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programmin g is an art form that fights back"

Blog: http://blogs.atozed.com/kudzu

Nov 23 '05 #9
Seems the simplest way to achive it is to implement another .asmx file.
--
Can You?You Can.
"Chad Z. Hower aka Kudzu" wrote:
"=?Utf-8?B?ZHFfdXNlcl9 janI=?=" <dq*********@di scussions.micro soft.com>
wrote in news:FB******** *************** ***********@mic rosoft.com:
Suggestions on doing so would be greatly appreciated.


I would put them in a separate .asmx file and move then when you are ready for them to be public.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programmin g is an art form that fights back"

Blog: http://blogs.atozed.com/kudzu

Nov 23 '05 #10

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

Similar topics

2
2321
by: manohar.shankar | last post by:
Hi, I have been searching on this topic for quite sometime and didnt get any answer. Is there a way I can extend/add methods/properties to a C# class during runtime. eg., I have class: public class MyClass {
0
2343
by: psy000 | last post by:
Hi, I have a C# web service client that talks to a JAVA application sever. I use AXIS to generate the WSDL file, use wsdl.exe to generate proxy stub c# code. When I try to use c# client connect to application server, I did not get the result in the C# client side, I used a soap monitor to look at the SOAP messages that were exchanged, I can see server returned a correct SOAP message, but the C# client failed to deserialize the XML...
2
1364
by: Sumit | last post by:
Hi All... What is the best way of binding a custom object that is returned via a Web Service? From what Ive seen, the proxy class generated by wsdl.exe doesnt include properties for the members of the custom object, it only contains the variable declarations. Does the wsdl.exe that comes with WSE handle this differently? Is there some other mechanism I can use besides writing a custom decorator for wsdl.exe to generate proxy classes that...
6
1526
by: seeIT | last post by:
In a client application a simple webservice (add/multiply) was added to solution panel but proxy methods do not appear. WSDL description in solution panel follows: <?xml version="1.0" encoding="utf-8"?> <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"...
0
431
by: dq_user_cjr | last post by:
I want to make some of my web methods avaible but basically want to hide them in the WSDL file so not just everyone can consume them. Is there a way using attributes to still have certain web methods exposed in the WSDL and others not? Or is there a way to provide a customer WSDL file where I can just take out the data relating to the methods I want to hide and have that WSDL be the one that .Net displays when users access the WSDL file...
2
1362
by: Techno_Dex | last post by:
I have a custom object that I have written which is serializable. I have put this object in it's own dll which is referenced by both the WebService and the Application using it. My problem is the WebService Proxy creates it's own implementation of my CustomObject which is causing issues. Is there some way to mark my object to use it's own namespace instead of using the namespace of the object being recreated by the WebService Proxy? ...
8
3535
by: John K | last post by:
It seems to work, at least my application still works. After adding this tag to hide the documentation; is it normal to see an error message when browsing to the page? I get error message shown below when going to that page in Internet Explorer on the same machine as the service. If I understand correctly; to correct this error I simply need to have the following in web.config: <webServices> <protocols> <remove name="Documentation"...
2
1689
by: Mongkon | last post by:
I use Visual studio.net 2003 for develop a web application by communicate with Web service (it has been developed by Java) and I has added web reference but It can’t to and show error message bellow “No Ports and Methods were found on this page” Please help me, to find solution and reason on error message above. Thank you.
8
1823
by: Techno_Dex | last post by:
Has anyone come up with a slick way to make Custom Serializable Objects to behave like DataSets when using WebServices? What I'm looking for is some way to force the WSDL generated code to create a reference to my custom object's namespace instead of creating it's own copy of the object in it's own WS namespace. Either that, or some easy way to move all of the properties from the Custom Serializable Object into the WSDL generated object...
0
9645
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9481
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10155
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10095
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9953
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8978
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 projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6741
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5383
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2881
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.