aspose file tools*
The moose likes Web Services and the fly likes Eclipse web service client. Where can i get the SOAP? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Eclipse web service client. Where can i get the SOAP?" Watch "Eclipse web service client. Where can i get the SOAP?" New topic
Author

Eclipse web service client. Where can i get the SOAP?

nick tomer
Greenhorn

Joined: Oct 18, 2010
Posts: 26
Hi. I am working with eclipse and i have created a web service and a client with ecipse wizard. The name of the web service is "hello"
the eclipse creates at the client 5 classes to invoke the web service "hello". The classes have the names
Hello.java, HelloProxy.java, HelloService.java, HelloServiceLocator.java, HelloSoapBindingStub.java
Those who work in eclipse will now what i am talking about.
I asume that somewhere in these classes, when i call the web service, the soap message it will be received but i don't know where?

How can i see the soap message i am sending and receiving?

thanks
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
Yes, the SOAP message will be received and processed, but it is taken care of the web service stack.
If you want to see the SOAP messages to/from your web service, I would recommend implementing a JAX-WS handler.
This may not be applicable, depending on the web service stack you are using.
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
nick tomer
Greenhorn

Joined: Oct 18, 2010
Posts: 26
When you say stack, you mean the .jar archives? the java libraries? because i am from greece and i don't know very well the eglish terms.
I think i create the service and the client with axis runtime. Only with jax-ws can see the soap messages? Is it possible with axis?

thanks
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
A web service stack is the code that enables you to set up a web service, create a web service client, send requests and receive responses.
This code may be in one or more JAR files.
Examples of web service stacks are: Metro, Apache CXF, Axis.
A message handler is like a servlet filter or a filter in the pipes-and-filters design pattern.
Best wishes!
nick tomer
Greenhorn

Joined: Oct 18, 2010
Posts: 26
thanks a lot. I will look up the jax-ws.
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
Depending on what, exactly, you mean by "see the message", it might be easier to use a proxy like TCPMon or SoapUI.
nick tomer
Greenhorn

Joined: Oct 18, 2010
Posts: 26
I have to make a project for a lesson in my university and i want at the presentation of the project to show to my professor the request/response soap messages that exchanges the client with the web service.
I thought that i could see them at the http request/ response with firefox addons but i was wrong. I will check the TCPMOn or SoapUI.
If you have another way i'll be waiting?

thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse web service client. Where can i get the SOAP?