Hi All,

I resolve the above issue for blocking mode by giving callout (without
giving "target" [1]) and send mediator as below

<callout initAxis2ClientOptions="false">

<source type="envelope"/>

<enableSec outboundPolicy="UTPolicy"/>

</callout>
<header name="To" action="remove"/>
<property name="RESPONSE" value="true"/>
 <send/>

Now I can get the response and all operations of workday connector are
working fine.
But when testing with EI tooling I got the error "The message 'target' must
be specified for a Callout mediator".
Please give any sollution for this

Reference

https://madurangasiriwardena.wordpress.com/2017/03/24/dynamically-set-the-credentials-to-invoke-username-token-secured-backend-service-using-wso2esb/

https://docs.wso2.com/display/EI611/Callout+Mediator

[1]
http://hastef88.github.io/2016/01/19/synchronous-jms-publishing-with-wso2-esb-481-and-wso2-mb-300/

Regards,
*Nirthika Rajendran*
*Associate Software Engineer*
WSO2 Inc : http://wso2.org
Mobile       : +94 77 719 8368
LinkedIn    : https://www.linkedin.com/in/nirthika/
Blog          :
*http://nirthika-tech-stuff.blogspot.com/
<http://nirthika-tech-stuff.blogspot.com/>*

On Mon, Nov 20, 2017 at 11:41 AM, Nirthika Rajendran <nirth...@wso2.com>
wrote:

