Re: axis2 impressions

2005-12-15 Thread Rakesh Patel
I also have not found the experience of working with web services and 
apache axis a pleasurable one.


I'm glad my project has been put on hold because the learning curve is 
so steep. Here's a few issues I have had:


1. Initially I started out using the Sun reference implementation and 
installed the extensions to my Sun ONE instance. This had performance 
and memory implications on the server. I switched to Apache Axis instead.
2. The whole arena of web services is compliated because of so many 
changes over so little time. I found a few tutorials on the net but if 
they were in 2002 you never knew if it was the right way to do things now.
3. The Apache axis docs were pretty bad. Its not geared towards learning 
the way to use axis, more a reference. I had no idea how to add axis to 
an existing application. I did it in the end becasue some helpful guy 
had made available a minimal app that you could use to start from on his 
blog (why doesn't the main site provide this?). The 1.3 download has 
docs for 1.2.
4. The touted tool support is a double-edged sword because you need to 
know what they are doing to enable debugging but you don't have enough 
knowledge at a low level. For instance, when i tried the upgrade from 
1.2-->1.3 by replacing the axis jar, my ant tasks failed 
(wsdl2java/java2wsdl) . I had no idea where to begin to solve this.


Overall I'd say that dealing with the underlying servlet code and xml 
libraries would have been easier to use and easier to understand. I feel 
that Apache Axis and maybe even web services in general is 
over-engineered and more compilcated than the alternative implementation 
(dealing with servlets and xml).


Implementation A
1. code a servlet to transfer xml.
2. Use something like JDOM to create/read/update the xml.
3. Use web container functionality such as session timeout, user 
management and ssl. Done it before many times


Implementation B
1. Learn Apache Axis and add to your app.
2. Work out how to use and intergrate the tools into your build process.
3. Learn the myriad ways to do everything such as security and transfer 
modes and rpc and filters and exceptions etcetcetc(and then watch them 
change).


A is easier when you have to get the job done.

Perhaps I'm missing the point. Its when the functionality you need is 
much more advanced that it pays back the approach. However, if it can't 
satisfy simple requirements then i think its a failure becuase no-one is 
going to jump into the complicated stuff when they are first starting out.


Sorry for the rant but i thought I should give some feedback.

Rakesh

Srinath Perera wrote:


Hi Todd;

Are referring to Call/MEPClient API or Generated Stubs. We do not
force you to use the OM* API unless you need XML level support. You
can use the generated Stubs and Client s and work with out seen a
OMElement at all.

Q) are you happy with Axis1.x API? what you had there and missing at Axis2

If it is good architecturally .. we can fix the client API  If only
you can provide constructive comments. Remember lot of developers has
different opinions about it .. some quite opposite.

Tell us

1) Exactly in detail what are the problems?
2) What your expected scenarios .. with example may be
3) Suggestions to how to fix current API

If you do, we can discuss and improve Axis2, if you arguments are
reasonable we love to make the fixes. On the other hand if the Xfire
serve you better please go for it.

If you comment please be constructive ..random opinions do not help anybody!!
Thanks
Srinath

On 12/15/05, Todd Orr <[EMAIL PROTECTED]> wrote:
 


The more I learn about Axis2, the less appealing it is. It seems to be giant
leap backwards. Why is coding using OMElement (and the other OM... objects)
a better approach than deploying a POJO? This is a huge pain. Not to mention
the deployment issues that I've already run into. Based on the documentation
I feel as though Axis2 is a step forward architecturally, but extremely weak
in user friendliness. For this reason I've been finding myself more
interested in XFire. It has many features of Axis2, yet is extremely easy to
create Web services with. Why would the Axis2 team go in this
anti-productivity direction?

   



 



Re: Generating timed token session

