Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting the raw XML Request/response from Stub  RSS feed

 
Aditya Kumar
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi people,

We are invoking a couple of webservices at our end (We are the client). For this we are creating the Service Stub object. Now the request object is getting generated fine (or so it seems) but to be really sure (and to debug issues which might be well on our way) we would need the raw XML that is being sent (and received) from our (weblogic 8.1.6) server to the other two systems.

I have considered and discarded Tcpmon, its not possible to set it up between our systems here. As a workaround what I am doing is instead of invoking the system and sending the request generated there, I am sending it to localhost:9000 and I have set up a pretty naive HTTP listener there which is doing a pretty bad job in capturing the HTTP requests sent from our system. In any case, even if it works we can't be using it for long.

In a way I am surprised that there is no simple way of doing this. At least I am yet to see one.

Help!!

Much thanks,

Aditya Kumar
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!