@Test public void testGetBusinessDetailXML() { System.out.println("testGetBusinessDetailXML"); String id = UUID.randomUUID().toString(); BusinessEntity expResult = null; BusinessEntity result = instance.getBusinessDetailXML(JUDDI_BIZ); Assert.assertNotNull(result); Assert.assertNotNull(result.getBusinessKey()); Assert.assertFalse(result.getName().isEmpty()); }
@GET @Path("/XML/businessKey/{id}") @Produces("application/xml") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the details of a business entity in XML") public org.uddi.api_v3.BusinessEntity getBusinessDetailXML(@PathParam("id") String id) throws WebApplicationException { return getBusinessDetail(id); }
UDDIInquiryJAXRS { @GET @Path("/XML/businessKey/{id}") @Produces("application/xml") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the details of a business entity in XML") public org.uddi.api_v3.BusinessEntity getBusinessDetailXML(@PathParam("id") String id) throws WebApplicationException { return getBusinessDetail(id); } }
UDDIInquiryJAXRS { @GET @Path("/XML/businessKey/{id}") @Produces("application/xml") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the details of a business entity in XML") public org.uddi.api_v3.BusinessEntity getBusinessDetailXML(@PathParam("id") String id) throws WebApplicationException { return getBusinessDetail(id); }  }
UDDIInquiryJAXRS { @GET @Path("/XML/businessKey/{id}") @Produces("application/xml") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the details of a business entity in XML") public org.uddi.api_v3.BusinessEntity getBusinessDetailXML(@PathParam("id") String id) throws WebApplicationException { return getBusinessDetail(id); }  @GET @Path("/JSON/businessKey/{id}") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the details of a business entity in JSON") org.uddi.api_v3.BusinessEntity getBusinessDetailJSON(@PathParam("id") String id); @GET @Path("/XML/businessKey/{id}") @Produces("application/xml") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the details of a business entity in XML") org.uddi.api_v3.BusinessEntity getBusinessDetailXML(@PathParam("id") String id); @GET @Path("/XML/tModelKey/{id}") @Produces("application/xml") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the details of a tModel entity in XML") org.uddi.api_v3.TModel getTModelDetailXML(@PathParam("id") String id); @GET @Path("/JSON/tModelKey/{id}") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the details of a tModel entity in JSON") org.uddi.api_v3.TModel getTModelDetailJSON(@PathParam("id") String id); @GET @Path("/JSON/serviceKey/{id}") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the details of a service entity in JSON") org.uddi.api_v3.BusinessService getServiceDetailJSON(@PathParam("id") String id); @GET @Path("/JSON/getDetail") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the details of a UDDI entity in JSON, use query parameters" + "serviceKey,businessKey,tModelKey, bindingKey") Object getDetailJSON(@QueryParam("serviceKey") String serviceKey,
                @QueryParam("businessKey") String businessKey,
                @QueryParam("tModelKey") String tModelKey,
                @QueryParam("bindingKey") String bindingKey); @GET @Path("/XML/getDetail") @Produces("application/xml") @org.apache.cxf.jaxrs.model.wadl.Description("This method implements the UDDIv3 spec for HTTP GET Inquiry services. Returns the details of a UDDI entity in XML, use query parameters" + "serviceKey,businessKey,tModelKey, bindingKey") Object getDetailXML(@QueryParam("serviceKey") String serviceKey,
                @QueryParam("businessKey") String businessKey,
                @QueryParam("tModelKey") String tModelKey,
                @QueryParam("bindingKey") String bindingKey); @GET @Path("/XML/serviceKey/{id}") @Produces("application/xml") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the details of a service entity in XML") org.uddi.api_v3.BusinessService getServiceDetailXML(@PathParam("id") String id); @GET @Path("/JSON/opInfo/{id}") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the operational details of a given entity in JSON") org.uddi.api_v3.OperationalInfo getOpInfoJSON(@PathParam("id") String id); @GET @Path("/XML/opInfo/{id}") @Produces("application/xml") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the operational details of a given entity in XML") org.uddi.api_v3.OperationalInfo getOpInfoXML(@PathParam("id") String id); @GET @Path("/JSON/bindingKey/{id}") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the binding details of a given entity in JSON") org.uddi.api_v3.BindingTemplate getBindingDetailJSON(@PathParam("id") String id); @GET @Path("/XML/bindingKey/{id}") @Produces("application/xml") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the binding details of a given entity in XML") org.uddi.api_v3.BindingTemplate getBindingDetailXML(@PathParam("id") String id); @GET @Path("/JSON/endpointsByService/{id}") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the service access points of a given service in JSON") UriContainer geEndpointsByServiceJSON(@PathParam("id") String id); @GET @Path("/XML/endpointsByService/{id}") @Produces("application/xml") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the service access points of a given service in XML") UriContainer getEndpointsByServiceXML(@PathParam("id") String id); @GET @Path("/XML/businessList") @Produces("application/xml") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the business keys of the first 100 registered businesses in XML") KeyBag getBusinessListXML(); @GET @Path("/JSON/businessList") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the business keys of the first 100 registered businesses in JSON") KeyBag getBusinessListJSON(); @GET @Path("/XML/serviceList") @Produces("application/xml") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the Service keys of the first 100 registered services in XML") KeyBag getServiceListXML(); @GET @Path("/JSON/serviceList") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the Service keys of the first 100 registered services in JSON") KeyBag getServiceListJSON(); @GET @Path("/XML/tModelList") @Produces("application/xml") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the tModel keys of the first 100 registered services in XML") KeyBag getTModelListXML(); @GET @Path("/XML/businessSearch") @Produces("application/xml") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the search results for registered businesses in XML") BusinessList getBusinessSearchXML(@QueryParam("name") String name,
                @QueryParam("lang") String lang,
                @QueryParam("findQualifiers") String findQualifiers,
                @QueryParam("maxrows") Integer maxrows,
                @QueryParam("offset") Integer offset); @GET @Path("/JSON/businessSearch") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the search results for registered businesses in JSON") BusinessList getBusinessSearchJSON(@QueryParam("name") String name,
                @QueryParam("lang") String lang,
                @QueryParam("findQualifiers") String findQualifiers,
                @QueryParam("maxrows") Integer maxrows,
                @QueryParam("offset") Integer offset); @GET @Path("/JSON/serviceSearch") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the search results for registered services in JSON") ServiceList getServiceSearchJSON(@QueryParam("name") String name,
                @QueryParam("lang") String lang,
                @QueryParam("findQualifiers") String findQualifiers,
                @QueryParam("maxrows") Integer maxrows,
                @QueryParam("offset") Integer offset); @GET @Path("/XML/serviceSearch") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the search results for registered services in XML") ServiceList getServiceSearchXML(@QueryParam("name") String name,
                @QueryParam("lang") String lang,
                @QueryParam("findQualifiers") String findQualifiers,
                @QueryParam("maxrows") Integer maxrows,
                @QueryParam("offset") Integer offset); @GET @Path("/JSON/tModelList") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the tModel keys of the first 100 registered services in JSON") KeyBag getTModelListJSON(); @GET @Path("/JSON/searchTModel") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the search results for registered tModel in JSON") TModelList getTModelSearchJSON(@QueryParam("name") String name,
                @QueryParam("lang") String lang,
                @QueryParam("findQualifiers") String findQualifiers,
                @QueryParam("maxrows") Integer maxrows,
                @QueryParam("offset") Integer offset); @GET @Path("/XML/searchTModel") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the search results for registered tModel in XML") TModelList getTModelSearchXML(@QueryParam("name") String name,
                @QueryParam("lang") String lang,
                @QueryParam("findQualifiers") String findQualifiers,
                @QueryParam("maxrows") Integer maxrows,
                @QueryParam("offset") Integer offset); }
