Questions tagged [wso2-esb]

4069 questions
23
votes
2 answers

Difference between grant_type=client_credentials and grant_type=password in Authentication Flow?

I would like to understand the difference between grant_type=client_credentials and grant_type=password in Authentication or in OAuth2 Flow concept. I am following below…
user5778069
15
votes
5 answers

How can I resolve the error "certificate subject name does not match target host name"?

curl -X GET --header 'Accept: application/json' --header 'Authorization: Bearer 90d2c018-73d1-324b-b121-a162cf870ac0' 'https://172.17.0.1:8243/V1.0.2/stock/getNA?name=te' The terminal prompted "curl: (51) SSL: certificate subject name…
Mike
  • 419
  • 1
  • 6
  • 16
13
votes
4 answers

WSO2 ESB: Unexpected Character Error when using Salesforce Connector

When attempting to follow the WSO2 directions to update a salesforce record I am getting the following error. Saleforce adaptor - error injecting sObjects to payload : org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxUnexpectedCharException:…
Jay Smith
  • 471
  • 3
  • 17
12
votes
3 answers

How to implement a custom SamplingService for a custom message processor?log after that an element is retrieved and before the sequence is performed

I am pretty new in WSO2 ESB and I have the implement a custom message processor with this specific behavior: perform an operation after that an element is retrieved from the message store and before the sequence related to this message processor is…
AndreaNobili
  • 40,955
  • 107
  • 324
  • 596
12
votes
3 answers

wso2:esb: What is the basic difference between call mediator and send mediator

Anybody would please through some light on difference between call and send mediator and what use cases these two mediators are used.
storia321
  • 381
  • 2
  • 22
10
votes
3 answers

How to debug WSO2 ESB code

How do you typically debug the ESB code? I am using log statements but they are kind of lost in system logs. Is there a better mechanism to be used? Thanks,
Ashish Pandit
  • 137
  • 2
  • 5
10
votes
3 answers

REST TO REST using WSO2 ESB

I have a REST service deployed on a server and would like to expose it (proxy it) through WSO2 ESB and use the ESB security to secure the access to the service (probably HTTP BASIC authentication that looks by username and password in the ESB user…
Adrian Mitev
  • 4,722
  • 3
  • 31
  • 53
9
votes
7 answers

WSO2 ESB filter check null for get-property

I want to check if a property is null in a filter condition. It might not exist in the context or it can be null as well. I want to cover both cases. How can I write a filter expression? I tried something like the code below, but it's not…
Janier
  • 3,982
  • 9
  • 43
  • 96
9
votes
2 answers

WSO2 - How to log from within Javascript mediator

I want to log from withing Javascript script mediator for debugging porpouses. It is quite annoying to have to add the message/variable value... to a context variable and use a log mediator in the sequence. Is there a way to avoid this? King…
fipries
  • 386
  • 3
  • 19
8
votes
1 answer

What is the meaning and the purpose of an inbound endpoint in WSO2 ESB?

I am studying this material for the WSO2 ESB certification: https://wso2.com/training/enterprise-integrator-developer-fundamentals#request_training_enroll Into the "Download Lab kit" section there is a tutorial about how to set an Inbound endpoint.…
AndreaNobili
  • 40,955
  • 107
  • 324
  • 596
8
votes
2 answers

WSO2 ESB Axis2 Service throwing Host name verification failed for host

I have created an AXIS service which connects to WSO2 Identity Server and validates a token. When I deploy this axis service on WSO2 App Server, I get the correct response. Where as when I deploy it on WSO2 ESB, I get the following…
sasi_personal
  • 249
  • 3
  • 12
8
votes
2 answers

Default WSO2 ESB server login credentials?

I just setup WSO2 ESB and got it started in the command line console. I have the Management Console webpage running in a browser now but am stuck on the login. Is there a default username/password to use as a start here? Any help is…
user1867521
  • 101
  • 1
  • 5
8
votes
4 answers

WSO2 ESB Unable to convert complete JSON data to XML

I am constructing a POC. And I created a pass through proxy service for Google Plus. Without using any proxy service I get this is my output : { "kind":"plus#person", "etag":"\"ExituU7aUpmkkfyD52VulzptThw/4J1clegrhxYC2fsJOu2XWCs1Ewg\"", …
yashdosi
  • 1,186
  • 1
  • 18
  • 40
7
votes
4 answers

Adding parameters to the endpoint url wso2 esb

I am new to the WSO2 esb. I want to create a api in which i want to add a dynamic parameter from api Url to endpoint url. My end point url is like http://example.com/api/sync/{session_id}.json I tried to create api like
Stack User 5674
  • 1,548
  • 1
  • 20
  • 44
7
votes
4 answers

WSO2 ESB DBLookup mediator query multiple rows

As it says in the documentation of the DBLookup Mediator it only returns the first row of the query, the other results if they are, were ignored. I want to know if there is a "best way" to run a query (SELECT * FROM X) that return multiple records…
smontico
  • 85
  • 1
  • 7
1
2 3
99 100