This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Capture request xml" Watch "Capture request xml" New topic
Author

Capture request xml

M Mehta
Ranch Hand

Joined: Aug 03, 2006
Posts: 92
Hi,

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,
Me
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41182
    
  45
What is the actual requirement that drives this? Meaning, what do you hope to achieve by getting at the XML?


Ping & DNS - my free Android networking tools app
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
    
    1
Hi!
Have you considered using a handler?
http://www.packtpub.com/article/handler-and-phase-in-apache-axis
Best wishes!
M Mehta
Ranch Hand

Joined: Aug 03, 2006
Posts: 92
thanks a lot . I have requestFlow handler. Its working for me.
 
jQuery in Action, 2nd edition
 
subject: Capture request xml
 
Similar Threads
axis and soap
Apache FOP
Apache FOP
Doubt with Web Service
What is the maximum amount of data that can be sent ina XML request