Have you checked your server-config.wsdd if your service is there. When you
deploy your service you can see a new service part with.:

<service name=" BookFlightsSOAPPort" provider="java:RPC" ....>
</service> 


But I'am not sure if this is the problem.

Regards
Ferruh



-----Urspr�ngliche Nachricht-----
Von: James Taylor [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 6. Juni 2005 20:51
An: [email protected]
Betreff: Fwd: deploy trouble


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>

Reply via email to