wso2esb

Getting following error while creating a user in WSO2 IS 5.9.0 using scim API?

风格不统一 提交于 2020-08-11 05:01:09
问题 My username is mapped to email while creating a user with payload { "schemas": [ "urn:ietf:params:scim:schemas:core:2.0:User" ], "name": { "formatted": "Careerex Admin" }, "userName": "careerex.admin@in.aanasonic.com", "password": "abc!12345", "profileUrl": "www.gmail.com", "phoneNumbers": [ { "type": "mobile", "value": "9876543210" } ], "locale": "Delhi" } I am getting following error regarding restrictions of username- { "schemas": [ "urn:ietf:params:scim:api:messages:2.0:Error" ],

How to get number of secondes between two dates with XPath [duplicate]

倾然丶 夕夏残阳落幕 提交于 2020-07-22 21:41:59
问题 This question already has answers here : Finding the difference between two dateTimes in XSLT (4 answers) Closed last year . I am working with WSO2 ESB and i would like to know how can i get secondes betwenn date A and B. Basically, i would like to calcul time between system time and 12.00pm. Do you have any idea ? I found how to do get number of days but nothing for secondes with Xpath only. I am restricted with Xpath because i can't use a Java script. Thank you. 回答1: The basic is to turn

How to get number of secondes between two dates with XPath [duplicate]

╄→尐↘猪︶ㄣ 提交于 2020-07-22 21:38:12
问题 This question already has answers here : Finding the difference between two dateTimes in XSLT (4 answers) Closed last year . I am working with WSO2 ESB and i would like to know how can i get secondes betwenn date A and B. Basically, i would like to calcul time between system time and 12.00pm. Do you have any idea ? I found how to do get number of days but nothing for secondes with Xpath only. I am restricted with Xpath because i can't use a Java script. Thank you. 回答1: The basic is to turn

WSO2 EI/ESB: Aggregate mediator for nested Iterate

心不动则不痛 提交于 2020-06-17 13:26:29
问题 I am implementing Iterate mediator inside Iterate mediator. After that, I have an Aggregate mediator in out-sequence. <inSequence> <iterate attachPath="json-eval($.Entity.names)" expression="json-eval($.Entity.names)" id="iterate-over-names" preservePayload="true"> <target> <payloadFactory media-type="json"> <format>[{"value" : 1},{"value" : 2},{"value" : 3},{"value" : 4},{"value" : 5},{"value" : 6},{"value" : 7},{"value" : 8},{"value" : 9}]</format> <args/> </payloadFactory> <iterate

WSO2 EI/ESB: Append payload from Payload Factory to Path Parameter in backend call

僤鯓⒐⒋嵵緔 提交于 2020-06-01 07:41:07
问题 I have a payload factory like below: <payloadFactory media-type="json"> <format>[{"value" : 1},{"value" : 2},{"value" : 3}]</format> <args/> </payloadFactory> <iterate expression="json-eval($)" id="iterate-over-nameAddress"> <call> <endpoint> <http method="get" uri-template="https://backend.com/names/value+{uri.var.value}/address"/> </endpoint> </call> </iterate> In the above code, in backend call, I want the path-parameter " value+{uri.var.value} " to change dynamically according to the

WSO2 EI/ESB: For loop implementation

佐手、 提交于 2020-05-30 20:51:49
问题 I want to implement a simple " for loop " in WSO2 Integration Studio. For example: I am implementing a bus-route API. Every bus has 10 different stops. I want to fetch the 10 stops from the back-end service. A normal for-loop for this would be: for(i=0;i<10;i++) { //back-end call <call> <endpoint> <http method="get" uri-template="https://backend.com/city+i"/> </endpoint> </call> } NOTE: In the above for loop, the back-end call has path parameter like city which should be iterated as city1,

Sequential back-end calls in WSO2 EI/ESB

你离开我真会死。 提交于 2020-05-15 21:48:07
问题 In my case, the response from the first back-end call is in Array of Objects format as below: Response: "Entity": { "related-List": [ { "fname": "abc", "lname": "xyz", "bdate": "2013-01-25", "accType": "Cur", "accNum": "54736", "bal": 901, "address": "USA" }, { "fname": "def", "lname": "pqr", "bdate": "2013-01-25", "accType": "Sav", "accNum": "12345", "bal": 901, "address": "USA" }, { "fname": "ghi", "lname": "stu", "bdate": "2013-01-25", "accType": "Dep", "accNum": "87654", "bal": 901,

getting cognito acces_token with wso2 esb

ε祈祈猫儿з 提交于 2020-03-25 16:46:30
问题 I'm trying to get access token through AWS Cognito with client credentials but getting something else. I'm doing this in wso2 Enterprise integrator 6.1.0 <payloadFactory media-type="xml"> <format> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema/instance"> <soapenv:Header> <Content-Type xmlns="">$1</Content-Type> <Authorization xmlns="">$2</Authorization> </soapenv:Header> <soapenv:Body/> </soapenv:Envelope> </format>

getting cognito acces_token with wso2 esb

青春壹個敷衍的年華 提交于 2020-03-25 16:46:16
问题 I'm trying to get access token through AWS Cognito with client credentials but getting something else. I'm doing this in wso2 Enterprise integrator 6.1.0 <payloadFactory media-type="xml"> <format> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema/instance"> <soapenv:Header> <Content-Type xmlns="">$1</Content-Type> <Authorization xmlns="">$2</Authorization> </soapenv:Header> <soapenv:Body/> </soapenv:Envelope> </format>

stWSO2ESB OutSequence Processing

牧云@^-^@ 提交于 2020-02-16 05:23:31
问题 I'm transforming XML request to SOAP via XSLT in WSO2ESB, just wondering is it possible to make request parameter available to be used in response? E.g. <request> <test>123</test> <param1>testing</param1> </request> -> converted to SOAP <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">#S:Body><ns2:testrequest xmlns:ns2="http://xml.testing.com/test">