Hi there,

Thanks for the reply, but I'm still confused. Here is my 
deploy.wsdd file:

<deployment xmlns="http://xml.apache.org/axis/wsdd/";
    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
  <service name="Family" provider="java:RPC">
    <parameter name="className" value="disney.dis.family.Family"/>
    <parameter name="allowedMethods" value="*"/>
  </service>
</deployment>


The name "Family" is the name of my class that's the entry point
of the code. 

But, when I generate the client side WSDL file, the service name
is "FamilyService".  Seems the Java2WSDL tool is tacking on the
"Service" part. 

When I deploy, the client can't find the class and gets exceptions.

I did this:

$ java org.apache.axis.wsdl.Java2WSDL -client -l \
  http://10.196.130.245:8080/axis/services/FamilyService \
  disney.dis.family.Family

I also tried specifying  "FamilyService" for the "-l" option to
tell it the location URI of the web service. 

In the WSDD file "FamilyService" is always generated here,
which is at the very bottom of the WSDD file:

   <wsdl:service name="FamilyService">
      <wsdl:port binding="impl:FamilyServiceSoapBinding" 
                 name="FamilyService">
         <wsdlsoap:address 
     location="http://10.196.130.245:8080/axis/services/FamilyService"/>
      </wsdl:port>
   </wsdl:service>


I'm lost.  Here is the output from the client side from the guy 
trying to call the service:


*** Outgoing HTTP headers *************************************
POST /axis/services/FamilyService HTTP/1.0
Host: 10.196.130.245:8080
User-agent: SOAPpy 0.11.6 (http://pywebsvcs.sf.net)
Content-type: text/xml; charset="UTF-8"
Content-length: 378
SOAPAction: "login"
***************************************************************
*** Outgoing SOAP *********************************************
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";>
<SOAP-ENV:Body>
<ns1:login xmlns:ns1="http://family.dis.disney"; SOAP-ENC:root="1">
</ns1:login>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
****************************************************************
*** Incoming HTTP headers **************************************
TTP/1.? 500 Internal Server Error
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=utf-8
Date: Fri, 10 Mar 2006 20:04:46 GMT
Connection: close
****************************************************************
*** Incoming SOAP **********************************************
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
 <soapenv:Body>
  <soapenv:Fault>
   <faultcode
xmlns:ns1="http://xml.apache.org/axis/";>ns1:Server.NoService</faultcode>
   <faultstring>The AXIS engine could not find a target service to
invoke!  targetService is FamilyService</faultstring>
   <detail>
    <ns2:hostname
xmlns:ns2="http://xml.apache.org/axis/";>NH-VPIROUMI-DT1</ns2:hostname>
   </detail>
  </soapenv:Fault>
 </soapenv:Body>
</soapenv:Envelope>
***************************************************************



Thanks much,

Vartan





--- "Pujari, Ashish (CONT)" <[EMAIL PROTECTED]> wrote:

> I modified an exisiting WSDD file which I felt was the quickest way to
> get it running. Please ensure you have  <typeMapping> entries for
> complex objects.
>  
>  
>  
>  -----Original Message-----
> From: Rhimbo [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 09, 2006 2:49 PM
> To: Axis users
> Subject: Don't understand how to deploy my web service
> 
> 
> 
>       Hi all,
>       
>       Sorry if my question is similar to others. I haven't found my
> answer quite yet.
>       
>       I developed a Java file to define my web service. I ran
> Java2WSDL and created a WSDL file. Now I am having trouble deploying
> it.
>       
>       I've been reading the AXIS user's guide but am very confused. I
> cannot use the .jws method to deploy a simpel web service.
>       
>       First question: what is the simplest alternative? Do I need to
> generate a WSDD file? 
>       
>       Second question: how do I do this? I ran the WSDL2Java command
> and it generated a bunch of files in a DefaultNamespace directory. 
>       
>       Is this the right approach? What do I do with these files? 
>       
>       I noticed that the .java files generated by the WSDL2Java
> command contain interfaces that extend java.rmi.Remote. My original
> Java
> source that I wrote does not extend Remote. Is this a problem?
>       
>       I'm very confused. 
>       
>       Many thanks.
>       
>       
>       
> 
>       
> ________________________________
> 
>       Yahoo! Mail
>       Bring photos to life! New PhotoMail
>
<http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=39174/*http://photomail
> .mail.yahoo.com> makes sharing a breeze. 
> 
> 
> 
> 
> The information contained in this e-mail is confidential and/or
> proprietary
> to Capital One and/or its affiliates. The information transmitted
> herewith
> is intended only for use by the individual or entity to which it is 
> addressed.  If the reader of this message is not the intended
> recipient, 
> you are hereby notified that any review, retransmission, dissemination,
> 
> distribution, copying or other use of, or taking of any action in
> reliance 
> upon this information is strictly prohibited. If you have received this
> 
> communication in error, please contact the sender and delete the
> material 
> from your computer.
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to