Title: RE: Problem of AddressBook sample
Yes.  You know what I think the problem is?  I'm just now approaching this from another
angle.  The manual is extremely ambiguous about how to access a service, in particular
what exact url to use for a given service.  Looks like if I use a url like this
 
    http://localhost:8080/axis/servlet/AxisServlet
 
to access the MyService service, it won't be found (unless I play the classpath game
I described before).  I'm about to test, but I believe it may work if I use url:
 
    http://localhost:8080/axis/servlet/AxisServlet/MyService (or whichever service it is)
 
and keep the service classes in their proper place under axis/web-inf/classes/etc/etc/
and also no special classpath for Tomcat on startup.
 
I discovered this by trying to inquire as to the wsdl for various deployed services and
not getting results.  The user guide would be greatly improved if this detail were included.
The problem is that you can run the samples without a -l argument, in which case
you're picking up some default url, and you can't see it in tcpmon because you'd have
to provide an explicit url to use that.  Whew.  I'll let you know in a few minutes.
 
Walden
 
PS - thanks for attention so far :)
-----Original Message-----
From: Volkmann, Mark [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 4:48 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Problem of AddressBook sample

Did you deploy the service by running AdminClient on deploy.wsdd?

> -----Original Message-----
> From: Liu, C.C [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 04, 2002 3:31 PM
> To: '[EMAIL PROTECTED]'
> Subject: Problem of AddressBook sample
>
>
> Hi,
>
> I tried AddressBook in beta1, I generated all java files from
> AddressBook.wsdl by run Wsdl2java,
> compiled and deployed files for server and client on two
> different machines
> without any problem.
> I can access the server from my brower to have WSDL dump via
> http://....../services/CCAddressBook?wsdl
>
> When I run the client program for the test, the server
> responded "The AXIS
> engine could not find
> a target service to invoke! targetService is null."
> I tried to call the server either by "axis/services" or
> "axis/servlet/AxisServlet" and got the same
> failure.
>
> Any hint or fix to this problem is appreciated, the records
> from TCPMON and
> excerption from
> server-config.wsdd are attached for details.
>
>       C.C. Liu
>
>  <<tcpmon.txt>>   <<server-config.txt>>
>
>
>



***************************************************************************************
WARNING: All e-mail sent to and from this address will be received or
otherwise recorded by the A.G. Edwards corporate e-mail system and is
subject to archival, monitoring or review by, and/or disclosure to,
someone other than the recipient.
***************************************************************************************

Reply via email to