aspose file tools
The moose likes XML and Related Technologies and the fly likes soap response and xpath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "soap response and xpath" Watch "soap response and xpath" New topic

soap response and xpath

selcuk cabuk

Joined: Jan 16, 2012
Posts: 1
hi all,

I'm wondering that can i use xpath for soap response. I mean i want to take only spesific parameters on my soap request, not all soap request xml. Is that possible?
I've searched about that but where i look, i see that xpath used with soap response when all the response got and then they parsed some values. I don't want that.

Or is there any other technologies allow me to do that. My problem is some of my soap response's are too big that i get timeout. I'm trying to prevent that problem and get the only neccessary part of response envelope.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42954
If you can't even get a full response then there's very little you can do about that on the client side. If this was my problem I'd start by investigating why you're getting a timeout - is the server slow, is the network slow, can you request less data, etc. It helps if you can work with the creator of that web service on this issue.
subject: soap response and xpath