UDDIInquiryJAXRS { @GET @Path("/XML/businessKey/{id}") @Produces("application/xml") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the details of a business entity in XML") public org.uddi.api_v3.BusinessEntity getBusinessDetailXML(@PathParam("id") String id) throws WebApplicationException { return getBusinessDetail(id); }  @GET @Path("/JSON/businessKey/{id}") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the details of a business entity in JSON") org.uddi.api_v3.BusinessEntity getBusinessDetailJSON(@PathParam("id") String id); @GET @Path("/XML/businessKey/{id}") @Produces("application/xml") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the details of a business entity in XML") org.uddi.api_v3.BusinessEntity getBusinessDetailXML(@PathParam("id") String id); @GET @Path("/XML/tModelKey/{id}") @Produces("application/xml") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the details of a tModel entity in XML") org.uddi.api_v3.TModel getTModelDetailXML(@PathParam("id") String id); @GET @Path("/JSON/tModelKey/{id}") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the details of a tModel entity in JSON") org.uddi.api_v3.TModel getTModelDetailJSON(@PathParam("id") String id); @GET @Path("/JSON/serviceKey/{id}") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the details of a service entity in JSON") org.uddi.api_v3.BusinessService getServiceDetailJSON(@PathParam("id") String id); @GET @Path("/JSON/getDetail") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the details of a UDDI entity in JSON, use query parameters" + "serviceKey,businessKey,tModelKey, bindingKey") Object getDetailJSON(@QueryParam("serviceKey") String serviceKey,
                @QueryParam("businessKey") String businessKey,
                @QueryParam("tModelKey") String tModelKey,
                @QueryParam("bindingKey") String bindingKey); @GET @Path("/XML/getDetail") @Produces("application/xml") @org.apache.cxf.jaxrs.model.wadl.Description("This method implements the UDDIv3 spec for HTTP GET Inquiry services. Returns the details of a UDDI entity in XML, use query parameters" + "serviceKey,businessKey,tModelKey, bindingKey") Object getDetailXML(@QueryParam("serviceKey") String serviceKey,
                @QueryParam("businessKey") String businessKey,
                @QueryParam("tModelKey") String tModelKey,
                @QueryParam("bindingKey") String bindingKey); @GET @Path("/XML/serviceKey/{id}") @Produces("application/xml") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the details of a service entity in XML") org.uddi.api_v3.BusinessService getServiceDetailXML(@PathParam("id") String id); @GET @Path("/JSON/opInfo/{id}") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the operational details of a given entity in JSON") org.uddi.api_v3.OperationalInfo getOpInfoJSON(@PathParam("id") String id); @GET @Path("/XML/opInfo/{id}") @Produces("application/xml") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the operational details of a given entity in XML") org.uddi.api_v3.OperationalInfo getOpInfoXML(@PathParam("id") String id); @GET @Path("/JSON/bindingKey/{id}") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the binding details of a given entity in JSON") org.uddi.api_v3.BindingTemplate getBindingDetailJSON(@PathParam("id") String id); @GET @Path("/XML/bindingKey/{id}") @Produces("application/xml") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the binding details of a given entity in XML") org.uddi.api_v3.BindingTemplate getBindingDetailXML(@PathParam("id") String id); @GET @Path("/JSON/endpointsByService/{id}") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the service access points of a given service in JSON") UriContainer geEndpointsByServiceJSON(@PathParam("id") String id); @GET @Path("/XML/endpointsByService/{id}") @Produces("application/xml") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the service access points of a given service in XML") UriContainer getEndpointsByServiceXML(@PathParam("id") String id); @GET @Path("/XML/businessList") @Produces("application/xml") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the business keys of the first 100 registered businesses in XML") KeyBag getBusinessListXML(); @GET @Path("/JSON/businessList") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the business keys of the first 100 registered businesses in JSON") KeyBag getBusinessListJSON(); @GET @Path("/XML/serviceList") @Produces("application/xml") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the Service keys of the first 100 registered services in XML") KeyBag getServiceListXML(); @GET @Path("/JSON/serviceList") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the Service keys of the first 100 registered services in JSON") KeyBag getServiceListJSON(); @GET @Path("/XML/tModelList") @Produces("application/xml") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the tModel keys of the first 100 registered services in XML") KeyBag getTModelListXML(); @GET @Path("/XML/businessSearch") @Produces("application/xml") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the search results for registered businesses in XML") BusinessList getBusinessSearchXML(@QueryParam("name") String name,
                @QueryParam("lang") String lang,
                @QueryParam("findQualifiers") String findQualifiers,
                @QueryParam("maxrows") Integer maxrows,
                @QueryParam("offset") Integer offset); @GET @Path("/JSON/businessSearch") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the search results for registered businesses in JSON") BusinessList getBusinessSearchJSON(@QueryParam("name") String name,
                @QueryParam("lang") String lang,
                @QueryParam("findQualifiers") String findQualifiers,
                @QueryParam("maxrows") Integer maxrows,
                @QueryParam("offset") Integer offset); @GET @Path("/JSON/serviceSearch") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the search results for registered services in JSON") ServiceList getServiceSearchJSON(@QueryParam("name") String name,
                @QueryParam("lang") String lang,
                @QueryParam("findQualifiers") String findQualifiers,
                @QueryParam("maxrows") Integer maxrows,
                @QueryParam("offset") Integer offset); @GET @Path("/XML/serviceSearch") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the search results for registered services in XML") ServiceList getServiceSearchXML(@QueryParam("name") String name,
                @QueryParam("lang") String lang,
                @QueryParam("findQualifiers") String findQualifiers,
                @QueryParam("maxrows") Integer maxrows,
                @QueryParam("offset") Integer offset); @GET @Path("/JSON/tModelList") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the tModel keys of the first 100 registered services in JSON") KeyBag getTModelListJSON(); @GET @Path("/JSON/searchTModel") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the search results for registered tModel in JSON") TModelList getTModelSearchJSON(@QueryParam("name") String name,
                @QueryParam("lang") String lang,
                @QueryParam("findQualifiers") String findQualifiers,
                @QueryParam("maxrows") Integer maxrows,
                @QueryParam("offset") Integer offset); @GET @Path("/XML/searchTModel") @Produces("application/json") @org.apache.cxf.jaxrs.model.wadl.Description("Returns the search results for registered tModel in XML") TModelList getTModelSearchXML(@QueryParam("name") String name,
                @QueryParam("lang") String lang,
                @QueryParam("findQualifiers") String findQualifiers,
                @QueryParam("maxrows") Integer maxrows,
                @QueryParam("offset") Integer offset);  }