Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis Server Confi...

 
John Windberg
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic