got it working ..... in summary I wrote a custom preparedStatementSetter
Config
<property name="preparedStatementSetter" >
<bean class="myPreparedStatementSetter" scope="step">...
Type: Posts; User: kkelleher; Keyword(s):
got it working ..... in summary I wrote a custom preparedStatementSetter
Config
<property name="preparedStatementSetter" >
<bean class="myPreparedStatementSetter" scope="step">...
looking at the following document
http://static.springsource.org/spring-batch/reference/html-single/index.html#StoredProcedureItemReader
it looks like I have to specify a preparedStatementSetter...
Hi,
For the following oracle stp
--PL/SQL procedure
CREATE OR REPLACE PROCEDURE get_resultset(
ret_cursor OUT SYS_REFCURSOR )
Yes, I'd like to do the same also - is it possible to have just one itemWriter bean taking a parameter?
See http://forum.springsource.org/showthread.php?126674-EndPoints-Interceptors-thread-Safe
Cheers Nico,
I'm thinking this has to be a spring bug. What's your opinion?
Kevin
BTW, Thanks for the "heads up" re the interceptor chain. From what you say, it looks like the order in which...
Thanks ndewet,
In your interceptor, once you determined the username, how do you makes externally visible, i.e. to the endpoint? For example did you add a new element to the header?
Regards,...
Thanks Marten, I'll do that. As you say its a workaround.
In the meantime I'll keep looking to solve the "real" problem - why I haven't access to the authorized user name in the endpoint.
All,
I'm really blowing hard on this one.
A further update is that if I turn off my security interceptor, I can access the username is the SoapHeader.
As previously if I turn on my security...
Hi,
I tied this but get a null pointer exception. currentUser is null. I'm using spring-ws-2.0.4-RELEASE and playing around with the tutorial example.
Any ideas?
Hi,
Further testing today indicates to me that one cannot get access to the userNameToken using spring's SoapHeader.
Any ideas? I really could use some direction here. I'd hate to have to...
Thank Marten, I only wrote this awful code as right now I see no other "solution" to a problem.
My endpoint needs access to security info in the soap header - namely the username.
The only...
Hi,
I have an endpoint class & a number of interceptors, one of which is a security interceptor.
This security interceptor set a static value in the endpoint class.
Is this setup thread safe?...
Hi,
How do you access the security token/ user principal from a Spring-WS endpoint?
I downloaded spring-ws-2.0.4.RELEASE and got the tutorial project ( in samples) working. Next I added...
Thanks for the reply dr_pompeii,
I fixed the issue by
a) Making the code change below
b) Adding a converter
Regards,
Kevin
Hi,
I am using spring web flow 2.0 & hibernate.
I wish to have 3 dropdowns, - country of birth, nationality & address, obviously each presenting a list of countries, on a jsp page.
When...
Hi,
A colleague figured this out here. I'm working on a new PC with a miminal install set of java 6 , maven & roo - no eclipse. I kicked off roo in the project directory. leading to the connection...
Hi,
I'm newish to roo. I inherited a roo (mvn) project ( roo version 1.0.1, maven 2.0.9).
I get the above message when I type "roo" on the cmd line in the project directory.
I think it's...
Hi,
Is it possible to do serverside validation on tabbing out of a field ( as opposed to on submit)? In my scenario, client side validation will not suffice when tabbing out of a particular field....