Please give the jira in this mail thread. On Fri, Dec 12, 2014 at 2:03 PM, Kesavan Yogarajah <[email protected]> wrote: > > Hi Malaka, > I have added a Jira for ESB. > > Thank you. > > > > Kesavan Yogarajah > Associate Software Engineer > WSO2 Inc. > > Mob: +94 779758021 > > On Fri, Dec 12, 2014 at 11:32 AM, Malaka Silva <[email protected]> wrote: >> >> Hi Kesavan, >> >> [1] only fixed this for status 301. But in your case it's 200 ok. >> >> So the issue still remains. Pls add a jira for ESB >> >> [1] https://wso2.org/jira/browse/ESBJAVA-3132 >> >> On Fri, Dec 12, 2014 at 10:42 AM, Kesavan Yogarajah <[email protected]> >> wrote: >>> >>> >>> Hi all, >>> I am developing ESB connector for Teamwork API.I am getting >>> java.net.MalformedURLException when I invoke the update Milestone >>> operation.I am using ESB-4.9.0 M3 pack. >>> >>> >>> Wire log for the request: >>> >>> [2014-12-12 10:40:24,935] DEBUG - wire >> "POST >>> /services/tw_updateMilestone HTTP/1.1[\r][\n]" >>> [2014-12-12 10:40:24,935] DEBUG - wire >> "Host: >>> kesavan-thinkpad-t530:8280[\r][\n]" >>> [2014-12-12 10:40:24,935] DEBUG - wire >> "Connection: >>> keep-alive[\r][\n]" >>> [2014-12-12 10:40:24,935] DEBUG - wire >> "Content-Length: 357[\r][\n]" >>> [2014-12-12 10:40:24,935] DEBUG - wire >> "Cache-Control: >>> no-cache[\r][\n]" >>> [2014-12-12 10:40:24,935] DEBUG - wire >> "Origin: >>> chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm[\r][\n]" >>> [2014-12-12 10:40:24,935] DEBUG - wire >> "User-Agent: Mozilla/5.0 (X11; >>> Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 >>> Safari/537.36[\r][\n]" >>> [2014-12-12 10:40:24,936] DEBUG - wire >> "Content-Type: >>> application/json[\r][\n]" >>> [2014-12-12 10:40:24,936] DEBUG - wire >> "Accept: */*[\r][\n]" >>> [2014-12-12 10:40:24,936] DEBUG - wire >> "Accept-Encoding: gzip, >>> deflate[\r][\n]" >>> [2014-12-12 10:40:24,936] DEBUG - wire >> "Accept-Language: >>> en-US,en;q=0.8[\r][\n]" >>> [2014-12-12 10:40:24,936] DEBUG - wire >> "Cookie: CFID=113072806; >>> CFTOKEN=ef035020859c7050-5CDE20A6-EA74-B6AF-528A24F79B2C2F1F; >>> GOKEY-C=479C5AD927FBEC228F5BD7CC4D065537TS1418312443[\r][\n]" >>> [2014-12-12 10:40:24,936] DEBUG - wire >> "[\r][\n]" >>> [2014-12-12 10:40:24,936] DEBUG - wire >> "{[\n]" >>> [2014-12-12 10:40:24,936] DEBUG - wire >> " "apiUrl":" >>> https://kesan.teamwork.com",[\n]" >>> [2014-12-12 10:40:24,936] DEBUG - wire >> " >>> "clientId":"cod323ipad",[\n]" >>> [2014-12-12 10:40:24,936] DEBUG - wire >> " "milestoneId":"107817",[\n]" >>> [2014-12-12 10:40:24,936] DEBUG - wire >> " "title": "Test >>> Milestone",[\n]" >>> [2014-12-12 10:40:24,936] DEBUG - wire >> " "description": "desc",[\n]" >>> [2014-12-12 10:40:24,936] DEBUG - wire >> " "deadline": "20141222",[\n]" >>> [2014-12-12 10:40:24,936] DEBUG - wire >> " "notify": "true",[\n]" >>> [2014-12-12 10:40:24,936] DEBUG - wire >> " "reminder": "false",[\n]" >>> [2014-12-12 10:40:24,937] DEBUG - wire >> " "private": "true",[\n]" >>> [2014-12-12 10:40:24,937] DEBUG - wire >> " "responsiblePartyIds": >>> "81424",[\n]" >>> [2014-12-12 10:40:24,937] DEBUG - wire >> " "moveUpcomingMilestones": >>> "true",[\n]" >>> [2014-12-12 10:40:24,937] DEBUG - wire >> " >>> "moveUpcomingMilestonesOffWeekends": "true"[\n]" >>> [2014-12-12 10:40:24,937] DEBUG - wire >> "}" >>> [2014-12-12 10:40:28,016] DEBUG - wire << "PUT >>> https://kesan.teamwork.com/milestones/107817.json HTTP/1.0[\r][\n]" >>> [2014-12-12 10:40:28,017] DEBUG - wire << "Accept-Language: >>> en-US,en;q=0.8[\r][\n]" >>> [2014-12-12 10:40:28,017] DEBUG - wire << "Cookie: CFID=113072806; >>> CFTOKEN=ef035020859c7050-5CDE20A6-EA74-B6AF-528A24F79B2C2F1F; >>> GOKEY-C=479C5AD927FBEC228F5BD7CC4D065537TS1418312443[\r][\n]" >>> [2014-12-12 10:40:28,017] DEBUG - wire << "Authorization: Basic >>> Y29kMzIzaXBhZA==[\r][\n]" >>> [2014-12-12 10:40:28,017] DEBUG - wire << "Accept-Encoding: gzip, >>> deflate[\r][\n]" >>> [2014-12-12 10:40:28,018] DEBUG - wire << "Origin: >>> chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm[\r][\n]" >>> [2014-12-12 10:40:28,018] DEBUG - wire << "Content-Type: >>> application/json[\r][\n]" >>> [2014-12-12 10:40:28,018] DEBUG - wire << "Accept: */*[\r][\n]" >>> [2014-12-12 10:40:28,018] DEBUG - wire << "Cache-Control: >>> no-cache[\r][\n]" >>> [2014-12-12 10:40:28,019] DEBUG - wire << "Content-Length: 489[\r][\n]" >>> [2014-12-12 10:40:28,019] DEBUG - wire << "Host: kesan.teamwork.com:80 >>> [\r][\n]" >>> [2014-12-12 10:40:28,019] DEBUG - wire << "Connection: >>> Keep-Alive[\r][\n]" >>> [2014-12-12 10:40:28,019] DEBUG - wire << "User-Agent: >>> Synapse-PT-HttpComponents-NIO[\r][\n]" >>> [2014-12-12 10:40:28,020] DEBUG - wire << "[\r][\n]" >>> [2014-12-12 10:40:28,021] DEBUG - wire << "{[\n]" >>> [2014-12-12 10:40:28,021] DEBUG - wire << " "milestone": >>> {[\n]" >>> [2014-12-12 10:40:28,021] DEBUG - wire << " "title": >>> "Test Milestone",[\n]" >>> [2014-12-12 10:40:28,021] DEBUG - wire << " >>> "description": "desc",[\n]" >>> [2014-12-12 10:40:28,021] DEBUG - wire << " >>> "deadline": "20141222",[\n]" >>> [2014-12-12 10:40:28,022] DEBUG - wire << " "notify": >>> "true",[\n]" >>> [2014-12-12 10:40:28,022] DEBUG - wire << " >>> "reminder": "false",[\n]" >>> [2014-12-12 10:40:28,022] DEBUG - wire << " >>> "private": "true",[\n]" >>> [2014-12-12 10:40:28,022] DEBUG - wire << " >>> "responsible-party-ids": "81424"[\n]" >>> [2014-12-12 10:40:28,023] DEBUG - wire << " },[\n]" >>> [2014-12-12 10:40:28,023] DEBUG - wire << " >>> "move-upcoming-milestones":"true",[\n]" >>> [2014-12-12 10:40:28,023] DEBUG - wire << " >>> "move-upcoming-milestones-off-weekends": "true"[\n]" >>> [2014-12-12 10:40:28,023] DEBUG - wire << " }" >>> [2014-12-12 10:40:28,579] DEBUG - wire >> "HTTP/1.1 200 OK[\r][\n]" >>> [2014-12-12 10:40:28,580] DEBUG - wire >> "Access-Control-Allow-Headers: >>> Authorization[\r][\n]" >>> [2014-12-12 10:40:28,580] DEBUG - wire >> "Access-Control-Allow-Methods: >>> GET,POST,PUT,DELETE,OPTIONS[\r][\n]" >>> [2014-12-12 10:40:28,580] DEBUG - wire >> "Access-Control-Allow-Origin: >>> chrome-extension://fdmmgilgnpjigdojojpjoooidkmcomcm[\r][\n]" >>> [2014-12-12 10:40:28,580] DEBUG - wire >> "Cache-Control: private, >>> must-revalidate, max-stale=0, post-check=0, pre-check=0[\r][\n]" >>> [2014-12-12 10:40:28,581] DEBUG - wire >> "Cache-control: >>> no-cache="set-cookie"[\r][\n]" >>> [2014-12-12 10:40:28,581] DEBUG - wire >> "Content-Type: >>> application/json; charset=utf-8[\r][\n]" >>> [2014-12-12 10:40:28,581] DEBUG - wire >> "Date: Fri, 12 Dec 2014 >>> 05:10:28 GMT[\r][\n]" >>> [2014-12-12 10:40:28,581] DEBUG - wire >> "ETag: ""[\r][\n]" >>> [2014-12-12 10:40:28,581] DEBUG - wire >> "id: 107817[\r][\n]" >>> [2014-12-12 10:40:28,582] DEBUG - wire >> "Location: >>> /milestones/107817.json[\r][\n]" >>> [2014-12-12 10:40:28,582] DEBUG - wire >> "P3P: CP="Teamwork does not >>> have a P3P policy"[\r][\n]" >>> [2014-12-12 10:40:28,582] DEBUG - wire >> "Set-Cookie: >>> JSESSIONID=38304f307d9015efe5c451e1b1a4f337e256;path=/; HttpOnly[\r][\n]" >>> [2014-12-12 10:40:28,582] DEBUG - wire >> "Set-Cookie: >>> GOKEY-C=630427933FADAB33AE0EEB9810BFE544TS1418361028;expires=Sat, >>> 10-Jan-2015 05:10:28 GMT;path=/[\r][\n]" >>> [2014-12-12 10:40:28,583] DEBUG - wire >> "Set-Cookie: >>> AWSELB=1763BD4F1469E3CA629D18218E25AE8AE909B624ED6ACFA6203A7B90472C6E09D74C09149E1175BC4DDDFA0B86F38F166677CC6C96188D2E6796687ACAE0385D831FAAF84B;PATH=/[\r][\n]" >>> [2014-12-12 10:40:28,583] DEBUG - wire >> "twserver: webserver6[\r][\n]" >>> [2014-12-12 10:40:28,583] DEBUG - wire >> "X-lastUpdated: >>> 2014-12-12T05:10:28Z[\r][\n]" >>> [2014-12-12 10:40:28,583] DEBUG - wire >> "X-RateLimit-Limit: >>> 240[\r][\n]" >>> [2014-12-12 10:40:28,584] DEBUG - wire >> "X-RateLimit-Remaining: >>> 239[\r][\n]" >>> [2014-12-12 10:40:28,584] DEBUG - wire >> "Connection: Close[\r][\n]" >>> [2014-12-12 10:40:28,584] DEBUG - wire >> "[\r][\n]" >>> [2014-12-12 10:40:28,584] DEBUG - wire >> >>> "{"affects-other-milestones":false,"STATUS":"OK"}" >>> [2014-12-12 10:40:28,586] ERROR - ClientWorker Invalid URL received >>> java.net.MalformedURLException: no protocol: /milestones/107817.json >>> at java.net.URL.<init>(URL.java:583) >>> at java.net.URL.<init>(URL.java:480) >>> at java.net.URL.<init>(URL.java:429) >>> at >>> org.apache.synapse.transport.passthru.ClientWorker.<init>(ClientWorker.java:75) >>> at >>> org.apache.synapse.transport.passthru.TargetHandler.responseReceived(TargetHandler.java:297) >>> at >>> org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:180) >>> at >>> org.apache.synapse.transport.http.conn.LoggingNHttpClientConnection.consumeInput(LoggingNHttpClientConnection.java:106) >>> at >>> org.apache.synapse.transport.passthru.ClientIODispatch.onInputReady(ClientIODispatch.java:83) >>> at >>> org.apache.synapse.transport.passthru.ClientIODispatch.onInputReady(ClientIODispatch.java:41) >>> at >>> org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:119) >>> at >>> org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:160) >>> at >>> org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:342) >>> at >>> org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:320) >>> at >>> org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:280) >>> at >>> org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106) >>> at >>> org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:604) >>> at java.lang.Thread.run(Thread.java:722) >>> >>> >>> Regards, >>> >>> Kesavan Yogarajah >>> Associate Software Engineer >>> WSO2 Inc. >>> >>> Mob: +94 779758021 >>> >> >> >> -- >> >> 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
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
