Class SoapResource


  • @Path("/soap")
    @ApplicationScoped
    public class SoapResource
    extends Object
    • Field Detail

      • producerTemplate

        @Inject
        org.apache.camel.ProducerTemplate producerTemplate
    • Constructor Detail

      • SoapResource

        public SoapResource()
    • Method Detail

      • marshall

        @Path("/marshal/{soapVersion}")
        @POST
        @Consumes("text/plain")
        @Produces("application/xml")
        public javax.ws.rs.core.Response marshall​(@PathParam("soapVersion")
                                                  String soapVersion,
                                                  String message)
                                           throws Exception
        Throws:
        Exception
      • unmarshal

        @Path("/unmarshal/{soapVersion}")
        @POST
        @Consumes("application/xml")
        @Produces("text/plain")
        public javax.ws.rs.core.Response unmarshal​(@PathParam("soapVersion")
                                                   String soapVersion,
                                                   String message)
                                            throws Exception
        Throws:
        Exception
      • round

        @Path("/round")
        @POST
        @Consumes("text/plain")
        @Produces("text/plain")
        public javax.ws.rs.core.Response round​(String message)
                                        throws Exception
        Throws:
        Exception