I'm attempting to deploy a service to Tomcat 4.1.27 on Windows XP. The happyaxis.jsp is satisfied, and I can view the list of pre-deployed web services.
I've put the jar with my implementation classes and the EsbAuthSoapBindingSkeleton.class in /webapps/axis/WEB-INF/lib, and restarted Tomcat.
I deploy the following deploy.wsdd.
<deployment
xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<!-- Services from AuthenticationService WSDL service -->
<service name="EsbAuth" provider="java:RPC" style="rpc" use="encoded">
<parameter name="wsdlTargetNamespace" value="urn:com.spherion.ap.esb"/>
<parameter name="wsdlServiceElement" value="AuthenticationService"/>
<parameter name="wsdlServicePort" value="EsbAuth"/>
<parameter name="className" value="com.spherion.ap.esb.auth.axis.EsbAuthSoapBindingSkeleton"/>
<parameter name="wsdlPortType" value="Authentication"/>
<parameter name="allowedMethods" value="*"/>
<parameter name="scope" value="Application"/>
<typeMapping
xmlns:ns="http://auth.esb.ap.spherion.com"
qname="ns:Token"
type="java:com.spherion.ap.esb.auth.Token"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
/>
<typeMapping
xmlns:ns="http://auth.esb.ap.spherion.com"
qname="ns:EsbException"
type="java:com.spherion.ap.esb.auth.EsbException"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
/>
</service>
</deployment>
using the command (classpath not shown)
C:\dir>java org.apache.axis.client.AdminClient deploy.wsdd
Processing file deploy.wsdd
<Admin>Done processing</Admin>
An "AdminClient list" shows my services amongst the others.
However, at this point, the list of deployed web services now only shows "<h2>And now... Some Services</h2>", and when I try and use my service (at http://localhost:8080/axis/EsbAuth) from a client, I get a 404.
If I undeploy the service, the list of pre-deployed web services is displayed correctly again.
Where am I going wrong with my deployment?
Thanks.
PJDM
--
Peter Mayne
Technology Consultant
Spherion Technology Solutions
Level 1, 243 Northbourne Avenue, Lyneham, ACT, 2602
T: 61 2 62689727 F: 61 2 62689777
The information contained in this email and any attachments to it: (a) may be confidential and if you are not the intended recipient, any interference with, use, disclosure or copying of this material is unauthorised and prohibited; and (b) may contain personal information of the recipient and/or the sender as defined under the Privacy Act 1988 (Cth). Consent is hereby given by the recipient(s) to collect, hold and use such information and any personal information contained in a response to this email, for any reasonable purpose in the ordinary course of Spherion's business, including forwarding this email internally or disclosing it to a third party. All personal information collected by Spherion will be handled in accordance with Spherion's Privacy Policy. If you have received this email in error, please notify the sender and delete it. (c) you agree not to employ or arrange employment for any candidate(s) supplied in this email and any attachments without first entering into a contractual agreement with Spherion. You further agree not to divulge any information contained in this document to any person(s) or entities without the express permission of Spherion.
