Anjaneya Reddy

Greenhorn
+ Follow
since Feb 14, 2011
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 Anjaneya Reddy

Hi,

My opinion on this

Prior to that copy the end point url. paste in the browser. if the end point url displaying the all the operation. then the service deployed successfully.

Here are my observations.

1. I think Can you check your exposed service are secured.

2. If the services are secured, you need send the SOAP request with signing message.

3. Verify your service end point url in server. If the end point url is ENV specific, you need replace local host to dev1 or dev2 in end point url.

Thanks.
6 years ago
Hi ,


Can you please try with this below code.

System.setProperty("jsse.enableSNIExtension", "false");
SSLContext sc = SSLContext.getInstance("SSL");
sc.init(null, trustAllCerts, new java.security.SecureRandom());
HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());

Thanks.
6 years ago
If you deploying application from Eclipse.Check the below changes.

1 . Server settings in Eclipse.

Right click the Server------> open---------->Check the server location.

Check the Radio button on Use Custome location.give the Server path where you are installed the Tomcat.

Change the deployment path as "Webapps".

Thanks.
6 years ago
Can you please try below code.

OutputStreamWriter writer =new OutputSreamWriter(httpConnection.getOutputStream());
writer.write(input);
6 years ago
Hi,
I have some queries on data creation in pdf.

1. The data which available in pdf is dynamic data or static.

2. If it is runtime ,weather it is one time creation or batch process creation.

In my opinion.

If it data is creating as dynamically, we can create the pdf with data time extension and write the data into the pdf. So that we can easily separate the pdf file with data time.

Now we can write java component ,which can read the data from the pdf file with data and time bases.

Once read the file parallel, we can push the data into the data base.

Thanks.




6 years ago
Thank you for quick response.


I have tried below combination.it is working fine.

1. I have removed the profile tags and execute the(mvn archetype:generate -DgroupId=com.mytutorial -DartifactId=simple ) command, It is working fine as expected.
2. I have tried this (mvn archetype:generate -DgroupId=com.mytutorial -DartifactId=simple -P !nexus ) with my old settings.xml file. It is working fine as expected.

As per above disable nexus command. I think there is problem in Nexus profile. Can you please share what would be the correct approach.

Thank you.
6 years ago
Regarding question on security.

There are some situation,To accesses the Secured (HTTPS) REST web service,we need a certificate to access it.

To avoiding the secured data tampering. We need to pass private certificate through SSL(Secured Socket layer).
6 years ago
please find the setting.xml file

6 years ago
Hi,

I am new to the Maven build tool. I have installed apache-maven-3.0.5 in my machine. After that I've try to run the below command. I am getting the below error.
Please help on this.
mvn archetype:generate -DgroupId=com.mytutorial -DartifactId=simple

Downloading: http://search.maven.org/org/wildfly/plugins/maven-metadata.xml
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.612s
[INFO] Finished at: Wed Mar 18 20:17:46 IST 2015
[INFO] Final Memory: 5M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'archetype' in the current project and in the plugin groups [org.wildfly.plugins, org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (c:\tools\home\.m2\repository), central (http://search.maven.org/)] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException
**********************************************************************************
6 years ago
Yes, To execute the REST web service need Web/Application server. Please find the few point on Restful web service.

1. It is protocol specific ,i.e. it only supports the HTTP protocol.
2. It supports only SSL security.
3. It will provide different format response i.e. XML,JSON,txt etc..
6 years ago

Mark O' Sullivan wrote:Hi,
I'm developing an application and deployed the war file for testing under Apache. I have my doGet and doPost methods set up properly but when I bookmark a page that uses a doGet method in the servlet, I cannot access that servlet for some reason. Let me explain. I can access my page like this through the application but when it is bookmarked and I try to return to it, it gives me page not found even though my doGet method starts like this in the servlet.

Any idea what could be the issue?
Thanks.




Hi,

Instead of using the doGet() can you please try with public void servicet(HttpServletRequest request, HttpServletResponse response).I think it will be work.Because we not set method name like GET,POST .

If any thing wrong my analyses please correct me.
10 years ago