Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-05-09 Thread Hariprasath Thanarajah
Hi Malaka,

As an offline chat with Buddhima,
if a certain version of automation frame work needs a certain axis2
version, then there should be a release version of automation framework
along with that axis2.

On Mon, May 9, 2016 at 9:56 AM, Hariprasath Thanarajah  wrote:

> Noted malaka.
>
>
> On Monday, May 9, 2016, Malaka Silva  wrote:
>
>> I think this is nothing to do with wso2-synapse. You need to change
>> automation framework accordingly.
>>
>> On Mon, May 9, 2016 at 9:48 AM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Yes Malaka. I think we have to change the axis2 version to 1.6.1-wso2v17
>>> in the wso2-synapse. Then we can release the connector with integration
>>> test.
>>>
>>>
>>> On Monday, May 9, 2016, Malaka Silva  wrote:
>>>
 Hi Hariprasath,

 So clearly this is nothing to do with ESB. Dependency you are getting
 from automation is causing this issue.

 On Sun, May 8, 2016 at 10:01 PM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> Hi Malaka,
>
> In the integration test It takes the axis2-version from wso2-synapse
> according to[1]. But still the version of axis2 in wso2-synapse is
> 1.6.1-wso2v12 according to [2]. When I locally change the version to 
> axis2-1.6.1-wso2v17
> and built then the integration test for salesforce is running as we
> expected.
>
> [1] -
> https://github.com/wso2-extensions/esb-connector-salesforce/blob/master/pom.xml#L34
> [2] - https://github.com/wso2/wso2-synapse/blob/master/pom.xml#L1003
>
> On Fri, May 6, 2016 at 9:49 AM, Malaka Silva  wrote:
>
>> Hi Hariprasath,
>>
>> I had an offline discussion with Dharshana. Seems like the issue is
>> related the a mismatch and it takes the bundle from aytomation framework
>> rather than from esb plugins.
>>
>> Since the issue is not related to ESB 5, send the pr so that we can
>> resolve the issue. (Anyway we need to update the version in product ESB)
>>
>> Try upgrading the automation version or manually adding the 
>> axis2-1.6.1-wso2v17 dependency to
>> test run time.
>>
>> On Tue, May 3, 2016 at 1:31 PM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Noted Malaka.
>>>
>>> On Tue, May 3, 2016 at 1:05 PM, Malaka Silva 
>>> wrote:
>>>
 Hariprasath great if you could create the pr(master branch) and add
 to the jira.

 On Tue, May 3, 2016 at 1:02 PM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> Hi Malaka/Chanaka,
>
> The axis2-1.6.1-wso2v17 is bundled with ESB 5.0.0 Alpha but For
> the integration test it takes axis2-1.6.1-wso2v12 from the 
> highlighted in
> [1].
>
> This is required for Salesforce integration test. We need to get
> it fix in BETA release.
>
> [1] -
> https://github.com/wso2/product-esb/blob/v5.0.0-ALPHA/pom.xml#L1064
>
> Thanks,
>
> On Tue, May 3, 2016 at 12:09 PM, Malaka Silva 
> wrote:
>
>> Hi Hariprasath,
>>
>> Can we verify the [1] fix is there with ESB 5.0.0 alpha please?
>>
>> [1] https://github.com/wso2/wso2-axis2/pull/73
>>
>> On Mon, May 2, 2016 at 11:16 PM, Chanaka Fernando <
>> chana...@wso2.com> wrote:
>>
>>> Hi Hariprasath,
>>>
>>> ESB 5.0.0 - Alpha has been released with the axis2 version
>>> 1.6.1.wso2v17 (kernel 4.4.5) and it should have this fix included. 
>>> Please
>>> double check this on the correct alpha pack.
>>>
>>> On Mon, May 2, 2016 at 12:12 PM, Malaka Silva 
>>> wrote:
>>>
 Thx

 On Mon, May 2, 2016 at 12:11 PM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> Hi Malaka,
>
> I have created the jira[1] with highest priority,
>
> [1]
> https://wso2.org/jira/browse/ESBJAVA-4582
>
> On Mon, May 2, 2016 at 11:31 AM, Malaka Silva  > wrote:
>
>> Hi Hariprasath,
>>
>> Ideally fix should go with latest ESB. If you find the same
>> issue with ESB 5 Alpha, please report a jira with highest 
>> priority.
>>
>> On Mon, May 2, 2016 at 11:25 AM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Hi Malaka,
>>>
>>> I have changed the code in wso2-axis2 according to [1] and
>>> put it as a patch. Now it's working perfectly. Thank you 
>>> everyone for your
>>> suggestions.
>>>
>>> [1]
>>> https://github.com/ws

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-05-08 Thread Hariprasath Thanarajah
Noted malaka.

On Monday, May 9, 2016, Malaka Silva  wrote:

> I think this is nothing to do with wso2-synapse. You need to change
> automation framework accordingly.
>
> On Mon, May 9, 2016 at 9:48 AM, Hariprasath Thanarajah <
> haripras...@wso2.com
> > wrote:
>
>> Yes Malaka. I think we have to change the axis2 version to 1.6.1-wso2v17
>> in the wso2-synapse. Then we can release the connector with integration
>> test.
>>
>>
>> On Monday, May 9, 2016, Malaka Silva > > wrote:
>>
>>> Hi Hariprasath,
>>>
>>> So clearly this is nothing to do with ESB. Dependency you are getting
>>> from automation is causing this issue.
>>>
>>> On Sun, May 8, 2016 at 10:01 PM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 Hi Malaka,

 In the integration test It takes the axis2-version from wso2-synapse
 according to[1]. But still the version of axis2 in wso2-synapse is
 1.6.1-wso2v12 according to [2]. When I locally change the version to 
 axis2-1.6.1-wso2v17
 and built then the integration test for salesforce is running as we
 expected.

 [1] -
 https://github.com/wso2-extensions/esb-connector-salesforce/blob/master/pom.xml#L34
 [2] - https://github.com/wso2/wso2-synapse/blob/master/pom.xml#L1003

 On Fri, May 6, 2016 at 9:49 AM, Malaka Silva  wrote:

> Hi Hariprasath,
>
> I had an offline discussion with Dharshana. Seems like the issue is
> related the a mismatch and it takes the bundle from aytomation framework
> rather than from esb plugins.
>
> Since the issue is not related to ESB 5, send the pr so that we can
> resolve the issue. (Anyway we need to update the version in product ESB)
>
> Try upgrading the automation version or manually adding the 
> axis2-1.6.1-wso2v17 dependency to
> test run time.
>
> On Tue, May 3, 2016 at 1:31 PM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Noted Malaka.
>>
>> On Tue, May 3, 2016 at 1:05 PM, Malaka Silva  wrote:
>>
>>> Hariprasath great if you could create the pr(master branch) and add
>>> to the jira.
>>>
>>> On Tue, May 3, 2016 at 1:02 PM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 Hi Malaka/Chanaka,

 The axis2-1.6.1-wso2v17 is bundled with ESB 5.0.0 Alpha but For the
 integration test it takes axis2-1.6.1-wso2v12 from the highlighted in 
 [1].

 This is required for Salesforce integration test. We need to get it
 fix in BETA release.

 [1] -
 https://github.com/wso2/product-esb/blob/v5.0.0-ALPHA/pom.xml#L1064

 Thanks,

 On Tue, May 3, 2016 at 12:09 PM, Malaka Silva 
 wrote:

> Hi Hariprasath,
>
> Can we verify the [1] fix is there with ESB 5.0.0 alpha please?
>
> [1] https://github.com/wso2/wso2-axis2/pull/73
>
> On Mon, May 2, 2016 at 11:16 PM, Chanaka Fernando <
> chana...@wso2.com> wrote:
>
>> Hi Hariprasath,
>>
>> ESB 5.0.0 - Alpha has been released with the axis2 version
>> 1.6.1.wso2v17 (kernel 4.4.5) and it should have this fix included. 
>> Please
>> double check this on the correct alpha pack.
>>
>> On Mon, May 2, 2016 at 12:12 PM, Malaka Silva 
>> wrote:
>>
>>> Thx
>>>
>>> On Mon, May 2, 2016 at 12:11 PM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 Hi Malaka,

 I have created the jira[1] with highest priority,

 [1]
 https://wso2.org/jira/browse/ESBJAVA-4582

 On Mon, May 2, 2016 at 11:31 AM, Malaka Silva 
 wrote:

> Hi Hariprasath,
>
> Ideally fix should go with latest ESB. If you find the same
> issue with ESB 5 Alpha, please report a jira with highest 
> priority.
>
> On Mon, May 2, 2016 at 11:25 AM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Hi Malaka,
>>
>> I have changed the code in wso2-axis2 according to [1] and
>> put it as a patch. Now it's working perfectly. Thank you 
>> everyone for your
>> suggestions.
>>
>> [1]
>> https://github.com/wso2-support/wso2-axis2/pull/1/files
>> 
>>
>> On Thu, Apr 21, 2016 at 6:36 PM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Noted malaka.
>>>
>>> On Thursday,

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-05-08 Thread Malaka Silva
I think this is nothing to do with wso2-synapse. You need to change
automation framework accordingly.

On Mon, May 9, 2016 at 9:48 AM, Hariprasath Thanarajah  wrote:

> Yes Malaka. I think we have to change the axis2 version to 1.6.1-wso2v17
> in the wso2-synapse. Then we can release the connector with integration
> test.
>
>
> On Monday, May 9, 2016, Malaka Silva  wrote:
>
>> Hi Hariprasath,
>>
>> So clearly this is nothing to do with ESB. Dependency you are getting
>> from automation is causing this issue.
>>
>> On Sun, May 8, 2016 at 10:01 PM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Hi Malaka,
>>>
>>> In the integration test It takes the axis2-version from wso2-synapse
>>> according to[1]. But still the version of axis2 in wso2-synapse is
>>> 1.6.1-wso2v12 according to [2]. When I locally change the version to 
>>> axis2-1.6.1-wso2v17
>>> and built then the integration test for salesforce is running as we
>>> expected.
>>>
>>> [1] -
>>> https://github.com/wso2-extensions/esb-connector-salesforce/blob/master/pom.xml#L34
>>> [2] - https://github.com/wso2/wso2-synapse/blob/master/pom.xml#L1003
>>>
>>> On Fri, May 6, 2016 at 9:49 AM, Malaka Silva  wrote:
>>>
 Hi Hariprasath,

 I had an offline discussion with Dharshana. Seems like the issue is
 related the a mismatch and it takes the bundle from aytomation framework
 rather than from esb plugins.

 Since the issue is not related to ESB 5, send the pr so that we can
 resolve the issue. (Anyway we need to update the version in product ESB)

 Try upgrading the automation version or manually adding the 
 axis2-1.6.1-wso2v17 dependency to
 test run time.

 On Tue, May 3, 2016 at 1:31 PM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> Noted Malaka.
>
> On Tue, May 3, 2016 at 1:05 PM, Malaka Silva  wrote:
>
>> Hariprasath great if you could create the pr(master branch) and add
>> to the jira.
>>
>> On Tue, May 3, 2016 at 1:02 PM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Hi Malaka/Chanaka,
>>>
>>> The axis2-1.6.1-wso2v17 is bundled with ESB 5.0.0 Alpha but For the
>>> integration test it takes axis2-1.6.1-wso2v12 from the highlighted in 
>>> [1].
>>>
>>> This is required for Salesforce integration test. We need to get it
>>> fix in BETA release.
>>>
>>> [1] -
>>> https://github.com/wso2/product-esb/blob/v5.0.0-ALPHA/pom.xml#L1064
>>>
>>> Thanks,
>>>
>>> On Tue, May 3, 2016 at 12:09 PM, Malaka Silva 
>>> wrote:
>>>
 Hi Hariprasath,

 Can we verify the [1] fix is there with ESB 5.0.0 alpha please?

 [1] https://github.com/wso2/wso2-axis2/pull/73

 On Mon, May 2, 2016 at 11:16 PM, Chanaka Fernando <
 chana...@wso2.com> wrote:

> Hi Hariprasath,
>
> ESB 5.0.0 - Alpha has been released with the axis2 version
> 1.6.1.wso2v17 (kernel 4.4.5) and it should have this fix included. 
> Please
> double check this on the correct alpha pack.
>
> On Mon, May 2, 2016 at 12:12 PM, Malaka Silva 
> wrote:
>
>> Thx
>>
>> On Mon, May 2, 2016 at 12:11 PM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Hi Malaka,
>>>
>>> I have created the jira[1] with highest priority,
>>>
>>> [1]
>>> https://wso2.org/jira/browse/ESBJAVA-4582
>>>
>>> On Mon, May 2, 2016 at 11:31 AM, Malaka Silva 
>>> wrote:
>>>
 Hi Hariprasath,

 Ideally fix should go with latest ESB. If you find the same
 issue with ESB 5 Alpha, please report a jira with highest priority.

 On Mon, May 2, 2016 at 11:25 AM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> Hi Malaka,
>
> I have changed the code in wso2-axis2 according to [1] and put
> it as a patch. Now it's working perfectly. Thank you everyone for 
> your
> suggestions.
>
> [1]
> https://github.com/wso2-support/wso2-axis2/pull/1/files
> 
>
> On Thu, Apr 21, 2016 at 6:36 PM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Noted malaka.
>>
>> On Thursday, April 21, 2016, Malaka Silva 
>> wrote:
>>
>>> Hi Hariprasath,
>>>
>>> Best is start debugging fresh pack with the release tag and
>>> apply the fix and check [1].
>>

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-05-08 Thread Hariprasath Thanarajah
Yes Malaka. I think we have to change the axis2 version to 1.6.1-wso2v17 in
the wso2-synapse. Then we can release the connector with integration test.

