wso2esb

Glassfih + WSO2 ESB 415 Unsupported media type

醉酒当歌 提交于 2019-12-13 21:56:23
问题 I am creating "Pass Through Proxy" in WSO2ESB using JAX-WS hosted on Glassfish. The problem is that the proxy does not work and it happens with EVERY PROXY I create in the ESB that are pointing to every Java Web Services on Glassfish : the console gives this error [1]. The thing is that Proxies to .Net Services instead, works fine. 1) I have tried with the ESB tryit tool to consume the service and I have the following response: <TryitProxyError h:status="SOAP envelope error" xmlns:h="http:/

Error while creating jms proxy in wso2esb

删除回忆录丶 提交于 2019-12-13 21:29:35
问题 I'm trying to create a jms service using wso2esb4.7.0 and wso2mb2.2.0.For that purpose I have made some changes in wso2esb configuration that I have already explained in another question here : Error while creating JMS configuration in wso2esb. After that created a proxy service in wso2esb having configuration as below : <proxy xmlns="http://ws.apache.org/ns/synapse" name="SampleJMS" transports="jms"> <target> <inSequence> <property action="set" name="OUT_ONLY" value="true"/> <log level="full

Invoking secured web services using wso2 esb

不羁岁月 提交于 2019-12-13 20:40:55
问题 I am trying to access secured web services through WSO2 ESB. I receive a request from a web service, use sequence, apply XSLT mediator, construct the request as needed to hit the endpoint. I can do this successfully by creating a request for unsecured endpoints. How do I construct requests when the endpoints are secured using various security polices (Eg: X509 user name token, etc) Thanks. 回答1: Have a look at this sample. You need to secure the outgoing request message at the end point level.

How to get the property transport.vfs.FileURI in sequence WSO2?

蹲街弑〆低调 提交于 2019-12-13 19:33:29
问题 Is there any way to get the value of transport.vfs.FileURI in a sequence in WSO2? For example I have a proxy vfs like this <parameter name="transport.vfs.ActionAfterProcess">MOVE</parameter> <parameter name="transport.PollInterval">15</parameter> <parameter name="transport.vfs.MoveAfterProcess">file:///opt/temp/</parameter> <parameter name="transport.vfs.FileURI">file:///opt/IDM/</parameter> <parameter name="transport.vfs.ContentType">application/xml</parameter> Then I want to get the value

Soap Action error in WSO2 ESB Task configuration

允我心安 提交于 2019-12-13 19:30:23
问题 I have deployed a WSO2 ESB Proxy Service that works well: it sends a request for a dataset, in the outSequence of the proxy service I send response in a file (I set a sequence for doing it) and i can also visualize response in SOAP UI (or in the "try this service" page of the ESB). If I set a scheduled task it doesn't work: i set message (my xml right-working message in SOAP UI), injectTo (proxy), proxyName (my proxy name), format (my format) and SoapAction... I'm sure that the name of

WSO2 ESB 4.8 json native support - trying to manipulate json and log using mediator via Script mediator

荒凉一梦 提交于 2019-12-13 18:44:47
问题 From WSO2 ESB 4.8 - json is supported natively, information can be found in WSO2 websit. Referring below blog w.r.t.json formatter & builder http://charithaka.blogspot.co.uk/2013/10/the-difference-between-json-streaming.html My use-case is to use JSON format over HTTP/1.1 REST, main point to note here is: not to tranform the json data within ESB (keep the json format natively within ESB) manipulate the json using mediator in json format (mediator which support json natively - script/custom

wso2 carbon studio: uploading a class mediator to ESB

不想你离开。 提交于 2019-12-13 18:26:51
问题 what is the fastest way do deploy a class Mediator on ESB? I have my custom mediator in eclipse and every time I extract the project as a JAR file and put it in "ESB\repository\components\lib" but it does not commit the changes every time... it looks like ESB still use an old verion of my custom mediator. Please suggest EDIT : also to have the last version deployed I need to delete all the files in the "dropins" folder 回答1: The fastest way I would suggest (With Developer Studio 2.0.1): Create

wso2 eclipse server in status [starting] forever

梦想的初衷 提交于 2019-12-13 16:20:04
问题 I am trying to start/stop WSO2 ESB local server from Developer studio (based on kepler), but the server status will stay [Starting] forever (even after the server started successfully as evidenced by the console and wso2carbon.log). This is a problem, as it prevents me from deploying car files from within eclipse (eclipse waiting for server to finish starting), and even eclipse will shut the server down after the timeout elapses. How can I persuade eclipse that the server started already? Is

How to Decrypt Recieving Message from WSO2 Secured Proxy Service in Soap UI 5.0.0

五迷三道 提交于 2019-12-13 15:21:02
问题 I am trying to call a secure proxy service in WSO2 ESB. I followed this tutorial. I have successfully called the proxy service. I have also received the response in my proxy service "Out" sequence. But when I am sending this response back to SOAPUI. I am facing certain problems. I have done all the configurations as mentioned in the tutorial. First Method: When I try to send my request and define "Authentication" Properties in the following way. In which i include both the Outgoing WSS and

Get property value in JavaScript with script mediator

大兔子大兔子 提交于 2019-12-13 14:51:34
问题 Is there a way, inside the javascript code from WSO2 ESB's Script mediator, to get a property's value when this property has a scope different from "default" ? In case of a property with default scope : get-property('MyProperty') OR <script language="js"> mc.getProperty("MyProperty"); </script> In case of a property with 'transport' scope : get-property('transport','FILE_NAME') OR <script language="js"> mc.???????? </script> 回答1: It seems that you can not get properties of other scopes than