--------------------------------------------
On Wed, 1/25/17, Animesh Bajpai <[email protected]> wrote:

 Subject: Re: Regarding integration of swagger ui for api documentation in 
existing java-spring api system
 To: "Swagger" <[email protected]>
 Date: Wednesday, January 25, 2017, 9:41 AM
 
 Sorry for
 "all caps".No hidden meanings there.
 Can you suggest according to my xml?
 There seems to be no step by step guide for tomcat based
 spring applications
 Thanks
 
 On Tuesday, January 24, 2017 at 10:37:15 PM
 UTC+5:30, tony tam wrote:All caps gentle reminder
 :)
 Please read http://swagger.io on how to
 integrate.
 On Jan 24, 2017, at 9:05 AM, Animesh Bajpai
 <[email protected]> wrote:
 GENTLE REMIDER
 
 On
 Monday, January 23, 2017 at 5:22:25 PM UTC+5:30, Animesh
 Bajpai wrote:This is my bean
 xml<?xml version="1.0"
 encoding="UTF-8"?><!-- @author:
 njha --><beans xmlns="http://www.
 springframework.org/schema/ beans"   
    xmlns:xsi="http://www.w3.org/
 2001/XMLSchema-instance"     
  xmlns:aop="http://www.
 springframework.org/schema/aop "     
  xmlns:tx="http://www.
 springframework.org/schema/tx"     
  xmlns:jaxws="http://cxf.
 apache.org/jaxws"     
  xmlns:jaxrs="http://cxf.
 apache.org/jaxrs"     
  xmlns:cxf="http://cxf.apache.
 org/core"     
  xmlns:context="http://www.
 springframework.org/schema/ context" 
      xmlns:jee="http://www.
 springframework.org/schema/jee "     
  xmlns:util="http://www.
 springframework.org/schema/ util"   
    xsi:schemaLocation="http://
 www.springframework.org/ schema/beans  http://www.springframework.
 org/schema/beans/spring-beans- 2.5.xsd http://www.springframework.
 org/schema/tx  http://www.springframework.
 org/schema/tx/spring-tx-2.5. xsd       http://www.springframework.
 org/schema/aop http://www.springframework.
 org/schema/aop/spring-aop-2.5. xsd     http://cxf.apache.org/jaxws
 http://cxf.apache.org/schemas/
 jaxws.xsd      http://cxf.apache.org/jaxrs
 http://cxf.apache.org/schemas/
 jaxrs.xsd      http://cxf.apache.org/
 configuration/security http://cxf.apache.org/schemas/
 configuration/security.xsd     http://cxf.apache.org/
 transports/http/configuration  http://cxf.apache.org/schemas/
 configuration/http-conf.xsd    http://cxf.apache.org/core
 http://cxf.apache.org/schemas/
 core.xsd       http://www.springframework.
 org/schema/context     http://www.springframework.
 org/schema/context/spring-
 context-2.5.xsd        http://www.springframework.
 org/schema/jee http://www.springframework.
 org/schema/jee/spring-jee-2.5. xsd     http://www.springframework.
 org/schema/util        http://www.springframework.
 org/schema/util/spring-util-2. 5.xsd   ">
     <bean
 id="ruleResource" class="com.rule.impl.
 RuleResourceImpl" >
         <property
 name="deviceViewService">       
        <ref
 bean="deviceViewService" />     
   </property>        <property
 name="actionApiService">       
        <ref
 bean="actionApiService" />     
   </property>   
 </bean>        </beans>
 
 
 and this is my java resource
 file
 package
 com.rule.api;
 
 import
 javax.jws.WebService;import javax.servlet.http.
 HttpServletRequest;import javax.ws.rs.*;import
 javax.ws.rs.core.Context;import
 javax.xml.bind.JAXBElement;
 /** * Created by animesh
 on Sep 22,
 2016. */@WebService(targetNamespace =
 "http://device.com";)@Consumes({"application/xml",
 "application/json"})@Produces({"application/xml",
 "application/json"})@Path("/rules/1.0/")
 public interface RuleResource
 {    @POST   
 @Path("/addRule/customer/{
 billingId}")    Object addRule(@Context
 HttpServletRequest request,
 @PathParam("billingId") String
 billingId,                 
  JAXBElement<BasicRuleRequest>
 addRuleRequest);
  
   }
 
 
 
 -- 
 
 You received this message because you are subscribed to the
 Google Groups "Swagger" group.
 
 To unsubscribe from this group and stop receiving emails
 from it, send an email to swagger-swaggersocket+
 [email protected].
 
 For more options, visit https://groups.google.com/d/
 optout.
 
 
 
 
 
 
 -- 
 
 You received this message because you are subscribed to the
 Google Groups "Swagger" group.
 
 To unsubscribe from this group and stop receiving emails
 from it, send an email to [email protected].
 
 For more options, visit https://groups.google.com/d/optout.
 dica cu totii sa fie asigurati cu 6 zile de lucru pe saptamana.

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to