This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 41054
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
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.
subject: Capture request xml
Similar Threads
Apache FOP
Apache FOP
Doubt with Web Service
What is the maximum amount of data that can be sent ina XML request
axis and soap