• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
nick tomer
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
nick tomer
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks a lot. I will look up the jax-ws.
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic