chiranjeevi gunturu

Ranch Hand
+ Follow
since Mar 02, 2007
Merit badge: grant badges
For More
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
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by chiranjeevi gunturu

Hi all,
I am working on an application which has webservices exposed to other product.
The services are generated on jax-ws. How to manage, if I need to make changes in the XSD files. Request and response objects are going to be modified.
How to handle this without effecting client stubs.

Thanks in advance.
10 years ago
Thank you for your response . If you could direct me to an example , it would be great.!!
10 years ago
Hi All,

I have a good number of WSDLs to consume in our application. I know to use eclipse to generates stubs by using "webservice" option, which takes "WSDL" path.
But i have to do this for all WSDLs (recursive process). Is there any shortcut or other method to generate stubs for all given WSDL urls.

Thanks in advance!!
10 years ago
Hi,
I am trying to understand a some part of code in my project and came across a syntax which i dont know.

I have the following line of code in one xhtml file. the syntax given for value is not clear to me.





can some one help me here?
11 years ago
JSF
Hi All,
I am working on an application where JSF framework is used.
Some of the functionality of the same application can be accessed using web services and am working on it.
My problem here is that I need to use a bean with session scope which is also used by GUI (JSF- Faces config.xml).
In Faces config file,it is defined the scope as session. But when i try to use the same bean in my web service implementation class, i got an exception: " No Scope registered for "session"".



I am trying to get the bean using ClassPathXmlApplicationContext. Can anyone help me how to register the scope programatically to slove this?



ApplicationContext.xml


Thanks
11 years ago
Hi All,
I need to modify an existing WSDL in my project to show more details like ( wsdl:types, wsd: message etc.,).

As present when i hit my webservices (deployed in WAS) from a browser i could see only binding and service details.
So i modify the WSDL file to show messages and portType and types. But when i run the service again from browser, I could not see any change

I restarted/cleaned the server to avoid cache problems, I tried with another browser also. My original file has two operations and the modified WSDL file has only one operation.
It is still showing both the operations? Why is this? do i need to change any where else also? Please suggest me.

Thanks in advance. Any help is highly appreciated.

Thanks
11 years ago
Sure.
I am using sessions from Spring context file. Please see below.

Thanks for your help in advance!

Hi,

By looking at the logs below, Can anybody tell me is the Session Factories closed?

Also i noticed the following settings enabled. Am running my application in web sphere application server. I noticed the same logs printed continuosly in my server logs and finally a heapdump is created in the server and the application fails to run.

11/4/11 14:59:39:585 MST] 00000017 SettingsFacto I org.hibernate.cfg.SettingsFactory buildSettings Connection release mode: on_close
11/4/11 14:59:39:573 MST] 00000017 SettingsFacto I org.hibernate.cfg.SettingsFactory buildSettings Automatic flush during beforeCompletion(): enabled
[11/4/11 14:59:39:576 MST] 00000017 SettingsFacto I org.hibernate.cfg.SettingsFactory buildSettings Automatic session close at end of transaction: enabled


Also please see " building session factory" in the logs.

Sorry! the logs might look pretty large, but i want to give as much details as possible. Appreciate any suggestions. Thanks for reading.



Hi,
Can any one suggest me if any of the below settings need to modify to stop creating open session factories.

How would i know the session factories created a closed from logs? Thanks in advance!

Hi All,
I need a big favor from you.

My application has memory leak problems. I was trying to find out and i see the problem with Hibernate Session Factories.
The console is showing that Hibernate Session Factories are created several times. Apparently it is going out of Memory.

Below are the logs am seeing. The same logs are continuing my console. Can anyone help/tell me why the session Factories are created continuously.
I see a file LocalSessionFactoryBean in the spring Jar file is running this. Also please see the applicationContext file below.

Thanks in advance!




Here is the applicationContext.xml that i have.





Thanks


Hi,
I am working on a JSF application and it has a webservice, WSDL file.

I need to test this WSDL by an URL in browser which shows me xml as result. But i am not able to create the URL for this.

Can any one help me on how to create URL for this. I am sure the WSDL is consumed by 3rd party app but i donot know how to test it.

Am creating an URL as http://localhost:9080/<root-context-name>/<xxx-xxx>/<ABCServicesImpl>(WSDL-Name)?wsdl

Many Thanks in advance.
12 years ago
JSF
This issue is not related to JAVA Script. The same script and the same XHTML file is working fine with IE, Chrome and FireFox. But not with Safari Browser.
Hi,
I am using Safari 5.0.4 browser to run my application. One of my xhtml pages (actually a dialog page) is not working.
I have three fields (two text fields and one dropdown) along with Save button on this page. When i entered values and click on Save button it should carry the data to Services class. I am using a Ajax function to call the service class method and then to pass the values entered on the screen.

I could not see any error on browser like a Java script error on IE.
It is working when i tested the application in IE, FireFox and Chrome and values can be see at backend database also.


This ajax function is called by java script on the same page and this java script function is called onClick of Save Button on the dialog page.


Can anyone Please advice me on this. Thanks in advance.
Thank you very much. It worked.
Initially i was using <f:view tag> as follows and i was getting blank page in all browsers.

<html>
<f:view content =text/html>

<div>
....
...
</div>

<java script>

<java script>

</f:view>
</html>

But later i tried by placing <f:view> tag at the top of the page after <UI:composition> as follows

<f:view content = text/html/> and i modified my comments for CDATA as

//<!--CDATA>
....
..
//]]>

Then it worked Thanks a lot!!
12 years ago
JSF
Hi, As suggested i have CDATA tag to wrap java script in xhtml pages.

But I am getting an error message while running my app in chrome as follows:


This page contains the following errors:

error on line 101 at column 3: Sequence ']]>' not allowed in content
Below is a rendering of the page up to the first error.


I then removed ]]> from the xhtml file and it is running good in Chrome. But this time it is not working in IE browser.
I did not use <f:view > tag. when i use this tag my page is blank. I am using Chrome 10 version.

Please advice me on this. Thanks in advance.
12 years ago
JSF