473,789 Members | 2,957 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help - How to forward an asmx?wsdl request to an alternate WSDL URL?

I'm setting up a manually created WSDL file that defines the specifics
of the required elements, default values, etc. instead of using the
generated WSDL from the asmx?wsdl mechanism. Everything works with my
web service, but I would like to have some mechanism that forwards any
asmx?wsdl request to the manually created WSDL, to help guarantee that
a client is using the WSDL with the restrictions. I can't turn off all
documentation in the web.config file because there are other web
services that are still using he asmx?wsdl mechanism. Is there any way
to forward an asmx?wsdl request to a another URL? Any help would be
appreciated.

Thanks in advance

Apr 12 '06 #1
1 2388
protected void Application_Beg inRequest(Objec t sender, EventArgs e)

{

string myUrl = Request.RawUrl;

myUrl = myUrl.ToUpper() ;

int myIndx = myUrl.IndexOf(" WSDL");

if(myIndx > -1)

{

Response.WriteF ile("MyWebServi ce.wsdl");

Response.End();

}

}

mike
"jjouett" <jj*****@necam. com> wrote in message
news:11******** **************@ v46g2000cwv.goo glegroups.com.. .
I'm setting up a manually created WSDL file that defines the specifics
of the required elements, default values, etc. instead of using the
generated WSDL from the asmx?wsdl mechanism. Everything works with my
web service, but I would like to have some mechanism that forwards any
asmx?wsdl request to the manually created WSDL, to help guarantee that
a client is using the WSDL with the restrictions. I can't turn off all
documentation in the web.config file because there are other web
services that are still using he asmx?wsdl mechanism. Is there any way
to forward an asmx?wsdl request to a another URL? Any help would be
appreciated.

Thanks in advance

May 10 '06 #2

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

Similar topics

8
5483
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- Hello, I have a very simple problem but cannot seem to figure it out. I have a very simple php script that sends a test email to myself. When I debug it in PHP designer, it works with no problems, I get the test email. If
5
3487
by: Benne Smith | last post by:
Hi, I have three enviroments; a development, a testing and a production enviroment. I'm making a big application (.exe), which uses alot of different webservices. I don't use the webservices by adding a WebReference, since it does not allow me to keep state (cookiecontainer) or to specify functions on the classes (like if i want to override the ToString() function on a class from my webservice). So the only way i can see how i can get...
3
1786
by: Rodney Garland | last post by:
Hi All, I am a relative beginner to Python and am looking for help with sending and XML message and getting back a return file. The server is: https://node.deq.state.or.us/node/node.asmx I have have successfully sent and recieved using the PING, AUTHENTICATE (send in username and password and return a secuirity token), SOLICIT(send in information for a query and get a number indicating the query),
3
1890
by: john | last post by:
I have been pulling XML data the past year on PHP using SOAP. NOw I have another server to pull from with someone else but their server seems to be different. Currently I would do something like the following: $client = new soapclient('http://www.site.com/websvs/PubServices.asmx?WSDL', true, '', '', '', ''); $param = array('webID' => $WEB_ID, 'RecordsIN' => $numrecin);
3
6116
by: Ganesh Muthuvelu | last post by:
Hello, I have web service written in .NET and if I go the browser and type in the ..asmx file I get to see all the methods/routines. Now, is there a way I can get a XSD of every web method/routine?. The consumer of my web service (third party) requires me to give a XSD file of every request and response contained in the web service. Is there a tool that can produce the XSD with the ASMX as input?. Thanks, Ganesh
2
2582
by: Ken Crismon | last post by:
Hello, I am currently working on an embedded systems project where by I have written a small web server that is being hosted on our internet appliance (running on an Atmega128 chip and doing lots of col RFID and Mesh network stuff). In this example I am trying to get the AuthenticateUser web service to work. I am using the following WSDL:
0
1313
by: Ed West | last post by:
Hi, In old school web service days we could just modify the end of the .wsdl file to specify a new ip address: <service name='SoapServer' > <port name='SOAPServerSoapPort' binding='wsdlns:SOAPServerSoapBinding' > <soap:address location='http://192.168.1.2/soap3/SoapServer.WSDL'/> </port> </service>
5
70514
by: =?Utf-8?B?a3Jpcw==?= | last post by:
I created a simple webservice .asmx on Visual Studio 2005. As I plan to deploy it to Sharepoint Portal 2003, I copied asmx to \web server extensions\60\ISAPI directory of the server, where all other general webservices reside. Everything is just fine - i can access the service with the browser, method list is displayed as well as help texts for them. my question is - how do I generate .wsdl and .disco files for the service? I read...
6
2239
by: =?Utf-8?B?a3Jpcw==?= | last post by:
Hi, I created a web service application using ASP. My question is : When i try to create an extra class in the same asmx file,At the time of consuming the web service,its showing me only the default class only. here is my code: namespace WebService1
0
9666
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, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10410
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10200
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
10139
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,...
1
7529
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5418
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...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3701
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2909
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.