Yes, I am exporting A EJB stateless session as a web service, and I want to
intercept the web service call. I tried calling session using EJB interface but
this too did not work for me.
please advise.
View the original post :
So, following the example I provided, you probably have not got the information
correct in your jboss.xml
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4050834#4050834
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4050834
There are all my source code. Please take some to go through them and help me
solve the issue.
The MetadataBean.class (Session bean):
==
package com.presentation.beans;
public class MetadataBean implements SessionBean
{
public String insert(String aMetadataName,
You are missing configuration-name in your session entry in jboss.xml as shown
in my example
Once you have got the xml right you will find that your class will fail to
deply. This has nothing to do with AOP anymore, it is pure JBoss EJB 2
container stuff, and so you don't need a jboss-aop.xml
Could some one go through the code snippets in update#1 and let me know why the
web service calls are not getting intercepted.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4049968#4049968
Reply to the post :
If I understand correctly, you are exporting a EJB stateless session as a web
service, is that right?
If yes, try callling your session using the EJB interface, so we can see if the
session is being intercepted. If the interception does not occur using a normal
EJB client, probably there is
Thanks for the previous update..The logs, now do not show any such error
messages.
But, even now the web service calls are not getting intercepted as how servlet
resquests are intercepted by the filters mentioned in web.xml. please advise
how to make the ejb-web service calls to get
I don't understand the question
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4049327#4049327
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4049327
___
jboss-user mailing list
Basically, i wanted to know what am I missing the code (mentioned in the
Update#1) because the web service calls are not getting intercepted even now.
please help
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4049344#4049344
Reply to the post :
How would you create new container configuration with extra interceptors ? Does
this means that i cannot use the containes instance in which i am running my
application to intercept the web service calls. please let me know how to do
this ?
Divya
View the original post :
You deploy a META-INF/jboss.xml in your ejb jar. For example:
| jboss
|enterprise-beans
| session
| ejb-nameMyBean/ejb-name!-- Must match name of bean in
ejb-jar.xml --
| configuration-nameMy Special Config/configuration-name
| /session
|
You deploy a META-INF/jboss.xml in your ejb jar. For example:
| jboss
|enterprise-beans
| session
| ejb-nameMyBean/ejb-name!-- Must match name of bean in
ejb-jar.xml --
| configuration-nameMy Special Config/configuration-name
| /session
|
Hi,
I tried whatever you said in the previous update, but no luck.
This is the message what i get in the logs :
=
2007-05-28 19:33:40,537 INFO [org.jboss.web.WebService] Using RMI server
codebase: http://infra2k.hyd.deshaw.com:1103/
2007-05-28 19:33:41,261 INFO
1) For modifying the EJB container with interceptors you do not need to run
with weaving
2) The error is not a problem
http://www.jboss.com/index.html?module=bbop=viewtopict=86988
http://www.jboss.com/index.html?module=bbop=viewtopict=84178
View the original post :
You need to use [ code ] [ /code ] tags (no spaces inside the [ and ] to
post xml.
Apart from that I am confused :-)
ejb-jar.xml:
| interceptor-binding
|
Does not exist in EJB 2.1, it was introduced in EJB 3. Also, in EJB 3 the
spec-defined interceptors fo not implement
The version is 1.1, am using the aop packaged with JBoss 4.0.2.
Excerpt from the MANIFEST file
===
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.2
Created-By: 1.4.2_06-b03 (Sun Microsystems Inc.)
Specification-Title: JBoss AOP Aspect Library
Specification-Version: jboss-aspect-library-1.1
Some problem in the xml displayed in update#1, trying to post them again.
ejb-jar.xml
ejb-jarinterceptor-classcom.presentation.interfaces.TracingInterceptor/interceptor-class
interceptor-binding
ejb-nameMetadata/ejb-name
What is the version of JBoss AOP you are using?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4047563#4047563
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4047563
___
jboss-user
18 matches
Mail list logo