jQuery in Action, 3rd edition
The moose likes Web Services and the fly likes Capture request xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Capture request xml" Watch "Capture request xml" New topic

Capture request xml

M Mehta
Ranch Hand

Joined: Aug 03, 2006
Posts: 92

I have a requirement where in I want to access the incoming request xml before it gets deserialized and the webservice method is called. Its is poosible to achieve with axis webservices?

Thanks in advance,
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42958
What is the actual requirement that drives this? Meaning, what do you hope to achieve by getting at the XML?
M Mehta
Ranch Hand

Joined: Aug 03, 2006
Posts: 92
There is a business requirement where I need compare the incoming XML with the expected predefined XML. If the XMLs doesn't match further processing of the web service is to be stopped.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
Have you considered using a handler?
Best wishes!
M Mehta
Ranch Hand

Joined: Aug 03, 2006
Posts: 92
thanks a lot . I have requestFlow handler. Its working for me.
I agree. Here's the link: http://aspose.com/file-tools
subject: Capture request xml
It's not a secret anymore!