FAQ Database Discussion Community


Can we install a FAB(Fuse Application Bundle) on the WSO2 application server

wso2,fuseesb,jbossfuse,wso2as
As the title says, I would like to know if I can deploy fab bundles on the WSO2 application server. One way I guess this is possible is to install the fab-bundle feature and then deploy the fab jar but would like a confirmation of the same.

Does wso2 emm provide space isolation?

security,wso2,wso2-emm
A BYOD security solution must meet some requirements, one Of them is Space isolation. Space isolation: it must be able to isolate personal space and corporate space on a BYOD so that different security policies can be applied. I would like to know whether or not this EMM provide space...

is there any web service present for authnetication using wso2

wso2
I am new to this wso2 evaluating wso2, I am using Identity Server I have web application , want to apply web SSO feature using WSo2, I had check there are soap web service present in wso2 for UserAdmin, https://server-info:9443/services/UserAdmin.UserAdminHttpsSoap12Endpoint/ using soap client for test , for dev have to...

Sequence defined in the Message Processor doesn't receive the response

wso2,wso2esb
I have a separate proxy (in WSO2ESB4.8.1) which sends the message to the message store (which is configured with WSO2MB 2.2.0) and then the processor sends the message to the backend and backend receives the message, but the response from backend doesn't come back to the defined sequence, Seq_IfcFileCheckinResponse in...

What is the difference between service provier and resident service provider

wso2,wso2is
I can not understand the difference between service provier and resident service provider.I understand like following. When i want provisioing and service provider using HTTP Basic Authentication and SCIM API, IS server have to configure resident service provider's provisioning configuration. Is it right? When i want provisioing and service provider...

What's the sequence for patching the WSO2-CARBON-PATCH-XXX-YYYY?

wso2,wso2is
I'm evaluating the WSO2 Identity Server. Today I've received the email about the new path. I've no idea what the sequence for patching the WSO2-CARBON-PATCH-XXX-YYYY is. Should I patch by number order? I'm not sure if there is any prerequisite or not. Could you please help to advise further?...

WSO2 IS setting Issuer in SAML Response to “localhost”

wso2,wso2is
We have a WSO2 Identity Service Provider setup for SAML Inbound Authentication Configuration. However SAML response sent by IS sets Issuer to "localhost" even though we have a different value set in that field Any thoughts?...

WSO2 ESB How can I set input message from localentry?

wso2,wso2esb
I want to create input message into WSO2 ESB config. How can i do this? For example: it may by getting from localentry. <localEntry key="x"> <a> <b>123</b> </a> </localEntry> And I want to copy this XML as input message to inSequence. Thanks....

SAML2.0 SSO with the WSO2 Identity Server?

java,wso2,single-sign-on,saml
I need to use WSO2 Identity server with SAML for SSO for my internal application. I came across this beautiful SAML2.0 SSO with the WSO2 Identity Server article But i have two questions on this article which i am not sure how works 1) In 5th step it is said...

WSO2 Message Broker Unable to show the Message content

wso2,wso2esb
I have successfully configured the WSO2 Message Broker. I have also integrated with WSO2 ESB. I have sent a message on a queue from my ProxyService. When i try to browse the message content on queue. WSO2 MB gives me following error: Note: I am using WSO2 MB 2.2.0. Problem:...

Does Message Sampling Processor in WSO2 ESB support reliable messaging

wso2,wso2esb
In WSO2ESB the message sampling processor de-queues the messages from the queue and forward it to a sequence where we can do transformation to the request and send to the back - end. And The main purpose of using MSMP is for archiving guaranteed delivery, or in other words, to...

Is one XACML file per user a good approach?

wso2,wso2is,erp,xacml,xacml3
Scenario: I'm developing a custom PAP for WSO2 IS 5.0.0. I have simple rules to administrate such as: The user Bob can read Orders of branch XYZ? The user Bob can create Invoices of branch PTO? I'm thinking to write one Policy per user with many rules, each rule containing...

Autodeploy API error in WSO2 ESB

api,wso2,wso2esb,synapse
I'm trying to deploy an API in WSO2 ESB automatically. I put .xml file with de API and its resources definition in {ESB_HOME}/repository/deployment/server/synapse-configs/default/api/ and the API Factory from ESB deploy it. But I get this error: [2015-04-29 11:19:18,013] ERROR - APIFactory An API must contain at least one resource definition...

