You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-auto@ws.apache.org by "Jagadeesh Uppala (JIRA)" <xm...@ws.apache.org> on 2009/05/19 10:19:45 UTC

[jira] Updated: (XMLRPC-171) unable to send the B64encoded data

     [ https://issues.apache.org/jira/browse/XMLRPC-171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jagadeesh Uppala updated XMLRPC-171:
------------------------------------

    Attachment: failure.pcap
                success.pcap

Jochen Wiedmann,

Thanks for working on this ticket.

I have taken the help of wireshark application to trace the request and response from client to server and response.

I have seen this error coming from server...
The servers method name is : device.storePhoto
and the parameters for that service are
1) Session id which  is a string
2) textId which is a String
3) type which is a String
4) caption which is String
5) data which is an B64 encoded string. [ the jpg image file which was encoded to B64 data is being sent as part of this field]

The application is working fine if it is sending the photo data which is < 60Kb. but failing for the photosize which is more than this.


> unable to send the B64encoded data
> ----------------------------------
>
>                 Key: XMLRPC-171
>                 URL: https://issues.apache.org/jira/browse/XMLRPC-171
>             Project: XML-RPC
>          Issue Type: Bug
>    Affects Versions: 3.1.2
>         Environment: Testing
>            Reporter: Jagadeesh Uppala
>         Attachments: failure.pcap, success.pcap
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> My Application is a java application which uses xml-rpc communication with a server which is developed in php.
> the server has one service ( storePhotos) which accepts texti-id( which is a string) and the photoData( which is an encoded data of B64) .. 
> it works very well if the size of the file which i am converting to B64 is < 60Kb. but it is failing if the size of the file is more than this.
> the exception which is being thrown by the server is "Parse error. Request not well formed." 
> If the request is not well formed .. it should throw the same exception in the case if the file size is <60 Kb, which is not happening..
> but if the file size is greater than 60KB, it is throwing the above mentioned error.
> How can i rectify this? 
> please advice me, as this is a sorce stopper for me to go ahead..
> Thanks,
> Jagadeesh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.