axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Taylor <taylo...@tcd.ie>
Subject deploy trouble
Date Mon, 06 Jun 2005 18:27:19 GMT
Hi there,
         I'm trying to deploy a service to axis using the admin client and is
not listed in axis/server-config.wsdd. It seems to deploy and undeploy ok:
axisDeploy:
     [echo] doing deploy task...
     [java] Processing file E:\taylorjwDocs\JavaProjects\Development\WorkingJAX-
RPCmodel\src\flightCompany\bookFlights\rpcservice\deploy.wsdd
     [java] <Admin>Done processing</Admin>
     [echo] Done...

axisDeploy:
     [echo] doing deploy task...
     [java] Processing file E:\taylorjwDocs\JavaProjects\Development\WorkingJAX-
RPCmodel\src\flightCompany\bookFlights\rpcservice\undeploy.wsdd
     [java] <Admin>Done processing</Admin>
     [echo] Done...

...But it does not show up as deployed on axis "View the list of deployed Web
services" link and this link does not complain about anything. Why is this?
thought it would throw an error if not deployed and one tried to undeploy it.

Here's deploy.wsdd

<!-- Use this file to deploy some handlers/chains and services      -->
<!-- Two ways to do this:                                           -->
<!--   java org.apache.axis.client.AdminClient deploy.wsdd          -->
<!--      after the axis server is running                          -->
<!-- or                                                             -->
<!--   java org.apache.axis.utils.Admin client|server deploy.wsdd   -->
<!--      from the same directory that the Axis engine runs         -->

<deployment
    xmlns="http://xml.apache.org/axis/wsdd/"
    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

  <!-- Services from BookFlightsService WSDL service -->

  <service name="BookFlightsSOAPPort" provider="java:RPC" style="document"
use="literal">
      <parameter name="wsdlTargetNamespace"
value="http://ie/tcd/taylorjw/flightbooking/wsdl"/>
      <parameter name="wsdlServiceElement" value="BookFlightsService"/>
      <parameter name="wsdlServicePort" value="BookFlightsSOAPPort"/>
      <parameter name="className"
value="flightCompany.bookFlights.rpcservice.BookFlightsSOAPBindingImpl"/>
      <parameter name="wsdlPortType" value="IBookFlightsPort"/>
      <operation name="bookFlights" qname="bookFlights"
returnQName="retNS:bookFlightsResponse"
xmlns:retNS="http://ie.tcd/taylorjw/flightbooking" returnType="rtns:anyType"
xmlns:rtns="http://www.w3.org/2001/XMLSchema" soapAction="bookFlights" >
        <parameter qname="pns:bookFlightsRequest"
xmlns:pns="http://ie.tcd/taylorjw/flightbooking" type="tns:anyType"
xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
      </operation>
      <parameter name="allowedMethods" value="bookFlights"/>
      <parameter name="scope" value="Session"/>

      <typeMapping
        xmlns:ns="http://ie.tcd/taylorjw/flightbooking"
        qname="ns:Flight"
        type="java: flightCompany.bookFlights.rpcservice.Flight"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://ie.tcd/taylorjw/flightbooking"
        qname="ns:Passenger"
        type="java: flightCompany.bookFlights.rpcservice.Passenger"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://ie.tcd/taylorjw/flightbooking"
        qname="ns:Booking"
        type="java: flightCompany.bookFlights.rpcservice.Booking"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle=""
      />

  </service>
</deployment>


--
Between the question and the answer lies free will

Mime
View raw message