On Monday, May 9, 2016, Malaka Silva  wrote:

> Hi Hariprasath,
>
> So clearly this is nothing to do with ESB. Dependency you are getting from
> automation is causing this issue.
>
> On Sun, May 8, 2016 at 10:01 PM, Hariprasath Thanarajah <
> haripras...@wso2.com
> > wrote:
>
>> Hi Malaka,
>>
>> In the integration test It takes the axis2-version from wso2-synapse
>> according to[1]. But still the version of axis2 in wso2-synapse is
>> 1.6.1-wso2v12 according to [2]. When I locally change the version to 
>> axis2-1.6.1-wso2v17
>> and built then the integration test for salesforce is running as we
>> expected.
>>
>> [1] -
>> https://github.com/wso2-extensions/esb-connector-salesforce/blob/master/pom.xml#L34
>> [2] - https://github.com/wso2/wso2-synapse/blob/master/pom.xml#L1003
>>
>> On Fri, May 6, 2016 at 9:49 AM, Malaka Silva > > wrote:
>>
>>> Hi Hariprasath,
>>>
>>> I had an offline discussion with Dharshana. Seems like the issue is
>>> related the a mismatch and it takes the bundle from aytomation framework
>>> rather than from esb plugins.
>>>
>>> Since the issue is not related to ESB 5, send the pr so that we can
>>> resolve the issue. (Anyway we need to update the version in product ESB)
>>>
>>> Try upgrading the automation version or manually adding the 
>>> axis2-1.6.1-wso2v17 dependency to
>>> test run time.
>>>
>>> On Tue, May 3, 2016 at 1:31 PM, Hariprasath Thanarajah <
>>> haripras...@wso2.com
>>> > wrote:
>>>
 Noted Malaka.

 On Tue, May 3, 2016 at 1:05 PM, Malaka Silva >>> > wrote:

> Hariprasath great if you could create the pr(master branch) and add to
> the jira.
>
> On Tue, May 3, 2016 at 1:02 PM, Hariprasath Thanarajah <
> haripras...@wso2.com
> > wrote:
>
>> Hi Malaka/Chanaka,
>>
>> The axis2-1.6.1-wso2v17 is bundled with ESB 5.0.0 Alpha but For the
>> integration test it takes axis2-1.6.1-wso2v12 from the highlighted in 
>> [1].
>>
>> This is required for Salesforce integration test. We need to get it
>> fix in BETA release.
>>
>> [1] -
>> https://github.com/wso2/product-esb/blob/v5.0.0-ALPHA/pom.xml#L1064
>>
>> Thanks,
>>
>> On Tue, May 3, 2016 at 12:09 PM, Malaka Silva > > wrote:
>>
>>> Hi Hariprasath,
>>>
>>> Can we verify the [1] fix is there with ESB 5.0.0 alpha please?
>>>
>>> [1] https://github.com/wso2/wso2-axis2/pull/73
>>>
>>> On Mon, May 2, 2016 at 11:16 PM, Chanaka Fernando >> > wrote:
>>>
 Hi Hariprasath,

 ESB 5.0.0 - Alpha has been released with the axis2 version
 1.6.1.wso2v17 (kernel 4.4.5) and it should have this fix included. 
 Please
 double check this on the correct alpha pack.

 On Mon, May 2, 2016 at 12:12 PM, Malaka Silva >>> > wrote:

> Thx
>
> On Mon, May 2, 2016 at 12:11 PM, Hariprasath Thanarajah <
> haripras...@wso2.com
> > wrote:
>
>> Hi Malaka,
>>
>> I have created the jira[1] with highest priority,
>>
>> [1]
>> https://wso2.org/jira/browse/ESBJAVA-4582
>>
>> On Mon, May 2, 2016 at 11:31 AM, Malaka Silva > > wrote:
>>
>>> Hi Hariprasath,
>>>
>>> Ideally fix should go with latest ESB. If you find the same
>>> issue with ESB 5 Alpha, please report a jira with highest priority.
>>>
>>> On Mon, May 2, 2016 at 11:25 AM, Hariprasath Thanarajah <
>>> haripras...@wso2.com
>>> > wrote:
>>>
 Hi Malaka,

 I have changed the code in wso2-axis2 according to [1] and put
 it as a patch. Now it's working perfectly. Thank you everyone for 
 your
 suggestions.

 [1]
 https://github.com/wso2-support/wso2-axis2/pull/1/files
 

 On Thu, Apr 21, 2016 at 6:36 PM, Hariprasath Thanarajah <
 haripras...@wso2.com
 > wrote:

> Noted malaka.
>
> On Thursday, April 21, 2016, Malaka Silva  > wrote:
>
>> Hi Hariprasath,
>>
>> Best is start debugging fresh pack with the release tag and
>> apply the fix and check [1].
>>
>> Did you check this with esb 5 alpha alread? If not do so.
>>
>> [1]
>> https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests
>>
>> On Thu, Apr 21, 2016 at 2:53 AM, Haripra

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-05-08 Thread Malaka Silva
Hi Hariprasath,

So clearly this is nothing to do with ESB. Dependency you are getting from
automation is causing this issue.

On Sun, May 8, 2016 at 10:01 PM, Hariprasath Thanarajah <
haripras...@wso2.com> wrote:

> Hi Malaka,
>
> In the integration test It takes the axis2-version from wso2-synapse
> according to[1]. But still the version of axis2 in wso2-synapse is
> 1.6.1-wso2v12 according to [2]. When I locally change the version to 
> axis2-1.6.1-wso2v17
> and built then the integration test for salesforce is running as we
> expected.
>
> [1] -
> https://github.com/wso2-extensions/esb-connector-salesforce/blob/master/pom.xml#L34
> [2] - https://github.com/wso2/wso2-synapse/blob/master/pom.xml#L1003
>
> On Fri, May 6, 2016 at 9:49 AM, Malaka Silva  wrote:
>
>> Hi Hariprasath,
>>
>> I had an offline discussion with Dharshana. Seems like the issue is
>> related the a mismatch and it takes the bundle from aytomation framework
>> rather than from esb plugins.
>>
>> Since the issue is not related to ESB 5, send the pr so that we can
>> resolve the issue. (Anyway we need to update the version in product ESB)
>>
>> Try upgrading the automation version or manually adding the 
>> axis2-1.6.1-wso2v17 dependency to
>> test run time.
>>
>> On Tue, May 3, 2016 at 1:31 PM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Noted Malaka.
>>>
>>> On Tue, May 3, 2016 at 1:05 PM, Malaka Silva  wrote:
>>>
 Hariprasath great if you could create the pr(master branch) and add to
 the jira.

 On Tue, May 3, 2016 at 1:02 PM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> Hi Malaka/Chanaka,
>
> The axis2-1.6.1-wso2v17 is bundled with ESB 5.0.0 Alpha but For the
> integration test it takes axis2-1.6.1-wso2v12 from the highlighted in [1].
>
> This is required for Salesforce integration test. We need to get it
> fix in BETA release.
>
> [1] -
> https://github.com/wso2/product-esb/blob/v5.0.0-ALPHA/pom.xml#L1064
>
> Thanks,
>
> On Tue, May 3, 2016 at 12:09 PM, Malaka Silva  wrote:
>
>> Hi Hariprasath,
>>
>> Can we verify the [1] fix is there with ESB 5.0.0 alpha please?
>>
>> [1] https://github.com/wso2/wso2-axis2/pull/73
>>
>> On Mon, May 2, 2016 at 11:16 PM, Chanaka Fernando 
>> wrote:
>>
>>> Hi Hariprasath,
>>>
>>> ESB 5.0.0 - Alpha has been released with the axis2 version
>>> 1.6.1.wso2v17 (kernel 4.4.5) and it should have this fix included. 
>>> Please
>>> double check this on the correct alpha pack.
>>>
>>> On Mon, May 2, 2016 at 12:12 PM, Malaka Silva 
>>> wrote:
>>>
 Thx

 On Mon, May 2, 2016 at 12:11 PM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> Hi Malaka,
>
> I have created the jira[1] with highest priority,
>
> [1]
> https://wso2.org/jira/browse/ESBJAVA-4582
>
> On Mon, May 2, 2016 at 11:31 AM, Malaka Silva 
> wrote:
>
>> Hi Hariprasath,
>>
>> Ideally fix should go with latest ESB. If you find the same issue
>> with ESB 5 Alpha, please report a jira with highest priority.
>>
>> On Mon, May 2, 2016 at 11:25 AM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Hi Malaka,
>>>
>>> I have changed the code in wso2-axis2 according to [1] and put
>>> it as a patch. Now it's working perfectly. Thank you everyone for 
>>> your
>>> suggestions.
>>>
>>> [1]
>>> https://github.com/wso2-support/wso2-axis2/pull/1/files
>>> 
>>>
>>> On Thu, Apr 21, 2016 at 6:36 PM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 Noted malaka.

 On Thursday, April 21, 2016, Malaka Silva 
 wrote:

> Hi Hariprasath,
>
> Best is start debugging fresh pack with the release tag and
> apply the fix and check [1].
>
> Did you check this with esb 5 alpha alread? If not do so.
>
> [1]
> https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests
>
> On Thu, Apr 21, 2016 at 2:53 AM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> As malaka said this is slightly different from the usual way
>> and Malaka, I copied the patch to the folder and put the zip to 
>> the
>> repository. Need to investigate further.
>>
>>
>> On Wednesday, April 20, 2016, Malaka Silva 
>> wrote

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-05-08 Thread Hariprasath Thanarajah
Hi Malaka,

In the integration test It takes the axis2-version from wso2-synapse
according to[1]. But still the version of axis2 in wso2-synapse is
1.6.1-wso2v12 according to [2]. When I locally change the version to
axis2-1.6.1-wso2v17
and built then the integration test for salesforce is running as we
expected.

[1] -
https://github.com/wso2-extensions/esb-connector-salesforce/blob/master/pom.xml#L34
[2] - https://github.com/wso2/wso2-synapse/blob/master/pom.xml#L1003

On Fri, May 6, 2016 at 9:49 AM, Malaka Silva  wrote:

> Hi Hariprasath,
>
> I had an offline discussion with Dharshana. Seems like the issue is
> related the a mismatch and it takes the bundle from aytomation framework
> rather than from esb plugins.
>
> Since the issue is not related to ESB 5, send the pr so that we can
> resolve the issue. (Anyway we need to update the version in product ESB)
>
> Try upgrading the automation version or manually adding the 
> axis2-1.6.1-wso2v17 dependency to
> test run time.
>
> On Tue, May 3, 2016 at 1:31 PM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Noted Malaka.
>>
>> On Tue, May 3, 2016 at 1:05 PM, Malaka Silva  wrote:
>>
>>> Hariprasath great if you could create the pr(master branch) and add to
>>> the jira.
>>>
>>> On Tue, May 3, 2016 at 1:02 PM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 Hi Malaka/Chanaka,

 The axis2-1.6.1-wso2v17 is bundled with ESB 5.0.0 Alpha but For the
 integration test it takes axis2-1.6.1-wso2v12 from the highlighted in [1].

 This is required for Salesforce integration test. We need to get it fix
 in BETA release.

 [1] -
 https://github.com/wso2/product-esb/blob/v5.0.0-ALPHA/pom.xml#L1064

 Thanks,

 On Tue, May 3, 2016 at 12:09 PM, Malaka Silva  wrote:

> Hi Hariprasath,
>
> Can we verify the [1] fix is there with ESB 5.0.0 alpha please?
>
> [1] https://github.com/wso2/wso2-axis2/pull/73
>
> On Mon, May 2, 2016 at 11:16 PM, Chanaka Fernando 
> wrote:
>
>> Hi Hariprasath,
>>
>> ESB 5.0.0 - Alpha has been released with the axis2 version
>> 1.6.1.wso2v17 (kernel 4.4.5) and it should have this fix included. Please
>> double check this on the correct alpha pack.
>>
>> On Mon, May 2, 2016 at 12:12 PM, Malaka Silva 
>> wrote:
>>
>>> Thx
>>>
>>> On Mon, May 2, 2016 at 12:11 PM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 Hi Malaka,

 I have created the jira[1] with highest priority,

 [1]
 https://wso2.org/jira/browse/ESBJAVA-4582

 On Mon, May 2, 2016 at 11:31 AM, Malaka Silva 
 wrote:

> Hi Hariprasath,
>
> Ideally fix should go with latest ESB. If you find the same issue
> with ESB 5 Alpha, please report a jira with highest priority.
>
> On Mon, May 2, 2016 at 11:25 AM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Hi Malaka,
>>
>> I have changed the code in wso2-axis2 according to [1] and put it
>> as a patch. Now it's working perfectly. Thank you everyone for your
>> suggestions.
>>
>> [1]
>> https://github.com/wso2-support/wso2-axis2/pull/1/files
>> 
>>
>> On Thu, Apr 21, 2016 at 6:36 PM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Noted malaka.
>>>
>>> On Thursday, April 21, 2016, Malaka Silva 
>>> wrote:
>>>
 Hi Hariprasath,

 Best is start debugging fresh pack with the release tag and
 apply the fix and check [1].

 Did you check this with esb 5 alpha alread? If not do so.

 [1]
 https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests

 On Thu, Apr 21, 2016 at 2:53 AM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> As malaka said this is slightly different from the usual way
> and Malaka, I copied the patch to the folder and put the zip to 
> the
> repository. Need to investigate further.
>
>
> On Wednesday, April 20, 2016, Malaka Silva 
> wrote:
>
>> Hariprasath is doing this for connectors. It is slightly
>> different than running esb integration tests. We need to copy 
>> the zip file
>> to repository folder. Hope you have updated the zip file with 
>> patch in that
>> case.
>>
>> On Wed, Apr 20, 2016 at 10:08 PM,

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-05-05 Thread Malaka Silva
Hi Hariprasath,

I had an offline discussion with Dharshana. Seems like the issue is related
the a mismatch and it takes the bundle from aytomation framework rather
than from esb plugins.

Since the issue is not related to ESB 5, send the pr so that we can resolve
the issue. (Anyway we need to update the version in product ESB)

Try upgrading the automation version or manually adding the
axis2-1.6.1-wso2v17 dependency to
test run time.

On Tue, May 3, 2016 at 1:31 PM, Hariprasath Thanarajah  wrote:

> Noted Malaka.
>
> On Tue, May 3, 2016 at 1:05 PM, Malaka Silva  wrote:
>
>> Hariprasath great if you could create the pr(master branch) and add to
>> the jira.
>>
>> On Tue, May 3, 2016 at 1:02 PM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Hi Malaka/Chanaka,
>>>
>>> The axis2-1.6.1-wso2v17 is bundled with ESB 5.0.0 Alpha but For the
>>> integration test it takes axis2-1.6.1-wso2v12 from the highlighted in [1].
>>>
>>> This is required for Salesforce integration test. We need to get it fix
>>> in BETA release.
>>>
>>> [1] -
>>> https://github.com/wso2/product-esb/blob/v5.0.0-ALPHA/pom.xml#L1064
>>>
>>> Thanks,
>>>
>>> On Tue, May 3, 2016 at 12:09 PM, Malaka Silva  wrote:
>>>
 Hi Hariprasath,

 Can we verify the [1] fix is there with ESB 5.0.0 alpha please?

 [1] https://github.com/wso2/wso2-axis2/pull/73

 On Mon, May 2, 2016 at 11:16 PM, Chanaka Fernando 
 wrote:

> Hi Hariprasath,
>
> ESB 5.0.0 - Alpha has been released with the axis2 version
> 1.6.1.wso2v17 (kernel 4.4.5) and it should have this fix included. Please
> double check this on the correct alpha pack.
>
> On Mon, May 2, 2016 at 12:12 PM, Malaka Silva  wrote:
>
>> Thx
>>
>> On Mon, May 2, 2016 at 12:11 PM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Hi Malaka,
>>>
>>> I have created the jira[1] with highest priority,
>>>
>>> [1]
>>> https://wso2.org/jira/browse/ESBJAVA-4582
>>>
>>> On Mon, May 2, 2016 at 11:31 AM, Malaka Silva 
>>> wrote:
>>>
 Hi Hariprasath,

 Ideally fix should go with latest ESB. If you find the same issue
 with ESB 5 Alpha, please report a jira with highest priority.

 On Mon, May 2, 2016 at 11:25 AM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> Hi Malaka,
>
> I have changed the code in wso2-axis2 according to [1] and put it
> as a patch. Now it's working perfectly. Thank you everyone for your
> suggestions.
>
> [1]
> https://github.com/wso2-support/wso2-axis2/pull/1/files
> 
>
> On Thu, Apr 21, 2016 at 6:36 PM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Noted malaka.
>>
>> On Thursday, April 21, 2016, Malaka Silva 
>> wrote:
>>
>>> Hi Hariprasath,
>>>
>>> Best is start debugging fresh pack with the release tag and
>>> apply the fix and check [1].
>>>
>>> Did you check this with esb 5 alpha alread? If not do so.
>>>
>>> [1]
>>> https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests
>>>
>>> On Thu, Apr 21, 2016 at 2:53 AM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 As malaka said this is slightly different from the usual way
 and Malaka, I copied the patch to the folder and put the zip to the
 repository. Need to investigate further.


 On Wednesday, April 20, 2016, Malaka Silva 
 wrote:

> Hariprasath is doing this for connectors. It is slightly
> different than running esb integration tests. We need to copy the 
> zip file
> to repository folder. Hope you have updated the zip file with 
> patch in that
> case.
>
> On Wed, Apr 20, 2016 at 10:08 PM, Thusitha Thilina Dayaratne <
> thusit...@wso2.com> wrote:
>
>> Hi Hariprasath,
>>
>> Did you apply the patch manually  to the pack when you run
>> the integration test? AFAIK when you run integration tests it 
>> will use the
>> already built default pack. It will not contains the patch.
>>
>> Thanks
>> Thusitha
>>
>> On Wed, Apr 20, 2016 at 9:32 AM, Malaka Silva <
>> mal...@wso2.com> wrote:
>>
>>> Hi Hariprasath,
>>>
>>> You need to debug and investigate this further. Find details
>>>

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-05-03 Thread Hariprasath Thanarajah
Noted Malaka.

On Tue, May 3, 2016 at 1:05 PM, Malaka Silva  wrote:

> Hariprasath great if you could create the pr(master branch) and add to the
> jira.
>
> On Tue, May 3, 2016 at 1:02 PM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Hi Malaka/Chanaka,
>>
>> The axis2-1.6.1-wso2v17 is bundled with ESB 5.0.0 Alpha but For the
>> integration test it takes axis2-1.6.1-wso2v12 from the highlighted in [1].
>>
>> This is required for Salesforce integration test. We need to get it fix
>> in BETA release.
>>
>> [1] - https://github.com/wso2/product-esb/blob/v5.0.0-ALPHA/pom.xml#L1064
>>
>> Thanks,
>>
>> On Tue, May 3, 2016 at 12:09 PM, Malaka Silva  wrote:
>>
>>> Hi Hariprasath,
>>>
>>> Can we verify the [1] fix is there with ESB 5.0.0 alpha please?
>>>
>>> [1] https://github.com/wso2/wso2-axis2/pull/73
>>>
>>> On Mon, May 2, 2016 at 11:16 PM, Chanaka Fernando 
>>> wrote:
>>>
 Hi Hariprasath,

 ESB 5.0.0 - Alpha has been released with the axis2 version
 1.6.1.wso2v17 (kernel 4.4.5) and it should have this fix included. Please
 double check this on the correct alpha pack.

 On Mon, May 2, 2016 at 12:12 PM, Malaka Silva  wrote:

> Thx
>
> On Mon, May 2, 2016 at 12:11 PM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Hi Malaka,
>>
>> I have created the jira[1] with highest priority,
>>
>> [1]
>> https://wso2.org/jira/browse/ESBJAVA-4582
>>
>> On Mon, May 2, 2016 at 11:31 AM, Malaka Silva 
>> wrote:
>>
>>> Hi Hariprasath,
>>>
>>> Ideally fix should go with latest ESB. If you find the same issue
>>> with ESB 5 Alpha, please report a jira with highest priority.
>>>
>>> On Mon, May 2, 2016 at 11:25 AM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 Hi Malaka,

 I have changed the code in wso2-axis2 according to [1] and put it
 as a patch. Now it's working perfectly. Thank you everyone for your
 suggestions.

 [1]
 https://github.com/wso2-support/wso2-axis2/pull/1/files
 

 On Thu, Apr 21, 2016 at 6:36 PM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> Noted malaka.
>
> On Thursday, April 21, 2016, Malaka Silva  wrote:
>
>> Hi Hariprasath,
>>
>> Best is start debugging fresh pack with the release tag and apply
>> the fix and check [1].
>>
>> Did you check this with esb 5 alpha alread? If not do so.
>>
>> [1]
>> https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests
>>
>> On Thu, Apr 21, 2016 at 2:53 AM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> As malaka said this is slightly different from the usual way and
>>> Malaka, I copied the patch to the folder and put the zip to the 
>>> repository.
>>> Need to investigate further.
>>>
>>>
>>> On Wednesday, April 20, 2016, Malaka Silva 
>>> wrote:
>>>
 Hariprasath is doing this for connectors. It is slightly
 different than running esb integration tests. We need to copy the 
 zip file
 to repository folder. Hope you have updated the zip file with 
 patch in that
 case.

 On Wed, Apr 20, 2016 at 10:08 PM, Thusitha Thilina Dayaratne <
 thusit...@wso2.com> wrote:

> Hi Hariprasath,
>
> Did you apply the patch manually  to the pack when you run the
> integration test? AFAIK when you run integration tests it will 
> use the
> already built default pack. It will not contains the patch.
>
> Thanks
> Thusitha
>
> On Wed, Apr 20, 2016 at 9:32 AM, Malaka Silva  > wrote:
>
>> Hi Hariprasath,
>>
>> You need to debug and investigate this further. Find details
>> on debugging integration test in [1]
>>
>> [1]
>> https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests
>>
>> On Wed, Apr 20, 2016 at 6:18 PM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> I have apply the patch to ESB 4.9.0 have mentioned above in
>>> [1], but I  got the same error. If I create the test case for 
>>> another
>>> method(describeSObject) also show the same error. I have 
>>> attached the wire
>>> log

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-05-03 Thread Malaka Silva
Hariprasath great if you could create the pr(master branch) and add to the
jira.

On Tue, May 3, 2016 at 1:02 PM, Hariprasath Thanarajah  wrote:

> Hi Malaka/Chanaka,
>
> The axis2-1.6.1-wso2v17 is bundled with ESB 5.0.0 Alpha but For the
> integration test it takes axis2-1.6.1-wso2v12 from the highlighted in [1].
>
> This is required for Salesforce integration test. We need to get it fix in
> BETA release.
>
> [1] - https://github.com/wso2/product-esb/blob/v5.0.0-ALPHA/pom.xml#L1064
>
> Thanks,
>
> On Tue, May 3, 2016 at 12:09 PM, Malaka Silva  wrote:
>
>> Hi Hariprasath,
>>
>> Can we verify the [1] fix is there with ESB 5.0.0 alpha please?
>>
>> [1] https://github.com/wso2/wso2-axis2/pull/73
>>
>> On Mon, May 2, 2016 at 11:16 PM, Chanaka Fernando 
>> wrote:
>>
>>> Hi Hariprasath,
>>>
>>> ESB 5.0.0 - Alpha has been released with the axis2 version 1.6.1.wso2v17
>>> (kernel 4.4.5) and it should have this fix included. Please double check
>>> this on the correct alpha pack.
>>>
>>> On Mon, May 2, 2016 at 12:12 PM, Malaka Silva  wrote:
>>>
 Thx

 On Mon, May 2, 2016 at 12:11 PM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> Hi Malaka,
>
> I have created the jira[1] with highest priority,
>
> [1]
> https://wso2.org/jira/browse/ESBJAVA-4582
>
> On Mon, May 2, 2016 at 11:31 AM, Malaka Silva  wrote:
>
>> Hi Hariprasath,
>>
>> Ideally fix should go with latest ESB. If you find the same issue
>> with ESB 5 Alpha, please report a jira with highest priority.
>>
>> On Mon, May 2, 2016 at 11:25 AM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Hi Malaka,
>>>
>>> I have changed the code in wso2-axis2 according to [1] and put it as
>>> a patch. Now it's working perfectly. Thank you everyone for your
>>> suggestions.
>>>
>>> [1]
>>> https://github.com/wso2-support/wso2-axis2/pull/1/files
>>> 
>>>
>>> On Thu, Apr 21, 2016 at 6:36 PM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 Noted malaka.

 On Thursday, April 21, 2016, Malaka Silva  wrote:

> Hi Hariprasath,
>
> Best is start debugging fresh pack with the release tag and apply
> the fix and check [1].
>
> Did you check this with esb 5 alpha alread? If not do so.
>
> [1]
> https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests
>
> On Thu, Apr 21, 2016 at 2:53 AM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> As malaka said this is slightly different from the usual way and
>> Malaka, I copied the patch to the folder and put the zip to the 
>> repository.
>> Need to investigate further.
>>
>>
>> On Wednesday, April 20, 2016, Malaka Silva 
>> wrote:
>>
>>> Hariprasath is doing this for connectors. It is slightly
>>> different than running esb integration tests. We need to copy the 
>>> zip file
>>> to repository folder. Hope you have updated the zip file with patch 
>>> in that
>>> case.
>>>
>>> On Wed, Apr 20, 2016 at 10:08 PM, Thusitha Thilina Dayaratne <
>>> thusit...@wso2.com> wrote:
>>>
 Hi Hariprasath,

 Did you apply the patch manually  to the pack when you run the
 integration test? AFAIK when you run integration tests it will use 
 the
 already built default pack. It will not contains the patch.

 Thanks
 Thusitha

 On Wed, Apr 20, 2016 at 9:32 AM, Malaka Silva 
 wrote:

> Hi Hariprasath,
>
> You need to debug and investigate this further. Find details
> on debugging integration test in [1]
>
> [1]
> https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests
>
> On Wed, Apr 20, 2016 at 6:18 PM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Hi All,
>>
>> I have apply the patch to ESB 4.9.0 have mentioned above in
>> [1], but I  got the same error. If I create the test case for 
>> another
>> method(describeSObject) also show the same error. I have 
>> attached the wire
>> log for this method also,
>>
>> Can anyone give any suggestion on this?
>>
>> On Tue, Apr 19, 2016 at 1:36 PM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>>

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-05-03 Thread Hariprasath Thanarajah
Hi Malaka/Chanaka,

The axis2-1.6.1-wso2v17 is bundled with ESB 5.0.0 Alpha but For the
integration test it takes axis2-1.6.1-wso2v12 from the highlighted in [1].

This is required for Salesforce integration test. We need to get it fix in
BETA release.

