Reputation:
I have a WebService written in VB.net with couple of webmethods and I published the WebService to the IIS.
The URL for wsdl is http://mywebservice/DataPort/portData.asmx?wsdl
There are couple of Java applications that are consuming the above mentioned webservice.
The Java team wants the URL to end with portData?wsdl instead of portData.asmx?wsdl
How can I do that?
Thanks
Upvotes: 1
Views: 715
Reputation: 7850
Why don't you take a look at the similar StackOverflow question? Might be of some help.
Upvotes: 1
Reputation: 14041
This article gives you an idea of how IIS handles requests. You'll want to setup an HTTP Request Handler.
In your web.config you'll need to configure the handler's section.
<httpHandlers>
<add verb="GET,POST" path="*" type="Namespace.Class,Namespace" />
<add verb="GET,POST" path="/" type="Namespace.Class,Namespace" />
</httpHandlers>
Then in IIS for the Virtual Directory your web-service is hosted in you'll need to go to Properties->Home Directory->Configuration->Mappings and associate the dll for your version of ASP.NET to whatever path you've specified.
Upvotes: 0