User development,
A new message was posted in the thread "EJB loading before persistence Unit jar
- how to load PAR first?":
http://community.jboss.org/message/530426#530426
Author : kimbaltrue
Profile : http://community.jboss.org/people/kimbaltru
I'm using JBoss AS 4.2.2 and jbpm-bpel-1.1.1, and I'm trying to invoke a
webservice which is secured using BASIC authentication. I've been digging
around what documentation I can find, but so far I can find no setting that
will allow me to set the userid and password for the invoke.
Is there a
On the server I'm using Java 5.0, JBoss AS 4.2.2.GA, and jBPM BPEL 1.1.1.
The client is using Java 6.x
I have a simple BPEL script that receives a request with a complex type schema
and replies with a string. I generated stub WS classes using Java 6.0 for the
test client and when I leave the dat
So, it's not propigating subject between EJB's if they're called through the
interface returned from JNDI, but it is propogating it with injection? I would
have thought that the injection reference would have come from JNDI to begin
with. Does JBOSS have a parallel reference mechanism with JNDI
The first bean is a standard EJB3.0 webservice bean.
| @WebService(name = "Reference", serviceName = "Reference", targetNamespace
= "http://legion.ccf.org";)
| @SOAPBinding(style = SOAPBinding.Style.DOCUMENT)
| /*
| * JBOSS specific security annotations
| */
| @SecurityDomain("tact
When the initial EJB bean is called - it's a EJB 3.0 webservice bean - I'm able
to get the current context Subject, and from that I can get the principal sets,
and from them I can get the full list of a user's roles.
That's actually working.
The problem occurs when I call another EJB 3.0 bean f
Yes, I am using getCallerPrincipal to get the caller principal, but I need the
caller's Subject as well. That's not available in the standard EJB API set, but
I need it to get the roll list.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172291#4172291
Reply
I'm using JBOSS-4.2.3.GA under Jdk 1.6_05
I have an EJB3.0 Webservice Bean that calls two other EJB3.0 beans to do it's
work. Inside the Webservice Bean I can call SecurityAssociation.getSubject and
get the current security context subject. However, in the utility beans when I
call SecurityAsso
Thanks this helped though I did have to do a lot of snooping in the deploy
directory.
Apparently, all I had to do was add the following annotation:
@EndpointConfig(configName="Standard WSSecurity Endpoint")
The endpoint configuration file already exists in the webservices sar directory
under d
When building JSR-181 webservices for JBOSS 4.2.x should we use the
@EndPointConfig to setup security handlers or should we use the standard
JEE @HandlerChain annotation?
Is there an example for using @HandlerChain?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic
I'm using 4.2.0.GA with JSR-181 EJB webservices.
My EBJ's are topped with the following annotations:
@WebService(name = "InstitutionServices", targetNamespace =
"http://tagus.ccf.org/";, serviceName = "InstitutionServices")
| @SOAPBinding(style = SOAPBinding.Style.DOCUMENT)
| /*
| * JBOSS
I moved the persistence unit entity references to a non-managed bean object and
returned that object from the managed bean. And.. it loaded.
So, this seems to be an issue with when managed beans are loaded. This item
might ought to be under the JSF forum instead, but there's still and issue.
I'm running JBoss 4.2.0
I have an EAR file which contains the JAR's shown in the following
Application XML file:
| http://www.w3.org/2001/XMLSchema-instance";
ns0:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/application_1_4.xsd"; version="1.4"
xmlns="http
Here's an update:
(P.S. I'm running JBOSS 4.2.0)
After some searching and frustration, it occured to me that I could eliminate
the shared object issue by copying the shared library into the
lib directory. Yes, this is an act of desperation, but it did provide some
relief. I'm now able to call th
I have an EAR file that contains an EJB 3.0 Stateless bean, a Persistence Unit,
(currently a shard JAR), and a WAR file.
The persistence unit loads, the EJB 3.0 bean loads, and references both the
persistence unit and the shared jar.
The WAR file will not load as long as it tries to access the
The JSE 6 Annotations use the XmlAccessType Enumeration as a property in the
XmlAccessorType annotation, but the JWSDP 2 uses AccessType instead. Somebody
did a rename of the class in the JSE 6 release so I'm not surprised if it fails.
View the original post :
http://www.jboss.com/index.html?
It looks like this behavior isn't a bug (see quote from
http://docs.jboss.org/ejb3/app-server/HibernateAnnotations/reference/en/html_single/index.html#d0e1046)
anonymous wrote : 2.2.5.5. Association fetching
| You have the ability to either eagerly or lazily fetch associated entities.
The fetc
One interesting note is that I'm getting a multiple of 5 per record. So, if I
have twelve (12) records I get back sixty (60) records and duplicates.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988403#3988403
Reply to the post :
http://www.jboss.com/index.
I seem to be having the same problem, but with a OneToMany relationship.
I have a Parent object with a ManyToOne with a "classification" object which
contains a list of attribute fields as a OneToMany relationship. Both of these
joins are EAGER fetched.
What's interesting is that the duplicati
I have a servlet that receives a non-SOAP XML message with authentication
information in the message, and I need to establish a temporary security
context to call a secured EJB.
What is the best method for doing this? The client is not able to call
j_securitycheck.
Currently I'm creating a Lo
My initial install included the JBossWS 1.0.3.GA along with the following the
Install-1.0.3.GA.txt instructions so I'm already using jbossws.war using JDK
1.5. The webservice shows up and even generates a WSDL. However, the WSDL is
mangled because the JBossXB doesn't support JAXB 2.0 and the exi
I'm using the lastest AS and WS. My Webservice uses a complex object as a
paramter (i.e. java.util.List as attribute.) The webservice deploys, but the
complex object in the generated WSDL is empty. How do I get JBossWS to generate
a WSDL with the complete object model?
Is there anyway to provid
I'm using JBossAS 4.0.5GA with JBossWS 1.0.3GA for webservice support. I have a
JSR-181 EJB 3.0 Endpoint with document style SOAP messaging.
I've applied JAXB 2.0 annotations to the parameter objects on my service
methods. The services deploy, but the WSDL generator seems to ignore the
annotati
23 matches
Mail list logo