[1] - https://github.com/wso2/product-esb/blob/v5.0.0-ALPHA/pom.xml#L1064

Thanks,

On Tue, May 3, 2016 at 12:09 PM, Malaka Silva  wrote:

> Hi Hariprasath,
>
> Can we verify the [1] fix is there with ESB 5.0.0 alpha please?
>
> [1] https://github.com/wso2/wso2-axis2/pull/73
>
> On Mon, May 2, 2016 at 11:16 PM, Chanaka Fernando 
> wrote:
>
>> Hi Hariprasath,
>>
>> ESB 5.0.0 - Alpha has been released with the axis2 version 1.6.1.wso2v17
>> (kernel 4.4.5) and it should have this fix included. Please double check
>> this on the correct alpha pack.
>>
>> On Mon, May 2, 2016 at 12:12 PM, Malaka Silva  wrote:
>>
>>> Thx
>>>
>>> On Mon, May 2, 2016 at 12:11 PM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 Hi Malaka,

 I have created the jira[1] with highest priority,

 [1]
 https://wso2.org/jira/browse/ESBJAVA-4582

 On Mon, May 2, 2016 at 11:31 AM, Malaka Silva  wrote:

> Hi Hariprasath,
>
> Ideally fix should go with latest ESB. If you find the same issue with
> ESB 5 Alpha, please report a jira with highest priority.
>
> On Mon, May 2, 2016 at 11:25 AM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Hi Malaka,
>>
>> I have changed the code in wso2-axis2 according to [1] and put it as
>> a patch. Now it's working perfectly. Thank you everyone for your
>> suggestions.
>>
>> [1]
>> https://github.com/wso2-support/wso2-axis2/pull/1/files
>> 
>>
>> On Thu, Apr 21, 2016 at 6:36 PM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Noted malaka.
>>>
>>> On Thursday, April 21, 2016, Malaka Silva  wrote:
>>>
 Hi Hariprasath,

 Best is start debugging fresh pack with the release tag and apply
 the fix and check [1].

 Did you check this with esb 5 alpha alread? If not do so.

 [1]
 https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests

 On Thu, Apr 21, 2016 at 2:53 AM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> As malaka said this is slightly different from the usual way and
> Malaka, I copied the patch to the folder and put the zip to the 
> repository.
> Need to investigate further.
>
>
> On Wednesday, April 20, 2016, Malaka Silva 
> wrote:
>
>> Hariprasath is doing this for connectors. It is slightly
>> different than running esb integration tests. We need to copy the 
>> zip file
>> to repository folder. Hope you have updated the zip file with patch 
>> in that
>> case.
>>
>> On Wed, Apr 20, 2016 at 10:08 PM, Thusitha Thilina Dayaratne <
>> thusit...@wso2.com> wrote:
>>
>>> Hi Hariprasath,
>>>
>>> Did you apply the patch manually  to the pack when you run the
>>> integration test? AFAIK when you run integration tests it will use 
>>> the
>>> already built default pack. It will not contains the patch.
>>>
>>> Thanks
>>> Thusitha
>>>
>>> On Wed, Apr 20, 2016 at 9:32 AM, Malaka Silva 
>>> wrote:
>>>
 Hi Hariprasath,

 You need to debug and investigate this further. Find details on
 debugging integration test in [1]

 [1]
 https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests

 On Wed, Apr 20, 2016 at 6:18 PM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> Hi All,
>
> I have apply the patch to ESB 4.9.0 have mentioned above in
> [1], but I  got the same error. If I create the test case for 
> another
> method(describeSObject) also show the same error. I have attached 
> the wire
> log for this method also,
>
> Can anyone give any suggestion on this?
>
> On Tue, Apr 19, 2016 at 1:36 PM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Noted Malaka,
>>
>> I will check and update on this.
>>
>> On Tue, Apr 19, 2016 at 1:11 PM, Malaka Silva <
>> mal...@wso2.com> wrote:
>>
>>> Hi Hariprasath,
>>>
>>> Seems lik

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-05-02 Thread Malaka Silva
Hi Hariprasath,

Can we verify the [1] fix is there with ESB 5.0.0 alpha please?

[1] https://github.com/wso2/wso2-axis2/pull/73

On Mon, May 2, 2016 at 11:16 PM, Chanaka Fernando  wrote:

> Hi Hariprasath,
>
> ESB 5.0.0 - Alpha has been released with the axis2 version 1.6.1.wso2v17
> (kernel 4.4.5) and it should have this fix included. Please double check
> this on the correct alpha pack.
>
> On Mon, May 2, 2016 at 12:12 PM, Malaka Silva  wrote:
>
>> Thx
>>
>> On Mon, May 2, 2016 at 12:11 PM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Hi Malaka,
>>>
>>> I have created the jira[1] with highest priority,
>>>
>>> [1]
>>> https://wso2.org/jira/browse/ESBJAVA-4582
>>>
>>> On Mon, May 2, 2016 at 11:31 AM, Malaka Silva  wrote:
>>>
 Hi Hariprasath,

 Ideally fix should go with latest ESB. If you find the same issue with
 ESB 5 Alpha, please report a jira with highest priority.

 On Mon, May 2, 2016 at 11:25 AM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> Hi Malaka,
>
> I have changed the code in wso2-axis2 according to [1] and put it as a
> patch. Now it's working perfectly. Thank you everyone for your 
> suggestions.
>
> [1]
> https://github.com/wso2-support/wso2-axis2/pull/1/files
> 
>
> On Thu, Apr 21, 2016 at 6:36 PM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Noted malaka.
>>
>> On Thursday, April 21, 2016, Malaka Silva  wrote:
>>
>>> Hi Hariprasath,
>>>
>>> Best is start debugging fresh pack with the release tag and apply
>>> the fix and check [1].
>>>
>>> Did you check this with esb 5 alpha alread? If not do so.
>>>
>>> [1]
>>> https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests
>>>
>>> On Thu, Apr 21, 2016 at 2:53 AM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 As malaka said this is slightly different from the usual way and
 Malaka, I copied the patch to the folder and put the zip to the 
 repository.
 Need to investigate further.


 On Wednesday, April 20, 2016, Malaka Silva  wrote:

> Hariprasath is doing this for connectors. It is slightly different
> than running esb integration tests. We need to copy the zip file
> to repository folder. Hope you have updated the zip file with patch 
> in that
> case.
>
> On Wed, Apr 20, 2016 at 10:08 PM, Thusitha Thilina Dayaratne <
> thusit...@wso2.com> wrote:
>
>> Hi Hariprasath,
>>
>> Did you apply the patch manually  to the pack when you run the
>> integration test? AFAIK when you run integration tests it will use 
>> the
>> already built default pack. It will not contains the patch.
>>
>> Thanks
>> Thusitha
>>
>> On Wed, Apr 20, 2016 at 9:32 AM, Malaka Silva 
>> wrote:
>>
>>> Hi Hariprasath,
>>>
>>> You need to debug and investigate this further. Find details on
>>> debugging integration test in [1]
>>>
>>> [1]
>>> https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests
>>>
>>> On Wed, Apr 20, 2016 at 6:18 PM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 Hi All,

 I have apply the patch to ESB 4.9.0 have mentioned above in
 [1], but I  got the same error. If I create the test case for 
 another
 method(describeSObject) also show the same error. I have attached 
 the wire
 log for this method also,

 Can anyone give any suggestion on this?

 On Tue, Apr 19, 2016 at 1:36 PM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> Noted Malaka,
>
> I will check and update on this.
>
> On Tue, Apr 19, 2016 at 1:11 PM, Malaka Silva  > wrote:
>
>> Hi Hariprasath,
>>
>> Seems like a issue is mentioned in [1]. Ideally this should
>> be fixed in ESB alpha release. Please check.
>>
>> If not apply the fix and see if that works. If works add a
>> jira for esb 5.
>>
>> [1] https://wso2.org/jira/browse/ESBJAVA-4388
>>
>> On Thu, Apr 7, 2016 at 3:59 PM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> I am working on to create integration test for salesforce

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-05-02 Thread Chanaka Fernando
Hi Hariprasath,

ESB 5.0.0 - Alpha has been released with the axis2 version 1.6.1.wso2v17
(kernel 4.4.5) and it should have this fix included. Please double check
this on the correct alpha pack.

On Mon, May 2, 2016 at 12:12 PM, Malaka Silva  wrote:

> Thx
>
> On Mon, May 2, 2016 at 12:11 PM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Hi Malaka,
>>
>> I have created the jira[1] with highest priority,
>>
>> [1]
>> https://wso2.org/jira/browse/ESBJAVA-4582
>>
>> On Mon, May 2, 2016 at 11:31 AM, Malaka Silva  wrote:
>>
>>> Hi Hariprasath,
>>>
>>> Ideally fix should go with latest ESB. If you find the same issue with
>>> ESB 5 Alpha, please report a jira with highest priority.
>>>
>>> On Mon, May 2, 2016 at 11:25 AM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 Hi Malaka,

 I have changed the code in wso2-axis2 according to [1] and put it as a
 patch. Now it's working perfectly. Thank you everyone for your suggestions.

 [1]
 https://github.com/wso2-support/wso2-axis2/pull/1/files
 

 On Thu, Apr 21, 2016 at 6:36 PM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> Noted malaka.
>
> On Thursday, April 21, 2016, Malaka Silva  wrote:
>
>> Hi Hariprasath,
>>
>> Best is start debugging fresh pack with the release tag and apply the
>> fix and check [1].
>>
>> Did you check this with esb 5 alpha alread? If not do so.
>>
>> [1]
>> https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests
>>
>> On Thu, Apr 21, 2016 at 2:53 AM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> As malaka said this is slightly different from the usual way and
>>> Malaka, I copied the patch to the folder and put the zip to the 
>>> repository.
>>> Need to investigate further.
>>>
>>>
>>> On Wednesday, April 20, 2016, Malaka Silva  wrote:
>>>
 Hariprasath is doing this for connectors. It is slightly different
 than running esb integration tests. We need to copy the zip file
 to repository folder. Hope you have updated the zip file with patch in 
 that
 case.

 On Wed, Apr 20, 2016 at 10:08 PM, Thusitha Thilina Dayaratne <
 thusit...@wso2.com> wrote:

> Hi Hariprasath,
>
> Did you apply the patch manually  to the pack when you run the
> integration test? AFAIK when you run integration tests it will use the
> already built default pack. It will not contains the patch.
>
> Thanks
> Thusitha
>
> On Wed, Apr 20, 2016 at 9:32 AM, Malaka Silva 
> wrote:
>
>> Hi Hariprasath,
>>
>> You need to debug and investigate this further. Find details on
>> debugging integration test in [1]
>>
>> [1]
>> https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests
>>
>> On Wed, Apr 20, 2016 at 6:18 PM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> I have apply the patch to ESB 4.9.0 have mentioned above in [1],
>>> but I  got the same error. If I create the test case for another
>>> method(describeSObject) also show the same error. I have attached 
>>> the wire
>>> log for this method also,
>>>
>>> Can anyone give any suggestion on this?
>>>
>>> On Tue, Apr 19, 2016 at 1:36 PM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 Noted Malaka,

 I will check and update on this.

 On Tue, Apr 19, 2016 at 1:11 PM, Malaka Silva 
 wrote:

> Hi Hariprasath,
>
> Seems like a issue is mentioned in [1]. Ideally this should be
> fixed in ESB alpha release. Please check.
>
> If not apply the fix and see if that works. If works add a
> jira for esb 5.
>
> [1] https://wso2.org/jira/browse/ESBJAVA-4388
>
> On Thu, Apr 7, 2016 at 3:59 PM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Hi All,
>>
>> I am working on to create integration test for salesforce
>> connector. When I create the testcase for a particular 
>> method(getUserInfo)
>> I got the response via the ESB call but after that I get the 
>> following
>> error in [1].
>>
>> I have added the proxy[2] and soap request[3] as well.
>>
>> Can anyone sug

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-05-01 Thread Malaka Silva
Thx

On Mon, May 2, 2016 at 12:11 PM, Hariprasath Thanarajah <
haripras...@wso2.com> wrote:

> Hi Malaka,
>
> I have created the jira[1] with highest priority,
>
> [1]
> https://wso2.org/jira/browse/ESBJAVA-4582
>
> On Mon, May 2, 2016 at 11:31 AM, Malaka Silva  wrote:
>
>> Hi Hariprasath,
>>
>> Ideally fix should go with latest ESB. If you find the same issue with
>> ESB 5 Alpha, please report a jira with highest priority.
>>
>> On Mon, May 2, 2016 at 11:25 AM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Hi Malaka,
>>>
>>> I have changed the code in wso2-axis2 according to [1] and put it as a
>>> patch. Now it's working perfectly. Thank you everyone for your suggestions.
>>>
>>> [1]
>>> https://github.com/wso2-support/wso2-axis2/pull/1/files
>>> 
>>>
>>> On Thu, Apr 21, 2016 at 6:36 PM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 Noted malaka.

 On Thursday, April 21, 2016, Malaka Silva  wrote:

