Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 13010 invoked from network); 21 Apr 2009 20:22:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Apr 2009 20:22:24 -0000 Received: (qmail 74867 invoked by uid 500); 21 Apr 2009 20:22:21 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 74774 invoked by uid 500); 21 Apr 2009 20:22:21 -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 74765 invoked by uid 99); 21 Apr 2009 20:22:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Apr 2009 20:22:21 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mgainty@hotmail.com designates 65.55.116.101 as permitted sender) Received: from [65.55.116.101] (HELO blu0-omc3-s26.blu0.hotmail.com) (65.55.116.101) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Apr 2009 20:22:10 +0000 Received: from BLU142-W26 ([65.55.116.73]) by blu0-omc3-s26.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 21 Apr 2009 13:21:49 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_8ae423b3-beda-4126-b93a-d13fcde3a34c_" X-Originating-IP: [71.232.86.84] From: Martin Gainty To: Subject: RE: Sending binary data(not using MTOM) using DataHandler Date: Tue, 21 Apr 2009 16:21:49 -0400 Importance: Normal In-Reply-To: <8A3D150B7B714946B375ED1A129939DDB4F4D5CB@EXVMBX018-12.exch018.msoutlookonline.net> References: <23159730.post@talk.nabble.com> <8A3D150B7B714946B375ED1A129939DDB4F4D5CB@EXVMBX018-12.exch018.msoutlookonline.net> MIME-Version: 1.0 X-OriginalArrivalTime: 21 Apr 2009 20:21:49.0284 (UTC) FILETIME=[CCD4C240:01C9C2BE] X-Virus-Checked: Checked by ClamAV on apache.org --_8ae423b3-beda-4126-b93a-d13fcde3a34c_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable assume the element you are referencing in your xsd is type=3D"xsd:base64Bin= ary datatype" ? Martin=20 could you display your full wsdl ______________________________________________=20 Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note= de d=E9ni et de confidentialit=E9=20 This message is confidential. If you should not be the intended receiver=2C= then we ask politely to report. Each unauthorized forwarding or manufactur= ing of a copy is inadmissible. This message serves only for the exchange of= information and has no legal binding effect. Due to the easy manipulation = of emails we cannot take responsibility over the the contents. Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaeng= er sein=2C so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiter= leitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient l= ediglich dem Austausch von Informationen und entfaltet keine rechtliche Bin= dungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen w= ir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut =EAtre privil=E9gi=E9. Si vous n'=EAtes= pas le destinataire pr=E9vu=2C nous te demandons avec bont=E9 que pour sat= isfaire informez l'exp=E9diteur. N'importe quelle diffusion non autoris=E9e= ou la copie de ceci est interdite. Ce message sert =E0 l'information seule= ment et n'aura pas n'importe quel effet l=E9galement obligatoire. =C9tant d= onn=E9 que les email peuvent facilement =EAtre sujets =E0 la manipulation= =2C nous ne pouvons accepter aucune responsabilit=E9 pour le contenu fourni= . > From: Sanjay.Gupta@billwiseinc.com > To: axis-user@ws.apache.org > Date: Tue=2C 21 Apr 2009 12:18:16 -0700 > Subject: Sending binary data(not using MTOM) using DataHandler >=20 > Hi=2C=20 > I have written a service that returns DataHandler containing the binary d= ata(pdf file). When I call that service by using the classes generated by w= sdl2java I only get 12k of the binary data. I have seen as reference to 12K= buffer wrap issue. I would appreciate if anybody can give me some pointers= on how to resole this issue. BTW the service is written in grails and expo= sed using AXIS2 plugin and all other services(the one not dealing with bina= ry data) work without any issue. >=20 > Thanks > Sanjay _________________________________________________________________ Windows Live=99 Hotmail=AE:=85more than just e-mail. http://windowslive.com/online/hotmail?ocid=3DTXT_TAGLM_WL_HM_more_042009= --_8ae423b3-beda-4126-b93a-d13fcde3a34c_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable <=3Bwsdl:definitions xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" name= =3D"XSD_base64Binary"
...>=3B
assume the element you are referencin= g in your xsd is type=3D"xsd:base64Binary datatype"

 =3B =3B=  =3B  =3B =3B =3B  =3B =3B =3B <=3Bxsd:elemen= t name=3D"asNonNillableElementResponse">=3B
 =3B =3B =3B &= nbsp=3B =3B =3B  =3B =3B =3B  =3B =3B =3B &= lt=3Bxsd:complexType>=3B
 =3B =3B =3B  =3B =3B&nbs= p=3B  =3B =3B =3B  =3B =3B =3B  =3B =3B&nbs= p=3B <=3Bxsd:sequence>=3B
 =3B =3B =3B  =3B =3B&= nbsp=3B  =3B =3B =3B  =3B =3B =3B  =3B =3B&= nbsp=3B  =3B =3B =3B <=3Bxsd:element name=3D"nonNillableEleme= nt"
 =3B =3B =3B  =3B =3B =3B  =3B =3B&n= bsp=3B  =3B =3B =3B  =3B =3B =3B  =3B =3B&n= bsp=3B  =3B =3B =3B type=3D"xsd:base64Binary" nillable=3D"false= " minOccurs=3D"1" maxOccurs=3D"1" /
 =3B =3B =3B  =3B&nb= sp=3B =3B  =3B =3B =3B  =3B =3B =3B  =3B&nb= sp=3B =3B <=3B/xsd:sequence>=3B
 =3B =3B =3B  = =3B =3B =3B  =3B =3B =3B  =3B =3B =3B <= =3B/xsd:complexType>=3B
 =3B =3B =3B  =3B =3B = =3B  =3B =3B =3B <=3B/xsd:element>=3B

