• Post Reply Bookmark Topic Watch Topic
  • New Topic

Mapping AxisServlet to a specific file extension  RSS feed

 
Nathan Hook
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to map the genertic AxisServlet (org.apache.axis.transport.http.AxisServlet) to a .asmx extension without any luck.

Here is my configuration from my tomcat web.xml file.



When I go to my web service's wsdl via a browser I get the message:


AXIS error

Could not generate WSDL!

There is no SOAP service at this location


Now, if i add /* to the servlet mapping I will actually get the wsdl file.


Could someone possibly shed some light on what the issue might be and why I'm not able to access the service with an extension?

Thanks for your time.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the URL of your service - does it have the *.asmx extension? It might well be that Axis relies on the service URL to have a specific format, which perhaps must not include an extension.

What are you trying to achieve by using an extension, instead of the more standard .../services/... naming scheme?
 
Nathan Hook
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes the web service has a .asmx extension...

https://xxx.com/services/AuthenticationService.asmx

The reason for using the .asmx extension is we have a business partner that has web services with .asmx extension. We will start testing their services, but before that we want to do internal tests against those web services. (We were given the .wsdl file and we generated our own stub classes from that .wsdl file.)

Thank you for the reply.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!