RE: CXF JAX-RS: working with multipart form-data

2024-10-03 Thread Jean Pierre URKENS
iatypes (although couldn't find what it actually does). So I was expecting to see the whole message (attachments are rather small as it is a test). Well I used wireshark to get the full message and it doesn't show any Content-Disposition headers for the multipart elements. Regards, J.P. U

RE: CXF JAX-RS: working with multipart form-data

2024-07-05 Thread Jean Pierre URKENS
--Original Message- From: Andriy Redko Sent: vrijdag 5 juli 2024 2:16 To: Jean Pierre URKENS ; dev@cxf.apache.org Subject: Re: CXF JAX-RS: working with multipart form-data Hi Jean, Here is how you could make it work (there is some magic knowledge involved sadly). First of all, define such

RE: CXF JAX-RS: working with multipart form-data

2024-07-03 Thread Jean Pierre URKENS
V2.2.22 (15/05/2024) is the latest version of io.swagger.core.v3 libraries. I upgrade to this version to make sure I had the latest swagger implementation. -Original Message- From: Andriy Redko Sent: donderdag 4 juli 2024 4:44 To: Jean Pierre URKENS ; dev@cxf.apache.org Subject: Re: CXF

RE: CXF JAX-RS: working with multipart form-data

2024-07-03 Thread Jean Pierre URKENS
ma = @Schema(type = "string", format = "binary")) @Multipart(value = "qrfile", type="application/octet-stream", required = false) Attachment qrfileDetail); I’ve attached the generated openapi specification. It only contains the ‘messageToSend’ as part of

CXF JAX-RS: working with multipart form-data

2024-07-01 Thread Jean Pierre URKENS
Hi all, I am having problems to correctly annotate service methods which consumes multipart/form-data that contains attachments next to other model objects. I’ve an openapi specification that contains following requestBody definition: /messages: post: tags:

RE: Apache CXF JAXRS Logging questions

2023-11-16 Thread Jean Pierre URKENS
Z";"herstellen premixketels";"198";345.0;345.0;;false;Afgewerkt;;Aanvaard;;Uitgevoerd;Afgerond;"2023-11-16T01:02:50.173Z";;DossierStatus;Deminimis;"7C672782-1F39-4353-KMOP-DFB795084A33-012258026";"2023-11-16T01:02:50.173Z" ... --uuid:7b5c595d-9e46

RE: Apache CXF JAXRS Logging questions

2023-11-14 Thread Jean Pierre URKENS
tors don't give much information. So what would be an appropriate way to send a csv-file that would get logged? Regards, J.P. Urkens -Original Message- From: Andriy Redko Sent: zondag 12 november 2023 17:15 To: Jean Pierre URKENS ; dev@cxf.apache.org Subject: Re: Apache CXF JAXRS L

RE: Apache CXF JAXRS Logging questions

2023-11-13 Thread Jean Pierre URKENS
The name of the appender where to log the REQ/RESP message Knowing the exact logger category makes the use of a filter obsolete. Regards, J.P. Urkens -Original Message----- From: Jean Pierre URKENS Sent: maandag 13 november 2023 9:19 To: 'Andriy Redko' ; 'dev@c

RE: Apache CXF JAXRS Logging questions

2023-11-13 Thread Jean Pierre URKENS
pache CXF Log event looks like. Does the event.getRenderedMessage() contains the hostname of the target endpoint? If so I could 'string match' on that. I am giving it a try and let you know the result. Regards, J.P. Urkens -Original Message- From: Andriy Redko Sent: zaterdag 11

RE: Request mapping warnings

2023-07-24 Thread Jean Pierre URKENS
Hi Andriy, Removing the basepackages property indeed resolved the issue. Regards, J.P. Urkens -Original Message- From: Andriy Redko Sent: dinsdag 25 juli 2023 2:32 To: Jean Pierre URKENS Cc: Daniel Kulp Subject: Re: Request mapping warnings Hi Jean, The issue with duplicate beans

RE: Request mapping warnings

2023-07-20 Thread Jean Pierre URKENS
No, I am not using SpringBoot in any way. Regards, J.P. *From:* Andrey Redko *Sent:* donderdag 20 juli 2023 15:24 *To:* Jean Pierre URKENS *Cc:* Daniel Kulp *Subject:* Re: Request mapping warnings Hi Jean, Do you use CXF Spring Boot autoconfiguration [1]? If yes, it has a few

RE: Request mapping warnings

2023-07-19 Thread Jean Pierre URKENS
juli 2023 19:30 *To:* Jean Pierre URKENS *Cc:* Daniel Kulp *Subject:* Re: Request mapping warnings Hi Jean, Indeed it looks like you have the same resource registered twice hence the warning. It may come from the use of automatic resource scans and manual resource registration. Best Regards

Re: Request mapping warnings

2023-07-19 Thread Jean Pierre URKENS
Could be, due to the (spring) @Service annotation in addition to the bean declaration in the cxf-endpoints.xml ? Verzonden vanaf Outlook voor Android<https://aka.ms/AAb9ysg> From: Andrey Redko Sent: Wednesday, July 19, 2023 7:29:47 PM To: Jean Pierre URKE

Request mapping warnings

