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?
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.
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?
Joined: Oct 04, 2006
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.
Depending on what, exactly, you mean by "see the message", it might be easier to use a proxy like TCPMon or SoapUI.
Joined: Oct 18, 2010
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?