+1

On Friday, December 12, 2014, Malaka Silva <[email protected]> wrote:

> We are good since we are only hosting those connectors with 4.9.0
>
> On Thu, Dec 11, 2014 at 5:50 PM, Vanjikumaran Sivajothy <[email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:
>>
>> Hi,
>>
>> I have tested your use case[1] with 4.9.0 M3 pack with url encoding and
>> it worked. This is not working in 4.8.1 due to a bug [2] in ESB on handling
>> 201 response with payload.
>>
>>
>> You can find the M3 pack in [2]
>>
>>
>> Best Regards,
>> Vanji
>>
>> [1]
>> <api xmlns="http://ws.apache.org/ns/synapse"; name="strip"
>> context="/strip">
>>    <resource methods="POST GET">
>>       <inSequence>
>>          <property name="POST_TO_URI" value="true" scope="axis2"
>> type="STRING"></property>
>>          <header name="Content-Type" scope="transport"
>> action="remove"></header>
>>          <call>
>>             <endpoint>
>>                <http method="POST" uri-template="
>> https://invoice.zoho.com/api/v3/customerpayments?authtoken=c1f8014366dd6ffd2691f9671f70de50&amp;JSONString={'customer_id':'571532000000042068
>> ','date':'2014-12-18','description':'*hai%20hello'*
>> ,'amount':'200.00'}"></http>
>>             </endpoint>
>>          </call>
>>          <respond></respond>
>>       </inSequence>
>>    </resource>
>> </api>
>>
>>
>> [2] https://wso2.org/jira/browse/ESBJAVA-3132
>>
>> [3]
>> http://svn.wso2.org/repos/wso2/people/malaka/ESB/ESB4.9.0/M3/wso2esb-4.9.0-SNAPSHOT.zip
>>
>> ---------- Forwarded message ----------
>> From: Sriashalya Srivathsan <[email protected]
>> <javascript:_e(%7B%7D,'cvml','[email protected]');>>
>> Date: Wed, Dec 10, 2014 at 10:42 PM
>> Subject: Re: Getting an error 505 Http Version Not Supported
>> To: Malaka Silva <[email protected]
>> <javascript:_e(%7B%7D,'cvml','[email protected]');>>
>> Cc: WSO2 Developers' List <[email protected]
>> <javascript:_e(%7B%7D,'cvml','[email protected]');>>, Vanjikumaran Sivajothy <
>> [email protected] <javascript:_e(%7B%7D,'cvml','[email protected]');>>
>>
>>
>> No,Only through the ESB.
>>
>> On Wed, Dec 10, 2014 at 10:38 PM, Malaka Silva <[email protected]
>> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:
>>
>>> Are you getting the same error, if you directly invoke the api via a
>>> rest client?
>>>
>>> On Wed, Dec 10, 2014 at 7:08 PM, Sriashalya Srivathsan <[email protected]
>>> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:
>>>
>>>> I'm doing ZOHO-Invoice  ESB Connector.When i send  request to end
>>>> points with the optional parameter *description* to the back end,It
>>>> returns the error code *505 Http Version Not Supported. *
>>>>
>>>> If the description parameter sent without any spaces I am able to get
>>>> the correct response. The only issue is send the optional parameters with
>>>> space
>>>> Note that I also tried to sent the encoded value. For that  also I got
>>>> 505 error.
>>>>
>>>>
>>>> Please find the wire log below.
>>>>
>>>> [2014-12-10 15:55:44,594] DEBUG - wire >> "POST
>>>> /services/zoho_CreateCustomerPayments HTTP/1.1[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:44,595] DEBUG - wire >> "Host:
>>>> sriashalyas-macbook-pro.local:8280[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:44,595] DEBUG - wire >> "Connection:
>>>> keep-alive[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:44,595] DEBUG - wire >> "Content-Length: 130[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:44,595] DEBUG - wire >> "Cache-Control:
>>>> no-cache[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:44,595] DEBUG - wire >> "Origin:
>>>> chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:44,595] DEBUG - wire >> "User-Agent: Mozilla/5.0
>>>> (Macintosh; Mac OS X 10_10_0) AppleWebKit/537.36 (KHTML, like Gecko)
>>>> Chrome/39.0.2171.71 Safari/537.36[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:44,595] DEBUG - wire >> "Content-Type:
>>>> application/json[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:44,595] DEBUG - wire >> "Accept: */*[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:44,595] DEBUG - wire >> "Accept-Encoding: gzip,
>>>> deflate[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:44,595] DEBUG - wire >> "Accept-Language:
>>>> en-US,en;q=0.8,ta;q=0.6[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:44,595] DEBUG - wire >> "Cookie:
>>>> JSESSIONID=E0D69224FA87FEC1A8F0D2AD751EBDE5;
>>>> edfb7d8656=9c1fd4635ab50f92ceb89a2f6139a417[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:44,595] DEBUG - wire >> "[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:44,596] DEBUG - wire >> "{[\n]"
>>>>
>>>> [2014-12-10 15:55:44,596] DEBUG - wire >> "
>>>> "authtoken":"c1f8014366dd6ffd2691f9671f70de50",[\n]"
>>>>
>>>> [2014-12-10 15:55:44,596] DEBUG - wire >> "
>>>> "customer_id":"571532000000042068",[\n]"
>>>>
>>>> [2014-12-10 15:55:44,596] DEBUG - wire >> ""date":"2014-12-18",[\n]"
>>>>
>>>> [2014-12-10 15:55:44,596] DEBUG - wire >> ""amount":"200.00"[\n]"
>>>>
>>>> [2014-12-10 15:55:44,596] DEBUG - wire >> "}"
>>>>
>>>> -10 15:55:44,648]  INFO - TimeoutHandler This engine will expire all
>>>> callbacks after : 120 seconds, irrespective of the timeout action, after
>>>> the specified or optional timeout
>>>>
>>>> [2014-12-10 15:55:45,568] DEBUG - wire << "POST
>>>> https://invoice.zoho.com/api/v3/customerpayments?authtoken=c1f8014366dd6ffd2691f9671f70de50&JSONString={
>>>> "customer_id":"571532000000042068","date":"2014-12-18","amount":"200.00","description":"hai
>>>> hello"} HTTP/1.1[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,568] DEBUG - wire << "Accept-Language:
>>>> en-US,en;q=0.8,ta;q=0.6[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,568] DEBUG - wire << "Cookie:
>>>> JSESSIONID=E0D69224FA87FEC1A8F0D2AD751EBDE5;
>>>> edfb7d8656=9c1fd4635ab50f92ceb89a2f6139a417[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,568] DEBUG - wire << "Host: invoice.zoho.com
>>>> [\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,569] DEBUG - wire << "Accept-Encoding: gzip,
>>>> deflate[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,569] DEBUG - wire << "Origin:
>>>> chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,569] DEBUG - wire << "Content-Type:
>>>> application/json; charset=UTF-8[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,569] DEBUG - wire << "Accept: */*[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,569] DEBUG - wire << "Cache-Control:
>>>> no-cache[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,569] DEBUG - wire << "Transfer-Encoding:
>>>> chunked[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,569] DEBUG - wire << "Connection:
>>>> Keep-Alive[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,569] DEBUG - wire << "User-Agent:
>>>> Synapse-PT-HttpComponents-NIO[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,569] DEBUG - wire << "[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,570] DEBUG - wire << "82[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,570] DEBUG - wire << "{[\n]"
>>>>
>>>> [2014-12-10 15:55:45,570] DEBUG - wire << "
>>>> "authtoken":"c1f8014366dd6ffd2691f9671f70de50",[\n]"
>>>>
>>>> [2014-12-10 15:55:45,570] DEBUG - wire << "
>>>> "customer_id":"571532000000042068",[\n]"
>>>>
>>>> [2014-12-10 15:55:45,570] DEBUG - wire << ""date":"2014-12-18",[\n]"
>>>>
>>>> [2014-12-10 15:55:45,570] DEBUG - wire << ""amount":"200.00"[\n]"
>>>>
>>>> [2014-12-10 15:55:45,570] DEBUG - wire << "}[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,571] DEBUG - wire << "0[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,571] DEBUG - wire << "[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,824] DEBUG - wire >> "HTTP/1.1 505 HTTP Version
>>>> Not Supported[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,824] DEBUG - wire >> "Server: ZGS[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,825] DEBUG - wire >> "Date: Wed, 10 Dec 2014
>>>> 10:25:45 GMT[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,825] DEBUG - wire >> "Transfer-Encoding:
>>>> chunked[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,825] DEBUG - wire >> "Connection:
>>>> keep-alive[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,825] DEBUG - wire >> "[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,825] DEBUG - wire >> "0[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,825] DEBUG - wire >> "[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,842] DEBUG - wire << "HTTP/1.1 505 Http Version
>>>> Not Supported[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,842] DEBUG - wire << "Content-Type:
>>>> application/octet-stream; charset=UTF-8[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,842] DEBUG - wire << "Date: Wed, 10 Dec 2014
>>>> 10:25:45 GMT[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,842] DEBUG - wire << "Transfer-Encoding:
>>>> chunked[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,842] DEBUG - wire << "Connection:
>>>> keep-alive[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,842] DEBUG - wire << "[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,843] DEBUG - wire << "5c[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,843] DEBUG - wire << "<axis2ns1:binary
>>>> xmlns:axis2ns1="http://ws.apache.org/commons/ns/payload
>>>> "></axis2ns1:binary>[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,843] DEBUG - wire << "0[\r][\n]"
>>>>
>>>> [2014-12-10 15:55:45,843] DEBUG - wire << "[\r][\n]"
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Best Regards,
>>>
>>> Malaka Silva
>>> Senior Tech Lead
>>> M: +94 777 219 791
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300
>>> Skype : malaka.sampath.silva
>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>> Blog : http://mrmalakasilva.blogspot.com/
>>>
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>> http://www.wso2.com/
>>> http://www.wso2.com/about/team/malaka-silva/
>>> <http://wso2.com/about/team/malaka-silva/>
>>>
>>> Save a tree -Conserve nature & Save the world for your future. Print
>>> this email only if it is absolutely necessary.
>>>
>>
>>
>>
>>
>> --
>> Sivajothy Vanjikumaran
>> *Senior Software Engineer*
>> *Integration Technologies Team*
>> *WSO2 Inc. http://wso2.com <http://wso2.com/>*
>> *Mobile:(+94)777219209*
>> [image: Facebook] <https://www.facebook.com/vanjikumaran> [image:
>> Twitter] <https://twitter.com/vanjikumaran> [image: LinkedIn]
>> <http://www.linkedin.com/pub/vanjikumaran-sivajothy/25/b31/293> [image:
>> Blogger] <http://vanjikumaran.blogspot.com/> [image: SlideShare]
>> <http://www.slideshare.net/vanjikumaran>
>>
>> This communication may contain privileged or other
>> confidential information and is intended exclusively for the addressee/s.
>> If you are not the intended recipient/s, or believe that you may
>> have received this communication in error, please reply to the
>> sender indicating that fact and delete the copy you received and in
>> addition, you should not print, copy, re-transmit, disseminate, or
>> otherwise use the information contained in this communication.
>> Internet communications cannot be guaranteed to be timely, secure, error
>> or virus-free. The sender does not accept liability for any errors
>> or omissions
>>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Senior Tech Lead
> M: +94 777 219 791
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> Skype : malaka.sampath.silva
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
> Blog : http://mrmalakasilva.blogspot.com/
>
> WSO2, Inc.
> lean . enterprise . middleware
> http://www.wso2.com/
> http://www.wso2.com/about/team/malaka-silva/
> <http://wso2.com/about/team/malaka-silva/>
>
> Save a tree -Conserve nature & Save the world for your future. Print this
> email only if it is absolutely necessary.
>


-- 
Sent from Gmail Mobile
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to