Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 40694 invoked from network); 14 Nov 2006 16:15:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Nov 2006 16:15:43 -0000 Received: (qmail 71611 invoked by uid 500); 14 Nov 2006 16:15:44 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 71594 invoked by uid 500); 14 Nov 2006 16:15:44 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 71582 invoked by uid 99); 14 Nov 2006 16:15:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Nov 2006 08:15:44 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of sridhar.jforum@gmail.com designates 66.249.82.233 as permitted sender) Received: from [66.249.82.233] (HELO wx-out-0506.google.com) (66.249.82.233) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Nov 2006 08:15:30 -0800 Received: by wx-out-0506.google.com with SMTP id h28so1453343wxd for ; Tue, 14 Nov 2006 08:15:08 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=uPJAcApWbk38Cystxdg7AECBIcS5CKxyKeYDlG8aNhoTvqQlWvSNUpZ8YRRVj7fuJCO8/nShS0ZbdvqvLGae8lFW8nq6mLcaPJFeoLv3rS1aQG4bSjsJudXQFXUgj00WGacI213UDPZXgDwXFlmrChWKDmt/wUbKp6furny/HFc= Received: by 10.90.25.3 with SMTP id 3mr1181629agy.1163520908336; Tue, 14 Nov 2006 08:15:08 -0800 (PST) Received: by 10.65.83.10 with HTTP; Tue, 14 Nov 2006 08:15:07 -0800 (PST) Message-ID: <624a79970611140815m5c7068e1oc5a1ef2231f7f26d@mail.gmail.com> Date: Tue, 14 Nov 2006 11:15:08 -0500 From: "sridhar vudutha" To: axis-user@ws.apache.org, "Martin Gainty" Subject: Re: Axis2 - DIME support In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_103683_17727212.1163520908050" References: <624a79970611130835l4639736bt3d9a23170f1a779b@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_103683_17727212.1163520908050 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Martin, Thanks for the info. I will give it a try using globus toolkit. I'm still skeptical about the below code, since I'm having problem while receiving the SOAP response. The service is sending the DIME attachment which I don't have to read but just have to ignore it and read the response. I'm not even getting the SOAP response, I mean the parser is throwing exception "javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: Content is not allowed in prolog" when it receives the response. Anyway...will give it a shot. Thanks, Sridhar. On 11/13/06, Martin Gainty wrote: > > you have to set chunkedEncoding here is a quick example > > import org.globus.axis.transport.HTTPUtils; > > > > > > //assume your service is called 'MyService' > > URL url = new URL(*"local:///localhost:8080/axis/services/MyService"*); > > MyServiceAddressingLocator locator = new MyServiceAddressingLocator(); > MyService port = locator.getMyServicePort(url); > > // force HTTP 1.1 (why dont we have a method which setHTTP11Version(port,true) ?*HTTPUtils.setHTTP10Version((Stub)port, false); > * > //set chunkedEncoding > *HTTPUtils.setChunkedEncoding((Stub)port, true); > * > //Call the hello method from the discovered serviceport.hello(); > > for more info please look at > http://www.globus.org/toolkit/docs/development/4.1.0/common/javawscore/developer/index.html > > > M- > > This e-mail communication and any attachments may contain confidential and > privileged information for the use of the > designated recipients named above. If you are not the intended recipient, > you are hereby notified that you have received > this communication in error and that any review, disclosure, > dissemination, distribution or copying of it or its > contents > > ----- Original Message ----- > *From:* sridhar vudutha > *To:* axis-user@ws.apache.org > *Sent:* Monday, November 13, 2006 11:35 AM > *Subject:* Axis2 - DIME support > > > Hello All, > Does Axis2 support DIME attachments? The following posting was made > in April'2006. Want to check if there is any change in the status. > > http://mail-archives.apache.org/mod_mbox/ws-axis-user/200604.mbox/%3Ce9115cfd0604052246sfd21776t762551ed98d4b9cf@mail.gmail.com%3E > > > > Thanks, > Sridhar. > > ------=_Part_103683_17727212.1163520908050 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Martin,
    Thanks for the info. I will give it a try using globus toolkit. I'm still skeptical about the below code, since I'm having problem while receiving the SOAP response. The service is sending the DIME attachment which I don't have to read but just have to ignore it and read the response. I'm not even getting the SOAP response, I mean the parser is throwing exception " javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: Content is not allowed in prolog" when it receives the response.
 
Anyway...will give it a shot.
 
Thanks,
Sridhar.

 
On 11/13/06, Martin Gainty <mgainty@hotmail.com > wrote:
you have to set chunkedEncoding here is a quick example
import org.globus.axis.transport.HTTPUtils;





//assume your service is called 'MyService'

URL url = new URL("local:///localhost:8080/axis/services/MyService");
MyServiceAddressingLocator locator = new MyServiceAddressingLocator(); MyService port = locator.getMyServicePort(url); // force HTTP 1.1 (why dont we have a method which setHTTP11Version(port,true) ? HTTPUtils.setHTTP10Version((Stub)port, false);
//set chunkedEncoding
HTTPUtils.setChunkedEncoding((Stub)port, true);

//Call the hello method from the discovered service port.hello();
for more info please look at

M-

This e-mail communication and any attachments may contain confidential and privileged information for the use of the
designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its
contents
----- Original Message -----
Sent: Monday, November 13, 2006 11:35 AM
Subject: Axis2 - DIME support

 
Hello All,
       Does Axis2 support DIME attachments? The following posting was made in April'2006. Want to check if there is any change in the status.
 
 
Thanks,
Sridhar.

------=_Part_103683_17727212.1163520908050--