2005-12-05 Thread Rakesh Patel
h, I needed this requirement too and I used 
ehcache(http://ehcache.sourceforge.net/) and 
jug(http://jug.safehaus.org/Home).


Jug generates the token on succesful login and is put into a cache which 
expires tokens after a predetermined idle time.


Works well.

Thanks

Rakesh

iksrazal wrote:

err ServiceGroupContext I believe - thanks for the tip. 


iksrazal

Em Sexta 02 Dezembro 2005 21:46, o Davanum Srinivas escreveu:
 


SessionGroupContext
   



 



Dealing with sessions

2005-11-24 Thread Rakesh Patel

Hi,

i've just started to build my first app using web services and Axis.

My business interface has a simple logon method that (if successful) 
returns a token. This token is to be used for subsequent method calls 
(it essentially allows me to have a timed session).


The question I have is that i now need to add an additional parameter 
for this token to each business method call. Is there a way around this?


I'd much prefer to keep my business methods ignorant of the token. In a 
typical web app I have used filters for interception. I'm not sure how i 
could do that with web services.


Thanks

Rakesh




Good example to get going with Axis - adding SOAP to your app

2005-11-22 Thread Rakesh Patel

Hi,

I have to let everyone know, especially those new to Axis, about this blog:

http://cephas.net/blog/soap/index.html

He provides a sample app that has all the hooks to create an app with an 
embedded Axis infrastructure. I found the docs with Axis quite poor on 
this front and being able to download a sample like this one really helps.


Thanks Aaron,

Rakesh


Re: Axis 1.3 on Sun One App Server 8.1

2005-11-21 Thread Rakesh Patel

Hi Vivek,

disabling the security manager isn't a long term solution for me. The 
best i could do was to a simple grant (without the codebase option). 
This gives all apps in the domain the priveliges but since their will be 
only one app i didn't think it was too bad.


Cheers

Rakesh

Vivek Kumar Pandey wrote:


Hi Rakesh,

Thanks for all the help 

With your help , I was able to install Axis on Sun One, though I had 
to disable the security manager


Vivek

Rakesh Patel wrote:


Hi Vivek,

well i got the sample HelloService working.

I had to add use the grant without the codebase parameter. This 
compromises security but it depends on your set up.


Hope that helps

Rakesh

Vivek Kumar Pandey wrote:


Hi everybody,

I am trying to install axis 1.3 on SUN One Application Server 8.1 . 
However I am not able to deploy the war file


Find attached the result of running verifier on the axis.war

with regards
Vivek



 ---
 STATIC VERIFICATION RESULTS
 ---

 --
 NUMBER OF FAILURES/WARNINGS/ERRORS
 --
 # of Failures : 3
# of Warnings : 0
 # of Errors : 0

 -
 RESULTS FOR WEB-RELATED TESTS
 -
 --
 FAILED TESTS :  --
 Test Name : tests.web.WebPublicID
 Test Assertion : The Web deployment descriptor has an expected 
PubidLiteral. Please refer to Java Servlet 2.3 Specification Section 
#SRV.13.2.1 for further information.

 Test Description : For [ axis.war ]
Error: The deployment descriptor for axis does not have an expected 
PubidLiteral.


 Test Name : tests.web.WelcomeFile
 Test Assertion : welcome-file element contains the file name to 
use as a default welcome file.  Test Description : For [ axis.war ]
Error: Welcome file [ index.jws ] is not found within [ axis ] or 
does not contain the file name to use as a default welcome file 
within Web application [ axis ].


 Test Name : tests.web.WebArchiveClassesLoadable
 Test Assertion : All classes in this Web Archive are loadable. 
Please refer to J2EE 1.4 Specification Section #8.1.2 for further 
information.

 Test Description : For [ axis.war ]


classes [ org.apache.xmlbeans.SimpleValue 
org.apache.xmlbeans.SchemaType org.apache.xmlbeans.XmlQName 
org.apache.xmlbeans.impl.values.TypeStore 
org.apache.xmlbeans.XmlNCName ] referenced by [ 
org.xmlsoap.schemas.wsdl.impl.TPartImpl] are not found


classes [ org.apache.xmlbeans.SchemaType 
org.apache.xmlbeans.XmlAnyURI org.apache.xmlbeans.SchemaTypeSystem ] 
referenced by [ org.xmlsoap.schemas.wsdl.soap.TBinding] are not found


classes [ org.apache.xmlbeans.SimpleValue 
org.apache.xmlbeans.SchemaType 
org.apache.xmlbeans.impl.values.TypeStore 
org.apache.xmlbeans.XmlNCName ] referenced by [ 
org.xmlsoap.schemas.wsdl.soap.impl.TFaultImpl] are not found


classes [ org.apache.xmlbeans.SimpleValue 
org.apache.xmlbeans.SchemaType org.apache.xmlbeans.XmlAnyURI 
org.apache.xmlbeans.impl.values.TypeStore ] referenced by [ 
org.xmlsoap.schemas.wsdl.soap.impl.TBindingImpl] are not found


classes [ org.apache.xmlbeans.xml.stream.XMLStreamException 
org.apache.xmlbeans.XmlException org.apache.xmlbeans.XmlBeans 
javax.xml.stream.XMLStreamReader 
org.apache.xmlbeans.xml.stream.XMLInputStream 
org.apache.xmlbeans.SchemaTypeLoader org.apache.xmlbeans.XmlOptions 
] referenced by [ 
org.xmlsoap.schemas.wsdl.soap.BodyDocument$Factory] are not found


classes [ org.apache.xmlbeans.SchemaTypeSystem 
org.apache.xmlbeans.XmlNCName org.apache.xmlbeans.SchemaType 
org.apache.xmlbeans.XmlAnyURI ] referenced by [ 
org.xmlsoap.schemas.wsdl.TDefinitions] are not found


classes [ org.apache.xmlbeans.xml.stream.XMLStreamException 
org.apache.xmlbeans.XmlException org.apache.xmlbeans.XmlBeans 
javax.xml.stream.XMLStreamReader 
org.apache.xmlbeans.xml.stream.XMLInputStream 
org.apache.xmlbeans.SchemaTypeLoader org.apache.xmlbeans.XmlOptions 
] referenced by [ 
org.xmlsoap.schemas.wsdl.TExtensibilityElement$Factory] are not found


classes [ org.apache.xmlbeans.SchemaType 
org.apache.xmlbeans.XmlQName org.apache.xmlbeans.SchemaTypeSystem 
org.apache.xmlbeans.XmlNCName ] referenced by [ 
org.xmlsoap.schemas.wsdl.TFault] are not found


classes [ org.apache.xmlbeans.QNameSet 
org.apache.xmlbeans.XmlObject$Factory org.apache.xmlbeans.SchemaType 
org.apache.xmlbeans.XmlObject org.apache.xmlbeans.XmlOptions ] 
referenced by [ 
org.apache.axis.encoding.ser.xbeans.XmlBeanDeserializer] are not found


classes [ org.apache.xmlbeans.SimpleValue 
org.apache.xmlbeans.SchemaType 
org.apache.xmlbeans.impl.values.TypeStore 
org.apache.xmlbeans.XmlNCName ] referenced by [ 
org.xmlsoap.schemas.wsdl.impl.TBindingOperationMessageImpl] are not 
found


classes [ org.apache.xmlbeans.SchemaType 
org.apache.xmlbeans.

Documentation for 1.3

2005-11-18 Thread Rakesh Patel

Hi,

I downloaded Axis 1.3 final but the included docs are for 1.2.

I am going through the user guide and need to know if there's any 
differences i need to know about or is the move from 1.2 to 1.3 under 
the covers?


Thanks

Rakesh


Re: Axis 1.3 on Sun One App Server 8.1

2005-11-18 Thread Rakesh Patel

Hi Vivek,

well i got the sample HelloService working.

I had to add use the grant without the codebase parameter. This 
compromises security but it depends on your set up.


Hope that helps

Rakesh

Vivek Kumar Pandey wrote:


Hi everybody,

I am trying to install axis 1.3 on SUN One Application Server 8.1 . 
However I am not able to deploy the war file


Find attached the result of running verifier on the axis.war

with regards
Vivek



 ---
 STATIC VERIFICATION RESULTS
 ---


 --

 NUMBER OF FAILURES/WARNINGS/ERRORS
 --
 # of Failures : 3
# of Warnings : 0
 # of Errors : 0

 -
 RESULTS FOR WEB-RELATED TESTS
 -

 --

 FAILED TESTS :  --

 Test Name : tests.web.WebPublicID
 Test Assertion : The Web deployment descriptor has an expected 
PubidLiteral. Please refer to Java Servlet 2.3 Specification Section 
#SRV.13.2.1 for further information.

 Test Description : For [ axis.war ]
Error: The deployment descriptor for axis does not have an expected 
PubidLiteral.


 Test Name : tests.web.WelcomeFile
 Test Assertion : welcome-file element contains the file name to 
use as a default welcome file.  Test Description : For [ axis.war ]
Error: Welcome file [ index.jws ] is not found within [ axis ] or does 
not contain the file name to use as a default welcome file within Web 
application [ axis ].


 Test Name : tests.web.WebArchiveClassesLoadable
 Test Assertion : All classes in this Web Archive are loadable. 
Please refer to J2EE 1.4 Specification Section #8.1.2 for further 
information.

 Test Description : For [ axis.war ]


classes [ org.apache.xmlbeans.SimpleValue 
org.apache.xmlbeans.SchemaType org.apache.xmlbeans.XmlQName 
org.apache.xmlbeans.impl.values.TypeStore 
org.apache.xmlbeans.XmlNCName ] referenced by [ 
org.xmlsoap.schemas.wsdl.impl.TPartImpl] are not found


classes [ org.apache.xmlbeans.SchemaType org.apache.xmlbeans.XmlAnyURI 
org.apache.xmlbeans.SchemaTypeSystem ] referenced by [ 
org.xmlsoap.schemas.wsdl.soap.TBinding] are not found


classes [ org.apache.xmlbeans.SimpleValue 
org.apache.xmlbeans.SchemaType 
org.apache.xmlbeans.impl.values.TypeStore 
org.apache.xmlbeans.XmlNCName ] referenced by [ 
org.xmlsoap.schemas.wsdl.soap.impl.TFaultImpl] are not found


classes [ org.apache.xmlbeans.SimpleValue 
org.apache.xmlbeans.SchemaType org.apache.xmlbeans.XmlAnyURI 
org.apache.xmlbeans.impl.values.TypeStore ] referenced by [ 
org.xmlsoap.schemas.wsdl.soap.impl.TBindingImpl] are not found


classes [ org.apache.xmlbeans.xml.stream.XMLStreamException 
org.apache.xmlbeans.XmlException org.apache.xmlbeans.XmlBeans 
javax.xml.stream.XMLStreamReader 
org.apache.xmlbeans.xml.stream.XMLInputStream 
org.apache.xmlbeans.SchemaTypeLoader org.apache.xmlbeans.XmlOptions ] 
referenced by [ org.xmlsoap.schemas.wsdl.soap.BodyDocument$Factory] 
are not found


classes [ org.apache.xmlbeans.SchemaTypeSystem 
org.apache.xmlbeans.XmlNCName org.apache.xmlbeans.SchemaType 
org.apache.xmlbeans.XmlAnyURI ] referenced by [ 
org.xmlsoap.schemas.wsdl.TDefinitions] are not found


classes [ org.apache.xmlbeans.xml.stream.XMLStreamException 
org.apache.xmlbeans.XmlException org.apache.xmlbeans.XmlBeans 
javax.xml.stream.XMLStreamReader 
org.apache.xmlbeans.xml.stream.XMLInputStream 
org.apache.xmlbeans.SchemaTypeLoader org.apache.xmlbeans.XmlOptions ] 
referenced by [ 
org.xmlsoap.schemas.wsdl.TExtensibilityElement$Factory] are not found


classes [ org.apache.xmlbeans.SchemaType org.apache.xmlbeans.XmlQName 
org.apache.xmlbeans.SchemaTypeSystem org.apache.xmlbeans.XmlNCName ] 
referenced by [ org.xmlsoap.schemas.wsdl.TFault] are not found


classes [ org.apache.xmlbeans.QNameSet 
org.apache.xmlbeans.XmlObject$Factory org.apache.xmlbeans.SchemaType 
org.apache.xmlbeans.XmlObject org.apache.xmlbeans.XmlOptions ] 
referenced by [ 
org.apache.axis.encoding.ser.xbeans.XmlBeanDeserializer] are not found


classes [ org.apache.xmlbeans.SimpleValue 
org.apache.xmlbeans.SchemaType 
org.apache.xmlbeans.impl.values.TypeStore 
org.apache.xmlbeans.XmlNCName ] referenced by [ 
org.xmlsoap.schemas.wsdl.impl.TBindingOperationMessageImpl] are not found


classes [ org.apache.xmlbeans.SchemaType 
org.apache.xmlbeans.XmlBoolean org.apache.xmlbeans.SchemaTypeSystem 
org.apache.xmlbeans.XmlObject ] referenced by [ 
org.xmlsoap.schemas.wsdl.TExtensibilityElement] are not found


classes [ org.apache.commons.httpclient.HttpMethodBase ] referenced by 
[ 
org.apache.axis.transport.http.CommonsHTTPSender$GzipMessageRequestEntity] 
are not found


classes [ org.apache.xmlbeans.xml.stream.XMLStreamException 
org.apache.xmlbeans.XmlException org.apache.xmlbeans.XmlBeans 
javax.xml.stream.XMLStreamReader 
org.apache.xmlbeans.xm

Re: Axis 1.3 on Sun One App Server 8.1

2005-11-18 Thread Rakesh Patel

Hi Vivek,

I am also trying to get Axis(1.3) working on Sun AS 8.1(Win2k).

There's a useful document here which i used:

http://access1.sun.com/techarticles/using_axis.html

I've added the security permissions but still got the same security 
error. When I disabled the security manager in the app server, it works.


My next task is to keep tweaking the server.policy file and try and use 
the deploy tool.


Will give feedback if i make progress, otherwise i will post to the Sun 
Appserver forums.


Thanks

Rakesh

Vivek Kumar Pandey wrote:


Hi everybody,

I am trying to install axis 1.3 on SUN One Application Server 8.1 . 
However I am not able to deploy the war file


Find attached the result of running verifier on the axis.war

with regards
Vivek



 ---
 STATIC VERIFICATION RESULTS
 ---


 --

 NUMBER OF FAILURES/WARNINGS/ERRORS
 --
 # of Failures : 3
# of Warnings : 0
 # of Errors : 0

 -
 RESULTS FOR WEB-RELATED TESTS
 -

 --

 FAILED TESTS :  --

 Test Name : tests.web.WebPublicID
 Test Assertion : The Web deployment descriptor has an expected 
PubidLiteral. Please refer to Java Servlet 2.3 Specification Section 
#SRV.13.2.1 for further information.

 Test Description : For [ axis.war ]
Error: The deployment descriptor for axis does not have an expected 
PubidLiteral.


 Test Name : tests.web.WelcomeFile
 Test Assertion : welcome-file element contains the file name to 
use as a default welcome file.  Test Description : For [ axis.war ]
Error: Welcome file [ index.jws ] is not found within [ axis ] or does 
not contain the file name to use as a default welcome file within Web 
application [ axis ].


 Test Name : tests.web.WebArchiveClassesLoadable
 Test Assertion : All classes in this Web Archive are loadable. 
Please refer to J2EE 1.4 Specification Section #8.1.2 for further 
information.

 Test Description : For [ axis.war ]


classes [ org.apache.xmlbeans.SimpleValue 
org.apache.xmlbeans.SchemaType org.apache.xmlbeans.XmlQName 
org.apache.xmlbeans.impl.values.TypeStore 
org.apache.xmlbeans.XmlNCName ] referenced by [ 
org.xmlsoap.schemas.wsdl.impl.TPartImpl] are not found


classes [ org.apache.xmlbeans.SchemaType org.apache.xmlbeans.XmlAnyURI 
org.apache.xmlbeans.SchemaTypeSystem ] referenced by [ 
org.xmlsoap.schemas.wsdl.soap.TBinding] are not found


classes [ org.apache.xmlbeans.SimpleValue 
org.apache.xmlbeans.SchemaType 
org.apache.xmlbeans.impl.values.TypeStore 
org.apache.xmlbeans.XmlNCName ] referenced by [ 
org.xmlsoap.schemas.wsdl.soap.impl.TFaultImpl] are not found


classes [ org.apache.xmlbeans.SimpleValue 
org.apache.xmlbeans.SchemaType org.apache.xmlbeans.XmlAnyURI 
org.apache.xmlbeans.impl.values.TypeStore ] referenced by [ 
org.xmlsoap.schemas.wsdl.soap.impl.TBindingImpl] are not found


classes [ org.apache.xmlbeans.xml.stream.XMLStreamException 
org.apache.xmlbeans.XmlException org.apache.xmlbeans.XmlBeans 
javax.xml.stream.XMLStreamReader 
org.apache.xmlbeans.xml.stream.XMLInputStream 
org.apache.xmlbeans.SchemaTypeLoader org.apache.xmlbeans.XmlOptions ] 
referenced by [ org.xmlsoap.schemas.wsdl.soap.BodyDocument$Factory] 
are not found


classes [ org.apache.xmlbeans.SchemaTypeSystem 
org.apache.xmlbeans.XmlNCName org.apache.xmlbeans.SchemaType 
org.apache.xmlbeans.XmlAnyURI ] referenced by [ 
org.xmlsoap.schemas.wsdl.TDefinitions] are not found


classes [ org.apache.xmlbeans.xml.stream.XMLStreamException 
org.apache.xmlbeans.XmlException org.apache.xmlbeans.XmlBeans 
javax.xml.stream.XMLStreamReader 
org.apache.xmlbeans.xml.stream.XMLInputStream 
org.apache.xmlbeans.SchemaTypeLoader org.apache.xmlbeans.XmlOptions ] 
referenced by [ 
org.xmlsoap.schemas.wsdl.TExtensibilityElement$Factory] are not found


classes [ org.apache.xmlbeans.SchemaType org.apache.xmlbeans.XmlQName 
org.apache.xmlbeans.SchemaTypeSystem org.apache.xmlbeans.XmlNCName ] 
referenced by [ org.xmlsoap.schemas.wsdl.TFault] are not found


classes [ org.apache.xmlbeans.QNameSet 
org.apache.xmlbeans.XmlObject$Factory org.apache.xmlbeans.SchemaType 
org.apache.xmlbeans.XmlObject org.apache.xmlbeans.XmlOptions ] 
referenced by [ 
org.apache.axis.encoding.ser.xbeans.XmlBeanDeserializer] are not found


classes [ org.apache.xmlbeans.SimpleValue 
org.apache.xmlbeans.SchemaType 
org.apache.xmlbeans.impl.values.TypeStore 
org.apache.xmlbeans.XmlNCName ] referenced by [ 
org.xmlsoap.schemas.wsdl.impl.TBindingOperationMessageImpl] are not found


classes [ org.apache.xmlbeans.SchemaType 
org.apache.xmlbeans.XmlBoolean org.apache.xmlbeans.SchemaTypeSystem 
org.apache.xmlbeans.XmlObject ] referenced by [ 
org.xmlsoap.schemas.wsdl.TExtensibilityElement] are not found


classes [ org.apache.common

Problems installing on Sun 8

2005-11-17 Thread Rakesh Patel

Hi,

just starting out with Axis and already running into difficulties. These 
forums must contain the anser but they are not easily searchable because 
their is a limit to the length of the search string (i believe).


Anyway, I am using Sun AS 8.1 on Win2k. There is no ready to deploy war 
with the distribution (I have downloaded 1.2 and 1.3).


Sun 8 has the ability to deploy a directory rather than a war file so I 
tried that. It fails though because of a permission problem. I did find 
a thread talking about adding permissions to server.policy file but it 
doesn't work.


Here's the error stack and the policy entry:

[#|2005-11-17T15:02:42.312+|SEVERE|sun-appserver-pe8.1_01|javax.enterprise.system.container.web|_ThreadID=12;|WebModule[/axis]Error 
configuring application listener of class 
org.apache.axis.transport.http.AxisHTTPSessionListener

java.lang.ExceptionInInitializerError
   at org.apache.commons.discovery.jdk.JDKHooks.(JDKHooks.java:75)
   at 
org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:412)
   at 
org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:378)
   at 
org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45)

   at java.security.AccessController.doPrivileged(Native Method)
   at 
org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41)
   at 
org.apache.axis.components.logger.LogFactory.(LogFactory.java:33)
   at 
org.apache.axis.transport.http.AxisHTTPSessionListener.(AxisHTTPSessionListener.java:33)

   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
   at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

   at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
   at java.lang.Class.newInstance0(Class.java:308)
   at java.lang.Class.newInstance(Class.java:261)
   at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3959)
   at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4522)

   at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
   at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:827)
   at 
org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:125)
   at 
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:147)

   at java.security.AccessController.doPrivileged(Native Method)
   at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:809)

   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
   at 
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1279)
   at 
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1006)
   at 
com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:160)
   at 
com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:238)
   at 
com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:918)
   at 
com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:905)
   at 
com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:427)
   at 
com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
   at 
com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
   at 
com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
   at 
com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:258)
   at 
com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:87)
   at 
com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
   at 
com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
   at 
com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:361)
   at 
com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:396)
   at 
com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:702)

   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

   at java.lang.reflect.Method.invoke(Method.java:324)
   at 
com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:302)
   at 
com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMB

Unit testing and TDD

2005-11-11 Thread Rakesh Patel

Hi,

would be grateful if anybody has guidelines on how to do unit testing 
and TDD with Web Services.


Thanks

Rakesh