help deploying a test application

i am using SUN Application server

and using Deployment tool

i created 2 class

and a new web services server project ...

when i am tring to depploy my test appliction to the server i am getting this error...

(the error is from the server.log file)

[#|2006-07-06T18:16:45.703+0300|SEVERE|sun-appserver-pe8.2|javax.enterprise.sys tem.tools.deployment|_ThreadID=49;|Exception occured in J2EEC Phase

com.sun.enterprise.deployment.backend.IASDeploymentException: Error while running ejbc -- Fatal Error from EJB Compiler -- jaxrpc compilation exception

at com.sun.enterprise.webservice.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.ja va:211)

at com.sun.enterprise.deployment.WebBundleDescriptor.visit(WebBundleDescriptor.jav a:1101)

at com.sun.enterprise.deployment.Application.visit(Application.java:1346)

at com.sun.enterprise.webservice.codegen.JaxRpcRICodegen.run(JaxRpcRICodegen.java: 107)

at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:786)

at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:563)

at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployModule(EJBCompiler.j ava:428)

at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:213)

at com.sun.enterprise.deployment.backend.ModuleDeployer.runEJBC(ModuleDeployer.jav a:1027)

at com.sun.enterprise.deployment.backend.WebModuleDeployer.deploy(WebModuleDeploye r.java:194)

at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDepl oyer.java:138)

at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:148)

at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPh ase.java:71)

at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeplo ymentService.java:639)

at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentSe rvice.java:188)

at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentSe rvice.java:520)

at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:139)

at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:168)

thnanks shay

[2283 byte] By [shay_te] at [2007-11-26 8:31:41]
# 1

We need more information. Which version of the app server are you using, 8.X or 9.0 ?

If you are using 9.0, you are trying a JAXWS based service or a JAXRPC based service ?

More info on the endpoint class as well as deployment descriptors (if any) will be required to be able to debug this

thanks

vijaysr1 at 2007-7-6 21:54:21 > top of Java-index,Application & Integration Servers,Application Servers...
# 2

i was using app server 8.2 and used the deploytool for 2 day

and i realised that the deploy tool wond create the class that wsget will create

so i was abke to deploy the web service but cant get access to it...

after that i switch to app server 9

and do it manulay (wsget ,wsimport)

and i was able to create a simple web service at last..

i need a way to transfer my own object and dont know how to do it...

thanks

shay_te at 2007-7-6 21:54:21 > top of Java-index,Application & Integration Servers,Application Servers...
# 3

> after that i switch to app server 9

> and do it manulay (wsget ,wsimport)

> and i was able to create a simple web service at

> last..

If you are using 9.0, then I would encourage you to look at JAXWS technology and use of web service annotations which makes the life of a developer very easy. If you use annotated webservices, you do not have to run wsgen etc at all ... the app server will do it for you. Check my blog : http://blogs.sun.com/vijaysr

> > i need a way to transfer my own object and dont know

> how to do it...

You mean you have a service that has some value object as parameter or return type ? No problems - if you starts your service from JAVA and let the app server create WSDL, schema etc - this will take care of automatically for you.

Check out the blog and other JAXWS related tech tips that have been published.

http://blogs.sun.com/roller/page/theaquarium will also be helpful

vijaysr1 at 2007-7-6 21:54:21 > top of Java-index,Application & Integration Servers,Application Servers...
# 4

ok..

i finally made it... google google goolge :)

but i have another question.

after generating an client stub files

i will like to show the complex data recived from my web service

in a jtable or jtree that have a custom renderer editor and a model

client stubs need to be regenerated in each small change in my web service

so if i provide the client stub complex type as a data to my tree/table

any change in the web sewrvice will make me the change my tree/table code

i see another way and it's copying the data from a stub data object

to another object that will be used by the tree or table

this is sound like a bad solution

any better way to deal with it?

thanks

shay

shay_te at 2007-7-6 21:54:21 > top of Java-index,Application & Integration Servers,Application Servers...