ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jochen Wiedmann (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (XMLRPC-171) unable to send the B64encoded data
Date Mon, 03 Oct 2011 22:22:34 GMT

    [ https://issues.apache.org/jira/browse/XMLRPC-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119690#comment-13119690
] 

Jochen Wiedmann commented on XMLRPC-171:
----------------------------------------

Extracting from failure.pcap, I find the following conversation between client and server:
That's odd, because there is no Base64 data i the request and the severs response contains
no indication of any error.




POST /services/xmlrpc HTTP/1.1

Content-Type: text/xml

User-Agent: Apache XML RPC 3.0 (Sun HTTP Transport)

Content-Length: 234

Cache-Control: no-cache

Pragma: no-cache

Host: 192.168.110.72

Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2

Connection: keep-alive



<?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>user.login</methodName><params><param><value>noSessionIdYet</value></param><param><value>juppala</value></param><param><value>May@2009</value></param></params></methodCall>HTTP/1.1
200 OK

Date: Thu, 14 May 2009 13:59:32 GMT

Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.3 with Suhosin-Patch

X-Powered-By: PHP/5.2.4-2ubuntu5.3

Set-Cookie: SESS55a18b68ea846f044e66f52f419c3322=a70ae46d86fa5c8928bc7ea2e75dc0fa; expires=Sat,
06 Jun 2009 17:32:52 GMT; path=/

Expires: Sun, 19 Nov 1978 05:00:00 GMT

Last-Modified: Thu, 14 May 2009 13:59:32 GMT

Cache-Control: store, no-cache, must-revalidate

Cache-Control: post-check=0, pre-check=0

Connection: close

Content-Length: 463

Content-Type: text/xml



<?xml version="1.0"?>

<methodResponse>
  <params>
  <param>
    <value><struct>
  <member><name>sessid</name><value><string>a70ae46d86fa5c8928bc7ea2e75dc0fa</string></value></member>
  <member><name>user</name><value><struct>
  <member><name>name</name><value><string>juppala</string></value></member>
  <member><name>fullName</name><value><string></string></value></member>
</struct></value></member>
</struct></value>
  </param>
  </params>
</methodResponse>

                
> 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
>            Assignee: Jochen Wiedmann
>         Attachments: failure.pcap, failure.request.gz, 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message