?
Martin
could you display your full wsdl
_________________________________= _____________
Disclaimer and Confidentiality/Verzicht und Vertraulichke= itanmerkung / Note de d=E9ni et de confidentialit=E9
This message =
is confidential. If you should not be the intended receiver=2C then we ask =
politely to report. Each unauthorized forwarding or manufacturing of a copy=
 is inadmissible. This message serves only for the exchange of information =
and has no legal binding effect. Due to the easy manipulation of emails we =
cannot take responsibility over the the contents.
Diese Nachricht ist ve= rtraulich. Sollten Sie nicht der vorgesehene Empfaenger sein=2C so bitten w= ir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung= einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch= von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund= der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer = den Inhalt uebernehmen.
Ce message est confidentiel et peut =EAtre privi= l=E9gi=E9. Si vous n'=EAtes pas le destinataire pr=E9vu=2C nous te demandon= s avec bont=E9 que pour satisfaire informez l'exp=E9diteur. N'importe quell= e diffusion non autoris=E9e ou la copie de ceci est interdite. Ce message s= ert =E0 l'information seulement et n'aura pas n'importe quel effet l=E9gale= ment obligatoire. =C9tant donn=E9 que les email peuvent facilement =EAtre s= ujets =E0 la manipulation=2C nous ne pouvons accepter aucune responsabilit= =E9 pour le contenu fourni.






>=3B From: S= anjay.Gupta@billwiseinc.com
>=3B To: axis-user@ws.apache.org
>=3B= Date: Tue=2C 21 Apr 2009 12:18:16 -0700
>=3B Subject: Sending binary = data(not using MTOM) using DataHandler
>=3B
>=3B Hi=2C
>= =3B I have written a service that returns DataHandler containing the binary= data(pdf file). When I call that service by using the classes generated by= wsdl2java I only get 12k of the binary data. I have seen as reference to 1= 2K buffer wrap issue. I would appreciate if anybody can give me some pointe= rs on how to resole this issue. BTW the service is written in grails and ex= posed using AXIS2 plugin and all other services(the one not dealing with bi= nary data) work without any issue.
>=3B
>=3B Thanks
>=3B Sa= njay


Windows Live=99 Hotmail=AE:=85more than just e-mail. Check it out. = --_8ae423b3-beda-4126-b93a-d13fcde3a34c_--