WSO2 DOCTYPE not allowed calling REST Api

proxy,wso2,wso2esb,doctype
i m working with this proxy: <?xml version="1.0" encoding="UTF-8"?> <proxy xmlns="http://ws.apache.org/ns/synapse" name="PubMedDataProxy" transports="https,http" statistics="disable" trace="disable" startOnLoad="true"> <target> <inSequence> <call> <endpoint> <http method="get" uri-template="http://eutils.ncbi.nlm.nih.gov/entrez/eutils/elink.fcgi?dbfrom=omim&amp;Mdb=pubmed&amp;id=230900"/> </endpoint> </call> <log level="custom"> <property name="MyLOg"...

Unable to view statics in the WSO2 API Manager Publisher?

wso2,wso2carbon,wso2-am,wso2bam
I'm setting up WSO2 API Manager & WSO2 BAM. I folloed each and every step given in the below article. http://umeshagunasinghe.blogspot.com/2013/11/how-to-configure-wso2-api-manager-to.html I see below error in the terminal when I try to access the statistics page. [2015-02-06 14:15:29,405] ERROR - usage:jag java.lang.NullPointerException: null Below is the page I get. I...

No synapse button in ESB 4.8.1 Management console

wso2,synapse
I downloaded WSO2 ESB 4.8.1 and started the wso2 server and got the management console up and running. But there does not exist a button called "Synapse" under the configure tab in the top left corner in the management console. I want it to open the synapse-configuration.xml to change the...

how to create execution plan where exported stream and siddhi query insert into have the same name?

java,wso2,wso2cep
I tried creating a plan using the example provided in this link Create execution Plan but I get the following error. Stream OutStats is already defined as StreamDefinition{streamId='OutStats', attributeList=[Attribute{name='meta_ip', type=STRING}, Attribute{name='userName', type=STRING}, Attribute{name='requestCount', type=LONG}]}, hence cannot define StreamDefinition{streamId='OutStats', attributeList=[Attribute{name='meta_ip', type=STRING}, Attribute{name='userName', type=STRING}, Attribute{name='searchKey', type=STRING}]} If I change the...

wso2/synapse service chaining: assign response from SOAP request as intput to another request

wso2,synapse
My desired sequence is the following: Read message from queue Transform Make an SOAP call Output SOAP response to another queue Steps 1,2,3 work fine but when the message sent in Step 4, that I'm intending to contain the SOAP response, is empty. What am I doing wrong? <?xml version="1.0"...

WSO2 ESB Tracking Request-Response

logging,request,wso2,response,wso2esb
I'm working on WSO2 ESB 4.8.1 By observing ESB HOME/repository/logs/wso2carbon.log i need to know the connection between one request and its relative response going through my proxy services. I tried following the MessageID property printed in the insequence and the out sequence of my proxies, but i realize, even if...

timeout of WSO2 ESB 4.8.1 as a JMS Consumer

wso2,synapse
I Have a proxy that is described here the transport of the proxy is JMS. the proxy gives messages from jms then it sends messages to back-end over http. after back-end answers the proxy sends an answer back to JMS. All works well. Sometimes back-end processes a message longer then...

what this samlssoTokenId used for can it be used for refresh session and get new SAML certificate?

wso2,session-cookies,saml-2.0,wso2is
I am evaluating WSO25.0.0 , require token based access authentication and authorization Using wso2 5.0.0 Identity Server, for web sso with SAML2 , when I send SAML request to wso2 using Idpurl https://localhost:9443/samlsso from browser I found it have samlssoTokenId cookie, with some expire time Can this cookie token can...

WSO2 BPS / SOAP - How does one get the result of a human task using the HumanTaskClientAPI?

java,soap,wso2
I've tried using getOuputResponse.getTaskData() but it returns an XML and the GetOutcome method apparently isn't supported yet. Is there another method that I'm not seeing or is this the only way? My code so far: GetOutput getOutput = new GetOutput(); getOutput.setIdentifier(resultRow[0].getId()); GetOutputResponse output = null; try { output = humanTaskClient.getOutput(getOutput);...

