Hi!
Trying to specify byte[] type map in wadl2java:
-tMap
{
http://www.w3.org/2001/XMLSchema}base64Binary=byte[]
But this not works:
Failed to execute goal org.apache.cxf:cxf-wadl2java-plugin:3.3.3:wadl2java
Confirm auto key registration using javax.net.ssl.keyStore system property
is broken in REST module (mayb since cxf 3.2 / 3.3 )
чт, 13 июн. 2019 г. в 19:10, Colm O hEigeartaigh :
> Right, but when you don't specify a "params.setKeyManagers", it tries to
> get the KeyManagers from the
Hi!
Does "Per request" scope for prividers possible?
There is only beans example:
http://cxf.apache.org/docs/jaxrs-services-configuration.html#JAXRSServicesConfiguration-Lifecyclemanagement
I tried (spring-boot)
@Bean
@Scope("request")
public XSLTJaxbProvider xsltJaxbProvider() {
>
>
>
> wadl2java
>
>
>
>
>
>
> On 4/30/19, Vjacheslav V. Borisov wrote:
> > Hi!
> >
> > Is there option to configure
Hi!
Is there option to configure same extrarags for multiple
cxf-wadl2java-plugin exections?
e.g. I have long list of extrargs
can i specify this list only once, and appy in every wadl exection?
-verbose
-inheritResourceParams
Hi!
When method serves different content-types, like
@Produces({"application/xml", "application/json", "application/xhtml+xml" })
How to determine served content-type?
Should I manually parse "Accept" header
Message message = PhaseInterceptorChain.getCurrentMessage();
Hi!
Currently Swagger2Feature (and WadlGenerator too) can be configured to
generate methods and params descriptions from javadoc, but it lacks feature
to generate objects properties doc?
E.g If I have Jaxb annoteted object as method param, it will be available
in definitions section, but without
Hi!
Question about example of customizing proxies http://cxf.apache.org/docs/
jax-rs-client-api.html
I can set additiona headers, etc using this approach:
BookStore proxy = JAXRSClientFactory.create("http://books;, BookStore.class
);
WebClient.client(proxy).accept("text/xml");
// continue using
Hi!
How to customize BINARY_CONTENT_MEDIA_TYPES in DefaultLogEventMapper?
E.g. add application/pdf
public class DefaultLogEventMapper {
private static final Set BINARY_CONTENT_MEDIA_TYPES;
static {
BINARY_CONTENT_MEDIA_TYPES = new HashSet();
I want to exclude Rest resource from logging
2017-06-16 10:35 GMT+04:00 vEnkaTa mohAna rAo SriperumbUdUru <
mohanara...@gmail.com>:
> Could you please tell what do you mean by resource do you want it for Soap
> or Rest.
>
> On Fri, Jun 16, 2017 at 11:45 AM, Vjachesla
Hi!
Does it possible to exclude resource from logging feature
org.apache.cxf.ext.logging.LoggingFeature ?
I do not want some resourse to show request and response logs
Look inside archive, may be it contains META-INF/maven folder
then you will know reference
2017-05-10 11:48 GMT+04:00 Sigmund God :
> We had a old project which have dependency on a jar called cxf-2.6.2.jar.
> Now I have to refactoring it for performance. this project is
er ?
>
> Thanks, Sergey
>
> On 29/03/17 05:40, Vjacheslav V. Borisov wrote:
>
>> Hi!
>>
>> Currently cxf (3.1.10) runtime sets default message encoding, if not
>> specified by client, to
>> ISO-8859-1
>>
>> String encoding = (String)me
Hi!
Currently cxf (3.1.10) runtime sets default message encoding, if not
specified by client, to
ISO-8859-1
String encoding = (String)message.get(Message.ENCODING);
if (StringUtils.isEmpty(encoding)) { // this is never working
encoding = StandardCharsets.UTF_8.name();
You can try system properties
-Djavax.net.ssl.trustStore=... -Djavax.net.ssl.keyStore=...
-Djavax.net.ssl.keyStorePassword=...
This usually work for any type of protocol (https,ldaps, ssl database
connections)
2017-03-01 3:29 GMT+04:00 Andy McCright :
> Hi All,
>
>
to do a quick try this morning, I've tried Jetty9,
> older Jetty Maven plugins, dropped it into a standalone Tomcat 8, the demo
> fails to start for various reasons (no runt time weaving support, some
> classes are missing, etc)
>
> Cheers, Sergey
>
> On 25/0
> classpath then it will be easier for me to prioritize and experiment with
> the parser code, otherwise a creating a dedicated CXF test module will take
> time.
>
> Cheers, Sergey
>
>
> On 24/01/17 07:06, Vjacheslav V. Borisov wrote:
>
>> No, I am talking about different (may
ld one load a javadocs jar without knowing the full
> Jar name, perhaps it can be done based on some convention...
>
> Sergey
>
>
> On 22/01/17 16:21, Vjacheslav V. Borisov wrote:
>
>> Hi!
>>
>> I have configured javadoc using this config:
>>
>>
Hi!
I have configured javadoc using this config:
But this jar is regular war dependency lib, is there possibility to
configure javadoc using regular classpath, not referencing actual jar
version?
2017-01-17 17:08 GMT+04:00 Francesco Chicchiriccò
Hi!
There is possibility to do Response Streaming
http://cxf.apache.org/docs/jax-rs-basics.html#JAX-RSBasics-ResponseStreaming
Is there any option to read xml from stream, accessing elements as they are
appear in input ("Request Streaming") ?
Hi!
Does it possible to run swagger.json generation from command line, without
jaxrs server?
> Hi
>
> I've always been thinking Swagger can only describe JSON payloads which
> would have no namespaces. Unless some trick exists which I'm unaware of
>
> Sergey
>
>
> On 17/01/17 15:44, Vjacheslav V. Borisov wrote:
>
>> Hi!
>>
>> Playng again w
Hi!
Playng again with swagger2feature and notice that definitions of jaxb
objects
do not contain namespace
"OperationSchema" : {
"type" : "object",
"properties" : {
"id" : {
"type" : "integer",
"format" : "int64"
},
"name" : {
Thanks!
2017-01-17 17:08 GMT+04:00 Francesco Chicchiriccò <ilgro...@apache.org>:
> On 17-jan-17, at 13:44, Vjacheslav V. Borisov slav...@gmail.com wrote:
>
> > Hi!
> >
> > Playing with
> > https://github.com/apache/cxf/tree/master/distribution/src/
>
Hi!
Playing with
https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/spring_boot
Added Javadoc to method sayHello
/**
* sayHello doc
* @param a the a param
* @return
*/
public String sayHello(String a) {
return "Hello2 " +
With @io.swagger.annotations.Api annotation everything works!
2017-01-13 15:58 GMT+04:00 Vjacheslav V. Borisov <slav...@gmail.com>:
> I am using cxf 3.1.9, I Downloaded demo from trunk, it is working (tags
> generated)
> will check farther, thanks
>
> 2017-01-12 17:06 GMT+0
t;
> or a single endpoint with multiple root resources ?
> Both options work in CXF demos (ex, jax_rs/spring_boot) and
> description_swagger2_web
>
> Sergey
>
> On 12/01/17 08:55, Vjacheslav V. Borisov wrote:
>
>> Hi!
>>
>> Experimenting with javascript client generatio
Hi!
Experimenting with javascript client generation based on swagger2feature
generated swagger.json
and noticed, that operations from all jax-rs resources placed on one
"default" client
so if different resources contains same method, there will be conflict.
Looking at example here
Hi!
apache mod_proxy_ajp + tomcat AJP connector could be used
in this config different apache vhosts could have own authorisation
configuration,
all connected to one tomcat AJP connector
2016-12-20 20:09 GMT+04:00 Gregory Orciuch :
> Hi,
>
> we have been solving this
Hi!
Looks like Swagger2Feature conflicts with jaxrs:extensionMappings
E.g. when I have
Then I cannot request swagger.json, i am getting 404, becouse it tries to
find resource
"swagger" (without extension)
15:10:17.489 [http-nio-8080-exec-20] INFO
ting a simple test which does an output stream
> replacement from the JAX-RS filter and hits this problem ?
>
> Thanks, Sergey
>
> On 08/10/16 20:19, Vjacheslav V. Borisov wrote:
>
>> I have used this class istead of CachedOutputStream
>> https://www.whitebyte.inf
Why do you need this in first example ?
try jxb:globalBindings only, without
2016-10-10 14:57 GMT+04:00 purushottam :
> I am using the *CXf 2.2.12* to create the dynamic webservice client, the
> dynamic client is mapping the
Vjacheslav V. Borisov <slav...@gmail.com>:
> Hi!
>
> I see WriterInterceptorContext could be used, but it also requires
> CachedOutputStream to intercept OutputStream, I see this in
> JweJsonWriterInterceptor...
> So CachedOutputStream bug will be repeated in WriterIntercept
option for replacing the content...
>
> Cheers, Sergey
>
> On 19/09/16 11:30, Vjacheslav V. Borisov wrote:
>
>> During message.getInterceptorChain().doIntercept(message); I see call to
>> maybeDeleteTempFile() which resets inmem = true;
>> and later csnew.getInputStream() ex
<sberyoz...@gmail.com>:
> Hi
>
> No, setting this property is not really needed any longer.
> With the latest CXFs it should just work with or without the async conduit
> being loaded, Dan did some HTTPURLConnection reflective work.
>
> Cheers, Sergey
>
>
> On 0
Hi!
There is "How to use PATCH method in CXF" thread
http://stackoverflow.com/questions/32067687/how-to-use-patch-method-in-cxf
Where author is using
use.async.http.conduit to allow proxy client generated to work.
To do this he recommends to write interceptor:
if (
During message.getInterceptorChain().doIntercept(message); I see call to
maybeDeleteTempFile() which resets inmem = true;
and later csnew.getInputStream() execution leads to if (inmem) { }
2016-09-19 13:05 GMT+04:00 Vjacheslav V. Borisov <slav...@gmail.com>:
> Hi!
>
> I have
Hi!
I have following code (this is interceptror which does regular expression
replacements)
https://github.com/ilb/common/blob/master/common-jaxrs/src/main/java/ru/ilb/common/jaxrs/interceptors/ReplaceOutInterceptor.java
private void replaceContents(Message message) {
OutputStream
of string to date conversion.
Looks like only way is to do format validation in xml adapter attached to
xsd:dateTime
2016-08-26 14:38 GMT+04:00 Vjacheslav V. Borisov <slav...@gmail.com>:
>
>
> 2016-08-26 13:41 GMT+04:00 J. Fiala <mod...@fwd.at>:
>
>>
2016-09-08 12:43 GMT+04:00 Sergey Beryozkin :
>
>>> As I know, only xsd:enumeration types are projected to custom class by
>> default, all other simpleTypes projected to java.lang.String,
>> hower, if we map some xsd type to java class, then i think this should
>> work, but
>
>>> To be precise, wadl grammar already overloaded in wadl2java
>> Becouse i can write
>> and see in generated interface param with type of SomeType - enum class
>> generated from xsd
>>
>
> I'm only aware of param/option
> https://www.w3.org/Submission/wadl/#x3-280002.12.3
>
> being
2016-08-29 14:00 GMT+04:00 Sergey Beryozkin :
>
> In the vast majority of cases query/header/cookie parameters are simple
> properties. Doing the complex mapping from WADL grammar to individual Bean
> validation properties only for the sake of enforcing some digital or
2016-08-27 18:58 GMT+04:00 J. Fiala :
> Sergey,
>
> OK, so there is no option to get query parameter validation for wadl2java
> generated java sources in the near future?
>
> So if query parameter validation is desired, one has to switch to Swagger
> as contract and generate the
2016-08-26 13:41 GMT+04:00 J. Fiala :
> No, it works with and without namespace :).
>
> Thx so I better stay with JacksonProvider with manual BeanValidation for
> now until wadljava+@Valid or do you actually recommend using
> MoxyJsonProvider in favor of JacksonProvider (cxf-docs
This not related directly to cxf, but to jaxb
you can
1) describe Request and Response as xsd:element with anonymous
xsd:complexType inside
2) use extension like this
https://github.com/ilb/jparestresource/blob/master/jparestresource-api/src/main/resources/schemas/jparestresource/core.xjb
Does @XmlRootElement requires namespace?
I think Jaxb generation should create package-info.java with
@javax.xml.bind.annotation.XmlSchema(namespace ...
And btw, Jettison has array serialization issue bug, where "single item"
arrays serialized without []
I think better way, if you require xsd
2016-08-25 16:58 GMT+04:00 Sergey Beryozkin :
> https://www.w3.org/Submission/wadl/#x3-90002.4
>
> states the WADL grammar "acts as a container for definitions of the format
> of data exchanged during execution..." - this implies the
> 'wadl:representation'.
>
> These other
2016-08-25 15:55 GMT+04:00 Sergey Beryozkin :
> Linking schema elements to non representation parameters is not going to
> work for sure.
> It overloads the idea that the schema elements represent the in/out
> payloads.
>
WADL Parameter Definition contains also "type"
2016-08-24 21:56 GMT+04:00 J. Fiala :
> Sergey,
>
> Exactly, this plugin provides the beanvalidation annotations for
> complextypes at the client + server side, making BeanValidation possible on
> both sides.
>
> What is missing so far:
>
> 1.) Necessary: Add a switch to wadl2java
2016-08-17 11:19 GMT+04:00 Christian Schneider :
> You should also take a look at the new Logging support in:
> https://github.com/apache/cxf/tree/master/rt/features/logging
>
> http://www.liquid-reality.de/display/liquid/2015/06/08/Enter
>
2016-08-17 11:19 GMT+04:00 Christian Schneider :
> You should also take a look at the new Logging support in:
> https://github.com/apache/cxf/tree/master/rt/features/logging
>
> http://www.liquid-reality.de/display/liquid/2015/06/08/Enter
>
2016-08-16 13:58 GMT+04:00 Sergey Beryozkin :
> Hi
>
> I'm still planning to investigate why only the out logging interceptor on
> the server side which is being affected
>
Thanks, Sergey. out logging interceptor is working with utf-8,
I have problems with
ing.equals(encoding)) {
message.put(Message.ENCODING, encoding);
}
}
}
2016-08-09 10:33 GMT+04:00 Vjacheslav V. Borisov <slav...@gmail.com>:
> Hi!
>
> Cannot log properly UTF-8 encoded requests using
> org.apache.cxf.interceptor.LoggingInInterceptor
> I se
Hi!
Cannot log properly UTF-8 encoded requests using
org.apache.cxf.interceptor.LoggingInInterceptor
I see in log
Encoding: ISO-8859-1 and Payload with incorrect characters
Do i need to write
something like public class EncodingInterceptor extends
AbstractPhaseInterceptor {
2016-08-08 16:14 GMT+04:00 Sergey Beryozkin :
> Hi
>
> How to disable / change priority of jettion provider on second url (v2), or
>> may be other solution exists to make two providers work in same
>> application
>> using some switch in url or query string?
>>
>> Set a
Hi!
I have web application, which serves json using two different json
providers: jettison and moxy
Jettison
Moxy
JSON providers listening on different URLs using
2016-05-04 12:59 GMT+04:00 Sergey Beryozkin <sberyoz...@gmail.com>:
> On 04/05/16 07:15, Vjacheslav V. Borisov wrote:
>
>>
>> Yes, arrays (lists) serialized correctly, no extra configuration
>> required.
>>
>> I quickly checked the source,
>
>
&
2016-05-03 12:01 GMT+04:00 Sergey Beryozkin
>
>> Actually I have adapted org.eclipse.persistence.jaxb.rs.MOXyJsonProvider
>> to
>> make it more cxf-friendly, e.g to accept SchemaHandler to allow JSON
>> schema
>> validation as Jettison does
>>
>>
2016-05-03 12:01 GMT+04:00 Sergey Beryozkin :
>
>
>> And also copied from AbstractJAXBProvider extraClass and contextProperties
>> support to custom JaxbContextResolver
>>
>>
copied from AbstractJAXBProvider extraClass and contextProperties
support to custom JaxbContextResolver
https://github.com/ilb/common/blob/master/common-jaxrs/src/main/java/ru/ilb/common/jaxrs/jaxb/JaxbContextResolver.java
2016-04-26 17:12 GMT+04:00 Vjacheslav V. Borisov <slav...@gmail.
rray keys for specific paths, example, a/b/c
>
> where only a 'c' property of 'b' which is a property of 'c' will be
> treated as an array key.
>
> That said, please do try Jackson, you will use annotations...
>
> Cheers, Sergey
>
>
> On 26/04/16 11:14, Vjacheslav V. Borisov wrote
and attempts to convert
> XMLStreamWriter events into JSON. Thus it needs a configuration support to
> deal with some edge cases...
>
> Sergey
>
> On 25/04/16 09:17, Vjacheslav V. Borisov wrote:
>
>> And you don't see possible realisation to automate list property
>>
mented, but working feature. Hoewer, reading documentation I
was thinking that this should be described using
resource_type record, so this is why I am posted my question.
2016-04-25 13:27 GMT+04:00 Sergey Beryozkin <sberyoz...@gmail.com>:
> Hi
> On 25/04/16 08:48, Vjacheslav V. Bor
> Hi
>
> Jettison is XMLStreamWriter, no type information is available.
> If it does accumulate more than one value for a given property it can
> guess it must be a list, otherwise it does not know if it is a simple or
> complex property.
>
> Sergey
>
>
> On 04/0
Hi!
Trying to generate code from WADL with references
http://cxf.apache.org/docs/jaxrs-services-description.html#JAXRSServicesDescription-
WADLwithreferences
I am getting strange results
1.
@Path("/books")
public interface BooksResource {
}
2.
@Path("/bookstore/{id}")
public interface
2016-04-23 0:00 GMT+04:00 Sergey Beryozkin :
>
> Thanks, well, I was not planning to spend any more time on LTW, but I
> decided to give it a go again, and after spending a lot of time debugging
> through TomcatInstrumentableClassLoader and OpenJPA it proved
>
2016-04-18 20:53 GMT+04:00 Sergey Beryozkin :
>
> Now, as far as my own practical requirement is concerned, this model needs
> to be JPA persisted with OpenJPA. So I've spent a lot of time by
> experimenting with the load time weaving with Spring ORM, which does not
> seem
Hi!
Interesting article, but if we are using client private and public keys in
SSL connection, why additional STS service is required?
2016-03-30 23:21 GMT+04:00 Andrei Shakirin :
> Hi,
>
> I have published a small post with example illustrating JAX-RS SAML based
>
2016-03-23 18:26 GMT+04:00 Sergey Beryozkin :
>
> I'm not sure what happens when you use @SchemaValidation and no schema
> holder. Can you please put a breakpoint in AbstractJaxbProvider.init() and
> see how SchemaValidation is processed. I can imagine that a schema will be
2016-03-23 15:48 GMT+04:00 Sergey Beryozkin :
> Thanks for the analysis and the patch, I'm traveling so will look into it
> in detail next week (though might apply the patch earlier), does your patch
> addresses all of your concerns you raised in this thread ?
>
>
Yes,
> Don't know, how should this fixed (or should not)
> E.g. , code like this could fix that, but seems ugly:
> resolvedLocation =
> catalogResolver.resolvePublic(publicId!=null?publicId:namespaceURI,
> systemId);
>
>
Found where it takes place in case of cxf-wadl2java-plugin,
please see
Also noticed following :
When wadl2java code generation resolves
using xml-resolver, it resolves it using publicId using this record in
catalog.xml
This is the code:
class org.apache.xml.resolver.Catalog, method resolveLocalPublic,
while (en.hasMoreElements()) {
...
if
ot; should be replaced with name="schemaLocations" (which has
catalogLocation support)
2016-03-21 10:05 GMT+04:00 Vjacheslav V. Borisov <slav...@gmail.com>:
> Playing with xml catalogs, found strage bug (or my misconfiguration, i
> don't know)
>
2016-01-21 14:29 GMT+04:00 Sergey Beryozkin :
> I see there it checks "OASISCatalogManager.catalog.debug.level" system
> property - which is set, if not null, on
> org.apache.xml.resolver.CatalogManager, apparently CatalogManager can also
> check Catalog.properties file
>
Playing with xml catalogs, found strage bug (or my misconfiguration, i
don't know)
When i place my catalog on default DEFAULT_CATALOG_LOCATION
(classpath:META-INF/jax-rs-catalog.xml),
it works in @SchemaValidation feature
but if I want to rename to custom location, eg
...
(and
2016-01-21 14:29 GMT+04:00 Sergey Beryozkin :
> Hi
>
> Sure, have a look please at
> org.apache.cxf.catalog.OASISCatalogManager, this is in the cxf-core module.
>
> I see there it checks "OASISCatalogManager.catalog.debug.level" system
> property - which is set, if not null,
Hi!
Currently it is possible to write server side resource implementing two
interfaces at the same time
Eg,.
public class SomeResource implements OneResourceInterface,
TwoResourceInterface
does it possible to generate Proxy-based client based on more that one
interface?
2016-02-04 17:19 GMT+04:00 Francesco Chicchiriccò :
> As a result, we will end up having, in
>
> ${project.build.directory}/classes/META-INF/resources/swagger
>
> all the files in place ready to be packaged again.
>
> The "magic" that allows accessing such resources via HTTP
Hi
Thanks for you work and examples!
I am looking at
https://github.com/apache/syncope/blob/master/ext/swagger-ui/pom.xml
At
copy-swagger-resources-in-place
You are copying resources to
${project.build.directory}/classes/META-INF/resources/swagger
But how do you made static resources located
finally understand, how to access META-INF/resources, to allow external
access, resources should be in separate jar, not in war itself
http://stackoverflow.com/questions/4732965/exposing-resources-from-jar-files-in-web-applications-tomcat7
2016-02-04 17:45 GMT+04:00 Vjacheslav V. Borisov <s
I am talking about my progress is slow :)
Where can I find xml catalog resolution code in cxf wadl2java ? May be i
can patch it to enable debugging info
2016-01-20 18:24 GMT+04:00 Sergey Beryozkin :
> Well, this is one of those issues which I can not prioritize upon - I've
2015-11-24 19:48 GMT+04:00 Sergey Beryozkin :
> I'll look in detail at one of the existing tests where an external binding
> is applied (I recall copying some JAXWS tooling code which modifies the
> binding files), and will let you know, a bit later though
>
>
Found temporal
.
>
> Sergey
>
>
> On 15/01/16 11:12, Vjacheslav V. Borisov wrote:
>
>> Hi,
>>
>> How to limit concurrent requests served by specific resource, or by
>> application iteself?
>>
>> Found this thread
>>
>> http://stackoverflow.c
Hi,
How to limit concurrent requests served by specific resource, or by
application iteself?
Found this thread
http://stackoverflow.com/questions/5563442/how-to-set-limit-to-the-number-of-concurrent-request-in-servlet
Should i do something like showed in accepted answer,
or cxf has his limit
2015-11-23 16:32 GMT+04:00 Sergey Beryozkin :
> Well, knowing that "-episode sun-jaxb.episode" is expected to be provided
> to XJC as 2 params, it also becomes obvious how to do it without even
> changing CXF,
>
>
> -xjc-episode
> -xjcsun-jaxb.episode
>
>
> Thanks for
2015-11-23 16:32 GMT+04:00 Sergey Beryozkin :
>
> I've still decided to do a minor update, so that users can use a single
> extraarg:
> https://issues.apache.org/jira/browse/CXF-6690
May be not only XJC compiler argumens, but also wadl2java arguments, like
-tMap should be
Hi,
I am trying to generate episode file for modular schema creation. using
this config:
-xjc-episode
sun-jaxb.episode
-verbose
However no matter where is place
o address this issue with inability to generate / use
episode file using wadl2java?
2015-11-18 20:23 GMT+04:00 Sergey Beryozkin <sberyoz...@gmail.com>:
> Hi
>
> I wonder if you should do
>
> -xjc-episode sun-jaxb.episode
>
>
> something like that, try it pleas
Hi,
I think technically this is possible, will try it if there is no other
options, but this leads to exporting business logic that constructs
SearchCondition to outer layer
2015-10-15 15:33 GMT+04:00 Sergey Beryozkin :
> Hi
>
> Can you use SearchContext to prepare
2015-10-15 17:50 GMT+04:00 Sergey Beryozkin <sberyoz...@gmail.com>:
> Hi
> On 15/10/15 13:22, Vjacheslav V. Borisov wrote:
>
>> Hi,
>>
>> I think technically this is possible, will try it if there is no other
>> options, but this leads to e
Hi,
i am writing service, which starts separate thread, and want to use FIQL
in this thread
@Context SearchContext is unavailiable on this thread,
and i am using this code to construct SearchCondition:
public static SearchCondition getSearchCondition(String fiqlExpression,
Class clazz) {
2015-10-05 18:28 GMT+04:00 Sergey Beryozkin :
> Done for 3.1.4-SNAPSHOT
>
Thanks again, we will try it. Upgrading from 3.0.4 found strange behavior
(started at 3.0.6)
When method request contains xml and json representation and both contain
"element" reference
2015-10-05 0:56 GMT+04:00 Sergey Beryozkin :
>
> Re Patch/etc - yes wadl-to-java can not generate the custom annotation
> classes - it is time to do it though, will take care of it
>
Thanks !
ltiple created URIs (return them to client directly or via
> result resource) and multiple error codes in fault case.
> 3. Introduce PUT to replace the whole collection. In this case client
> should be responsible to specify individual resource URIs. You have to deal
> with multiple er
Hi!
I am trying to model rest api which can consume different xml
representations, but without success
I have two methods on same url which accepts application/xml, but different
objects: single object and collection of objects
With two methods generated
@POST
2015-10-01 14:16 GMT+04:00 Vjacheslav V. Borisov <slav...@gmail.com>:
> Hi!
>
> I am trying to model rest api which can consume different xml
> representations, but without success
> I have two methods on same url which accepts application/xml, but
> differen
2015-09-10 15:50 GMT+04:00 Sergey Beryozkin :
>
> Thanks, I wish we did it earlier :-). I believe RestEasy did it awhile
> back (though not sure what exactly it offers), though the idea of having of
> a JS frontend in CXF is not new given that it is available for WS.
>
We
I am not like hierahical interface generated by wadl-client
in Example wadl
https://github.com/rbelouin/wadl-client/blob/master/spec/swagger.js
with path segments (/test/dynamic/{param}) it leads to non-intuitive call
like
var res = client.test.dynamic._.get().withParams(["12345"]).send();
also
Thanks! It working now!
2014-10-16 12:55 GMT+04:00 Sergey Beryozkin sberyoz...@gmail.com:
This provider has a 'produceMediaTypes' List property that can be used to
override the default Produces.
Sergey
2014-10-28 14:21 GMT+04:00 Sergey Beryozkin sberyoz...@gmail.com:
That should not be needed... Did you add @Component annotations too to the
auto-discovered service beans ?
I'll try to write a test when I get some free time...
Yes, @Component works with context:component-scan
1 - 100 of 117 matches
Mail list logo