Please see my
comments ******
Have you find any solution on this topic?
***** : The current solution points towards
the usage of SOAP w/Attachments over MIME - since the message carried with
the Attachment Part will not be parsed/processed in any way by the
AXIS engine implementation.
We are using message style. The problems we found are: 1. AXIS parses the message inside of the soap body element but not validate it. Only useful of this is replay ability of SAX events. We want to validate our XML messages, do you know anyway to validate such message without reinitializing another SAX parser? ***** : I'm afraid not, to the best of my
knowledge, you will need to re-initialize the SAX
parser.
2. If we use the following two message style signatures: In order to using SAX parser validates the XML message, the service provider has to use the toString method to convert the array of elements into string, then feeds it into InputSource. The "toString" method seems doubled memory usage, is it true? We are worried that we will be running into memory problems. Plus by initiating the new sax parser to put already started AXIS sax parser obsolete. It seems very inefficient. ***** : Its the DOM tree-like representation in
memory that gets constructed as part of the AXIS engine implementation when
handed off to the service endpoint api (Element []) that should be the
cause of memory concerns. Initializing the SAX parser to parse and
validate the payload is not of significant impact to memory since the parser
type is event based and the xml tree is not held in memory.
Good
luck,
-
Sharmin.
At 07:27 AM 10/23/2003 -0700, Sharmin Choksey [comcast] wrote: This is a followup to the thread posted at http://www.mail-archive.com/[EMAIL PROTECTED]/msg09663.html,. Subject : "Accessing the XML in the SOAP message body" posted Feb-03. |
- SOAP message parsing redundancy with doc-lit ser... Sharmin Choksey [comcast]
- Re: SOAP message parsing redundancy with do... Bill de hÓra
- Re: SOAP message parsing redundancy wit... Sharmin Choksey [comcast]
- Re: SOAP message parsing redundancy... Bill de hÓra
- Re: SOAP message parsing redundancy with do... Jinghua Gu
- Sharmin Choksey [comcast]