How to manage my own users using SCIM in WSO2 Identity Server

wso2,wso2is,scim
As described in https://docs.wso2.com/display/IS500/WSO2+Identity+Server+as+a+SCIM+Service+Provider I can create new users through SCIM in a RESTful way. This is no problem in those cases where I create regular users using an existing admin user. However I would like to create users using several different admin users and, when querying for users, only...

WSO2 SSO always redirects to localhost:9443/samlsso

wso2,single-sign-on,wso2esb,wso2is
I'm using WSO2 identity server (on port 9443) and enterprise service bus (ESB, on port 9444). I configured ESB to use IS SSO. But everytime I try to login into ESB it redirects me to IS and there it redirects me to URL localhost:9443/samlsso. I already tried changing this URL...

log wso2 esb request/responses to database

wso2,axis2,wso2esb,synapse
I want to build a logger that logs all incoming requests and their response to a database. For this I created an axis2 module that should do this in the Inflow and the Outflow - I do not want to trigger the logging from the sequences, because then I would...

WSO2 Proxy Service “InSequence” incorrectly sending a request instead of a response for API

wso2,wso2esb,synapse,wso2-am
I am experiencing an issue within my In Sequnce of the following proxy : <?xml version="1.0" encoding="UTF-8"?> <proxy xmlns="http://ws.apache.org/ns/synapse" name="AckServiceAPIProxy" transports="https,http" statistics="disable" trace="disable" startOnLoad="true"> <target> <inSequence> <property name="json-xml" value="text/xml" scope="axis2" type="STRING"/> <log level="full" category="DEBUG" separator="____:____"/> <property xmlns:ns="http://org.apache.synapse/xsd" name="name"...

Log complete HTTP HEAD in WSO2 ESB API

wso2,wso2esb,synapse
I have several API resources deployed in the WSO2 ESB. In order to monitor the calls they receive Web services exposed in API resources, I would like to show in the log full HTTP header of the request. I know I can do this parameter by parameter from the HTTP...

WSO2 API Manager missing authorization header

wso2,basic-authentication,wso2-am
I have a REST API that does authentication using Basic Auth. I added this API to WSO2 API manager and got production urls for that API. Basically I need API manager to view statistics of API usage. I need not API manager to worry about authentication of the API. So...

Mutual SSL between ESB and unsecured back-end services , “Null cert chain”

ssl,wso2,wso2esb
I am getting the following error : ERROR {org.apache.synapse.transport.passthru.SourceHandler} - I/O error: null cert chain {org.apache.synapse.transport.passthru.SourceHandler} while trying to enable mutual SSL between my (custom)Proxy service and 2 unsecured back-end services. Here's what I've done so far : Enabled <parameter name="SSLVerifyClient">require</parameter> Extracted public certs of 2 back-end servers in [carbon_home]/respository/resources/security/wso2carbon.jks...

ERROR - ListenerManager Couldn't initialize the httpstransport listener - WSO2

java,https,wso2,wso2carbon,wso2-am
I started fresh copy of the WSO2 API Manager 1.8 and get below error for no reason. ERROR - ListenerManager Couldn't initialize the httpstransport listener How can I fix this?...

Error in sending Email in WSO2 ESB

wso2,axis2,wso2esb,wso2carbon,wso2dss
Hi Am working with WSO2 ESB 4.7.0, Am trying to send a Email by using WSO2 ESB,For this i have uncommented the following line in Axis2.xml file, <transportSender name=”mailto”> <parameter name=”mail.smtp.host”>smtp.gmail.com</parameter> <parameter name=”mail.smtp.port”>587</parameter> <parameter name=”mail.smtp.starttls.enable”>true</parameter> <parameter name=”mail.smtp.auth”>true</parameter> <parameter...

wso2 truncates the jms destination path

wso2
I'm running the example from http://wso2.com/library/tutorials/2011/11/configuring-wso2-esb-with-oracle-as-messaging-media/ Once the proxy is defined it works as intended, i.e. it reads a messages from the queue and places the SOAP call. However, if the proxy is re-opened and saved wso2 starts spinning spitting out errors: java.naming.security.credentials=tromanow} javax.naming.AuthenticationException: [LDAP: error code 49 - INVALID_CREDENTIALS:...

