Daniel Martins

Ranch Hand
+ Follow
since Oct 22, 2009
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 Daniel Martins

Hello

I am not really sure under which topic this should go...

I have a java code that uses the system date. This works normally on a development server (running on Linux), however in System server (also with Linux) the system date is 2 days in advance...

I have check the dates in Linux, and they both match, so I am not sure where the issue comes from.

My question is: When using where is Java taking the actual date from?

Cheers
13 years ago
REST cannot fully replace SOAP.

Integration with legacy systems or communication with several intermediates are situations where REST is useless.

Both have their advantages according to the required functionality/implementation.

So it's hard to understand all of this hype on REST neglecting that it cannot fully replace SOAP.

Cheers
13 years ago
Hello ranchers

Recently I tried the assessment exam provided by Sun for 310-220.

Assessment Exam

I am studying for the 310-230, but as I was curious to see what kind of questions could appear i tried the previous mock exam.

I did not found it that difficult (obviously excluding JAX RPC).

Can any one make the comparation between that one and the real exam?

Mikalai: And what about yours and the real one?

Cheers
Hi

Thanks for the reply.

Regarding the netbeans tutorials, they actually do not help me, as the calculator example does not send an external request, it just adds 2 numbers.

What I want to do is to send an external request...and here I have some doubts:

I was expecting to just provide the input to the web method and then catch the response, and I am not sure how to do this.

Previously I created this webservice just by using SOAPConnectionFactory, SOAPConnection,SOAPMessage and made the connection.

With the net beans approach there thing which are not very clear to me, because apparently the SOAP Message and the connection are made internally, so I don't know what kind of code should go on the body of the getWeather method.

Maybe I am confusing some concepts...but I am very familiar with WS and SOAP request....the problem is to learn how to implement this in NB...

Thanks

Cheers
14 years ago
Interesting subject indeed

Really nice activities supported by JR!!
14 years ago
Hi

I am trying to set up my first web service using NetBeans (Actually I know how to build a SOAP message and make the request)

I have made a WS based on the wsdl:

http://www.webservicex.net/globalweather.asmx?wsdl

This was generated:



My doubt is what kinf of code should go on the //TODO part? Should'nt be enough to just build the SOAP Message and send it to the endpoint? I think I am missing some important concept on this kind of approach...

Thanks

Cheers
14 years ago
Jeffrey:

Do you know if the real exam is somehow similar with this exam you provided?

Mock Exam

Cheers
Hi

It seems to me that the SCDJWS is independent of the SCDWC, meaning that you can take one with no knowledge about the other.

I am also going for the SCDJWS, and if you check the objectives, you can see what I mean.

Objectives

Cheers
Yes i delete the folders, just before starting to follow the tutorial for tomcat6 - because the folder common was not present in the original installation.

And I cannot really understand why do they mean with this:

"Replace $CATALINA_HOME/bin/tomcat-juli.jar with output/extras/tomcat-juli.jar.
Place output/extras/tomcat-juli-adapters.jar in $CATALINA_HOME/lib."

Am I supposed to rename the jar files? Because I cannot find any jar with that name...

Maybe this are begginers questiosn...but it's the first time I am trying to do this:)

Cheers
14 years ago
Ok, the tutorial is for tomcat5.5 , and I am using 6.0.....

I will re configure it according to:

http://tomcat.apache.org/tomcat-6.0-doc/logging.html
14 years ago
Hello

I have set up Log4j according to the instrctions provided here:

http://tomcat.apache.org/tomcat-5.5-doc/logging.html

I cannot make this work.

Strangely - or maybe not - the folder "common" did not exist in tomcat root folder. I have created the folder with 2 subfolders - lib and classes as described in the apache website.

This is my properties file.


Any ideas why it is not working?

Cheers

14 years ago
Ok, small update. The Shell.java seems (theoretically) to do the connection:)

As for the other operation I will have to look more!

I can only try this tomorrow since the server I want to connect is at work..

Hi

I just installed it and....first glimpse...gives me the feeling that it´s a bit complex/overloaded...

I have to say that it got me lost, i was looking for "simple" connect, authenticate, write (send commands), read operations...

Does Java has any API that enable this?

Thanks
Thanks for the info. Tomorrow i will give it a try:)
Hello

I am trying to connect via SSH using the following code:



I am getting a "Connection Sucessfull".

What I would like to know is hoiw to send linux commands like "ls -ltr"?

Cheers