Win a copy of Murach's MySQL this week in the JDBC and Relational Databases forum!

Rohit Chaudhary

Greenhorn
+ Follow
since May 11, 2010
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 Rohit Chaudhary

Are you referring to Soap message header here? Please provide more information like which kind of web services you are using - SOAP or REST?

In case of SOAP, soap handlers can be used to manipulate headers (read/add/remove). (http://www.mkyong.com/webservices/jax-ws/jax-ws-soap-handler-in-server-side/ - This link would help!)


8 years ago
Hi all,

I have a scenario in my project where a web service client is timing out if web service takes longer to respond. Observed that it times out if response is not received in around 30 sec.
The exception says:


Call to web service failed. SOAPFaultException
javax.xml.rpc.soap.SOAPFaultException: Exception during processing: java.net.SocketTimeoutException: Read timed out (see Fault Detail for stacktrace)
at weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:317)
at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:147)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:473)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:459)
at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:569)
at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:422)

Web service deployed is rpc based java web service.
How do we increase/decrease the timeout for web service client. What parameter do we need to set?

Client code:



I have only attached partial code here. What i want to know is if there is any parameter which i can set here in code or any other way so that my client doesnt time out?

thanks in advance.

12 years ago
Hello,

We have a job in our application which reads data from DB and creates excel sheet out of it using POI.
The problem we are facing is sometimes data is too big (may be >20,000,00) which results in out of memory.
Job logic writes all data into excel(creates multiple sheets since most time data is >65,000 (max rows in excel)) in memory and is written to disk only after it completes writing all data.
Can you guys provide suggestions how to handle this issue?

One solution i can think of is to write 65k records to excel in memory and then flush to disk. Then load the same file and continue with writing next sheet (Not sure whether API supports this way?).
OR
create multiple excel files each having 65k records and merge the files into one single file. Can you guys suggest how we can do this?

Thanks,
Rohit
Hello,

I am new to web development and developing JSP pages.

Can you guys suggest any drag and drop tool for developing JSP pages easily. After creating basic look and feel of pages we can embedd other features such as connectivity with other modules of the app.

Thanks in advance.
13 years ago
JSP
Hello,

While writing design document(tech specification doc) ,I need to create class diagrams for few classes which already exist and need some modifications.
Is there any tool/software available to generate class diagrams using existing classes??
Please suggest.

Thanks
Thanks Ivan and Nitin.
Can you provide some good tutorials or suggest any good book...
I want to start like:
>Why web services are used & importance in industry?
>Then understand SOAP / WSDL concepts
>Later concentrate on specific API's (JAX-WS , Axis).
Am I following right direction guys? Please suggest.

13 years ago
Thanks cnivas.
13 years ago
Hello all,

I am beginner in area of Web services.
I am kind of confused from where to start learning web services. There are many areas like JAX-WS , Axis web services etc.
I know little bit about SOAP, WSDL. Can someone guide me regarding how to go about learning WS so that I can understand concepts better.

Thanks in advance.

13 years ago