How do you follow up on soap in eclipse - java

I'm starting to work on a project on java with eclipse IDE, and I understood that there is a plug-in that I can follow the requests and the responds.
I've been looking for them but haven't found anything, if anyone knows, I'd be very thankful.

I'd recommend that you use SoapUI for your response/requests, if you have deployed web service on your localhost or anywhere.

SOAPUI is a very nice tool. You can download it standalone (I prefer) or you can also download the Eclipse plugin for it.

Eclipse has a built in Web Service explorer that may be enough for your needs.
Open the JavaEE Perspective
Click "Run", then "Launch the Web Services Explorer"
Click the WSDL Page icon in the top right corner
Click "WSDL Main" and enter your WSDL URL.
This will allow you to use a UI to enter in your parameter values but also switch back to the raw request and response xml if necessary.

Related

Javascript: Chrome dev tools OR NetBeans?

When I deploy Java Web Application on Tomcat server with Maven, I don't know how to write JS in realtime without redeploy. If I create and save JS in Chrome Dev Tools I have to redeploy my application every time.
If I use NetBeans for JS development, it puts changed files in /target folder . Which is used by tomcat. I would develop in NetBeans if it had JS console (but I didn't find JS console).
What should I do? How do people develop and debug in this case?
You'll want to use both NetBeans and Chrome dev tools in conjunction. Make your changes in NetBeans with hot deploy but use Chrome dev tools for debugging, placing breakpoints etc.
You might also find this useful: https://softwareengineering.stackexchange.com/questions/143453/best-way-of-javascript-web-development-in-netbeans-hot-deployment
The latest (8.x) Netbeans have a plugin for Chrome(ium). You can then use breakpoints from your IDE and have the browser console output in your IDE as well.
While it has some shortcommings compared to the chrome dev tools it provides a very good developer experience due to the good integration. You should really give it a try.

IntelliJ and Google Web Toolkit

I'm currently looking at Google Web Toolkit and wish to give it a run about, however I use IntelliJ.
According to IntelliJ's website, IntelliJ has built in native support for GWT, however, I don't seem to be able to setup it as the website outlines... I'm wondering if it's due to the fact I'm using community edition, or if I'm just not seeing the full picture.
Could somebody point me in the direction of any tutorials related to setting up GWT with IntelliJ so that I can get underway creating an app with it?
Do you have IntelliJ Community Edition?
There is no GWT support in the Community Edition.
But you still can use it, check this tips.
Otherwise: Create a new project > Java > Google web toolkit.
If you dont see it there:
Open the Project Structure dialog (Ctrl+Shift+Alt+S).
Go to Facets, and select GWT.
In the Defaults tab, specify the path to the GWT installation folder.
Click OK.
This is a nice example of Maven with GWT.

Eclipse Download library is empty

I am trying to create my first JSF web dynamic project with eclipse. In second last step, i need to select the user library in which the download library window is empty. Can anyone help how to add the library in that?
For me the problem was, that I could select version 2.3 of JavaServer Faces, but that wasn't added to the download providers yet, that Eclipse can see. For older versions I could see the libraries.
This was due to my machine was not able to connect to Internet. When i give the Preferences->Network Connections as Manual with a proxy, then it started appearing with user libraries.

Getting hot code replace working (Eclipse EE juno, Jboss AS 7.1)

I have referred to the question Here and have been unable to resolve my issue at all.
I'm making a dynamic web project that uses jsp / css as well as jquery. Right now I need to stop the server, clean, and republish.
I have build automatically checked, I have selected automatically publish on the server... I'm not really sure if I'm missing something but I'd love to get this working as frontend development without realtime editing is horrid.
I'm not using maven or any other form of source control (yet)(I can add in ivy, if need be?)
Thanks.!
Image of server setup
If your are using the JBoss Server Manager that came with the Jboss Tools Suite you have to mark the "Automatically publish when resources change" option of the "Publishing" section of your Jboss Server Configuration.
You can find the Jboss Tools for Juno here, or you can use the Jboss Developer Studio IDE, that is an Eclipse Indigo + Jboss Tools like explained here (I'm using it, and it runs way better than eclipse, don't know why, but that's just my experience)

Google App Engine/GWT/Eclipse Plugin Newbie Question- how to autobuild client side resources?

I'm tinkering with the default GWT application generated by the Google Eclipse plugin when I click the Google "New Web Application Project" button in Eclipse 3.5. This will no doubt be familiar to many of you.. basically there is an h1 title stating "Web Application Starter Project," a text field, and a Send button.
What I've found is that whenever I make changes to the client side resources, e.g. change the text on the Send button to "Submit" in the .java file, Eclipse does not appear to autobuild these resources. In fact I have to rebuild the entire project in order for these changes to be reflected in my browser. I do have "build automatically" selected in eclipse.
I should state that this is my second GWT project, the first was almost entirely server side (restlet on GAE) and everything built automatically nicely.
When I first tried this new project with updated client resources, on refreshing my browser, the browser stated "you may need to (re)compile your project." I'm not sure if this is relevant but I thought I'd mention it all the same.
So what's going on? How do I get Eclipse/GWT to autobuild these client side resources? Cheers for any help you can offer! :-)
I just installed Eclipse + the GWT SDK/plugins. When I run the default project, install the browser plugin, it shows me a send button. When I change the text "Send" in the .java file to "Submit" and I refresh the browser, it shows me "Submit", in other words: the .java file has been recompiled to javascript, while the server was still running.
It prints the following info, fyi:
I am running Google App Engine Development/1.3.3.1.
It looks like you are using:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3
Furthermore, I use Eclipse 3.5 Galileo. So it looks to me that it pretty much does what you want by default. I also tested this in my Windows environment, works the same there.

Categories

Resources