> Hi Hariprasath,
>
> Best is start debugging fresh pack with the release tag and apply the
> fix and check [1].
>
> Did you check this with esb 5 alpha alread? If not do so.
>
> [1]
> https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests
>
> On Thu, Apr 21, 2016 at 2:53 AM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> As malaka said this is slightly different from the usual way and
>> Malaka, I copied the patch to the folder and put the zip to the 
>> repository.
>> Need to investigate further.
>>
>>
>> On Wednesday, April 20, 2016, Malaka Silva  wrote:
>>
>>> Hariprasath is doing this for connectors. It is slightly different
>>> than running esb integration tests. We need to copy the zip file
>>> to repository folder. Hope you have updated the zip file with patch in 
>>> that
>>> case.
>>>
>>> On Wed, Apr 20, 2016 at 10:08 PM, Thusitha Thilina Dayaratne <
>>> thusit...@wso2.com> wrote:
>>>
 Hi Hariprasath,

 Did you apply the patch manually  to the pack when you run the
 integration test? AFAIK when you run integration tests it will use the
 already built default pack. It will not contains the patch.

 Thanks
 Thusitha

 On Wed, Apr 20, 2016 at 9:32 AM, Malaka Silva 
 wrote:

> Hi Hariprasath,
>
> You need to debug and investigate this further. Find details on
> debugging integration test in [1]
>
> [1]
> https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests
>
> On Wed, Apr 20, 2016 at 6:18 PM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Hi All,
>>
>> I have apply the patch to ESB 4.9.0 have mentioned above in [1],
>> but I  got the same error. If I create the test case for another
>> method(describeSObject) also show the same error. I have attached 
>> the wire
>> log for this method also,
>>
>> Can anyone give any suggestion on this?
>>
>> On Tue, Apr 19, 2016 at 1:36 PM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Noted Malaka,
>>>
>>> I will check and update on this.
>>>
>>> On Tue, Apr 19, 2016 at 1:11 PM, Malaka Silva 
>>> wrote:
>>>
 Hi Hariprasath,

 Seems like a issue is mentioned in [1]. Ideally this should be
 fixed in ESB alpha release. Please check.

 If not apply the fix and see if that works. If works add a jira
 for esb 5.

 [1] https://wso2.org/jira/browse/ESBJAVA-4388

 On Thu, Apr 7, 2016 at 3:59 PM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> Hi All,
>
> I am working on to create integration test for salesforce
> connector. When I create the testcase for a particular 
> method(getUserInfo)
> I got the response via the ESB call but after that I get the 
> following
> error in [1].
>
> I have added the proxy[2] and soap request[3] as well.
>
> Can anyone suggest me what could be the reason for this
> follwing error.
>
> [1]
> FAILED: testGetUserInfoWithMandatoryParameters
> Salesforce {getUserInfo} integration test with
> mandatory parameters.
> java.lang.NullPointerException
> at
> org.apache.axis2.transport.http.Abstract

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-05-01 Thread Hariprasath Thanarajah
Hi Malaka,

I have created the jira[1] with highest priority,

[1]
https://wso2.org/jira/browse/ESBJAVA-4582

On Mon, May 2, 2016 at 11:31 AM, Malaka Silva  wrote:

> Hi Hariprasath,
>
> Ideally fix should go with latest ESB. If you find the same issue with ESB
> 5 Alpha, please report a jira with highest priority.
>
> On Mon, May 2, 2016 at 11:25 AM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Hi Malaka,
>>
>> I have changed the code in wso2-axis2 according to [1] and put it as a
>> patch. Now it's working perfectly. Thank you everyone for your suggestions.
>>
>> [1]
>> https://github.com/wso2-support/wso2-axis2/pull/1/files
>> 
>>
>> On Thu, Apr 21, 2016 at 6:36 PM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Noted malaka.
>>>
>>> On Thursday, April 21, 2016, Malaka Silva  wrote:
>>>
 Hi Hariprasath,

 Best is start debugging fresh pack with the release tag and apply the
 fix and check [1].

 Did you check this with esb 5 alpha alread? If not do so.

 [1]
 https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests

 On Thu, Apr 21, 2016 at 2:53 AM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> As malaka said this is slightly different from the usual way and
> Malaka, I copied the patch to the folder and put the zip to the 
> repository.
> Need to investigate further.
>
>
> On Wednesday, April 20, 2016, Malaka Silva  wrote:
>
>> Hariprasath is doing this for connectors. It is slightly different
>> than running esb integration tests. We need to copy the zip file
>> to repository folder. Hope you have updated the zip file with patch in 
>> that
>> case.
>>
>> On Wed, Apr 20, 2016 at 10:08 PM, Thusitha Thilina Dayaratne <
>> thusit...@wso2.com> wrote:
>>
>>> Hi Hariprasath,
>>>
>>> Did you apply the patch manually  to the pack when you run the
>>> integration test? AFAIK when you run integration tests it will use the
>>> already built default pack. It will not contains the patch.
>>>
>>> Thanks
>>> Thusitha
>>>
>>> On Wed, Apr 20, 2016 at 9:32 AM, Malaka Silva 
>>> wrote:
>>>
 Hi Hariprasath,

 You need to debug and investigate this further. Find details on
 debugging integration test in [1]

 [1]
 https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests

 On Wed, Apr 20, 2016 at 6:18 PM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> Hi All,
>
> I have apply the patch to ESB 4.9.0 have mentioned above in [1],
> but I  got the same error. If I create the test case for another
> method(describeSObject) also show the same error. I have attached the 
> wire
> log for this method also,
>
> Can anyone give any suggestion on this?
>
> On Tue, Apr 19, 2016 at 1:36 PM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Noted Malaka,
>>
>> I will check and update on this.
>>
>> On Tue, Apr 19, 2016 at 1:11 PM, Malaka Silva 
>> wrote:
>>
>>> Hi Hariprasath,
>>>
>>> Seems like a issue is mentioned in [1]. Ideally this should be
>>> fixed in ESB alpha release. Please check.
>>>
>>> If not apply the fix and see if that works. If works add a jira
>>> for esb 5.
>>>
>>> [1] https://wso2.org/jira/browse/ESBJAVA-4388
>>>
>>> On Thu, Apr 7, 2016 at 3:59 PM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 Hi All,

 I am working on to create integration test for salesforce
 connector. When I create the testcase for a particular 
 method(getUserInfo)
 I got the response via the ESB call but after that I get the 
 following
 error in [1].

 I have added the proxy[2] and soap request[3] as well.

 Can anyone suggest me what could be the reason for this
 follwing error.

 [1]
 FAILED: testGetUserInfoWithMandatoryParameters
 Salesforce {getUserInfo} integration test with
 mandatory parameters.
 java.lang.NullPointerException
 at
 org.apache.axis2.transport.http.AbstractHTTPSender.processCookieHeaders(AbstractHTTPSender.java:213)
 at
 org.apache.axis2.transport.http.AbstractHTTPSender.obtainHTTPHeaderInformation(AbstractHTTPSender.java:170)
 at
 org

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-05-01 Thread Malaka Silva
Hi Hariprasath,

Ideally fix should go with latest ESB. If you find the same issue with ESB
5 Alpha, please report a jira with highest priority.

On Mon, May 2, 2016 at 11:25 AM, Hariprasath Thanarajah <
haripras...@wso2.com> wrote:

> Hi Malaka,
>
> I have changed the code in wso2-axis2 according to [1] and put it as a
> patch. Now it's working perfectly. Thank you everyone for your suggestions.
>
> [1]
> https://github.com/wso2-support/wso2-axis2/pull/1/files
> 
>
> On Thu, Apr 21, 2016 at 6:36 PM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Noted malaka.
>>
>> On Thursday, April 21, 2016, Malaka Silva  wrote:
>>
>>> Hi Hariprasath,
>>>
>>> Best is start debugging fresh pack with the release tag and apply the
>>> fix and check [1].
>>>
>>> Did you check this with esb 5 alpha alread? If not do so.
>>>
>>> [1]
>>> https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests
>>>
>>> On Thu, Apr 21, 2016 at 2:53 AM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 As malaka said this is slightly different from the usual way and
 Malaka, I copied the patch to the folder and put the zip to the repository.
 Need to investigate further.


 On Wednesday, April 20, 2016, Malaka Silva  wrote:

> Hariprasath is doing this for connectors. It is slightly different
> than running esb integration tests. We need to copy the zip file
> to repository folder. Hope you have updated the zip file with patch in 
> that
> case.
>
> On Wed, Apr 20, 2016 at 10:08 PM, Thusitha Thilina Dayaratne <
> thusit...@wso2.com> wrote:
>
>> Hi Hariprasath,
>>
>> Did you apply the patch manually  to the pack when you run the
>> integration test? AFAIK when you run integration tests it will use the
>> already built default pack. It will not contains the patch.
>>
>> Thanks
>> Thusitha
>>
>> On Wed, Apr 20, 2016 at 9:32 AM, Malaka Silva 
>> wrote:
>>
>>> Hi Hariprasath,
>>>
>>> You need to debug and investigate this further. Find details on
>>> debugging integration test in [1]
>>>
>>> [1]
>>> https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests
>>>
>>> On Wed, Apr 20, 2016 at 6:18 PM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 Hi All,

 I have apply the patch to ESB 4.9.0 have mentioned above in [1],
 but I  got the same error. If I create the test case for another
 method(describeSObject) also show the same error. I have attached the 
 wire
 log for this method also,

 Can anyone give any suggestion on this?

 On Tue, Apr 19, 2016 at 1:36 PM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> Noted Malaka,
>
> I will check and update on this.
>
> On Tue, Apr 19, 2016 at 1:11 PM, Malaka Silva 
> wrote:
>
>> Hi Hariprasath,
>>
>> Seems like a issue is mentioned in [1]. Ideally this should be
>> fixed in ESB alpha release. Please check.
>>
>> If not apply the fix and see if that works. If works add a jira
>> for esb 5.
>>
>> [1] https://wso2.org/jira/browse/ESBJAVA-4388
>>
>> On Thu, Apr 7, 2016 at 3:59 PM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> I am working on to create integration test for salesforce
>>> connector. When I create the testcase for a particular 
>>> method(getUserInfo)
>>> I got the response via the ESB call but after that I get the 
>>> following
>>> error in [1].
>>>
>>> I have added the proxy[2] and soap request[3] as well.
>>>
>>> Can anyone suggest me what could be the reason for this follwing
>>> error.
>>>
>>> [1]
>>> FAILED: testGetUserInfoWithMandatoryParameters
>>> Salesforce {getUserInfo} integration test with mandatory
>>> parameters.
>>> java.lang.NullPointerException
>>> at
>>> org.apache.axis2.transport.http.AbstractHTTPSender.processCookieHeaders(AbstractHTTPSender.java:213)
>>> at
>>> org.apache.axis2.transport.http.AbstractHTTPSender.obtainHTTPHeaderInformation(AbstractHTTPSender.java:170)
>>> at
>>> org.apache.axis2.transport.http.AbstractHTTPSender.processResponse(AbstractHTTPSender.java:224)
>>> at
>>> org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:294)
>>> at
>>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:196)
>

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-05-01 Thread Hariprasath Thanarajah
Hi Malaka,

I have changed the code in wso2-axis2 according to [1] and put it as a
patch. Now it's working perfectly. Thank you everyone for your suggestions.

[1]
https://github.com/wso2-support/wso2-axis2/pull/1/files


On Thu, Apr 21, 2016 at 6:36 PM, Hariprasath Thanarajah <
haripras...@wso2.com> wrote:

> Noted malaka.
>
> On Thursday, April 21, 2016, Malaka Silva  wrote:
>
>> Hi Hariprasath,
>>
>> Best is start debugging fresh pack with the release tag and apply the fix
>> and check [1].
>>
>> Did you check this with esb 5 alpha alread? If not do so.
>>
>> [1]
>> https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests
>>
>> On Thu, Apr 21, 2016 at 2:53 AM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> As malaka said this is slightly different from the usual way and Malaka,
>>> I copied the patch to the folder and put the zip to the repository. Need to
>>> investigate further.
>>>
>>>
>>> On Wednesday, April 20, 2016, Malaka Silva  wrote:
>>>
 Hariprasath is doing this for connectors. It is slightly different than
 running esb integration tests. We need to copy the zip file
 to repository folder. Hope you have updated the zip file with patch in that
 case.

 On Wed, Apr 20, 2016 at 10:08 PM, Thusitha Thilina Dayaratne <
 thusit...@wso2.com> wrote:

> Hi Hariprasath,
>
> Did you apply the patch manually  to the pack when you run the
> integration test? AFAIK when you run integration tests it will use the
> already built default pack. It will not contains the patch.
>
> Thanks
> Thusitha
>
> On Wed, Apr 20, 2016 at 9:32 AM, Malaka Silva  wrote:
>
>> Hi Hariprasath,
>>
>> You need to debug and investigate this further. Find details on
>> debugging integration test in [1]
>>
>> [1]
>> https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests
>>
>> On Wed, Apr 20, 2016 at 6:18 PM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> I have apply the patch to ESB 4.9.0 have mentioned above in [1], but
>>> I  got the same error. If I create the test case for another
>>> method(describeSObject) also show the same error. I have attached the 
>>> wire
>>> log for this method also,
>>>
>>> Can anyone give any suggestion on this?
>>>
>>> On Tue, Apr 19, 2016 at 1:36 PM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 Noted Malaka,

 I will check and update on this.

 On Tue, Apr 19, 2016 at 1:11 PM, Malaka Silva 
 wrote:

> Hi Hariprasath,
>
> Seems like a issue is mentioned in [1]. Ideally this should be
> fixed in ESB alpha release. Please check.
>
> If not apply the fix and see if that works. If works add a jira
> for esb 5.
>
> [1] https://wso2.org/jira/browse/ESBJAVA-4388
>
> On Thu, Apr 7, 2016 at 3:59 PM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Hi All,
>>
>> I am working on to create integration test for salesforce
>> connector. When I create the testcase for a particular 
>> method(getUserInfo)
>> I got the response via the ESB call but after that I get the 
>> following
>> error in [1].
>>
>> I have added the proxy[2] and soap request[3] as well.
>>
>> Can anyone suggest me what could be the reason for this follwing
>> error.
>>
>> [1]
>> FAILED: testGetUserInfoWithMandatoryParameters
>> Salesforce {getUserInfo} integration test with mandatory
>> parameters.
>> java.lang.NullPointerException
>> at
>> org.apache.axis2.transport.http.AbstractHTTPSender.processCookieHeaders(AbstractHTTPSender.java:213)
>> at
>> org.apache.axis2.transport.http.AbstractHTTPSender.obtainHTTPHeaderInformation(AbstractHTTPSender.java:170)
>> at
>> org.apache.axis2.transport.http.AbstractHTTPSender.processResponse(AbstractHTTPSender.java:224)
>> at
>> org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:294)
>> at
>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:196)
>> at
>> org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
>> at
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
>> at
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278)
>>>

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-04-21 Thread Hariprasath Thanarajah
Noted malaka.

On Thursday, April 21, 2016, Malaka Silva  wrote:

> Hi Hariprasath,
>
> Best is start debugging fresh pack with the release tag and apply the fix
> and check [1].
>
> Did you check this with esb 5 alpha alread? If not do so.
>
> [1]
> https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests
>
> On Thu, Apr 21, 2016 at 2:53 AM, Hariprasath Thanarajah <
> haripras...@wso2.com
> > wrote:
>
>> As malaka said this is slightly different from the usual way and Malaka,
>> I copied the patch to the folder and put the zip to the repository. Need to
>> investigate further.
>>
>>
>> On Wednesday, April 20, 2016, Malaka Silva > > wrote:
>>
>>> Hariprasath is doing this for connectors. It is slightly different than
>>> running esb integration tests. We need to copy the zip file
>>> to repository folder. Hope you have updated the zip file with patch in that
>>> case.
>>>
>>> On Wed, Apr 20, 2016 at 10:08 PM, Thusitha Thilina Dayaratne <
>>> thusit...@wso2.com> wrote:
>>>
 Hi Hariprasath,

 Did you apply the patch manually  to the pack when you run the
 integration test? AFAIK when you run integration tests it will use the
 already built default pack. It will not contains the patch.

 Thanks
 Thusitha

 On Wed, Apr 20, 2016 at 9:32 AM, Malaka Silva  wrote:

> Hi Hariprasath,
>
> You need to debug and investigate this further. Find details on
> debugging integration test in [1]
>
> [1]
> https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests
>
> On Wed, Apr 20, 2016 at 6:18 PM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Hi All,
>>
>> I have apply the patch to ESB 4.9.0 have mentioned above in [1], but
>> I  got the same error. If I create the test case for another
>> method(describeSObject) also show the same error. I have attached the 
>> wire
>> log for this method also,
>>
>> Can anyone give any suggestion on this?
>>
>> On Tue, Apr 19, 2016 at 1:36 PM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Noted Malaka,
>>>
>>> I will check and update on this.
>>>
>>> On Tue, Apr 19, 2016 at 1:11 PM, Malaka Silva 
>>> wrote:
>>>
 Hi Hariprasath,

 Seems like a issue is mentioned in [1]. Ideally this should be
 fixed in ESB alpha release. Please check.

 If not apply the fix and see if that works. If works add a jira for
 esb 5.

 [1] https://wso2.org/jira/browse/ESBJAVA-4388

 On Thu, Apr 7, 2016 at 3:59 PM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> Hi All,
>
> I am working on to create integration test for salesforce
> connector. When I create the testcase for a particular 
> method(getUserInfo)
> I got the response via the ESB call but after that I get the following
> error in [1].
>
> I have added the proxy[2] and soap request[3] as well.
>
> Can anyone suggest me what could be the reason for this follwing
> error.
>
> [1]
> FAILED: testGetUserInfoWithMandatoryParameters
> Salesforce {getUserInfo} integration test with mandatory
> parameters.
> java.lang.NullPointerException
> at
> org.apache.axis2.transport.http.AbstractHTTPSender.processCookieHeaders(AbstractHTTPSender.java:213)
> at
> org.apache.axis2.transport.http.AbstractHTTPSender.obtainHTTPHeaderInformation(AbstractHTTPSender.java:170)
> at
> org.apache.axis2.transport.http.AbstractHTTPSender.processResponse(AbstractHTTPSender.java:224)
> at
> org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:294)
> at
> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:196)
> at
> org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
> at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
> at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278)
> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
> at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
> at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
> at
> org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendSOAPRequest(ConnectorIntegrationTestBase.java:616)
> at
> org.

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-04-20 Thread Malaka Silva
Hi Hariprasath,

Best is start debugging fresh pack with the release tag and apply the fix
and check [1].

Did you check this with esb 5 alpha alread? If not do so.

[1] https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests

On Thu, Apr 21, 2016 at 2:53 AM, Hariprasath Thanarajah <
haripras...@wso2.com> wrote:

> As malaka said this is slightly different from the usual way and Malaka, I
> copied the patch to the folder and put the zip to the repository. Need to
> investigate further.
>
>
> On Wednesday, April 20, 2016, Malaka Silva  wrote:
>
>> Hariprasath is doing this for connectors. It is slightly different than
>> running esb integration tests. We need to copy the zip file
>> to repository folder. Hope you have updated the zip file with patch in that
>> case.
>>
>> On Wed, Apr 20, 2016 at 10:08 PM, Thusitha Thilina Dayaratne <
>> thusit...@wso2.com> wrote:
>>
>>> Hi Hariprasath,
>>>
>>> Did you apply the patch manually  to the pack when you run the
>>> integration test? AFAIK when you run integration tests it will use the
>>> already built default pack. It will not contains the patch.
>>>
>>> Thanks
>>> Thusitha
>>>
>>> On Wed, Apr 20, 2016 at 9:32 AM, Malaka Silva  wrote:
>>>
 Hi Hariprasath,

 You need to debug and investigate this further. Find details on
 debugging integration test in [1]

 [1]
 https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests

 On Wed, Apr 20, 2016 at 6:18 PM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> Hi All,
>
> I have apply the patch to ESB 4.9.0 have mentioned above in [1], but
> I  got the same error. If I create the test case for another
> method(describeSObject) also show the same error. I have attached the wire
> log for this method also,
>
> Can anyone give any suggestion on this?
>
> On Tue, Apr 19, 2016 at 1:36 PM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Noted Malaka,
>>
>> I will check and update on this.
>>
>> On Tue, Apr 19, 2016 at 1:11 PM, Malaka Silva 
>> wrote:
>>
>>> Hi Hariprasath,
>>>
>>> Seems like a issue is mentioned in [1]. Ideally this should be fixed
>>> in ESB alpha release. Please check.
>>>
>>> If not apply the fix and see if that works. If works add a jira for
>>> esb 5.
>>>
>>> [1] https://wso2.org/jira/browse/ESBJAVA-4388
>>>
>>> On Thu, Apr 7, 2016 at 3:59 PM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 Hi All,

 I am working on to create integration test for salesforce
 connector. When I create the testcase for a particular 
 method(getUserInfo)
 I got the response via the ESB call but after that I get the following
 error in [1].

 I have added the proxy[2] and soap request[3] as well.

 Can anyone suggest me what could be the reason for this follwing
 error.

 [1]
 FAILED: testGetUserInfoWithMandatoryParameters
 Salesforce {getUserInfo} integration test with mandatory
 parameters.
 java.lang.NullPointerException
 at
 org.apache.axis2.transport.http.AbstractHTTPSender.processCookieHeaders(AbstractHTTPSender.java:213)
 at
 org.apache.axis2.transport.http.AbstractHTTPSender.obtainHTTPHeaderInformation(AbstractHTTPSender.java:170)
 at
 org.apache.axis2.transport.http.AbstractHTTPSender.processResponse(AbstractHTTPSender.java:224)
 at
 org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:294)
 at
 org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:196)
 at
 org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
 at
 org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
 at
 org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278)
 at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendSOAPRequest(ConnectorIntegrationTestBase.java:616)
 at
 org.wso2.carbon.connector.integration.test.salesforce.SalesforceConnectorIntegrationTest.testGetUserInfoWithMandatoryParameters(SalesforceConnectorIntegrationTest.java:60)
 at sun.reflect.NativeMethodAccesso

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-04-20 Thread Hariprasath Thanarajah
As malaka said this is slightly different from the usual way and Malaka, I
copied the patch to the folder and put the zip to the repository. Need to
investigate further.

On Wednesday, April 20, 2016, Malaka Silva  wrote:

> Hariprasath is doing this for connectors. It is slightly different than
> running esb integration tests. We need to copy the zip file
> to repository folder. Hope you have updated the zip file with patch in that
> case.
>
> On Wed, Apr 20, 2016 at 10:08 PM, Thusitha Thilina Dayaratne <
> thusit...@wso2.com >
> wrote:
>
>> Hi Hariprasath,
>>
>> Did you apply the patch manually  to the pack when you run the
>> integration test? AFAIK when you run integration tests it will use the
>> already built default pack. It will not contains the patch.
>>
>> Thanks
>> Thusitha
>>
>> On Wed, Apr 20, 2016 at 9:32 AM, Malaka Silva > > wrote:
>>
>>> Hi Hariprasath,
>>>
>>> You need to debug and investigate this further. Find details on
>>> debugging integration test in [1]
>>>
>>> [1]
>>> https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests
>>>
>>> On Wed, Apr 20, 2016 at 6:18 PM, Hariprasath Thanarajah <
>>> haripras...@wso2.com
>>> > wrote:
>>>
 Hi All,

 I have apply the patch to ESB 4.9.0 have mentioned above in [1], but I
 got the same error. If I create the test case for another
 method(describeSObject) also show the same error. I have attached the wire
 log for this method also,

 Can anyone give any suggestion on this?

 On Tue, Apr 19, 2016 at 1:36 PM, Hariprasath Thanarajah <
 haripras...@wso2.com
 > wrote:

> Noted Malaka,
>
> I will check and update on this.
>
> On Tue, Apr 19, 2016 at 1:11 PM, Malaka Silva  > wrote:
>
>> Hi Hariprasath,
>>
>> Seems like a issue is mentioned in [1]. Ideally this should be fixed
>> in ESB alpha release. Please check.
>>
>> If not apply the fix and see if that works. If works add a jira for
>> esb 5.
>>
>> [1] https://wso2.org/jira/browse/ESBJAVA-4388
>>
>> On Thu, Apr 7, 2016 at 3:59 PM, Hariprasath Thanarajah <
>> haripras...@wso2.com
>> > wrote:
>>
>>> Hi All,
>>>
>>> I am working on to create integration test for salesforce connector.
>>> When I create the testcase for a particular method(getUserInfo) I got 
>>> the
>>> response via the ESB call but after that I get the following error in 
>>> [1].
>>>
>>> I have added the proxy[2] and soap request[3] as well.
>>>
>>> Can anyone suggest me what could be the reason for this follwing
>>> error.
>>>
>>> [1]
>>> FAILED: testGetUserInfoWithMandatoryParameters
>>> Salesforce {getUserInfo} integration test with mandatory
>>> parameters.
>>> java.lang.NullPointerException
>>> at
>>> org.apache.axis2.transport.http.AbstractHTTPSender.processCookieHeaders(AbstractHTTPSender.java:213)
>>> at
>>> org.apache.axis2.transport.http.AbstractHTTPSender.obtainHTTPHeaderInformation(AbstractHTTPSender.java:170)
>>> at
>>> org.apache.axis2.transport.http.AbstractHTTPSender.processResponse(AbstractHTTPSender.java:224)
>>> at
>>> org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:294)
>>> at
>>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:196)
>>> at
>>> org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
>>> at
>>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
>>> at
>>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278)
>>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
>>> at
>>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
>>> at
>>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
>>> at
>>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
>>> at
>>> org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendSOAPRequest(ConnectorIntegrationTestBase.java:616)
>>> at
>>> org.wso2.carbon.connector.integration.test.salesforce.SalesforceConnectorIntegrationTest.testGetUserInfoWithMandatoryParameters(SalesforceConnectorIntegrationTest.java:60)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> at java.lang.reflect.Method.invoke(Method.java:606)
>>> at
>>> org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
>>> 

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-04-20 Thread Malaka Silva
Hariprasath is doing this for connectors. It is slightly different than
running esb integration tests. We need to copy the zip file
to repository folder. Hope you have updated the zip file with patch in that
case.

On Wed, Apr 20, 2016 at 10:08 PM, Thusitha Thilina Dayaratne <
thusit...@wso2.com> wrote:

> Hi Hariprasath,
>
> Did you apply the patch manually  to the pack when you run the integration
> test? AFAIK when you run integration tests it will use the already built
> default pack. It will not contains the patch.
>
> Thanks
> Thusitha
>
> On Wed, Apr 20, 2016 at 9:32 AM, Malaka Silva  wrote:
>
>> Hi Hariprasath,
>>
>> You need to debug and investigate this further. Find details on debugging
>> integration test in [1]
>>
>> [1]
>> https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests
>>
>> On Wed, Apr 20, 2016 at 6:18 PM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> I have apply the patch to ESB 4.9.0 have mentioned above in [1], but I
>>> got the same error. If I create the test case for another
>>> method(describeSObject) also show the same error. I have attached the wire
>>> log for this method also,
>>>
>>> Can anyone give any suggestion on this?
>>>
>>> On Tue, Apr 19, 2016 at 1:36 PM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 Noted Malaka,

 I will check and update on this.

 On Tue, Apr 19, 2016 at 1:11 PM, Malaka Silva  wrote:

