Hi,
Set-up: WS impl consisting of 3 methods:
        public Entry[] getEntries(Calendar startDate, Calendar endDate) 
        public Category[] getCategories()
        public Entry[] getEntryOverrides(Calendar startDate, Calendar
endDate) 

On the client-side, Category is a complex object capable of working with xml
trees.

I use ant's axis-java2wsdl to autogenerate the wsdl. To make this work, I
have forced the Category object to be bean-like, i.e. default constructor,
getters/setters and String properties.

This works.

Then, I use ant's axis-wsdl2java to autogenerate the stubs/skeletons
required for the SOAP transport.

This works.

Than I use ant's axis-admin to deploy to tomcat 5.x.

This works.

Problem: Category on the server side is a bean (as expected I guess??!) but
I need to use some of the other "protected" functionality to create the xml
tree to send back to the client. All I get is null as the Bean property is
never set due to all the interesting pieces of code that did all the work
have been stripped out by the wsdl2java task when the bean was created.

Is there a way to use the "interesting" Category class impl on the
server-side by a) including in tomcat classpath (tried to place in
common/lib and it didn't get picked up, forcing axis to send this impl class
but allowing the bean class to be returned.

Please help,
James

-----Original Message-----
From: Sidney Senna [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 02, 2006 2:45 PM
To: axis-user@ws.apache.org
Subject: Tomcat5.5+Axis

Tomcat5.5+Axis

This combination functions correctly?

i have problems with Tomcat5.5+Axis1.0

regards

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to