Hi all,

Many things that I have changed, and right now I have another error message.
I put my ReturnFlight.class in the common/class from Tomcat, so the error
that it did not find my ReturnFlight is finished. 

Also I changed my deploy.wsdd to: 
<deployment xmlns="http://xml.apache.org/axis/wsdd/";
   xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
 <service name="Flight" provider="java:RPC">
  <parameter name="className" value="Flight"/>
  <parameter name="allowedMethods" value="*"/>
  <beanMapping qname="myNS:ReturnFlight" xmlns:myNS="urn:Flight" 
                           languageSpecificType="java:ReturnFlight"/> 
 </service>
</deployment>

And when I upload Tomcat server, it is already uploaded together...I thought
that because I can execute my service like:
http://localhost:8080/axis/services/Flight
And it finds my service Flight. 

After that, I have tried to run my client application. I've changed this
line:
Service  service = new Service();
Call     call    = (Call) service.createCall();
QName qn = new QName("urn:Flight","ReturnFlight");
call.registerTypeMapping(ReturnFlight.class, qn,
          new
org.apache.axis.encoding.ser.BeanSerializerFactory(ReturnFlight.class, qn),

          new
org.apache.axis.encoding.ser.BeanDeserializerFactory(ReturnFlight.class,
qn)); 

But I received an error message telling me that:
Exception in thread "main" AxisFault
 faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
 faultSubcode:
 faultString: Couldn't find an appropriate operation for XML QName
findFlight
 faultActor:
 faultNode:
 faultDetail:
        {http://xml.apache.org/axis/}stackTrace:AxisFault
 faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
 faultSubcode:
 faultString: Couldn't find an appropriate operation for XML QName
findFlight

The findFlight is actually my method that I have in Flight.class...what else
I must do?

Thank you very much...
Daniela 

Reply via email to