axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thilina Gunarathne" <cset...@gmail.com>
Subject Re: [axis2] type s:base64Binary causes AxisFault
Date Thu, 12 Oct 2006 01:18:55 GMT
How is your SOAPEnvelope looks like on the wire.... Just check whether
it's complete...
Also try with enabling MTOM in the client side...

This may help you for that...
http://www.wso2.net/kb/264

Thanks,
Thilina

On 10/12/06, Jake Goulding <goulding@vivisimo.com> wrote:
> I have a webservice call that takes in the following parameter:
> <s:element minOccurs="0" maxOccurs="1" name="attachment"
> type="s:base64Binary" />
>
> The Java generated for this takes in a DataHandler, which is set like such:
> param.setAttachment(new DataHandler(new FileDataSource(file)));
>
> However, the webservice responds with an error:
> org.apache.axis2.AxisFault: Server was unable to read request. --> There
> is an error in XML document (1, 394). -->
> '==L3ZpdmlzaW1vLWdvdWxkaW5nMi9saWIvamF2YS9jb252ZXJ0ZXJzLmphcjovdXNyL2xvY2FsL3ZpdmlzaW1vLWdvdWxkaW5nMi9saWIvamF2YS9uY2Fjbl9ucC5qYXI6L3Vzci9sb2NhbC92aXZpc2ltby1nb3VsZGluZzIvbGliL2phdmEvWG1sU2NoZW1hLVNOQVBTSE9ULmphcjovdXNyL2xvY2FsL3ZpdmlzaW1vLWdvdWxkaW5nMi9saWIvamF2YS9qYWthcnRhLWh0dHBjb3JlLTQuMC1hbHBoYTIuamFyOi91c3IvbG9jYWwvdml2aXNpbW8tZ291bGRpbmcyL2xpYi9qYXZhL2pjaWZzLmphcjovdXNyL2xvY2FsL3ZpdmlzaW1vLWdvdWxkaW5nMi9saWIvamF2YS9kYjJqY2NfbGljZW5zZV9jdS5qYXI6L3Vzci9sb2NhbC92aXZpc2ltby1nb3VsZGluZzIvbGliL2phdmEvYWN0aXZhdGlvbi5qYXI6L3Vzci9sb2NhbC92aXZpc2ltby1nb3VsZGluZzIvbGliL2phdmEvY29tbW9ucy1jb2RlYy0xLjMuamFyOi91c3IvbG9jYWwvdml2aXNpbW8tZ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IvbG9jYWwvdml2aXNpbW8tZ291bGRpbmcyL2xpYi9qYXZhL25lZXRoaS1TTkFQU0hPVC5qYXI6L3Vzci9sb2NhbC92aXZpc2ltby1nb3VsZGluZzIvbGliL2phdmEvc2hhcmVwb2ludC5qYXI6L3Vzci9sb2NhbC92aXZpc2ltby1nb3VsZGluZzIvbGliL2phdmEvd29kZW4tMS4wLjBNNi5qYXI6L3Vzci9sb2NhbC92aXZpc2ltby1nb3VsZGluZzIvbGliL2phdmEvYmFja3BvcnQtdXRpbC1jb25jdXJyZW50LTIuMi5qYXI6L3Vzci9sb2NhbC92aXZpc2ltby1nb3VsZGluZzIvbGliL2phdmEvanRkcy0xLjEuamFyOi91c3IvbG9jYWwvdml2aXNpbW8tZ291bGRpbmcyL2xpYi9qYXZhL2phcmFwYWMuamFyJyAtWG14MTYwbSAtWFg6K0Rpc3BsYXlWTU91dHB1dFRvU3RkZXJyIC1YWDorSGVhcER1bXBPbk91dE9mTWVtb3J5RXJyb3IgLURqYXZhLmlvLnRtcGRpcj0vdXNyL2xvY2FsL3Zpdmlz'
> is not a valid Base64 text sequence. Line 1, position 1775.
>
> Can anyone shed any light on this? I am using the 1.1 RC1 snapshot.
>
> Thanks!
>
> --
>
> JAKE GOULDING
> Software Engineer
> goulding@vivisimo.com
>
> Viví­simo [Search Done Right™]
> 1710 Murray Avenue
> Pittsburgh, PA 15217 USA
> tel: +1.412.422.2499 x105
> fax: +1.412.422.2495
> vivisimo.com      clusty.com
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message