Win a copy of Secure Financial Transactions with Ansible, Terraform, and OpenSCAP this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

Mapping AxisServlet to a specific file extension

 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 43024
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
The airline is called "Virgin"? Don't you want a plane to go all the way? This tiny ad will go all the way:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic