Actually, I think I shot myself in the foot. :-(

I am trying to deploy to a context other than /axis/, but did not tell
the AdminClient that.

Duh! Heheh, oh well, at least it is Friday, right?

I will try again at lunch time and post the results...hopefully this
will save some other poor idiot (like m'self) from making the same
mistake.

Larry

>>> [EMAIL PROTECTED] 09/10/04 8:52 AM >>>
Try putting the jar file (and if that fails... The class files
themselves) with com.mwt.bean.BookInfoResponseType (and other classes
your implementation uses) into
webapps/axis/WEB-INF/classes/<nameofyourwebservice>/
This seems to be the place that axis looks for any and all classes
having to do with web-applications you try to deploy to it.  I haven't
tried it with .jar files, but every time I compile a new version of my
project Ive found that you have to move the new class files in there for
everything to work

Hope this helps
- Peter


-----Original Message-----
From: Larry Meadors [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 10, 2004 8:30 AM
To: [EMAIL PROTECTED]
Subject: Unable to deploy typemapping?

Total newbie here, I will confess that up front.

I am trying to deploy a java-based webservice on axis 1.1, but appear to
have something wrong somewhere.

When I run the admin client, I get this message:

==
Processing file
C:\java\projects\netbeans\mwtvipdao\src\com\dynix\www\schema\book\deploy
.wsdd
Exception:: java.lang.NullPointerException ==

Not too helpfull, that one. But in the catalina logs, I see this:

==
- Unable to deploy typemapping: {GetBookInfoByISBN}BookInfoResponseType
java.lang.ClassNotFoundException: com.mwt.bean.BookInfoResponseType
(then comes a 50-60 line stack trace) ==

That leads me to think that axis is looking somewhere for the
BookInfoResponseType class and not finding it. 

But where? In the war file that I am using for the webservice, there is
a jar in WEB-INF/lib with the BookInfoResponseType class in it.

I googled some, but did not see anything that looked similar (well,
there was one, but it did not ever get answered...).

This is tomcat 5.0.27 on jdk5 with axis 1.1 running on it.

Any hints where I should look for this?

Larry



Reply via email to