This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 39547
    
  27
What is the actual requirement that drives this? Meaning, what do you hope to achieve by getting at the XML?


Ping & DNS - updated with new look and Ping home screen widget
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Capture request xml
 
Similar Threads
What is the maximum amount of data that can be sent ina XML request
Doubt with Web Service
Apache FOP
axis and soap
Apache FOP