Annu Vinayak

+ Follow
since Jul 17, 2009
Merit badge: grant badges
For More
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Annu Vinayak

In the meantime, also tried the following properties in ServicePortBindingStub:

_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);

Still no success

Anyone..? Any suggestion/hint on this?
12 years ago
I meant Axis 1.4. Apologize for my assumption
12 years ago
Hello All,

I am using an Axis 1.4 client for calling a webservice. The request generated by the client consists of an attribute xsi:type as highlighted below. The webservice is rejecting this request. Is there any way I can remove this. Below are the different thing I have tried already as per articles on the internet (but none has worked till now).

1. Made service type as wrapped
<service name="/com.web/ManageThService" provider="java:RPC" style="wrapped">

2. Moved call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR.. above _call.setOperation

3. Added <parameter name="sendXsiTypes" value="false"/> to the WSDD under <globalConfiguration >

This seems to be a very old Axis bug which should have been resolved by now, but even after browsing around 50 articles I did not find a working solution. Any help would be greatly appreciated!

Soap Request:
<soapenv:Envelope xmlns:soapenv="" xmlns:xsd="" xmlns:xsi="">
<deleteTh xmlns="">
<requestContext xmlns="">
<geaendertAm xsi:type="xsd:dateTime" xmlns="">2011-06-21T11:04:50.906Z</geaendertAm>
12 years ago
I see that there are no replies to the message by Karthic Raghupathi.

I am facing a smiliar scenario and need to add an authentication header to a JAX RPC client. (The autogenerated stub classes do not contain any classes for adding the header to my SOAP message)

Reuqest you to provide some information on this issue.

13 years ago
I found the reason for this exception, the table which I was trying to update did not have any constraints defined on it, not even primary key. Accidently, the same data scripts had been run twice thus returning two rows for update.

I still dont know why Open Jpa should throw an OptimisticLockException, but that is what the issue was.

Thanks anyway!
Hi All,

I am using Open Jpa for the DB layer of my application, the database being DB2. I have a bean which saves data to a table. This works perfectly fine on my environment but when I deploy the very same EAR on a server machine, it gives me the optimistic lock exception.

I have tried restarting the DB but it doesnt work. I have searched the net and still have no clarity as to why it works in one env and not on the other.

Note: Both the environments have identical Database installations.

Any inputs / cues are welcome. I need to understand what I am doin wrong here!
Put styleClass="linkStyle" in the tag and add

.linkStyle {
cursor: pointer;

to your styleclass.
14 years ago

<div style="overflow: auto; border: 1px solid #ccc; height: 260px">

just around your <rich:dataTable> tag. This would do jsut what you want.

P.S. Replace the height parameter with the desired height of your data table.
14 years ago
Try replacing the h:commandLink with h:commandButton. I was having problems with opening Excel document in Firefox with h:commandLink. It worked after I changed it to h:commandButton. If it works you can change the style of the button to make it look like a link!
14 years ago
Has anyone found something on this? I am getting similar alerts while using ehcache in a spring hibernate project. Please help!
Thanks for your reply. I already found a very nice article which helped me to resolve this issue. Please refer the following for this:

I need the same functionality. Is there no other way except writing code for deleting the files?

You have to laod the resource bundle for the properties file first.

Try this:

ResourceBundle resourceBundle = ResourceBundle.getBundle( propertyFileName);

Now whenver you need to access a key from the properties file use:

return (String) resourceBundle.getObject(key);
14 years ago
Hi All,

I am using a4j:commandLink to render images on a page. This works perfectly fine on normal speed of network, but with slow networks the images never get rendered. Their tooltip is present, the pointer becomes a hyperlink in that area, but image is not shown.

Any links pointing to the problem or any suggestions would be great!

Thanks in advance,
14 years ago