• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Axis Server Confi...

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm trying to get Axis configured into an existing web application.
I added the libraries, then created a sample class called who.java.
I placed a who.jws file that merely extends who.java
and suddenly things like this worked fine.
http://localhost:8080/AxisFun/who.jws?WSDL
http://localhost:8080/AxisFun/who.jws?method=who
At this point I had no server-conf.wsdd

I wanted to activate the remote admin. From what I read I needed a server.conf.wsdd so I created the following.

<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<service name="AdminService" provider="java:MSG">
<parameter name="className" value="org.apache.axis.utils.Admin"/>
<parameter name="allowedMethods" value="*"/>
<parameter name="enableRemoteAdmin" value="true"/>
<parameter name="persistence" value="true"/>
<parameter name="activateOnStartup" value="true"/>
</service>
<service name="who" provider="java:MSG">
<parameter name="className" value="fun.Who"/>
<parameter name="allowedMethods" value="*"/>
<parameter name="persistence" value="true"/>
<parameter name="activateOnStartup" value="true"/>
</service>
</deployment>

Now I show two services in the list, but the urls to them and their WSDLs has changed.

They look like this:

http://localhost:8080/AxisFun/services/AdminService?wsdl

and generate this error:

AXIS error
Could not generate WSDL!
There is no SOAP service at this location

What am I missing?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic