Hi Malaka,

I did import the .crt file from salesforce.com into the <esb
home>/repository/resources/security folder. Is this the one you are
referring to?
If so, it didnt work.

Regards,

M.R.Aaquibah Nashry
*Intern, Engineering**| **WSO2, Inc.*
Mobile : +94 773946123
Tel      : +94 112662541
Email : nas...@wso2.com <nas...@wso2.com>

On Tue, Aug 18, 2015 at 6:33 PM, Malaka Silva <mal...@wso2.com> wrote:

> Maybe the issue is related to [1].
>
> Can you try importing the certificate to truststore pls?
>
> @Kesavan - Did you experience this behavior intermittently?
>
> [1] https://wso2.org/jira/browse/ESBCONNECT-60
>
>
>
> On Tue, Aug 18, 2015 at 5:33 PM, Aaquibah Nashry <nas...@wso2.com> wrote:
>
>> Hi,
>>
>> the sequence previously worked with the getUserInfo.
>>
>> i added an onError=fault, the logs are as follows:
>>
>> [2015-08-18 17:22:45,644]  INFO {SERVICE_LOGGER} -  To: , MessageID:
>> urn:uuid:cb25cf91-f7fa-4681-beeb-c769ffebe7f4, Direction: request, STATE =
>> Before sf_auth sequence
>> [2015-08-18 17:22:45,644]  INFO {SERVICE_LOGGER} -  To: , MessageID:
>> urn:uuid:cb25cf91-f7fa-4681-beeb-c769ffebe7f4, Direction: request, text =
>> An unexpected error occured, message = null, Envelope: <?xml version="1.0"
>> encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="
>> http://www.w3.org/2003/05/soap-envelope";><soapenv:Body><y>AM data
>> written successfully into pipeline
>> table</y></soapenv:Body></soapenv:Envelope>
>> [2015-08-18 17:22:45,648]  INFO {SERVICE_LOGGER} -  Connection = Login to
>> Salesforce .....
>> [2015-08-18 17:22:46,928]  WARN {SERVICE_LOGGER} -  ERROR_CODE : 101500
>> ERROR_MESSAGE : Error in Sender
>>
>>
>> I have attached the logs after enabling wire logs.
>>
>> Regards,
>>
>> M.R.Aaquibah Nashry
>> *Intern, Engineering**| **WSO2, Inc.*
>> Mobile : +94 773946123
>> Tel      : +94 112662541
>> Email : nas...@wso2.com <nas...@wso2.com>
>>
>> On Tue, Aug 18, 2015 at 2:54 PM, Malaka Silva <mal...@wso2.com> wrote:
>>
>>> Why are you adding getUserInfo, since you are not using the response
>>> from it?
>>>
>>> Also try adding onError attribute to your sequence and check. eg:
>>> onError="fault"
>>>
>>> More on wire logs with [1]
>>>
>>> [1]
>>> http://mytecheye.blogspot.com/2013/09/wso2-esb-all-about-wire-logs.html
>>>
>>> On Tue, Aug 18, 2015 at 2:46 PM, Aaquibah Nashry <nas...@wso2.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> 1) I couldn't find the line to enable wire logs in my log4j file. Is it
>>>> okay if i add the line to it?
>>>> (log4j.logger.org.apache.synapse.transport.http.wire=DEBUG)
>>>>
>>>> 2) My init config is in the sequence *sf_auth* as below:
>>>>
>>>> <salesforce.init xmlns="http://ws.apache.org/ns/synapse";>
>>>>       <username>sesh...@wso2.com</username>
>>>>       <password>p1ne@pplelrY5ZpMQVqPyPramkfIdKDYE6</password>
>>>>       <loginUrl>https://login.salesforce.com/services/Soap/u/27.0
>>>> </loginUrl>
>>>>    </salesforce.init>
>>>>
>>>> 3) When i added the logs, i find that error occurs at
>>>>  <salesforce.getUserInfo configKey="*sf_auth*
>>>> "></salesforce.getUserInfo>
>>>>
>>>> The error logs are as follows:
>>>>
>>>> [2015-08-18 14:42:22,950]  INFO {SERVICE_LOGGER} -  To: , MessageID:
>>>> urn:uuid:4ca4be55-4b42-4b9f-89c3-3fc4b534a1a2, Direction: request, STATE =
>>>> Before sf_auth sequence
>>>> [2015-08-18 14:42:22,958]  INFO {SERVICE_LOGGER} -  Connection = Login
>>>> to Salesforce .....
>>>> [2015-08-18 14:42:26,100]  WARN {SERVICE_LOGGER} -  ERROR_CODE : 101500
>>>> ERROR_MESSAGE : Error in Sender
>>>>
>>>>
>>>> I have attached the sequence.
>>>>
>>>> Thanks
>>>>
>>>> Regards,
>>>>
>>>> M.R.Aaquibah Nashry
>>>> *Intern, Engineering**| **WSO2, Inc.*
>>>> Mobile : +94 773946123
>>>> Tel      : +94 112662541
>>>> Email : nas...@wso2.com <nas...@wso2.com>
>>>>
>>>> On Tue, Aug 18, 2015 at 2:30 PM, Malaka Silva <mal...@wso2.com> wrote:
>>>>
>>>>> Seems like an error when sending the message out.
>>>>>
>>>>> Can you put some logs in your mediation flow and identify with point
>>>>> it's failing?
>>>>>
>>>>> Also enabling wire logs will also help to find the failing point. Also
>>>>> share the salesfore.init config.
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Aug 18, 2015 at 2:19 PM, Aaquibah Nashry <nas...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I am trying to get data from salesforce using salesforce connector by
>>>>>> writing a proxy. I get the following error when i run the sequence/proxy:
>>>>>>
>>>>>> [2015-08-18 14:06:31,815]  INFO {SERVICE_LOGGER} -  Connection =
>>>>>> Login to Salesforce .....
>>>>>> [2015-08-18 14:06:38,933]  WARN {SERVICE_LOGGER} -  ERROR_CODE :
>>>>>> 101500 ERROR_MESSAGE : Error in Sender
>>>>>>
>>>>>> I have attached a sequence i have written for the above task.
>>>>>>
>>>>>> What could be the reason for this? Please help.
>>>>>>
>>>>>> Thanks in advance.
>>>>>> Regards,
>>>>>>
>>>>>> M.R.Aaquibah Nashry
>>>>>> *Intern, Engineering**| **WSO2, Inc.*
>>>>>> Mobile : +94 773946123
>>>>>> Tel      : +94 112662541
>>>>>> Email : nas...@wso2.com <nas...@wso2.com>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Best Regards,
>>>>>
>>>>> Malaka Silva
>>>>> Senior Tech Lead
>>>>> M: +94 777 219 791
>>>>> Tel : 94 11 214 5345
>>>>> Fax :94 11 2145300
>>>>> Skype : malaka.sampath.silva
>>>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>>>> Blog : http://mrmalakasilva.blogspot.com/
>>>>>
>>>>> WSO2, Inc.
>>>>> lean . enterprise . middleware
>>>>> http://www.wso2.com/
>>>>> http://www.wso2.com/about/team/malaka-silva/
>>>>> <http://wso2.com/about/team/malaka-silva/>
>>>>>
>>>>> Save a tree -Conserve nature & Save the world for your future. Print
>>>>> this email only if it is absolutely necessary.
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Best Regards,
>>>
>>> Malaka Silva
>>> Senior Tech Lead
>>> M: +94 777 219 791
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300
>>> Skype : malaka.sampath.silva
>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>> Blog : http://mrmalakasilva.blogspot.com/
>>>
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>> http://www.wso2.com/
>>> http://www.wso2.com/about/team/malaka-silva/
>>> <http://wso2.com/about/team/malaka-silva/>
>>>
>>> Save a tree -Conserve nature & Save the world for your future. Print
>>> this email only if it is absolutely necessary.
>>>
>>
>>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Senior Tech Lead
> M: +94 777 219 791
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> Skype : malaka.sampath.silva
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
> Blog : http://mrmalakasilva.blogspot.com/
>
> WSO2, Inc.
> lean . enterprise . middleware
> http://www.wso2.com/
> http://www.wso2.com/about/team/malaka-silva/
> <http://wso2.com/about/team/malaka-silva/>
>
> Save a tree -Conserve nature & Save the world for your future. Print this
> email only if it is absolutely necessary.
>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to