H
hapyfishrmn
Hello,
I have a a wsdl file that I have used converted to Java using
WSDL2Java. I have successfully talked to the server and my
communication work perfectly. What I want to do is see the raw data
that gets sent to the server and the response that it gives me.
The WSDL2Java creates four files: BindingStub, Service, ServiceLocator,
& Port. I do not want to modify these files becuase if the wsdl file
changes my code will be broken.
So, how do I look at the data without modifying these files?
I have read that using Handlers I can get my own functions to get
called, but to implement a handler I have do something like:
_call.setCurrentHandler(MyRequestHandler,MyResponseHandler);
Is there someway I can add something to the WSDL file that would
already have a handler setup. Maybe there is an easier way and I just
don't know.
Appreaciate any help or direction.
I have a a wsdl file that I have used converted to Java using
WSDL2Java. I have successfully talked to the server and my
communication work perfectly. What I want to do is see the raw data
that gets sent to the server and the response that it gives me.
The WSDL2Java creates four files: BindingStub, Service, ServiceLocator,
& Port. I do not want to modify these files becuase if the wsdl file
changes my code will be broken.
So, how do I look at the data without modifying these files?
I have read that using Handlers I can get my own functions to get
called, but to implement a handler I have do something like:
_call.setCurrentHandler(MyRequestHandler,MyResponseHandler);
Is there someway I can add something to the WSDL file that would
already have a handler setup. Maybe there is an easier way and I just
don't know.
Appreaciate any help or direction.