On Sat, 30 Nov 2019, 19:32 Priyadarshini Punjabi, < [email protected]> wrote:
> Please revert as soon as possible. > > On Fri, 29 Nov 2019, 13:12 Priyadarshini Punjabi, < > [email protected]> wrote: > >> Hey thanks but my call is not going to my backend microservice when i am >> injecting mediation sequence.My sequence is as follows: >> >> <sequence xmlns="http://ws.apache.org/ns/synapse" name="TestSequence2"> >> <property name="JsonPayload" expression="json-eval($.)"></property> >> <class name="com.custom.json.payload.CustomJsonPayloadSetter"></class> >> <log level="custom"> >> <property name="json" expression="get-property('JsonPayload')"/> >> </log> >> </sequence> >> >> >> And my backend microservice is as follows: >> >> @POST >> @Path("/testService") >> @Produces({"text/plain"}) >> public Response testService(@RequestBody JsonObject json){ >> >> >> return >> Response.status(Response.Status.OK).entity("Hello World").build(); >> } >> >> >> Can you please tell me where I have not configured properly? >> >> >> >> Many thanks, >> Priyadarshini >> >> >> >> On Fri, 29 Nov 2019, 10:03 Menaka Jayawardena, <[email protected]> wrote: >> >>> Seems like you are using a send mediator without an endpoint. >>> >>> Could you please verify the endpoint url is set properly in the send >>> mediator in you script (if any) and/ or in the >>> <APIM_HOME>/repository/deployment/server/synapse-configs/default/api/<your-api-name-version>.xml >>> >>> https://docs.wso2.com/display/ESB490/Send+Mediator >>> >>> Thanks and Regards, >>> Menaka >>> >>> On Thu, Nov 28, 2019 at 1:29 PM Priyadarshini Punjabi < >>> [email protected]> wrote: >>> >>>> Hi, >>>> Can you please tell me why I am getting this error .Please find the >>>> screenshot attached. >>>> _______________________________________________ >>>> Dev mailing list >>>> [email protected] >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>> >>> >>> -- >>> >>> *Menaka Jayawardena* >>> Senior Software Engineer | WSO2 Inc. >>> +94 71 350 5470 | +94 76 717 2511 | [email protected] >>> >>> <https://wso2.com/signature> >>> >>>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
