Amirtharaj Chinnaraj

Ranch Hand
+ Follow
since Sep 28, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by Amirtharaj Chinnaraj

Hi ,

i would like to know why all WSDL url ends with ?wsdl , why dont the URL be like http://somehost.com/some/somewsdl.wsdl

To hit a simple HTML page we use to hit like  http://somehost.com/some/index.html, why can't we do the same for a WSDL

i know that ? in the URL informs the webserver  that the request is having some parameter  with ?WSDL what we are informing to the container?
6 months ago
Hi Dave,

Thanks for the reply.

i just want to select only the two columns not the whole entity.

Thanks
Amir
Hi,
i am trying to select two columns in the entity i am getting below error like

, expected in SELECT [select itc.interestTypeKey as interestTypeKey from com.org.state.dsl.btlds.admin.entities.InterestTypeCodeEntity itc ]

This is my java code , i am not able to figure out where iam doing mistake, Please help me in understanding the problem.





if i change the select query like as below it is working fine


String sql=" select new InterestTypeCodeEntity( itc.interestTypeKey , itc.interestTypeName) from InterestTypeCodeEntity itc where itc.endDate is null

i dont like to create any constructors in my class


Thanks
Amir



Hi Arun,

I am working in a Maintenance project,

The code that i have put is not written by me , So i don't know the exact reason to have transient variable in actionform. however that author has used the transient variable consistently throughout the project. the application is also running fine in production.

i dont understand the technical reason of having a transient variable in a action form.
2 years ago
Can any one tell me why in the below URL transient variables are declared in the Action form

URL
2 years ago
Hi All,

I am using struts 2 action to send a JSON response. The struts 2 Action is having a transient variable which is having the JSON response, and it been sucessully sent to the client. my question here is how the transient variable is sent to the client. Since the transient variable cannot be serializable. i have the code below that i used. i would like to know the is their any interceptor will take care of reading the Transient Objects.

from the Below url its clear that struts 2 serialize the action object and send it to the client in case of JSON response. Plese help me to understand how the transient data is sent to the client
webpage




Struts config


2 years ago
Thanks for the reply, Jaikiran.

will you please point me to the place where i can find more details about the configuration of the messaging subsystem.

Also i am curious to know why <hornetq-server> is the root element inside the . if i need to configure for IBM WMQ what will be the root element name.

thanks
Amir
3 years ago
Hi All,

I am trying to do a POC using MDB with IBM WMQ in Jboss AS7.2

i have configured the Resource adaptor for wmq-jmsra.rar, i am not sure how to use the resource adapter in the messaging subsystem or is it possible to


however i tried deploying a MDB using the @ResourceAdapter(value = "wmq.jmsra.rar") in the MDB it is deploying and my MDB onMessage is triggered. my question is how good is the configuration that uses both messaging and Resource adapter when compared to using resource adapter.

thanks
Amir
3 years ago
Hi Ulf,

Thanks the for the reply. Actually i didnt sent my WSDL now iam attaching for the reference. i am sure the issue is not with the WSDL, if i remove the line 29 binding="${basedir}/bindings.xml" in the build.xml my ant scripts runs fine and my Clinet is created without any issue .

I am getting the exception on when i try to use the line binding="${basedir}/bindings.xml"



3 years ago

Hi All,

I am trying to generate web service client using a WSDL through Ant script, it is just a simple exercise, i am trying to do to make myself familar with using binding.xml to overridding the package structure generated by the ant.

her is my build.xml


And here is my bindings.xml



And this is the exception i got while running the the ant script

3 years ago

Hi All,

Can some one explain me ,what is the need of Bindprovider in JAX-WS, why i need to cast my service client proxy to a type of Bindprovider. why dont we have propeties Like ENDPOINT_ADDRESS_PROPERTY in the service itself.

thanks
Amir
3 years ago
Hi All,

I have written a standalone web-service client, And i am able to connect to the service and getting proper response, however my client is working i don't have complete understanding of my client. we are using wss4j in the client side for authentication the web-service.

i just tried to log the message on every stage of the message that my client post to the server, And below is the code that i have



Please refer the Question No below withe relevent piece of code as highlighted in bold

Q1:After this statement securityToken.prepare(doc); the doc is not updated,why its not updated

Q2:Though iam setting securityHeader.setMustUnderstand(false);its not reflecting in the message any other thing i need to do, my message looks like <wsse:Security S:mustUnderstand="1" for both true and false

Q3: differnce between prependToHeader and appendToHeader method

thanks
Amir

>
3 years ago
Thanks for the reply Rob,

The purpose of SFSB reference inside my SLSB is to hold a Proxy over which i will call my JAX-WS call. My intention is not to maintain any user state. My intention is to create the Proxy(using a WSDL)once during the application startup. And this keep the proxy inside a stateful session bean. to avoid creating a same proxy for each request again again.

please correct me if my approach is wrong. Also please help me to understand why stateFull session Bean should be Kept inside a stateless bean
Hi All,

We are using EJB stateless Bean to expose a Web-service. this Stateless Bean is having a Statefull Bean as instance variable. As of now the web-service is working fine and i don't have any issues, the reason why we have sate full bean is to Avoid creating proxy object used by the web-service more than once, And these proxy reside inside the statefull beans.

My Question is is that advisible to have a statefull Bean inside the stateless Bean. i have read in EJB3 in Action. that stateful bean should not be used inside stateless bean. However their is no justification why it not be used like this. So i request to share your thoughts and correct me if iam wrong.

thanks
Amir