I'm converting the mex pipe in the wsit code to the new jax-ws and
addressing SPIs and have some questions. In my pipe, I used to create
the response with:
Message responseMessage = // create the message
Packet response = req.createResponse(responseMessage);
I see now that I should use Packet.createServerResponse() and pass in
the message, a wsdl port, and a wsdl binding. Where am I supposed to get
that port and binding? My response message isn't related to the endpoint
wsdl or any binding in it.
Also, I used to do addressing properties toOutbound(), set my new ws-a
action, and write out the headers. Does this createServerResponse()
method do all of that for me?
Thanks,
Bobby