Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 19214 invoked from network); 11 Mar 2005 11:23:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Mar 2005 11:23:16 -0000 Received: (qmail 47298 invoked by uid 500); 11 Mar 2005 11:23:09 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 47253 invoked by uid 500); 11 Mar 2005 11:23:08 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 47239 invoked by uid 99); 11 Mar 2005 11:23:08 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of ajith.ranabahu@gmail.com designates 64.233.184.194 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.194) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 11 Mar 2005 03:23:04 -0800 Received: by wproxy.gmail.com with SMTP id 37so682938wra for ; Fri, 11 Mar 2005 03:23:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=aKfxDXveyWDXYsJ6ZcSE7bVAGUx7DAF1ssOyrbTPuO4TL8EWX9NpVQzFnEbPl9x/4wWtAcIA1poWlT4H0mQs+m6ShKJzMwoGVE+zIhFNSIX+m5PYyZ6Nx5mSIkMhzn1vS5DLYtnXNFmzxKRnURgyHDeLSOIpFvV927mh19AfwiU= Received: by 10.54.4.8 with SMTP id 8mr2618931wrd; Fri, 11 Mar 2005 03:23:00 -0800 (PST) Received: by 10.54.2.42 with HTTP; Fri, 11 Mar 2005 03:22:59 -0800 (PST) Message-ID: Date: Fri, 11 Mar 2005 17:22:59 +0600 From: Ajith Ranabahu Reply-To: Ajith Ranabahu To: axis-dev@ws.apache.org Subject: Re: [Axis2] Message structure and Attachments In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, Well yes there has been some skipping of the specs. SOAPMessage was deliberately skipped and you wouldn't find the SOAPpart anywhere either. Interestingly there is no concept of an OM document (which if existed should match with the SOAPMessage in my sense). What you will get is the envelope directly from the builder. The catch here is that this framework is built not with SAAJ (or any of the other specs for that matter) in mind. It is supposed to be a lightweight framework and if SAAJ is needed theoretically it is possible to layer it upon this framework. An infoset model for the Binary content has already being suggested (OMBlob) but it is again not SAAJ specific. Have a look at the mail I sent to the dev list for Venkats question. I've included a description of the Axis 2 view :) BTW we appreciate all of you guys going over the code. More brains the better it is :) On Fri, 11 Mar 2005 16:26:30 +0530, Shahi, Ashutosh wrote: > > > > Hi all, > > I was looking at the how message is constructed in Axis2, and > found it to be little different from what we do in Axis 1.2. In Axis 1.2 we > get the SOAP Envelope through: MessageFactory - > SoapMessage - > SOAPPart > (and Attachment Part) -> SOAPEnvelope. This is according to SAAJ 1.2 specs. > But in Axis2 we directly get SOAPEnvelope from the factory class. > > I could not find any concept of SoapMessage and SOAPPart. And, > though I have glanced at the discussion on MTOM and the implementation code, > I could not understand how AttachmentPart forms part of a SOAPMessage and > how SOAPEnvelope and AttachmentPart are linked. Has it been deliberately > decided not to follow the message structure in Axis 1.2 (and SAAJ)? If yes, > then what is the kind of message structure that has been planned? > > I have just started looking at the Axis2 code, so tell me if > there is any misunderstanding on my part. > > > > Ashutosh > > -- Ajith Ranabahu