Hi Aditya,
Try the following payload factory (I assume you are receiving the above
mentioned input JSON as request)
{
"firstName": "$1",
"lastName": "$2",
"email": "$3"
}
Respected Sir,
Forgot to mention, I cannot use xslt or datamapper mediator here as I am
already facing issues with these mediators
1. because of the large size of json reuests in my project(datamapper)
2. and not able to configure and use xslt to transform json massages(xslt)
so request you to
I see. Looks like there would be a some hit on performance then.
Thanks Azeez for the explanation.
On Tue, Jan 9, 2018 at 11:22 PM, Afkham Azeez wrote:
> IIRC, Rampart uses WSS4J and WSS4J works with DOM. So when Rampart kicks
> in, it will convert OM (Axiom) to DOM. Actually we
IIRC, Rampart uses WSS4J and WSS4J works with DOM. So when Rampart kicks
in, it will convert OM (Axiom) to DOM. Actually we implemented a hybrid
object model called DOOM (DOM-OM) which supports both models because Axis2
knows only Axiom and WSS4J knows only OM. So we can't avoid the cost of
Hi Azeez and Thusitha,
I must have had problems because of starting separate threads. Thanks for
pointing that out, I'll follow this approach and will update this thread.
Thanks and Regards.
On Wed, Jan 10, 2018 at 1:27 AM, Thusitha Thilina Dayaratne <
thusithathil...@gmail.com> wrote:
> Hi
Hi Vijitha,
What if the backend expects the x-www-form-urlencoded type payload? In that
case, we can't use multipart/form-data.
Thanks,
Keerthika.
On Thu, Jan 4, 2018 at 1:18 PM, Vijitha Ekanayake wrote:
> Hi Senduran,
>
> AFAIK, There is no standard documentation on how to
Hi Amin,
AFAIU you want to do something like deploy WSO2 ESB functionality as a
webapp in Tomcat. Is there any specific requirement for do that?
I think WSO2 had a separate webapp mode prior to 4.x kernel but now this is
not continue.
AFAIS main concerns would be
- Most of the functionalities
Hi Irshad,
As Azeez mentioned this should work out of the box. We are doing same thing
in our test cases as well[1]. You don't have to create a separate thread
since MicroserveRunner internals will do that for you.
[1] -
Hi Devs,
Got a question on $subject. Concern is, if the username token is retrieved
by building the whole message with DOM or it is read up to security header
as in SAX(see [1] for difference) when parsing for authentication.
[2] says,
"Part of this performance hit from WS-Security is due to a
Hi Isuranga,
Can you also include an example on evaluating a XACML request with the new
policy. Adding the requests and expected responses for authorized and
unauthorized scenarios will make the doc complete.
Thanks,
Omindu.
On Sun, Jan 7, 2018 at 7:25 PM, Darshana Gunawardana
Respected Sir,
Thanks for the reply.
If I select "Source URL Entry", then against Source Url field there is
browse button, which browses my local machine files.
Should I selecting the transform.xslt using it from my local file system.
(i.e. source url is path of xslt on my local machine like
Hi Milinda,
I have tried the suggestion and that way I can access the message payload.
I can see in the axis2.xml in apim 2.2.0 this configuration is commented
and uses JsonBuilder instead.
Is there any specific reason to use JsonBuilder and what would be the
impact of using
Hi Sameera,
Please add JsonStreamBuilder instead of JsonBuilder and try
Thanks,
Milinda
On Tue, Jan 9, 2018 at 8:44 PM, Sameera Gunarathne
wrote:
> Hi,
>
> I'm using a script mediator to get JSON payload inside an API sequence.
> I'm using a payload as follows.
>
> curl
Hi,
I'm using a script mediator to get JSON payload inside an API sequence. I'm
using a payload as follows.
curl -X POST --header 'Content-Type: application/json' --header
'Accept: application/xml' --header 'Authorization: Bearer
c4f97c6e-60fc-3c26-97ad-48b9c9fa4566' -d '{ \
"PhoneNumbers":
Hi,
Select the "Source URL Entry" for the "Local entry Type" field's value.
Thanks,
Vinod
On Tue, Jan 9, 2018 at 7:04 PM, aditya shivankar <
shivankar.adit...@gmail.com> wrote:
> Respected Sir,
>
> I think the screenshots in the mail are not appearing . Please check
> attachment ( Local entry
Hi Team,
I wanted to contribute to the open source project and also experiment with WSO2
ESB. The structure of projects is not like simple war files.
More specifically, If I want to experiment with the source code but not use the
default server deployment method what are the challenges would
I tried the following and things worked as expected.
@Path("/hello")
public class HelloService {
private String id;
public HelloService(String id) {
this.id = id;
}
@GET
@Path("/{name}")
public String hello(@PathParam("name") String name) {
Hi All,
Have we decided a way forward for this?
Is it possible to introduce a new config to read it and set this globally
from java level as system properties via carbon-transport as Niranjan
suggested?
Thanks!
On Tue, Dec 5, 2017 at 3:24 PM, Bhathiya Jayasekara
wrote:
>
Hi All,
PR https://github.com/wso2/carbon-kernel/pull/1668 has been raised to fix
this issue in Carbon Kernel.
Thanks.
On Mon, Jan 8, 2018 at 11:01 AM, Rukshani Weerasinha
wrote:
> Hello Raveen,
>
> Thank you for the feedback. Now I have updated the link as you specified.
>
19 matches
Mail list logo