I knew I was in trouble.

Axis Installation

Step 0 Through Step 4 All ok.  Happy Axis had all it "needed" only
"missing" was the security, xmlsec.jar...no problem.

Version and EchoHeaders both worked peachy.

Step 3...;-)  
Very funny...the next step should be simple...and it should be Step
5....very funny.

I see the \axis\WEB-INF\classes\  cool!

I see the \samples\* and all the .class files for all the samples in the
distribution...I'm thinking, yes this "should be simple".

I remember from Step 4 I viewed the deployed services and none of these
samples showed....but that probably means there is an example of how to
deploy these existing samples already put into the classes, I just need
to read further.

Ok here we go Step 6

"Locate the deployment descriptor for your service and execute the
following command:"

Hmmm....from Step 3/5 it says, "In this directory, copy the compiled
java classes you wish to install, being careful to preserve the
directory structure of the java packages. "  Ok, the \samples\*\*.class
files are already there but no .wsdd files and they aren't listed as
deployed.

Since someone went to all the trouble to write all those "samples"
wouldn't it make sense to include a specific example of deploying even
ONE of those?

Ok dig further.

"should be simple" not!

Looking at the command example in Step 6 and looking at the
distribution, I guess that I must go to the \samples\*\*.wsdd directory
for one of these samples and run that command...ok that fits with the
"Locate..." instruction so I am just stupid...and didn't make that
connection on first read.

So I go to the \samples\message\ where I find the deploy.wsdd

"Here we go!" I say to myself.

java org.apache.axis.client.AdminClient 
-lhttp://localhost:8080/axis/services/AdminService deploy.wsdd

Exception in thread "main" java.lang.NoClassDefFoundError:
javax/servlet/ServletContext....ok back to the classpath.

- Processing file deploy.wsdd
- <Admin>Done processing</Admin>

Oh Baby!

Then a quick read of the \samples\message\readme

And 

java samples.message.TestMsg

...NoClassDefFoundError....hmmm back to classpath for the ubiquitous 
(.;..;)

OK! Hello World

Do I dare...things are going so well, and Step 7 Testing could prove the
bad end of the story.

Step 7

Deployed \samples\stock\deploy.wsdd just like above, then

java samples.stock.GetQuote
-lhttp://localhost:8080/axis/servlets/AxisServlet -uuser1 -wpass1 XXX

XXX: 55.25, Yes!  We have Liftoff, Houston we DON'T have a PROBLEM, well
Axis is ok, the Installation Guide sucks, but that's ok, I won't be
reading that again...;-)>

Still unclear whether I must copy the classes first then deploy or if
the deploy copies the classes for me....seems like if I were deploying
to remote machine the AdminClient should copy the classes for me
too....oh well quit while you are a head, java head that is, OOP junky,
X Generation.  Let's see what will Ant do for me...;-)

Michael Oliver
AppsAsPeers LLC
7391 S. Bullrider Ave.
Tucson, AZ 85747
Phone:(520)574-1150
Fax:(520)844-1036

-----Original Message-----
From: Vidyanand Murunikkara [mailto:Vidyanand@;infravio.com] 
Sent: Tuesday, November 12, 2002 11:11 AM
To: [EMAIL PROTECTED]
Subject: RE: resources m$_interop service_parameters

Hi Oliver

For 3 check out this
http://marc.theaimsgroup.com/?l=axis-user&m=103670473018220&w=2 and
follow the thread for pro's and con's

Vidyanand.

-----Original Message-----
From: Olivier Fauchon [mailto:olivier@;labocom.com]
Sent: Tuesday, November 12, 2002 2:06 AM
To: [EMAIL PROTECTED]
Subject: resources m$_interop service_parameters


Hi,

It seems this M.L. is the best source of  informations over the net ..
I'm new to SOAP/AXIS/this ML, so please excuse me for the following 
stupid questions :-)

1. Resources

I'm looking for detailed case study of services using custom 
types/javabean , from AXIS server to MS SOAP Toolkit clients .
If someone has urls ... thx

2. MS Clients.

I have to code excel macros that get informations from my AXIS server 
(i'm not M$ addict, but customers are).
I had a little attempt, which was successfull...
But to retreive my datas on the MS Client using MS SOAP Toolkit 3, i had

to parse DOM result (to get back my custom types)

I guess (hope) there's a simpler way to directly get my objects on the 
client (i would like to get my custom types).
So if someone is experienced, please give me more detailed informations.

3.  Services Parameters

There was some thread on  passing parameters to services ... from that i

 add the following line :

 <service name="BaseService" provider="java:RPC">
  <parameter name="hereismyparameter" value="itsvalue"/>                
<!--   THIS IS THE PARAM I WANT TO USE -->
  <parameter name="allowedMethods" value="*"/>
  <parameter name="className" 
value="com.labocom.apps.basegeneric.export.soap.v1.BaseService"/>
  <namespace>http://www.labocom.com/BaseService</namespace>
 </service>

... My question is ... how do i get the parameter from within the 
published class "BaseService" ... as this class don't even extends 
anything (like
servlet would do ) ...


Thanks a lot

Olivier Fauchon
Labocom Informatique
labocom.com












Reply via email to