how its working for me  W/M with latest Alpha pack with latest connectors
shared https://svn.wso2.org/repos/wso2/people/shafreen/connectors/

<proxy xmlns="http://ws.apache.org/ns/synapse";
       name="JiraConnector"
       transports="https,http"
       statistics="disable"
       trace="disable"
       startOnLoad="true">
   <target>
      <inSequence>
         <jira.config>
            <username>dus...@wso2.com</username>
            <password>{wso2:vault-lookup('dushan.ot.password')}</password>
            <uri>https://wso2.org/jira</uri>
         </jira.config>
         <jira.getIssue>
            <issueIdOrKey>ESBJAVA-2632</issueIdOrKey>
         </jira.getIssue>
         <respond/>
      </inSequence>
   </target>
   <description/>
</proxy>





dushan@dushan-ThinkPad-T520:~/poc/server/4.1.2-pack/connnector-works/worker_mgr/wso2elb-2.1.0/bin$
curl -v -X GET http://esb.wso2.com:8280/services/JiraConnector
* Adding handle: conn: 0x20aab90
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x20aab90) send_pipe: 1, recv_pipe: 0
* About to connect() to esb.wso2.com port 8280 (#0)
*   Trying 192.168.1.3...
* Connected to esb.wso2.com (192.168.1.3) port 8280 (#0)
> GET /services/JiraConnector HTTP/1.1
> User-Agent: curl/7.32.0
> Host: esb.wso2.com:8280
> Accept: */*
>
< HTTP/1.1 200 OK
< X-ASESSIONID: 130dp0l
< Set-Cookie: JSESSIONID=10AE871A5000B8784228045C1CFBA27B; Path=/jira/;
HttpOnly
< Set-Cookie:
atlassian.xsrf.token=A6BL-PURG-37QO-G55K|52b6f6a31898930c9bae0db4016245046df44826|lin;
Path=/jira
< X-AUSERNAME: dus...@wso2.com
< Content-Type: application/json;charset=UTF-8
< X-Seraph-LoginReason: OK
< X-AREQUESTID: 754x6241238x1
< Cache-Control: no-cache, no-store, no-transform
< Date: Thu, 14 Nov 2013 07:04:06 GMT
< Transfer-Encoding: chunked
<
{"expand":"renderedFields,names,schema,transitions,operations,editmeta,changelog","id":"51027","self":"https:\/\/
wso2.org\/jira\/rest\/api\/2\/issue\/51027","key":"ESBJAVA-2632","fields":{"progress":{"progress":"0","total":"0"},"summary":"Messages
are not transformed in to json when \"Accept: application\/json\"  is set
in Restful services in
NHTTP","timetracking":"","customfield_10084":"","customfield_10113":"","issuetype":{"self":"https:\/\/
wso2.org\/jira\/rest\/api\/2\/issuetype\/1","id":"1","description":"A
problem which impairs or prevents the functions of the
product.","iconUrl":"https:\/\/wso2.org
\/jira\/images\/icons\/issuetypes\/bug.png","name":"Bug","subtask":"false"},"customfield_10080":"","votes":{"self":"https:\/\/
wso2.org
\/jira\/rest\/api\/2\/issue\/ESBJAVA-2632\/votes","votes":"0","hasVoted":"false"},"resolution":"","fixVersions":{"self":"https:\/\/
wso2.org\/jira\/rest\/api\/2\/version\/11344","id":"11344","description":"ESB
4.8.0 release based on Carbon 4.2.0 - Alpha","

On Thu, Nov 14, 2013 at 12:22 PM, Chathurika Mahaarachchci (JIRA) <
j...@wso2.org> wrote:

>        Chathurika 
> Mahaarachchci<https://wso2.org/jira/secure/ViewProfile.jspa?name=chathurika%40wso2.com>reopened
>  [image:
> Bug] ESBJAVA-2680 <https://wso2.org/jira/browse/ESBJAVA-2680>
>  *Unable to Invoke the JIRA Connector an error 
> occured.*<https://wso2.org/jira/browse/ESBJAVA-2680>
>        This issue is still exist in ESB 4.8.0 Alpha pack
>    *Change By:*  Chathurika 
> Mahaarachchci<https://wso2.org/jira/secure/ViewProfile.jspa?name=chathurika%40wso2.com>(14/Nov/13
>  12:21 PM)
> *Resolution:*  Fixed   *Status:*  Resolved Reopened       This message is
> automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA
> administrators
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>



-- 
Dushan Abeyruwan
Associate Tech Lead
*Integration Technologies Team*
*WSO2 Inc. http://wso2.com/ <http://wso2.com/>*
*Mobile:(+94)714408632 <%28%2B94%29714408632>*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to