> Hi All,
>
> Thanks Thishani. Yes that's not an error. For now I can ignore it.
> As in the [1] I disable the chunking in axis2_blocking_client.xml as
> follows
> <transportSender name="http"
>                  class="org.apache.axis2.transport.http.
> CommonsHTTPTransportSender">
> <parameter name="PROTOCOL">HTTP/1.1</parameter>
> <parameter name="Transfer-Encoding">none</parameter>
> <parameter name="cacheHttpClient">true</parameter>
> <parameter name="defaultMaxConnectionsPerHost">200</parameter>
> </transportSender>
>
> Then I don't get the above error.
> Now for the blocking mode response come to EI but not send the message
> back to the client.
> The Error is
>
> HTTP/1.1 500 Internal Server Error
>
> Body consist
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/
> envelope/">
>    <SOAP-ENV:Body>
>       <SOAP-ENV:Fault xmlns:wd="urn:com.workday/bsvc">
>          <faultcode>SOAP-ENV:Client.authenticationError</faultcode>
>          <faultstring>invalid username or password</faultstring>
>       </SOAP-ENV:Fault>
>    </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
>
> [1] https://docs.wso2.com/display/EI611/Callout+Mediator
>
> Regards,
> *Nirthika Rajendran*
> *Associate Software Engineer*
> WSO2 Inc : http://wso2.org
> Mobile       : +94 77 719 8368 <+94%2077%20719%208368>
> LinkedIn    : https://www.linkedin.com/in/nirthika/
> Blog          :
> *http://nirthika-tech-stuff.blogspot.com/
> <http://nirthika-tech-stuff.blogspot.com/>*
>
> On Mon, Nov 20, 2017 at 9:08 AM, Thishani Lucas <thish...@wso2.com> wrote:
>
>> Hi Nirthika,
>>
>> I guess the TimeoutHandler message is not actually an error. It shouldn't
>> cause any issues because it's just getting logged when the blocking message
>> sender is invoked inside the call-out mediator.
>>
>> Thanks.
>>
>> On Sun, Nov 19, 2017 at 7:29 PM, Nirthika Rajendran <nirth...@wso2.com>
>> wrote:
>>
>>> Hi All,
>>>
>>> In the workday connector implementation username-token is used for the
>>> authentication. Accoding to [1] for the blocking mode I use callout
>>> mediator [2] as below.
>>>
>>> <callout initAxis2ClientOptions="false">
>>>
>>> <source type="envelope"/>
>>>
>>> <target key="response"/>
>>>
>>> <enableSec outboundPolicy="UTPolicy"/>
>>>
>>> </callout>
>>> <send/>
>>>
>>> But I am getting "Error in extracting message properties" and
>>> "TimeoutHandler This engine will expire all callbacks after GLOBAL_TIMEOUT:
>>> 120 seconds, irrespective of the timeout action, after the specified or
>>> optional timeout"
>>> Please give some suggestion on this
>>>
>>> [1] https://madurangasiriwardena.wordpress.com/2017/03/24/dynami
>>> cally-set-the-credentials-to-invoke-username-token-secured-b
>>> ackend-service-using-wso2esb/
>>> [2] https://docs.wso2.com/display/EI611/Callout+Mediator
>>>
>>>
>>> Regards,
>>> *Nirthika Rajendran*
>>> *Associate Software Engineer*
>>> WSO2 Inc : http://wso2.org
>>> Mobile       : +94 77 719 8368 <+94%2077%20719%208368>
>>> LinkedIn    : https://www.linkedin.com/in/nirthika/
>>> Blog          :
>>> *http://nirthika-tech-stuff.blogspot.com/
>>> <http://nirthika-tech-stuff.blogspot.com/>*
>>>
>>> On Wed, Nov 1, 2017 at 10:05 AM, Nirthika Rajendran <nirth...@wso2.com>
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> Please find the PR [1] and Documentation [2] for Workday connector.
>>>>
>>>> [1] https://github.com/wso2-extensions/esb-connector-workday/pull/1
>>>> [2] https://docs.wso2.com/display/ESBCONNECTORS/Workday+Connector
>>>>
>>>> Regards,
>>>> *Nirthika Rajendran*
>>>> *Associate Software Engineer*
>>>> WSO2 Inc : http://wso2.org
>>>> Mobile       : +94 77 719 8368 <+94%2077%20719%208368>
>>>> LinkedIn    : https://www.linkedin.com/in/nirthika/
>>>> Blog          :
>>>> *http://nirthika-tech-stuff.blogspot.com/
>>>> <http://nirthika-tech-stuff.blogspot.com/>*
>>>>
>>>> On Thu, Oct 26, 2017 at 10:00 AM, Nirthika Rajendran <nirth...@wso2.com
>>>> > wrote:
>>>>
>>>>> Hi Malaka,
>>>>>
>>>>> I have completed the method implementations and working on integration
>>>>> tests.
>>>>> I will finish the documentation end of this week.
>>>>>
>>>>>
>>>>> Regards,
>>>>> *Nirthika Rajendran*
>>>>> *Associate Software Engineer*
>>>>> WSO2 Inc : http://wso2.org
>>>>> Mobile       : +94 77 719 8368 <+94%2077%20719%208368>
>>>>> LinkedIn    : https://www.linkedin.com/in/nirthika/
>>>>> Blog          :
>>>>> *http://nirthika-tech-stuff.blogspot.com/
>>>>> <http://nirthika-tech-stuff.blogspot.com/>*
>>>>>
>>>>> On Wed, Oct 25, 2017 at 9:47 AM, Malaka Silva <mal...@wso2.com> wrote:
>>>>>
>>>>>> Hi Nirthika,
>>>>>>
>>>>>> Have we completed method implementations?
>>>>>>
>>>>>> Why integration tests are taking time? Please plan to complete this
>>>>>> tomorrow.
>>>>>>
>>>>>> We need to release the connector this week.
>>>>>>
>>>>>> On Mon, Oct 23, 2017 at 8:28 PM, Nirthika Rajendran <
>>>>>> nirth...@wso2.com> wrote:
>>>>>>
>>>>>>> Hi All,
>>>>>>>
>>>>>>> Please find the milestone plan[1] for workday connector.
>>>>>>>
>>>>>>> [1] https://docs.google.com/spreadsheets/d/1BJFUPuL-_JH_sqlpEstP
>>>>>>> fYHZ5ps9LbfhH7m4rT-dvSo/edit#gid=0
>>>>>>>
>>>>>>> Regards,
>>>>>>> *Nirthika Rajendran*
>>>>>>> *Associate Software Engineer*
>>>>>>> WSO2 Inc : http://wso2.org
>>>>>>> Mobile       : +94 77 719 8368 <077%20719%208368>
>>>>>>> LinkedIn    : https://www.linkedin.com/in/nirthika/
>>>>>>> Blog          :
>>>>>>> *http://nirthika-tech-stuff.blogspot.com/
>>>>>>> <http://nirthika-tech-stuff.blogspot.com/>*
>>>>>>>
>>>>>>> On Tue, Oct 17, 2017 at 6:16 PM, Nirthika Rajendran <
>>>>>>> nirth...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi All,
>>>>>>>>
>>>>>>>> I have implemented the "Get_Workers" operation. It's works fine.
>>>>>>>> And I will continue the rest of the operation in the workday.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> *Nirthika Rajendran*
>>>>>>>> *Associate Software Engineer*
>>>>>>>> WSO2 Inc : http://wso2.org
>>>>>>>> Mobile       : +94 77 719 8368 <+94%2077%20719%208368>
>>>>>>>> LinkedIn    : https://www.linkedin.com/in/nirthika/
>>>>>>>> Blog          :
>>>>>>>> *http://nirthika-tech-stuff.blogspot.com/
>>>>>>>> <http://nirthika-tech-stuff.blogspot.com/>*
>>>>>>>>
>>>>>>>> On Wed, Oct 11, 2017 at 2:10 PM, Rajjaz Mohammed <raj...@wso2.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi Nirthika,
>>>>>>>>>
>>>>>>>>> This list[1] may help you to chose the methods.
>>>>>>>>>
>>>>>>>>> [1] https://docs.mulesoft.com/release-notes/workday-connector-re
>>>>>>>>> lease-notes
>>>>>>>>>
>>>>>>>>> On Wed, Oct 11, 2017 at 2:02 PM, Nirthika Rajendran <
>>>>>>>>> nirth...@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Malaka,
>>>>>>>>>>
>>>>>>>>>> There are nearly 250 operations in total for Human_Resource [1]
>>>>>>>>>> and Payroll [2]
>>>>>>>>>>
>>>>>>>>>> [1] https://community.workday.com/sites/default/files/file-h
>>>>>>>>>> osting/productionapi/Human_Resources/v29.0/Human_Resources.html
>>>>>>>>>> [2] https://community.workday.com/sites/default/files/file-h
>>>>>>>>>> osting/productionapi/Payroll/v29.0/Payroll.html
>>>>>>>>>>
>>>>>>>>>> So we plan to do 10 methods totally for the first version.
>>>>>>>>>>
>>>>>>>>>> *Human_Resource*
>>>>>>>>>> 1.Get_Workers
>>>>>>>>>> 2.Get_Committee_Definition
>>>>>>>>>> 3.Get_Committee_Types
>>>>>>>>>> 4.Manage_Committee_Membership
>>>>>>>>>> 5.Put_Committee_Classification
>>>>>>>>>>
>>>>>>>>>> *Payroll*
>>>>>>>>>> 6.Get_Payroll_Balances
>>>>>>>>>> 7.Get_Period_Schedules
>>>>>>>>>> 8.Get_Payroll_Results
>>>>>>>>>> 9.Get_Paycheck_Deliveries
>>>>>>>>>> 10.Put_Paycheck_Delivery_Public
>>>>>>>>>>
>>>>>>>>>> Regards,
>>>>>>>>>>
>>>>>>>>>> *Nirthika Rajendran*
>>>>>>>>>> *Associate Software Engineer*
>>>>>>>>>> WSO2 Inc : http://wso2.org
>>>>>>>>>> Mobile       : +94 77 719 8368 <+94%2077%20719%208368>
>>>>>>>>>> LinkedIn    : https://www.linkedin.com/in/nirthika/
>>>>>>>>>> Blog          : http://nirthi-tech-stuff.blogspot.com/
>>>>>>>>>>
>>>>>>>>>> On Wed, Oct 11, 2017 at 1:32 PM, Malaka Silva <mal...@wso2.com>
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> Can you share the operations we are planning to cover?
>>>>>>>>>>>
>>>>>>>>>>> On Wed, Oct 11, 2017 at 11:30 AM, Nirthika Rajendran <
>>>>>>>>>>> nirth...@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Malaka,
>>>>>>>>>>>>
>>>>>>>>>>>> Yes we will cover section(s) fully with the first version.
>>>>>>>>>>>>
>>>>>>>>>>>> Regards,
>>>>>>>>>>>>
>>>>>>>>>>>> *Nirthika Rajendran*
>>>>>>>>>>>> *Associate Software Engineer*
>>>>>>>>>>>> WSO2 Inc : http://wso2.org
>>>>>>>>>>>> Mobile       : +94 77 719 8368 <077%20719%208368>
>>>>>>>>>>>> LinkedIn    : https://www.linkedin.com/in/nirthika/
>>>>>>>>>>>> Blog          : http://nirthi-tech-stuff.blogspot.com/
>>>>>>>>>>>>
>>>>>>>>>>>> On Wed, Oct 11, 2017 at 10:40 AM, Malaka Silva <mal...@wso2.com
>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Nirthika,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Shall we plan to cover section(s) fully with the first
>>>>>>>>>>>>> version.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Eg: All operations in Human_Resources and Payroll.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Otherwise it'll be difficult to implement a use case.
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Wed, Oct 11, 2017 at 10:13 AM, Nirthika Rajendran <
>>>>>>>>>>>>> nirth...@wso2.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> We have planned to implement workday connector for EI by
>>>>>>>>>>>>>> referring the workday API documentation [1] version v29.0.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Workday is a Software-as-a-Service (SaaS) solution developed
>>>>>>>>>>>>>> by Workday Inc., comprising a set of management applications, 
>>>>>>>>>>>>>> covering
>>>>>>>>>>>>>> several areas like human resources management, payroll, 
>>>>>>>>>>>>>> recruiting and
>>>>>>>>>>>>>> talent.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Now planning to cover the following Methods [2] for initial
>>>>>>>>>>>>>> version.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> [1] https://community.workday.com/
>>>>>>>>>>>>>> sites/default/files/file-hosting/productionapi/versions/v29.
>>>>>>>>>>>>>> 0/index.html
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> [2]
>>>>>>>>>>>>>> *Services*         *Operations*
>>>>>>>>>>>>>> Human_Resources Get_Workers
>>>>>>>>>>>>>>                 Put_Committee_Type
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Payroll         Get_Paycheck_Deliveries
>>>>>>>>>>>>>>                 Put_Paycheck_Delivery_Public
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Recruiting         Get_Candidates
>>>>>>>>>>>>>>                 Put_Candidate
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Talent         Get_Competency_Classes
>>>>>>>>>>>>>>                 Put_Competency_Class
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Please let me know if you have any suggestions on this?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>> *Nirthika Rajendran*
>>>>>>>>>>>>>> *Associate Software Engineer*
>>>>>>>>>>>>>> WSO2 Inc : http://wso2.org
>>>>>>>>>>>>>> Mobile       : +94 77 719 8368 <077%20719%208368>
>>>>>>>>>>>>>> LinkedIn    : https://www.linkedin.com/in/nirthika/
>>>>>>>>>>>>>> Blog          : http://nirthi-tech-stuff.blogspot.com/
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>>
>>>>>>>>>>>>> Best Regards,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Malaka Silva
>>>>>>>>>>>>> Associate Director / Architect
>>>>>>>>>>>>> M: +94 777 219 791 <+94%2077%20721%209791>
>>>>>>>>>>>>> Tel : 94 11 214 5345
>>>>>>>>>>>>> Fax :94 11 2145300 <011%202%20145300>
>>>>>>>>>>>>> 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
>>>>>>>>>>>>> https://wso2.com/signature
>>>>>>>>>>>>> http://www.wso2.com/about/team/malaka-silva/
>>>>>>>>>>>>> <http://wso2.com/about/team/malaka-silva/>
>>>>>>>>>>>>> https://store.wso2.com/store/
>>>>>>>>>>>>>
>>>>>>>>>>>>> Don't make Trees rare, we should keep them with care
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>>
>>>>>>>>>>> Best Regards,
>>>>>>>>>>>
>>>>>>>>>>> Malaka Silva
>>>>>>>>>>> Associate Director / Architect
>>>>>>>>>>> M: +94 777 219 791 <+94%2077%20721%209791>
>>>>>>>>>>> Tel : 94 11 214 5345
>>>>>>>>>>> Fax :94 11 2145300 <011%202%20145300>
>>>>>>>>>>> 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
>>>>>>>>>>> https://wso2.com/signature
>>>>>>>>>>> http://www.wso2.com/about/team/malaka-silva/
>>>>>>>>>>> <http://wso2.com/about/team/malaka-silva/>
>>>>>>>>>>> https://store.wso2.com/store/
>>>>>>>>>>>
>>>>>>>>>>> Don't make Trees rare, we should keep them with care
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Architecture mailing list
>>>>>>>>>> Architecture@wso2.org
>>>>>>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Thank you
>>>>>>>>> Best Regards
>>>>>>>>>
>>>>>>>>> *Rajjaz HM*
>>>>>>>>> Software Engineer
>>>>>>>>> Platform Extension Team
>>>>>>>>> WSO2 Inc. <http://wso2.com/>
>>>>>>>>> lean | enterprise | middleware
>>>>>>>>> Mobile | +94752833834 <+94%2075%20283%203834>|+94777226874
>>>>>>>>> <+94%2077%20722%206874>
>>>>>>>>> Email   | raj...@wso2.com
>>>>>>>>> LinkedIn <https://lk.linkedin.com/in/hmohammedrajjaz> | Blogger
>>>>>>>>> <http://rajjazhm.blogspot.com/> | WSO2 Profile
>>>>>>>>> <http://wso2.com/about/team/mohammer-rajjaz/>
>>>>>>>>> [image: https://wso2.com/signature] <https://wso2.com/signature>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Best Regards,
>>>>>>
>>>>>> Malaka Silva
>>>>>> Associate Director / Architect
>>>>>> M: +94 777 219 791 <+94%2077%20721%209791>
>>>>>> 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
>>>>>> https://wso2.com/signature
>>>>>> http://www.wso2.com/about/team/malaka-silva/
>>>>>> <http://wso2.com/about/team/malaka-silva/>
>>>>>> https://store.wso2.com/store/
>>>>>>
>>>>>> Don't make Trees rare, we should keep them with care
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>> _______________________________________________
>>> Architecture mailing list
>>> Architecture@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>>
>>
>>
>> --
>> Regards,
>>
>> *Thishani Lucas*
>> *Software Engineer*
>> *WSO2 Lanka (Private) Limited**: http://wso2.com <http://wso2.com/>*
>> *lean.enterprise.middle-ware*
>>
>> *Tel: +94 77 2556931 <+94%2077%20255%206931> *
>>
>> *LinkedIn: https://www.linkedin.com/in/thishani-lucas/
>> <https://www.linkedin.com/in/thishani-lucas/>*
>>
>> <http://wso2.com/signature>
>>
>> _______________________________________________
>> Architecture mailing list
>> Architecture@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
_______________________________________________
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to