2023-07-19 Thread Jean Pierre URKENS
endpoint to appear multiple times? Aside from that I have no idea what could cause this. J.P. -Original Message- From: Andriy Redko Sent: donderdag 13 juli 2023 18:24 To: Jean Pierre URKENS ; dev@cxf.apache.org Subject: Re: How to setup multiple JAXRS server endpoints Got it, thank you

RE: How to setup multiple JAXRS server endpoints

2023-07-12 Thread Jean Pierre URKENS
The @Parameter annotation seems to be ignored at this level. -Original Message- From: Jean Pierre URKENS Sent: donderdag 13 juli 2023 7:11 To: 'Andriy Redko' ; 'dev@cxf.apache.org' Subject: RE: How to setup multiple JAXRS server endpoints Yes, SwaggerUI works too!

RE: How to setup multiple JAXRS server endpoints

2023-07-12 Thread Jean Pierre URKENS
query", "header", "path" or "cookie" parameters), but I'll give it a try. J.P. -Original Message- From: Andriy Redko Sent: woensdag 12 juli 2023 22:16 To: Jean Pierre URKENS ; dev@cxf.apache.org Subject: Re: How to setup multiple JAXRS server endp

RE: How to setup multiple JAXRS server endpoints

2023-07-12 Thread Jean Pierre URKENS
vx.y.z.jar and depending libraries. CXF-3.5.6 has dependency on swagger-jaxrs2-2.1.13 .jar. Would it be an issue to replace this dependency with e.g. swagger-jaxrs2-2.2.15.jar (latest stable release according to maven central repo)? J.P. -Original Message- From: Jean Pierre URKENS Sent:

RE: How to setup multiple JAXRS server endpoints

2023-07-11 Thread Jean Pierre URKENS
m going to test again. The application is composed of libraries, some of which use SLF4J but most use LOG4J for logging. J.P. -Original Message- From: Andriy Redko Sent: woensdag 12 juli 2023 1:13 To: Jean Pierre URKENS ; dev@cxf.apache.org Subject: Re: How to setup multiple JAXRS server

RE: Apache CXF JAX-RS threadsafe clients

2023-07-05 Thread Jean Pierre URKENS
lue in any object and it is not my intention to modify the server implementation just to verify this. Regards, J.P. -Original Message- From: Andriy Redko Sent: dinsdag 4 juli 2023 22:04 To: Jean Pierre URKENS ; CXF Dev List Subject: Re: Apache CXF JAX-RS threadsafe clients Hi Je

RE: Apache CXF JAX-RS threadsafe clients

2023-07-04 Thread Jean Pierre URKENS
rify whether headers are passed correctly for each API invocation? Regards, J.P. -Original Message- From: Andriy Redko Sent: vrijdag 30 juni 2023 3:59 To: Jean Pierre URKENS ; CXF Dev List Subject: Re: Apache CXF JAX-RS threadsafe clients Hi Jean, Yes, I belie

RE: Apache CXF JAX-RS threadsafe clients

2023-06-28 Thread Jean Pierre URKENS
} } Regards, J.P. -Original Message- From: Andriy Redko Sent: woensdag 28 juni 2023 23:55 To: Jean Pierre URKENS ; CXF Dev List < dev@cxf.apache.org> Subject: Re: Apache CXF JAX-RS threadsafe clients Hi Jean, So the 1st part is 100% correct way to create a t

RE: Handle Bearer authorization

2023-06-05 Thread Jean Pierre URKENS
Using javax.ws.rs.core.SecurityContext works. Best Regards, J.P. -Original Message- From: Andriy Redko Sent: vrijdag 2 juni 2023 23:11 To: Jean Pierre URKENS ; CXF Dev List Subject: Re: Handle Bearer authorization Hi Jean, Apologies since I am rarely touching this part of the

RE: How to setup multiple JAXRS server endpoints

2023-05-25 Thread Jean Pierre URKENS
t the @SwaggerDefinition. So, I moved the @SwaggerDefintion to the implementation class and now it is ok. Thanks for the advice, J.P. -Original Message- From: Andriy Redko Sent: donderdag 25 mei 2023 2:27 To: Jean Pierre URKENS ; dev@cxf.apache.org Subject: Re: How to setup multiple JAXRS s

RE: How to setup multiple JAXRS server endpoints

2023-05-23 Thread Jean Pierre URKENS
included it in the server declaration). After providing an empty @Path("") declaration on the API interface classes everything worked. Thanks for the support. -Original Message- From: Andriy Redko Sent: dinsdag 23 mei 2023 3:42 To: Jean Pierre URKENS ; dev@cxf.apache.org Subject:

RE: How to setup multiple JAXRS server endpoints

2023-05-19 Thread Jean Pierre URKENS
This explanation makes sense but that wasn't clear from the WIKI page. Regards, J.P. -Original Message- From: Andriy Redko Sent: vrijdag 19 mei 2023 3:04 To: Jean Pierre URKENS ; dev@cxf.apache.org Subject: Re: How to setup multiple JAXRS server endpoints Hi Jean, &

RE: Mismatch in content encoding between client and server

2023-05-16 Thread Jean Pierre URKENS
on the MediaType so I'll adjust that. Best regard, J.P. -Original Message- From: Andriy Redko Sent: dinsdag 16 mei 2023 14:52 To: Jean Pierre URKENS ; dev@cxf.apache.org Subject: Re: Mismatch in content encoding between client and server Hi Jean, My apologies for late response b