Why WSO2 IS SAML2SSOAuthenticationService is returning false? (SAML2 SSO)

wso2,wso2is
Scenario: I've deployed a Jaggery App at WSO2 AS 5.2.1 and I have WSO2 IS 5.0.0 (service pack activated) running two Service Providers with SSO config, one pointing to AS and the other to my Jaggery App. My acs.jag is a copy o Dashboard application running at IS and configuration...

Downed localhost(127.0.0.1):9162 host still appears to be down

java,wso2,wso2carbon,wso2-am,wso2bam
I'm setting up WSO2 API Manager & WSO2 BAM. I folloed each and every step given in the below article. http://umeshagunasinghe.blogspot.com/2013/11/how-to-configure-wso2-api-manager-to.html I see below error in the terminal when I try to access the statistics page. [2015-02-09 15:04:17,418] WARN {me.prettyprint.cassandra.connection.CassandraHostRetryService} - Downed localhost(127.0.0.1):9162 host still appears to be down: Unable...

WSO2 ESB sequence templates error

templates,wso2,wso2esb,wso2developerstudio
I am using WSO2 ESB Sequence templates to generate a generic validation template. This template will receive a simple XML message and it will validate it against it's schema. Validate Mediator requires two things as input. one is "sourceElement" and other is "schemaFilePath" Problem: I have successfully passed the "sourceElement"...

Can WSO2 Identify Server send back the email address in the NameID of a SAML response?

wso2,saml,wso2is
I am trying to configure WSO2 Identity Server with a cloud app. So far I have managed to: The cloud app being redirected to WSO2 IS and it's login page appearing. The WSO2 IS login being successfully authenticated against a LDAP backed secondary user store. However the cloud app login...

WSO2 ESB TRACE Logging level

logging,log4j,wso2,wso2esb
i m using WSO2 ESB 4.8.1. I wrote a custom class mediator and now i'm dealing with the logging level. I m using the org.apache.commons.logging.Log So in my class: import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; public class XMLDiogeneUtils { private static Log log = LogFactory.getLog(XMLDiogeneUtils.class); public static void initializeXPath() { log.debug("initializing XPATH");...

writing into file using VFS -WSO2 ESB 4.8.1