> Hi Hariprasath,
>
> Seems like a issue is mentioned in [1]. Ideally this should be fixed
> in ESB alpha release. Please check.
>
> If not apply the fix and see if that works. If works add a jira for
> esb 5.
>
> [1] https://wso2.org/jira/browse/ESBJAVA-4388
>
> On Thu, Apr 7, 2016 at 3:59 PM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Hi All,
>>
>> I am working on to create integration test for salesforce connector.
>> When I create the testcase for a particular method(getUserInfo) I got the
>> response via the ESB call but after that I get the following error in 
>> [1].
>>
>> I have added the proxy[2] and soap request[3] as well.
>>
>> Can anyone suggest me what could be the reason for this follwing
>> error.
>>
>> [1]
>> FAILED: testGetUserInfoWithMandatoryParameters
>> Salesforce {getUserInfo} integration test with mandatory
>> parameters.
>> java.lang.NullPointerException
>> at
>> org.apache.axis2.transport.http.AbstractHTTPSender.processCookieHeaders(AbstractHTTPSender.java:213)
>> at
>> org.apache.axis2.transport.http.AbstractHTTPSender.obtainHTTPHeaderInformation(AbstractHTTPSender.java:170)
>> at
>> org.apache.axis2.transport.http.AbstractHTTPSender.processResponse(AbstractHTTPSender.java:224)
>> at
>> org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:294)
>> at
>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:196)
>> at
>> org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
>> at
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
>> at
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278)
>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
>> at
>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
>> at
>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
>> at
>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
>> at
>> org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendSOAPRequest(ConnectorIntegrationTestBase.java:616)
>> at
>> org.wso2.carbon.connector.integration.test.salesforce.SalesforceConnectorIntegrationTest.testGetUserInfoWithMandatoryParameters(SalesforceConnectorIntegrationTest.java:60)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:606)
>> at
>> org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
>> at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
>> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
>> at
>> org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
>> at
>> org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
>> at
>> org.testng.internal.TestMethodWork

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-04-20 Thread Thusitha Thilina Dayaratne
Hi Hariprasath,

Did you apply the patch manually  to the pack when you run the integration
test? AFAIK when you run integration tests it will use the already built
default pack. It will not contains the patch.

Thanks
Thusitha

On Wed, Apr 20, 2016 at 9:32 AM, Malaka Silva  wrote:

> Hi Hariprasath,
>
> You need to debug and investigate this further. Find details on debugging
> integration test in [1]
>
> [1]
> https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests
>
> On Wed, Apr 20, 2016 at 6:18 PM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Hi All,
>>
>> I have apply the patch to ESB 4.9.0 have mentioned above in [1], but I
>> got the same error. If I create the test case for another
>> method(describeSObject) also show the same error. I have attached the wire
>> log for this method also,
>>
>> Can anyone give any suggestion on this?
>>
>> On Tue, Apr 19, 2016 at 1:36 PM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Noted Malaka,
>>>
>>> I will check and update on this.
>>>
>>> On Tue, Apr 19, 2016 at 1:11 PM, Malaka Silva  wrote:
>>>
 Hi Hariprasath,

 Seems like a issue is mentioned in [1]. Ideally this should be fixed in
 ESB alpha release. Please check.

 If not apply the fix and see if that works. If works add a jira for esb
 5.

 [1] https://wso2.org/jira/browse/ESBJAVA-4388

 On Thu, Apr 7, 2016 at 3:59 PM, Hariprasath Thanarajah <
 haripras...@wso2.com> wrote:

> Hi All,
>
> I am working on to create integration test for salesforce connector.
> When I create the testcase for a particular method(getUserInfo) I got the
> response via the ESB call but after that I get the following error in [1].
>
> I have added the proxy[2] and soap request[3] as well.
>
> Can anyone suggest me what could be the reason for this follwing error.
>
> [1]
> FAILED: testGetUserInfoWithMandatoryParameters
> Salesforce {getUserInfo} integration test with mandatory
> parameters.
> java.lang.NullPointerException
> at
> org.apache.axis2.transport.http.AbstractHTTPSender.processCookieHeaders(AbstractHTTPSender.java:213)
> at
> org.apache.axis2.transport.http.AbstractHTTPSender.obtainHTTPHeaderInformation(AbstractHTTPSender.java:170)
> at
> org.apache.axis2.transport.http.AbstractHTTPSender.processResponse(AbstractHTTPSender.java:224)
> at
> org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:294)
> at
> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:196)
> at
> org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
> at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
> at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278)
> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
> at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
> at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
> at
> org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendSOAPRequest(ConnectorIntegrationTestBase.java:616)
> at
> org.wso2.carbon.connector.integration.test.salesforce.SalesforceConnectorIntegrationTest.testGetUserInfoWithMandatoryParameters(SalesforceConnectorIntegrationTest.java:60)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
> org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
> at
> org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
> at
> org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
> at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
> at org.testng.TestRunner.privateRun(TestRunner.java:757)
> at org.testng.TestRunner.run(TestRunner.java:608)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
>  

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-04-20 Thread Malaka Silva
Hi Hariprasath,

You need to debug and investigate this further. Find details on debugging
integration test in [1]

[1] https://docs.wso2.com/display/TA430/Debugging+Product+Integration+Tests

On Wed, Apr 20, 2016 at 6:18 PM, Hariprasath Thanarajah <
haripras...@wso2.com> wrote:

> Hi All,
>
> I have apply the patch to ESB 4.9.0 have mentioned above in [1], but I
> got the same error. If I create the test case for another
> method(describeSObject) also show the same error. I have attached the wire
> log for this method also,
>
> Can anyone give any suggestion on this?
>
> On Tue, Apr 19, 2016 at 1:36 PM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Noted Malaka,
>>
>> I will check and update on this.
>>
>> On Tue, Apr 19, 2016 at 1:11 PM, Malaka Silva  wrote:
>>
>>> Hi Hariprasath,
>>>
>>> Seems like a issue is mentioned in [1]. Ideally this should be fixed in
>>> ESB alpha release. Please check.
>>>
>>> If not apply the fix and see if that works. If works add a jira for esb
>>> 5.
>>>
>>> [1] https://wso2.org/jira/browse/ESBJAVA-4388
>>>
>>> On Thu, Apr 7, 2016 at 3:59 PM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 Hi All,

 I am working on to create integration test for salesforce connector.
 When I create the testcase for a particular method(getUserInfo) I got the
 response via the ESB call but after that I get the following error in [1].

 I have added the proxy[2] and soap request[3] as well.

 Can anyone suggest me what could be the reason for this follwing error.

 [1]
 FAILED: testGetUserInfoWithMandatoryParameters
 Salesforce {getUserInfo} integration test with mandatory
 parameters.
 java.lang.NullPointerException
 at
 org.apache.axis2.transport.http.AbstractHTTPSender.processCookieHeaders(AbstractHTTPSender.java:213)
 at
 org.apache.axis2.transport.http.AbstractHTTPSender.obtainHTTPHeaderInformation(AbstractHTTPSender.java:170)
 at
 org.apache.axis2.transport.http.AbstractHTTPSender.processResponse(AbstractHTTPSender.java:224)
 at
 org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:294)
 at
 org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:196)
 at
 org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
 at
 org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
 at
 org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278)
 at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendSOAPRequest(ConnectorIntegrationTestBase.java:616)
 at
 org.wso2.carbon.connector.integration.test.salesforce.SalesforceConnectorIntegrationTest.testGetUserInfoWithMandatoryParameters(SalesforceConnectorIntegrationTest.java:60)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at
 org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
 at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
 at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
 at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
 at
 org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
 at
 org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
 at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
 at org.testng.TestRunner.privateRun(TestRunner.java:757)
 at org.testng.TestRunner.run(TestRunner.java:608)
 at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
 at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
 at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
 at org.testng.SuiteRunner.run(SuiteRunner.java:240)
 at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
 at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
 at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
 at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
 at org.testng.TestNG.run(TestNG.java:999)
   

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-04-19 Thread Hariprasath Thanarajah
Noted Malaka,

I will check and update on this.

On Tue, Apr 19, 2016 at 1:11 PM, Malaka Silva  wrote:

> Hi Hariprasath,
>
> Seems like a issue is mentioned in [1]. Ideally this should be fixed in
> ESB alpha release. Please check.
>
> If not apply the fix and see if that works. If works add a jira for esb 5.
>
> [1] https://wso2.org/jira/browse/ESBJAVA-4388
>
> On Thu, Apr 7, 2016 at 3:59 PM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Hi All,
>>
>> I am working on to create integration test for salesforce connector. When
>> I create the testcase for a particular method(getUserInfo) I got the
>> response via the ESB call but after that I get the following error in [1].
>>
>> I have added the proxy[2] and soap request[3] as well.
>>
>> Can anyone suggest me what could be the reason for this follwing error.
>>
>> [1]
>> FAILED: testGetUserInfoWithMandatoryParameters
>> Salesforce {getUserInfo} integration test with mandatory
>> parameters.
>> java.lang.NullPointerException
>> at
>> org.apache.axis2.transport.http.AbstractHTTPSender.processCookieHeaders(AbstractHTTPSender.java:213)
>> at
>> org.apache.axis2.transport.http.AbstractHTTPSender.obtainHTTPHeaderInformation(AbstractHTTPSender.java:170)
>> at
>> org.apache.axis2.transport.http.AbstractHTTPSender.processResponse(AbstractHTTPSender.java:224)
>> at
>> org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:294)
>> at
>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:196)
>> at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
>> at
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
>> at
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278)
>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
>> at
>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
>> at
>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
>> at
>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
>> at
>> org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendSOAPRequest(ConnectorIntegrationTestBase.java:616)
>> at
>> org.wso2.carbon.connector.integration.test.salesforce.SalesforceConnectorIntegrationTest.testGetUserInfoWithMandatoryParameters(SalesforceConnectorIntegrationTest.java:60)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:606)
>> at
>> org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
>> at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
>> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
>> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
>> at
>> org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
>> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
>> at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
>> at org.testng.TestRunner.privateRun(TestRunner.java:757)
>> at org.testng.TestRunner.run(TestRunner.java:608)
>> at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
>> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
>> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
>> at org.testng.SuiteRunner.run(SuiteRunner.java:240)
>> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
>> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
>> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
>> at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
>> at org.testng.TestNG.run(TestNG.java:999)
>> at
>> org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
>> at
>> org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
>> at
>> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:606)
>> at
>> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
>> at
>> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
>> at
>> org.apache.maven.surefire.booter

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-04-19 Thread Malaka Silva
Hi Hariprasath,

Seems like a issue is mentioned in [1]. Ideally this should be fixed in ESB
alpha release. Please check.

If not apply the fix and see if that works. If works add a jira for esb 5.

[1] https://wso2.org/jira/browse/ESBJAVA-4388

On Thu, Apr 7, 2016 at 3:59 PM, Hariprasath Thanarajah  wrote:

> Hi All,
>
> I am working on to create integration test for salesforce connector. When
> I create the testcase for a particular method(getUserInfo) I got the
> response via the ESB call but after that I get the following error in [1].
>
> I have added the proxy[2] and soap request[3] as well.
>
> Can anyone suggest me what could be the reason for this follwing error.
>
> [1]
> FAILED: testGetUserInfoWithMandatoryParameters
> Salesforce {getUserInfo} integration test with mandatory
> parameters.
> java.lang.NullPointerException
> at
> org.apache.axis2.transport.http.AbstractHTTPSender.processCookieHeaders(AbstractHTTPSender.java:213)
> at
> org.apache.axis2.transport.http.AbstractHTTPSender.obtainHTTPHeaderInformation(AbstractHTTPSender.java:170)
> at
> org.apache.axis2.transport.http.AbstractHTTPSender.processResponse(AbstractHTTPSender.java:224)
> at
> org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:294)
> at
> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:196)
> at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
> at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
> at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278)
> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
> at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
> at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
> at
> org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendSOAPRequest(ConnectorIntegrationTestBase.java:616)
> at
> org.wso2.carbon.connector.integration.test.salesforce.SalesforceConnectorIntegrationTest.testGetUserInfoWithMandatoryParameters(SalesforceConnectorIntegrationTest.java:60)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
> org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
> at
> org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
> at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
> at org.testng.TestRunner.privateRun(TestRunner.java:757)
> at org.testng.TestRunner.run(TestRunner.java:608)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
> at org.testng.SuiteRunner.run(SuiteRunner.java:240)
> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
> at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
> at org.testng.TestNG.run(TestNG.java:999)
> at
> org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
> at
> org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
> at
> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> at
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> at
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> at
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
> at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-04-08 Thread Hariprasath Thanarajah
Hi Malaka,

I am doing it now. I'll update the status by evening.

On Fri, Apr 8, 2016 at 2:24 PM, Malaka Silva  wrote:

