xml-soap-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erich Izdepski" <eizdep...@cysive.com>
Subject RE: Custom types
Date Tue, 25 Jun 2002 14:04:51 GMT
The servlet engine has its own classpath set up by its startup scripts. It
does not use your system classpath (It will use jar files placed in the ext
directory of your jdk installation, though.)

Erich Izdepski
Senior Software Engineer
Cysive, Inc.


-----Original Message-----
From: Ivey, Brian [mailto:iveyb@spawar.navy.mil]
Sent: Tuesday, June 25, 2002 10:00 AM
To: 'soap-user@xml.apache.org'
Subject: RE: Custom types


Thanks! This fixed my problem. However, how is this different than modifying
your classpath to pick these classes up?

-----Original Message-----
From: Erich Izdepski [mailto:eizdepski@cysive.com]
Sent: Tuesday, 25 June 2002 09:42
To: soap-user@xml.apache.org
Subject: RE: Custom types


Put your service classes in the classes directory of your webapp. For
example, D:\jakarta-tomcat-4.0.3\webapps\soap\WEB-INF\classes

Erich Izdepski
Senior Software Engineer
Cysive, Inc.


-----Original Message-----
From: Brian Ivey [mailto:cbivey@comcast.net]
Sent: Monday, June 24, 2002 3:56 PM
To: List - Apache SOAP (User)
Subject: Custom types


If you specify a type mapping in your deployment
descriptor, how do you tell the server environment
where the class file is actually located?

I have deployed a service and when I attempt to
run it I receive this error:
Fault Code   = SOAP-ENV:Client
Fault String = Deployment error in SOAP service 'urn:BasicTradingService':
class name 'javasoap.book.ch5.StockTrade_ServerSide'
could not be resolved: javasoap.book.ch5.StockTrade_ServerSide

BTW, the code is from the O'Reilly book named Java and SOAP.

The SOAP documentation says to:
check that all classes referred to from the deployment descriptor are
available to the server runtime to load

What is the server runtime (soap.jar, catalina.jar, ...)?

I have configured my CLASSPATH to add the class file, but
I am thinking this only makes it available to the client.
Is this accurate?

Tomcat version: 	4.0.3
SOAP version: 	2.3.1
OS:			Windows 2000
JDK:			1.3.1

Thanks,
Brian Ivey

--
To unsubscribe, e-mail:   <mailto:soap-user-unsubscribe@xml.apache.org>
For additional commands, e-mail: <mailto:soap-user-help@xml.apache.org>


--
To unsubscribe, e-mail:   <mailto:soap-user-unsubscribe@xml.apache.org>
For additional commands, e-mail: <mailto:soap-user-help@xml.apache.org>

--
To unsubscribe, e-mail:   <mailto:soap-user-unsubscribe@xml.apache.org>
For additional commands, e-mail: <mailto:soap-user-help@xml.apache.org>


--
To unsubscribe, e-mail:   <mailto:soap-user-unsubscribe@xml.apache.org>
For additional commands, e-mail: <mailto:soap-user-help@xml.apache.org>


Mime
View raw message