wso2,wso2esb,file-writing
This sequence is for writing one specific field value into the file.Problem is we only need content,but using xml label is coming and if I use json then value comes into {}` {$1} </format> <args> <arg evaluator="xml" expression="//FieldValue"/> </args> </payloadFactory> <property name="OUT_ONLY" value="true"/> <send> <endpoint name="FileEpr">`target path` <address uri="vfs:file://D:/Documents/File/out"/> </endpoint>...

WSO2 Developer Studio on OSX 10.10.3 freezes on launch

wso2
OSX 10.10.3 Dev Studio 3.7.1 installed via complete download from wso2.com or adding working eclipse via marketplace. Freezes when I try to run the program. The splash shows "loading workspace". When Eclipse runs just fine prior to adding dev studio from the marketplace How do I get WSO2 working on...

Add lib dependencies to Axis2 web service when generating aar file

web-services,wso2,axis2,wso2developerstudio
I've created an Axis2 Service Project with Developer Studio 3.7.1. The structure of the project is the following: ProjectName -->\src ---->\main ------>\java -------->Source Code of the web service ------>\resources -------->\META-INF ---------->services.xml -->\lib -->Jar dependencies of the web service From the Project Explorer, when I right-click in the project and select...

WSO2 API Manager - Caused by: java.net.SocketException: Connection reset

java,wso2,wso2carbon,wso2-am
I'm seeing below error in WSO2 API Manager 1.6 after running the wso2server.sh for sometime with average load. I got below error repeatedly on the error log. Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:196) at java.net.SocketInputStream.read(SocketInputStream.java:122) at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) at java.io.BufferedInputStream.read1(BufferedInputStream.java:275) at java.io.BufferedInputStream.read(BufferedInputStream.java:334) at...

WSO2 CEP isMatch in-built function doesn't work properly

regex,function,wso2,wso2cep
In Wso2 CEP v 3.1.0 I have to use isMatch function in this situation. from in_put[isMatch('^123|^234|^345', a)] select b,c insert into out_put1; In input stream I have 3 variables (a,b,c), a-variable is 9 digits number where I have to check first 3 digits. I have 3 different number to check....

WSO2 CEP pizzaOrderProcessingPlan's Siddhi Language is strange

wso2,wso2cep
Following link provide a WSO2 CEP sample https://docs.wso2.com/display/CEP310/Getting+Started+with+CEP I sequentially proceed the document and have no problems. But i have a question about following Siddhi Language define table pizza_deliveries (deliveredTime long, order_id string); from deliveryStream select time, orderNo insert into pizza_deliveries; from orderStream#window.time(30 seconds) insert into overdueDeliveries for expired-events; from...

WSO2 API Manager Throws Exceptions for Paralle Requests

oauth,wso2,wso2carbon,wso2is,wso2-am
I am using WSO2 API Manger 1.8.0. I have enabled SAML2BearerAssertion Profile based OAuth Authorization Check for one of my REST APIs. When I send parallel API requests from JMeter. I see these logs in the console.But response received correctly. [2015-03-05 05:08:32,497] WARN - APIKeyValidationServiceImpl Invalid session id for thrift...

How do I disable OAuth2 for a resource in WSO2's API Publisher?

wso2,wso2-am,wso2cloud
I've created a simple API and I'm trying to publish it using WSO2's API Publisher (aka API Cloud). I've gone through all the steps, but it seems to require an Authorization header to access my endpoint. In older documentation, it says that I can change the "Auth Type" at the...

WSO2 Management Console Doesn't load after setting offset

wso2,wso2esb,wso2-am
I am testing WSO2 Servers on ec2 instance. When I start the server I can access the Management console by typing the https://ip:9443/carbon on the browser. Then I edit the repository/conf/carbon.xml as <offset>10</offset> and I start the server and following is the log, [2015-03-16 09:31:37,354] INFO - JMXServerManager JMX Service...

Connect between WSO2 ESB and AM

wso2,wso2esb,wso2-am,wso2as
I wanted to connect WSO2 ESB's Health Care Proxy Sample to API Manager. But i failed to connect two products. I installed 3 WSO2 product(APIM, ESB and AS) in one local machine(Windows 7 64bit, java7) and gave different offset per product (APIM is 2, AS is 1 and ESB is...

WSO2 Message Broker not receiving message

jms,wso2,wso2esb,messagebroker
i followed the official documentation dealing with the integration between WSO2 ESB and WSO2 MB. https://docs.wso2.com/display/MB210/Integrating+WSO2+ESB On my WSO2 ESB 8.1.0 i wrote a simple proxy like this: <?xml version="1.0" encoding="UTF-8"?> <proxy xmlns="http://ws.apache.org/ns/synapse" name="jobReplicaFeed" transports="https,http" statistics="disable" trace="disable" startOnLoad="true"> <target> <inSequence> <log level="full"/> <send> <endpoint key="ReplicaFeedEndpoint"/> </send>...

Add new user into Wso2 CEP into H2 database

wso2,wso2carbon,wso2cep
I need to add new user in Wso2 CEP (3.1.0) and I know that is possible by "clicking" few steps in console (example from documentation). I wonder if it possible to add new user without login into console, but connect to H2 database and insert user there? I know that...

WSO2 ESB and JMS or AMQP custom properties

routing,jms,wso2,amqp
Is it possible to read custom headers/property values from inbound JMS and/or AMQP messages ? How is this accomplished ? We currently use headers for routing purposes in Apache Camel so I need to do the same thing with WSO2 ESB. Thank you.

Sending JMS messages in WSO2 without specifying all JMS parameters in proxy definition

oracle,jms,wso2
I got a WSO2 example to work with Oracle based on http://wso2.com/library/tutorials/2011/11/configuring-wso2-esb-with-oracle-as-messaging-media/. My question is: rather than having to specify all the JMS connection parameters in the proxy, is it possible to define the transport sender in axis2.xml and refer to it in the proxy, similar to how you do...

Invoke a Java class and get a return value in WSO2 BPS 3.2.0

wso2,wso2carbon,bpel
I know that it's possible to invoke a JAVA class within a BPEL process in WSO2 BPS 3.2.0. Sources and tutorial can be found here: http://hasithaa.github.io/java4bpel/ My question is: Is it possible not to only invoke a JAVA class but also get a return value from invoked class/method? Thanks in...

How can I add claim mapping in wso2is via configuration?

wso2,wso2is
I added in claim-config.xml but i dont see that claim being added in the IS management console. <ClaimURI>http://wso2.org/claims/serialNumber</ClaimURI> <DisplayName>serialNumber</DisplayName> <AttributeID>url</AttributeID> <Description>SerialNumber</Description> <DisplayOrder>3</DisplayOrder> <SupportedByDefault /> </Claim> Also i dont want to add the claim mapping from management console. i want to automate this process so need a configuration change....

WSO2 getting error while uploading policy to WSO2 IS PDP from java client

wso2,wso2carbon,wso2is,xacml,balana
I am trying to create XACML policy from java client and upload it to wso2 IS. All works fine and policy also updated in WSO2 IS but after uploading policy when I tried to publish created policy to WSO2 PDP from java client then it gives me an error like...

how to create query,send events and listen for query results from java in WSO CEP?

java,wso2,cep,wso2cep
I read the documentation provided on the website but it wasnt much informative about how to connect to the server and access its CEP features from java.For example does it accept POJO as event model or is it just xml? Can we create event models and queries from java?If so...

Payload parsing error (Soap 1.1 vs Soap 1.2)

wso2,wso2esb
I have a problem with a payload on WSO2 ESB. My endpoint is answering correctly when I send a SOAP 1.1 message. I made a proxy that takes parameters and convert it to SOAP. Then send it through my Endpoint. The problem is that my message is correctly formed (I...

Is WSO2 Identity Server working with JSON XACML request/response?

json,wso2,wso2is,xacml,abac
I´m new in the world of WSO2 Identity Server. Does anyone know if Identity Server is able to send and receive XACML requests and responses using the new JSON defined in the Oasis XACML Definition? I cannot find any reference or tutorial talking about that. Thanks in advance!...

How to configure Deployment Synchronizer for API Manager cluster products

wso2,wso2-am
I have configured API Manager cluster environment, and seperated product into GatewayManager, GatewayWorker, KeyManager, APIPublisher and APIStore. Now I want to configure SVN-based deployment sychronizer, but according to the document https://docs.wso2.com/display/CLUSTER420/SVN-based+Deployment+Synchronizer, it seems only manager and worker nodes can be configured with svn synchronizer, how does configure it for KeyManager,...

What is the difference between service provider's Inbound Authentication Configuration and identity provider's Federated Authenticator Configuration?

wso2,wso2is
I can not understand the difference between service provier's Inbound Authentication Configuration and identity provider's Federated Authenticator Configuration. I added new service provider and configured SAML Inbound Authentication Configuration. I added an new user using dashboard. I deployed an web application(travelocity) on tomcat as service provider which request SAML authentication...

WSO2 encrypt/decrypt password (string) with public-private keys

security,encryption,cryptography,wso2,wso2carbon
In WSO2 ESB (4.8.1) in BAM profile, when I export it (BAM profile), I noticed that password is encrypted. I find out that if I will have private and public key I could encrypt/decrypt password, so I write this: import org.apache.commons.codec.binary.Base64; import org.bouncycastle.jce.provider.BouncyCastleProvider; import javax.crypto.Cipher; import java.io.FileInputStream; import java.security.*; import...

How to run WSO2 EMM Jaggery Web App in a WSO2 EMM Carbon Server?

wso2,jaggery-js
I have been using WSO2 EMM product for a while. I imported emm jaggery web app project, which is located under modules/apps/ folder. into the WSO2 Eclipse Developer Studio and it is imported as a regular jaggery web app project. I want to quickly change and run just the emm...

Limited Subscription - API Manager

wso2,subscription,wso2carbon,wso2-am
I'm running WSO2 API Manager 1.6. Is it possible to limit the subscrition for special set of users? So that specified users will only have access to mentioned APIs EX: APIs : API1,API2,API3,API4,API5 Users : User1,User2,User3 User1 -> API1, API2 User2 -> API3, API4 User3 -> API1, API5 How can...

How can I assign a url from a property for a Send Mediator within WSO2 ESB?

url,wso2,wso2esb,send,synapse
I'm looking to create a Send Mediator using a url that's configured within a separate database. I have the url in question assigned to a property myurl within my sequence. How can I create a send using this property as the send's url? Something like .. <property name="myurl" value="http://www.google.com"></property> <send>...

WSO2 script mediator Payload append child

javascript,wso2,wso2esb,payload,mediator
i'm using WSO2 ESB 4.8.1 and in particular way i'm facing up to script mediator. I need to resolve a doubt. I need to build a payload made like this way: <response> <urls> <url>http://myfirsturl</url> <url>http://mysecondurl</url> <url>>http://mythirdurl</url> </urls> </response> In my script mediator i wrote this snippet code: <script language="js"> ......

How to add a tenant remotely in WSO2 Identity Server?

wso2,wso2is
I am new to WSO2 Identity Server and I'm using the APIs from UserStoreManager. I want to let a super admin be able to add a tenant remotely but I cannot seem to find an addTenant API. Also, I want to make admin/user of one tenant to be added as...

How to integrate a rest service provider in WSO2 IS

wso2,wso2is
I am new to WSO2 but I would really like to understand better how it works. As seen here, in SWO2 wiki, the architecture uses a Service Provider which is typically the app I am trying to secure. So I deployed an instance of WSO2 IS on a server and...

Logstash grok pattern for WSO2 log message

regex,wso2,expression,wso2esb,logstash-grok
I am currently working with Logstash. I want to parse WSO2 ESB log statement using grok. I have tried different patterns but didn't succeed. Can anyone help me out to write custom pattern for WSO2 ESb log statement. Here is the sample log message: TID: [0] [ESB] [2015-02-25 12:35:18,719] INFO...

WSO2 BAM Log Files Size Large

java,logging,wso2,wso2carbon,wso2bam
I'm running wso2bam-2.4.1 in an Ubuntu instance. Below is the log folder structure. As you can see wso2carbon.log.2015-03-02 is 22GB. -rw-r--r-- 1 root root 0 Feb 6 10:54 wso2carbon-trace-messages.log -rw-r--r-- 1 root root 0 Feb 6 10:54 tm.out -rw-r--r-- 1 root root 0 Feb 6 10:54 audit.log -rw-r--r-- 1 root...

Lotus Domino Web Service in WSO2 Pass Through Proxy Service

web-services,wsdl,wso2,wso2esb,lotus-domino
I created a pass through proxy on WSO2 for Lotus Domino Web Service. Here is WSDL of that service: <?xml version="1.0" encoding="UTF-8"?> <definitions targetNamespace="urn:DefaultNamespace" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:DefaultNamespace" xmlns:intf="urn:DefaultNamespace" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"...

Deployment synchronization Issue - API Manager 1.8

deployment,synchronization,wso2,wso2carbon,wso2-am
I have clusted the WSO2 API Manager 1.8 and implemented deployment synchronization according to this guide which is given in the WSO2 documentaion. Everything happens to work find except one thing. Let's assume that we have below 2 instances running API Manager. 192.168.X.123 - API Manager 1 192.168.X.124 - API...

The latest application is not deployed in wso2cloud

deployment,build,wso2,wso2cloud
It seems to me like the latest code that I submitted to WSO2 App cloud is not deployed. I tried to access the jenkins server (https://jenkins.cloud.wso2.com/t/cleancoders/webapps/jenkins/job/draft-trunk-default/) I see there that the latest code is built(upto build 29) but on the App cloud still build 24 is deployed. It seems to...

Mapping optional query params in WSO2 ESB API resource

wso2,wso2esb
I have to mapping query params to send request to endpoint in API resource in WSO2 ESB. Those query params are optional. For example, the following are examples of calls to resource: http://server:port/service?q1={q1} http://server:port/service?q2={q2}&q3={q3} I need to have a single resource to do this. How can I do this? Basically,...

General server configuraton WSO2 EMM

mysql,wso2
I'm almost through and I got stuck at the General Server Configuration from step 6. As in when I try the 7th step, I receive below error; mysql> mysql -u admin -p -D EMM_DB < /usr/local/bin/wso2emm/dbscripts/emm_mysql.sql; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual...

DB role in a WSO2 Identity Server Clustered Deployment

wso2,wso2is
I want to set up a cluster of WSO2 Identity Servers for HA. From the documentation I understand that there can be two IS nodes which are load-balanced either through ELB or Apache. In my case the user-store will be an Active Directory server. My question is around the database...

wso2 governance registry giving exception while setting up with mysql

mysql,wso2,wso2greg
I am trying setup WSO2 Governance registry with MySQL database. But it is giving me an exception,when I start start registry server with '-Dsetup' argument. I have already created database on MySQL with name 'registrydb'. Exception Given below: [email protected]:~/Documents/wso2greg-4.6.0/bin$ ./wso2server.sh -Dsetup JAVA_HOME environment variable is set to /home/waqasalirazaq/jdk CARBON_HOME environment...

Give port number and passed parameters in WSO2

java,api,wso2,wso2-am,api-manager
I am trying to learn WSO2 but have been stuck at a minor step which i believe should be quite easy to do. While creating a new api i need to give the production endpoint. What i want to give is the url along with the port as well. So...

wso2 is single logout doesn't sent LogoutRequest to other enrolled SPs

wso2,logout,saml,wso2is,opensaml
Scenario: I have 2 SP viz A and B configured in WSO2 IS 5.0 sp1. I have configured Custom Logout URL in B. This logout URL points to the logout for A. Now when I logout from A, there is no LogoutRequest which is sent from IDP to B. On...

Q: How often is an LDAP user store refreshed in WSO2 Identity Server?

wso2,wso2is
I am using WSO2 Identity Server 5.0.0. I have setup a primary read-only LDAP connection in user-mgt.xml. I created a new group on the LDAP server to assign permissions in the Roles section. The new group is not listed. How long does it take to refresh the LDAP groups and...

which product should I use between wso2 emm and mdm roadmap

wso2
EMM is built with jaggery.js, and MDM is built with java. And EMM1.1.0 is released last year, MDM2.0 is released on this year. From all the document that I read, I should use EMM. But I didn't see any development activity on EMM. And also jaggery.js is still in 0.9...

How to pick service name in WSO2 using Log Mediator

wso2,wso2esb,wso2developerstudio
I am using WSO2 ESB 4.8.1. When i use log mediator, i want it to also log the proxy service name in which log mediator is being used. Is there any property defined in wso2 that i can use? Problem: In the following log mediator I am using "Server_IP" and...

wso2 esb how to match response and request from log file

wso2,wso2esb
As I looked at the esb log and tried to find out which response corresponds to which request, I was unable to since esb uses event instead of thread. Any idea? The ESB log same is below: TID: [0] [ESB] [2015-05-31 00:03:23,147] INFO {org.apache.synapse.mediators.builtin.LogMediator} - To: /services/EchoProx, MessageID: urn:uuid:4a300fc1-d5b1-4aeb-9068-164e69cdb5a0, Direction:...

Must Understand check Failed for UT secured Service

web-services,soap,wso2,axis2
I have an axis2 service deployed on WSO2 AS 5 which I've secured with UT basic auth using the server. I want to invoke the service with an Axis client. I generated the stub and tried this, String trustStore = "/home/dumidu/wso2carbon.jks"; System.setProperty("javax.net.ssl.trustStore", trustStore ); System.setProperty("javax.net.ssl.trustStorePassword", "test123"); HttpTransportProperties.Authenticator basicAuthentication = new...

WSO2IS: SSO session timeout doesn't work

wso2,single-sign-on,saml-2.0,wso2is
I'm currently using WSO2 Identity server along with several service providers. I have also configured Single sign on between them. According to the documentation a system admin can configure a validity in seconds for any SSO sessions under /repository/conf/identity.xml, so that an user can enter their credentials, tick "remember me",...

What HTTP headers does the WSO2 AM Gateway pass to the origin API server?

wso2,wso2-am
What HTTP headers does the WSO2 API Manager Gateway pass along on the proxied request to the origin API server for an OAuth-authenticated request? I can't find any documentation on this, is it in the docs somewhere and if so what's the URL? It must include at least the application...