Questions tagged [apache-synapse]

Apache Synapse is a lightweight and high-performance Enterprise Service Bus

Apache Synapse is a lightweight and high-performance Enterprise Service Bus (ESB).

Powered by a fast and asynchronous mediation engine, Apache Synapse provides exceptional support for , and .

In addition to XML and , Apache Synapse supports several other content interchange formats, such as plain text, binary, Hessian and JSON. The wide range of transport adapters available for Synapse, enables it to communicate over many application and transport layer protocols.

As of now, Apache Synapse supports HTTP/S, Mail (POP3, IMAP, SMTP), JMS, TCP, UDP, VFS, SMS, XMPP and FIX.

207 questions
1
vote
1 answer

No setPayloadJSON() in Apache Synapse

I have been trying out Apache Synapse and been trying to use the JavaScript mediator to set the JSON payload. But the ScriptMessageContext class doesn't contain any method for reading a JSON payload or setting a JSON payload. But there has been…
pacman
  • 725
  • 1
  • 9
  • 28
1
vote
0 answers

Basic queries related to client server communication

I have some very basic queries on synapse and client communication. Thanks in advance. I thought normal Android phones do not have secure storage with them (although some high end phones do have secure storage in the form of TEE). Right? So, how…
1
vote
1 answer

Is Apache Synapse being planned to migrate to Java 11?

Is Apache Synapse updated as per Java 11 ? The latest release of Apache Synapse, dates to December 2017, which is from 3.0.1 version. While loading the classes from the jar, encountering ClassNotFoundException Caused by:…
a3.14_Infinity
  • 5,653
  • 7
  • 42
  • 66
1
vote
2 answers

Use variables for URI in WSDL mediators WSO2

I am re-factorizing a wso2 project and I wondered how/whether I could do the following. This project is designed to send data to a SOAP Api. In every environment, this API exposes a .wsdl file and the URL and credentials are the only things changing…
zar3bski
  • 2,773
  • 7
  • 25
  • 58
1
vote
0 answers

wso2 quickfixj fix.4.2 message from broker

Good morning everyone, I have problem when waiting for fix message from my broker to my wso2. i have setup my proxy for got fix message from them like
yuyu kungkung
  • 137
  • 2
  • 13
1
vote
0 answers

Enabling OAUTH on WSO2 API Manager's built-in product endpoints such as /services/echo, /services/Version and /services/WorkflowCallbackService

The standard configuration of WSO2 API Manager 2.6.0 exposes a number of product services without enforcing authentication and authorisation controls through the usual OAuth token mechanism employed by WSO2. These services (/services/echo,…
1
vote
1 answer

WSO2 EI Deploy Updated Artifact

I have a question regarding WSO2 EI Deployment. Here is the scenario, I had create 4 API for my project. For the first time deployment. I generated 1 CApp file consist of 4 API and other artifact such as endpoint, resources and java…
ameruddin jamil
  • 155
  • 4
  • 18
1
vote
1 answer

ESB Proxy XML Request inside CDATA tag in SOAP request

I am new to Apache Synapse. I need to do content-based routing and proxying of a SOAP service. However, the actual request is an XML document inside a CDATA tag in the body of the SOAP request. After routing based on the content of this document…
JCaristi
  • 13
  • 4
1
vote
1 answer

Wso2 Fault Sequence Error Handling Header

I am currently developing an API that will send a request to the Endpoint and will response back to the client. On my fault sequence, I will log the error code and error message by using the makefault mediator. Everything is working fine about the…
1
vote
1 answer

WSO2 ESB how to read XML attribute response from the Endpoint

I have create one API witch call and Endpoint and return some response. Base on the response the Endpoint return, I want to retrieve the status value and proceed to the next step. This is my api.xml looks like.
ameruddin jamil
  • 155
  • 4
  • 18
1
vote
0 answers

GlowRoot for WSO2 EI

Is there a way to integrate web services that hosted in WSO2 EI in Glowroot? Currently, WSO2 Carbon UI Request(9443) is log in Glowroot Web Transaction. But when I request in Web Services(8280) there's no log in Glowroot Web Transaction.
jmvtrinidad
  • 3,347
  • 3
  • 22
  • 42
1
vote
1 answer

Use a Custom Header WSO2

I have two apps, one that authenticate some user and generate a jwt if the user is valid, and save this jwt on the header with the name custom, as you can see: var jwt = require('jsonwebtoken') var bodyParser = require('body-parser') …
1
vote
1 answer

WSO2 inline prototyping: How to get variables different that "path type"?

I'm using the WSO2 2.1.0 inline prototyping feature, as shown in Create a Prototyped API with an Inline Script This sample use the Synapse ScriptMessageContext to get the variables. But I'm only able to get the variable value if this is a "path"…
Sourcerer
  • 1,891
  • 1
  • 19
  • 32
1
vote
1 answer

synapse PHP API sandbox mode showing error "None is not of type 'string'"

I am working with synapse and having issue while uploading user doc attachment, actually same thing is working on our live server but not working with test server in sandbox mode If any one can help :) Reference URL:…
Nextgen Anak
  • 47
  • 1
  • 11
1
vote
4 answers

WSO2ESB: Property setting not accepting empty value

Actually I'm trying to get an empty value when I set a Property in a sequence in WSO2 ESB with an empty string. I have tried many things but always get the result "null" or "\"\"" instead of "" when I get the property, here is my code:
Tony Montana
  • 36
  • 1
  • 4