William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
there is no client side URL or port!
William Brogden wrote:
there is no client side URL or port!
This is the client that you wrote we are talking about? How do you make a SOAP request without a URL or port?
If you can't get at the remote machine to use SOAPui or similar, and the web service is not under your control, what CAN you get at?
Bill
My code is a standalone code that needs to read messages from a JMS queue.It reads the message and call the Web Service.Why does Client code need to have URL or port?
William Brogden wrote:Are you saying that the web service is not responding to HTTP SOAP requests but to JMS SOAP messages?
If so, can you get at the configuration of the JMS server or otherwise change the configuration so that the JMS message exchange is no longer point-to-point but publish-subscribe? That way you could run a separate process subscribing to all of the requests and responses.
My code is a standalone code that needs to read messages from a JMS queue.It reads the message and call the Web Service.Why does Client code need to have URL or port?
"Client code" - I am getting confused here - how many entities are we talking about? Which ones can you add debugging code to?
If the "web service" is responding to HTTP requests, there must, by definition, be a port and url involved.
Bill
my code accesses does have URL and port.My code is client code (since it accesses web service) and it is a standalone Java program.This Java program cannot be accesses through a URL/port
William Brogden wrote:
my code accesses does have URL and port.My code is client code (since it accesses web service) and it is a standalone Java program.This Java program cannot be accesses through a URL/port
This statement makes no sense. You wrote code that "does have URL and port" but "cannot be accesses through a URL/port"
Either it makes use of a URL or not!
It sounds to me like you could create a sort of proxy application - change the URL in your client to point to the proxy - proxy would record the entire SOAP request message and send it on to the web service - receive the response, log it, and send it on to your client.
Bill
If you try to please everybody, your progress is limited by the noisiest fool. And this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|