> Hariprasath shall we try debugging this?
>
> On Thu, Apr 7, 2016 at 10:47 PM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Hi Malaka,
>>
>> No In this I set the blocking as false and also test it with ESB
>> 5.0.0-M1.
>>
>> On Thu, Apr 7, 2016 at 9:08 PM, Malaka Silva  wrote:
>>
>>> Hariprasath seems like this is related to [1]. Are you using call
>>> mediator in blocking mode? If so avoid it for integration tests with esb
>>> 490.
>>>
>>> [1] https://wso2.org/jira/browse/ESBJAVA-4388
>>>
>>> On Thu, Apr 7, 2016 at 3:59 PM, Hariprasath Thanarajah <
>>> haripras...@wso2.com> wrote:
>>>
 Hi All,

 I am working on to create integration test for salesforce connector.
 When I create the testcase for a particular method(getUserInfo) I got the
 response via the ESB call but after that I get the following error in [1].

 I have added the proxy[2] and soap request[3] as well.

 Can anyone suggest me what could be the reason for this follwing error.

 [1]
 FAILED: testGetUserInfoWithMandatoryParameters
 Salesforce {getUserInfo} integration test with mandatory
 parameters.
 java.lang.NullPointerException
 at
 org.apache.axis2.transport.http.AbstractHTTPSender.processCookieHeaders(AbstractHTTPSender.java:213)
 at
 org.apache.axis2.transport.http.AbstractHTTPSender.obtainHTTPHeaderInformation(AbstractHTTPSender.java:170)
 at
 org.apache.axis2.transport.http.AbstractHTTPSender.processResponse(AbstractHTTPSender.java:224)
 at
 org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:294)
 at
 org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:196)
 at
 org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
 at
 org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
 at
 org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278)
 at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendSOAPRequest(ConnectorIntegrationTestBase.java:616)
 at
 org.wso2.carbon.connector.integration.test.salesforce.SalesforceConnectorIntegrationTest.testGetUserInfoWithMandatoryParameters(SalesforceConnectorIntegrationTest.java:60)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at
 org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
 at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
 at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
 at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
 at
 org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
 at
 org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
 at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
 at org.testng.TestRunner.privateRun(TestRunner.java:757)
 at org.testng.TestRunner.run(TestRunner.java:608)
 at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
 at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
 at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
 at org.testng.SuiteRunner.run(SuiteRunner.java:240)
 at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
 at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
 at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
 at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
 at org.testng.TestNG.run(TestNG.java:999)
 at
 org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
 at
 org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
 at
 org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-04-08 Thread Malaka Silva
Hariprasath shall we try debugging this?

On Thu, Apr 7, 2016 at 10:47 PM, Hariprasath Thanarajah <
haripras...@wso2.com> wrote:

> Hi Malaka,
>
> No In this I set the blocking as false and also test it with ESB 5.0.0-M1.
>
> On Thu, Apr 7, 2016 at 9:08 PM, Malaka Silva  wrote:
>
>> Hariprasath seems like this is related to [1]. Are you using call
>> mediator in blocking mode? If so avoid it for integration tests with esb
>> 490.
>>
>> [1] https://wso2.org/jira/browse/ESBJAVA-4388
>>
>> On Thu, Apr 7, 2016 at 3:59 PM, Hariprasath Thanarajah <
>> haripras...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> I am working on to create integration test for salesforce connector.
>>> When I create the testcase for a particular method(getUserInfo) I got the
>>> response via the ESB call but after that I get the following error in [1].
>>>
>>> I have added the proxy[2] and soap request[3] as well.
>>>
>>> Can anyone suggest me what could be the reason for this follwing error.
>>>
>>> [1]
>>> FAILED: testGetUserInfoWithMandatoryParameters
>>> Salesforce {getUserInfo} integration test with mandatory
>>> parameters.
>>> java.lang.NullPointerException
>>> at
>>> org.apache.axis2.transport.http.AbstractHTTPSender.processCookieHeaders(AbstractHTTPSender.java:213)
>>> at
>>> org.apache.axis2.transport.http.AbstractHTTPSender.obtainHTTPHeaderInformation(AbstractHTTPSender.java:170)
>>> at
>>> org.apache.axis2.transport.http.AbstractHTTPSender.processResponse(AbstractHTTPSender.java:224)
>>> at
>>> org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:294)
>>> at
>>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:196)
>>> at
>>> org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
>>> at
>>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
>>> at
>>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278)
>>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
>>> at
>>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
>>> at
>>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
>>> at
>>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
>>> at
>>> org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendSOAPRequest(ConnectorIntegrationTestBase.java:616)
>>> at
>>> org.wso2.carbon.connector.integration.test.salesforce.SalesforceConnectorIntegrationTest.testGetUserInfoWithMandatoryParameters(SalesforceConnectorIntegrationTest.java:60)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> at java.lang.reflect.Method.invoke(Method.java:606)
>>> at
>>> org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
>>> at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
>>> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
>>> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
>>> at
>>> org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
>>> at
>>> org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
>>> at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
>>> at org.testng.TestRunner.privateRun(TestRunner.java:757)
>>> at org.testng.TestRunner.run(TestRunner.java:608)
>>> at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
>>> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
>>> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
>>> at org.testng.SuiteRunner.run(SuiteRunner.java:240)
>>> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
>>> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
>>> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
>>> at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
>>> at org.testng.TestNG.run(TestNG.java:999)
>>> at
>>> org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
>>> at
>>> org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
>>> at
>>> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> at java.lang.reflect.Method.invoke(Method.java:606)
>>> at
>>> org.apache.maven.surefire.util.R

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-04-07 Thread Hariprasath Thanarajah
Hi Malaka,

No In this I set the blocking as false and also test it with ESB 5.0.0-M1.

On Thu, Apr 7, 2016 at 9:08 PM, Malaka Silva  wrote:

> Hariprasath seems like this is related to [1]. Are you using call mediator
> in blocking mode? If so avoid it for integration tests with esb 490.
>
> [1] https://wso2.org/jira/browse/ESBJAVA-4388
>
> On Thu, Apr 7, 2016 at 3:59 PM, Hariprasath Thanarajah <
> haripras...@wso2.com> wrote:
>
>> Hi All,
>>
>> I am working on to create integration test for salesforce connector. When
>> I create the testcase for a particular method(getUserInfo) I got the
>> response via the ESB call but after that I get the following error in [1].
>>
>> I have added the proxy[2] and soap request[3] as well.
>>
>> Can anyone suggest me what could be the reason for this follwing error.
>>
>> [1]
>> FAILED: testGetUserInfoWithMandatoryParameters
>> Salesforce {getUserInfo} integration test with mandatory
>> parameters.
>> java.lang.NullPointerException
>> at
>> org.apache.axis2.transport.http.AbstractHTTPSender.processCookieHeaders(AbstractHTTPSender.java:213)
>> at
>> org.apache.axis2.transport.http.AbstractHTTPSender.obtainHTTPHeaderInformation(AbstractHTTPSender.java:170)
>> at
>> org.apache.axis2.transport.http.AbstractHTTPSender.processResponse(AbstractHTTPSender.java:224)
>> at
>> org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:294)
>> at
>> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:196)
>> at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
>> at
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
>> at
>> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278)
>> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
>> at
>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
>> at
>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
>> at
>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
>> at
>> org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendSOAPRequest(ConnectorIntegrationTestBase.java:616)
>> at
>> org.wso2.carbon.connector.integration.test.salesforce.SalesforceConnectorIntegrationTest.testGetUserInfoWithMandatoryParameters(SalesforceConnectorIntegrationTest.java:60)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:606)
>> at
>> org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
>> at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
>> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
>> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
>> at
>> org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
>> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
>> at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
>> at org.testng.TestRunner.privateRun(TestRunner.java:757)
>> at org.testng.TestRunner.run(TestRunner.java:608)
>> at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
>> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
>> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
>> at org.testng.SuiteRunner.run(SuiteRunner.java:240)
>> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
>> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
>> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
>> at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
>> at org.testng.TestNG.run(TestNG.java:999)
>> at
>> org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
>> at
>> org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
>> at
>> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:606)
>> at
>> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
>> at
>> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
>> at
>> org.apache.maven.surefire.booter.ProviderFactory.invok

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-04-07 Thread Malaka Silva
Hariprasath seems like this is related to [1]. Are you using call mediator
in blocking mode? If so avoid it for integration tests with esb 490.

[1] https://wso2.org/jira/browse/ESBJAVA-4388

On Thu, Apr 7, 2016 at 3:59 PM, Hariprasath Thanarajah  wrote:

> Hi All,
>
> I am working on to create integration test for salesforce connector. When
> I create the testcase for a particular method(getUserInfo) I got the
> response via the ESB call but after that I get the following error in [1].
>
> I have added the proxy[2] and soap request[3] as well.
>
> Can anyone suggest me what could be the reason for this follwing error.
>
> [1]
> FAILED: testGetUserInfoWithMandatoryParameters
> Salesforce {getUserInfo} integration test with mandatory
> parameters.
> java.lang.NullPointerException
> at
> org.apache.axis2.transport.http.AbstractHTTPSender.processCookieHeaders(AbstractHTTPSender.java:213)
> at
> org.apache.axis2.transport.http.AbstractHTTPSender.obtainHTTPHeaderInformation(AbstractHTTPSender.java:170)
> at
> org.apache.axis2.transport.http.AbstractHTTPSender.processResponse(AbstractHTTPSender.java:224)
> at
> org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:294)
> at
> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:196)
> at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
> at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
> at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278)
> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
> at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
> at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
> at
> org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendSOAPRequest(ConnectorIntegrationTestBase.java:616)
> at
> org.wso2.carbon.connector.integration.test.salesforce.SalesforceConnectorIntegrationTest.testGetUserInfoWithMandatoryParameters(SalesforceConnectorIntegrationTest.java:60)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
> org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
> at
> org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
> at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
> at org.testng.TestRunner.privateRun(TestRunner.java:757)
> at org.testng.TestRunner.run(TestRunner.java:608)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
> at org.testng.SuiteRunner.run(SuiteRunner.java:240)
> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
> at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
> at org.testng.TestNG.run(TestNG.java:999)
> at
> org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
> at
> org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
> at
> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> at
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> at
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> at
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
> at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
>
> [2]
> http://ws.apache.org/ns/synapse";
>

Re: [Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-04-07 Thread Hariprasath Thanarajah
Hi All,

I have attached the wire log here.

On Thu, Apr 7, 2016 at 3:59 PM, Hariprasath Thanarajah  wrote:

> Hi All,
>
> I am working on to create integration test for salesforce connector. When
> I create the testcase for a particular method(getUserInfo) I got the
> response via the ESB call but after that I get the following error in [1].
>
> I have added the proxy[2] and soap request[3] as well.
>
> Can anyone suggest me what could be the reason for this follwing error.
>
> [1]
> FAILED: testGetUserInfoWithMandatoryParameters
> Salesforce {getUserInfo} integration test with mandatory
> parameters.
> java.lang.NullPointerException
> at
> org.apache.axis2.transport.http.AbstractHTTPSender.processCookieHeaders(AbstractHTTPSender.java:213)
> at
> org.apache.axis2.transport.http.AbstractHTTPSender.obtainHTTPHeaderInformation(AbstractHTTPSender.java:170)
> at
> org.apache.axis2.transport.http.AbstractHTTPSender.processResponse(AbstractHTTPSender.java:224)
> at
> org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:294)
> at
> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:196)
> at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
> at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
> at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278)
> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
> at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
> at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
> at
> org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendSOAPRequest(ConnectorIntegrationTestBase.java:616)
> at
> org.wso2.carbon.connector.integration.test.salesforce.SalesforceConnectorIntegrationTest.testGetUserInfoWithMandatoryParameters(SalesforceConnectorIntegrationTest.java:60)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
> org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
> at
> org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
> at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
> at org.testng.TestRunner.privateRun(TestRunner.java:757)
> at org.testng.TestRunner.run(TestRunner.java:608)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
> at org.testng.SuiteRunner.run(SuiteRunner.java:240)
> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
> at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
> at org.testng.TestNG.run(TestNG.java:999)
> at
> org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
> at
> org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
> at
> org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> at
> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> at
> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> at
> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
> at
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
>
> [2]
> http://ws.apache.org/ns/synapse";
>name="salesforce"
>transports="https http"
>startOnLoad="true"
>trace="disable">
> 
> 
> 
>

[Dev] Error while implementing the Integration test for salesforce(SOAP API) connector

2016-04-07 Thread Hariprasath Thanarajah
Hi All,

I am working on to create integration test for salesforce connector. When I
create the testcase for a particular method(getUserInfo) I got the response
via the ESB call but after that I get the following error in [1].

I have added the proxy[2] and soap request[3] as well.

Can anyone suggest me what could be the reason for this follwing error.

[1]
FAILED: testGetUserInfoWithMandatoryParameters
Salesforce {getUserInfo} integration test with mandatory parameters.
java.lang.NullPointerException
at
org.apache.axis2.transport.http.AbstractHTTPSender.processCookieHeaders(AbstractHTTPSender.java:213)
at
org.apache.axis2.transport.http.AbstractHTTPSender.obtainHTTPHeaderInformation(AbstractHTTPSender.java:170)
at
org.apache.axis2.transport.http.AbstractHTTPSender.processResponse(AbstractHTTPSender.java:224)
at
org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:294)
at
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:196)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at
org.wso2.connector.integration.test.base.ConnectorIntegrationTestBase.sendSOAPRequest(ConnectorIntegrationTestBase.java:616)
at
org.wso2.carbon.connector.integration.test.salesforce.SalesforceConnectorIntegrationTest.testGetUserInfoWithMandatoryParameters(SalesforceConnectorIntegrationTest.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:842)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1166)
at
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
at org.testng.TestRunner.runWorkers(TestRunner.java:1178)
at org.testng.TestRunner.privateRun(TestRunner.java:757)
at org.testng.TestRunner.run(TestRunner.java:608)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
at org.testng.TestNG.run(TestNG.java:999)
at
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:178)
at
org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92)
at
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

[2]
http://ws.apache.org/ns/synapse";
   name="salesforce"
   transports="https http"
   startOnLoad="true"
   trace="disable">








{$ctx:loginUrl}
{$ctx:username}
{$ctx:password}