Shruti Sharma

Ranch Hand
+ Follow
since Mar 25, 2010
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 Shruti Sharma

Thank you so much! I have another question on enhancing the batch performance:

My batch job is supposed to process 500,000 records. Currently, it crashes after 70,000 records. Here are the steps we are performing:

1. Read the records from the file and dump into the Staging (temporary) table (this step takes just about few seconds since we are using DB2 loader).

2. Read the data from the staging table and populate the main application tables. This is where the batch code is giving performance issues. Any tips to enhance the performance?

Any inputs would be greatly appreciated.
Hi,

I have a question on enhancing the performance of the batch job. My batch job is supposed to process 500,000 records. Currently, it crashes after 70,000 records. Here are the steps we are performing:

1. Read the records from the file and dump into the Staging (temporary) table (this step takes just about few seconds since we are using DB2 loader).

2. Read the data from the staging table and populate the main application tables. This is where the batch code is giving performance issues. Any tips to enhance the performance?

8 years ago
Thank you so much for your response! ARe there 3parts to this exam in the following sequence:

1Z0-864
1Z0-866
1Z0-865

How long will it take to prepare for all the exams?

Hi,

Can anyone suggest really good books and training material to prepare for SCEA?

Hi,

I created a new server profile in Websphere Application Server 8.0. It got created with the access level of 'Read Only'. Because of this, the server is not getting started properly.

Can someone tell what might be the reason? How can the access level of server level be changed?

Thank you,
-Shruti
9 years ago
HI,

I would like to know about the 'Java and Middleware' certifications. I found about these certifications through the http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=39 link. I am not sure what are 'JAVA SE 7, JAVA SE 6, JAVA SE 5 certifications.

Can someone tell who should take these certifications? Like a beginner, mid-level, senior or an architect level professional?

Thank you,
-Shruti
Hi,

I need to save username and passwords in the properties file in encrypted format and also decrypt the credentials after reading them from a properties file.

Can someone tell how to do that?

Is there any sample code to do that?

Thank you,
-Shruti
10 years ago
Hi,

I have a problem wherein I can't change the timeout of the Websphere Application server beyond 1800 seconds. The timeout can be decreased but not increased.

Is there a solution? Please help.

Thank you,
-Shruti
10 years ago
Hi,

I am facing a problem:

There is a web service that I need to consume. When I write a standolone test client and run it through the 'main' method it runs well. But when I try to run through my web application the authentication fails.

Here is the code snippet that I am trying:

****************************************************

try{
String urlString = "http://10.192.79.22:9081/VaCMSSPIDeRDrillDown/VaCmsSpiderServiceImplService/WEB-INF/wsdl/SPDR.wsdl";
//String urlString = "http://localhost:9082/VaCMSSPIDeRDrillDown/VaCmsSpiderServiceImplService/WEB-INF/wsdl/SPDR.wsdl";

String nameSpace = "http://www.deloitte.com/VaCMS";
String serviceName = "VaCmsSpiderServiceImplService";
QName qName = new QName(nameSpace, serviceName);


URL url = new URL(urlString);
VaCmsSpiderServiceImplPortProxy serviceProxy = new VaCmsSpiderServiceImplPortProxy(url, qName);

Map<String, List<String>> headers = new HashMap<String, List<String>>();
headers.put("Username", Collections.singletonList("CMS_SPIDER_DD"));
headers.put("Password", Collections.singletonList("CMS_SPIDER_DD"));

((BindingProvider)serviceProxy._getDescriptor().getProxy()).getRequestContext().put(MessageContext.HTTP_REQUEST_HEADERS, headers);


VaCmsCaseInfoByClientId request2 = new VaCmsCaseInfoByClientId();
VaCmsCaseInfoByClientIdRequest clientId = new VaCmsCaseInfoByClientIdRequest();
clientId.setClientId(2100035757L);
request2.setArg0(clientId);

VaCmsCaseInfoResponse response2 = serviceProxy.getVaCmsCaseInfoByClientId(request2);
System.out.println(response2.getReturnCode());
System.out.println(response2.getReturnMessage());

}catch(Exception e){
e.printStackTrace();
}

************************************************************************

Please note the way I am passing the authentication parameters. The same code works when run as main method but the authentication is failing if I run through the web application.

Please assist. It is somewhat urgent.

Thank you,
-Shruti
10 years ago
Hi,

I am looking for a full-time job as a Business Analyst. Can anyone suggest links to good companies/websites?

Thanks,
-Shruti
10 years ago
Hi,

Can someone please tell how to convert a String to an XML document. The converted XML should confirm to the given XSD. Is there any sample code that I can refer to?

Thank you,
-Shruti
Thanks, Naren!

I have another question: I have created the classes (including the proxy class) using the WSDL URL through RAD. Now I need to send the input to my web service through an XML file. How to pass data to web service in an XML file through a SOAP message? Is there a tool that generates it?
Also, I need to pass the security parameters (username/password) for authorization and authentication.

Thanks,
-Shruti
10 years ago
I do see the WSDL file but I need to be in client N/W by connecting to VPN to access that file, does that mean that I have to connect to VPN to access the wsdl file as well?

An important point to mention here: The mesage that I get when I connect to VPN try accessing the WSDL file is:

******************
There is a problem with this website's security certificate.

The security certificate presented by this website was issued for a different website's address.

Security certificate problems may indicate an attempt to fool you or intercept any data you send to the server.
We recommend that you close this webpage and do not continue to this website.
Click here to close this webpage.
Continue to this website (not recommended).
More information

*****************

I have to click on "Continue to this website (not recommended)." and that is when I get to see the WSDL file.

Please give some ideas on how to generating proxies to establish communication with this web service.

Thanks,
-Shruti


10 years ago
Hi,

I am creating a web service client using RAD tool. When I enter the WSDL url in the service definition I get an error saying:

"The service definition selected is invalid."

My WSDL URL is "https://surya9.dss.state.va.us/SPIDERWeb/services/SearchMainWService?wsdl".

Can someone tell why am I getting this error?

Thanks,
-Shruti
10 years ago
Thanks a lot Naren for such an elaborate explanation.

I believe that I need to create client using wsimport from JAX-WS. I need to pass the data to web service in XML format and get it back in XML format. How do I pass the XML file to web service? Is there a quick tutorial on that?

Thanks a lot for the answers.

-Shruti
10 years ago