[Design of EJB 3.0] - Re: webservices ejb3 api usage
by heiko.braun@jboss.com
anonymous wrote :
| Deployment handling should be done by an intermediate deployer. How
| does the webservice meta data merge with the ejb3 meta data?
|
IMO there is no such thing as dedicated WS metadata. It's all part of the Ejb3 meta data. So this will be handled by whatever component parses the Ejb3 meta data. The WebServiceDeclaration interface addresses this.
You can move it around, deprecate your sources or implement a new metadata representation. Just make sure the interface is offered to WS deployers.
anonymous wrote :
| As for injection. That should have happened before method invocation. I was thinking about a ThreadLocalStack construction which is injected during construction and set during invocation.
|
Right, that makes sense. Let's regard two pieces:
1) a web service invocation (SOAP, hit's jbossws)
2) an endpoint (i.e. EJB3) invocation that derives from 1
Currently the ws invocation model offers a callback (InvocationContexCallback) to access WS injection properties. This is passed on to the StatelessContainer (implements ServiceEndpointContainer). To me the order of injection vs. method invocation is an implementation detail of the EJB3 domain.
If I understand you correctly we speak about dependency injection before the bean becomes method-ready, right?
So I'd say leave ServiceEndpointContainer interface in place and get Ejb3 problems sorted internally. Up to now I don't see why this should affect the WS-EJB3 API in place.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144179#4144179
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144179
16 years, 5 months
[Design of JBoss Web Services] - ConfigurationException:axis.deployment.wsdd.WSDDException
by aneesh62003
WE are having a webservice client in our application.
During the deplyment time we are facing an issue.
Our jboss version is. Jboss 4.02 Rc1
Axis version. Implementation-Version: 1.2RC3 2236 February 28 2005
we have put the jboss-net-client.jar in the lib path from the docs
Now we are getting a Classcastexception while trying to create a call to the webservice.
ExceptionStrackTrace is as shown below.
org.apache.axis.deployment.wsdd.WSDDException: java.lang.ClassCastException
java.lang.ClassCastException
at org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(BaseSerializerFactory.java:261)
at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:341)
at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:520)
at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.java:292)
at org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:359)
at org.apache.axis.MessageContext.getTypeMappingRegistry(MessageContext.java:452)
at org.apache.axis.client.Call.getTypeMapping(Call.java:2156)
at org.apache.axis.client.Call.registerTypeMapping(Call.java:2191)
at org.apache.axis.client.Call.registerTypeMapping(Call.java:2234)
at com.eppsClient.ShowPPCWSBindingStub.createCall(Unknown Source)
at com.eppsClient.ShowPPCWSBindingStub.showPPC(Unknown Source)
at com.eppsClient.ShowPPCWSClient.getBalance(Unknown Source)
at com.epps.FrontController.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:147)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:53)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:743)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:534)
at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:360)
at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:520)
at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.java:292)
at org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:359)
at org.apache.axis.MessageContext.getTypeMappingRegistry(MessageContext.java:452)
at org.apache.axis.client.Call.getTypeMapping(Call.java:2156)
at org.apache.axis.client.Call.registerTypeMapping(Call.java:2191)
at org.apache.axis.client.Call.registerTypeMapping(Call.java:2234)
at com.eppsClient.ShowPPCWSBindingStub.createCall(Unknown Source)
at com.eppsClient.ShowPPCWSBindingStub.showPPC(Unknown Source)
at com.eppsClient.ShowPPCWSClient.getBalance(Unknown Source)
at com.epps.FrontController.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:147)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:53)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:743)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:534)
at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:360)
at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:520)
at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.java:292)
at org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:359)
at org.apache.axis.MessageContext.getTypeMappingRegistry(MessageContext.java:452)
at org.apache.axis.client.Call.getTypeMapping(Call.java:2156)
at org.apache.axis.client.Call.registerTypeMapping(Call.java:2191)
at org.apache.axis.client.Call.registerTypeMapping(Call.java:2234)
at com.eppsClient.ShowPPCWSBindingStub.createCall(Unknown Source)
at com.eppsClient.ShowPPCWSBindingStub.showPPC(Unknown Source)
at com.eppsClient.ShowPPCWSClient.getBalance(Unknown Source)
at com.epps.FrontController.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:147)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:53)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:743)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:534)
2008-04-15 14:00:14,321 ERROR [com.epps.FrontController] PPC Inquiry Unknown Exception
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString: Failure trying to get the Call object; nested exception is:
java.lang.NullPointerException
faultActor:
faultNode:
faultDetail:
Failure trying to get the Call object; nested exception is:
java.lang.NullPointerException
at com.eppsClient.ShowPPCWSBindingStub.createCall(Unknown Source)
at com.eppsClient.ShowPPCWSBindingStub.showPPC(Unknown Source)
at com.eppsClient.ShowPPCWSClient.getBalance(Unknown Source)
Expecting ur help..
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144175#4144175
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144175
16 years, 5 months