Can you invoke methods as a client, James?

----- Original Message ----- 
From: "James Taylor" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, June 09, 2005 9:16 AM
Subject: Re: deploy trouble


Hi,
   well I reinstalled axis to tomcat's webapp folder and was successfully
able
to deploy and undeploy a previous working web service but when I tried to
deploy the listed service's wsdd file I got the same behaviour as before -
adminClient saying everything was fine but the service is not listed and not
in
axis's server-config.wsdd and axis is not showing any errors like
classNotFound
or anything??!!
   This is what my wsdd is like.
   Regards,
           James.

<!-- 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 -->

  <!-- define the logging handler configuration -->
 <handler name="track" type="java:samples.userguide.example4.LogHandler">
  <parameter name="filename" value="MyService.log"/>
 </handler>


  <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:bookFlights"
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.model.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.model.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.model.Booking"
        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:flightList"
        type="java: flightCompany.bookFlights.rpcservice.modelFlightList"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle=""
      />
  </service>
</deployment>



Quoting James Taylor <[EMAIL PROTECTED]>:

> I've tried to undeploy a registered service in axis using the adminClient
and
> it
>  wouldn't work even though it reported back as done. I then removed the
> service
> manually from server-config.wsdd and started axis and it piked up the
change
> but when I tried to redeploy the service axis did not pick it up even
though
> the adminclient said the service was deployed. I again restarted axis
several
> times but could not get the service and looked in server-config.wsdd but
the
> service was not there. How might I resolve this?
>
> 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...
>


--
Between the question and the answer lies free will

Reply via email to