WebClient send multiple query same name

2018-07-17 Thread Matthew Broadhead
cxf-core-3.1.10.jar (TomEE 7.0.3) I am trying to access an endpoint which says it wants multiple id number parameters like.  the documentation says this is allowed in http? https://example.com/test?id=123=456=789 i tried the following WebClient webClient = WebClient.create(baseAddress); List

WSDiscoveryClient multicast network interface selection

2018-07-17 Thread Jonas
Hi, I'm trying to discover ONVIF video devices with the WSDiscoveryClient. I can see the probe message in Wireshark. However, the message is sent on the wrong network interface and I didn't find a way to explicitly set an interface in the client. I found the "NETWORK_INTERFACE" property key in

Re: Customisation of Slf4jEventSender

2018-07-17 Thread Colm O hEigeartaigh
Yes please submit a JIRA and pull request for both these issues. Colm. On Tue, Jul 17, 2018 at 6:52 AM, Simon Kissane wrote: > Hello > > The class org.apache.cxf.ext.logging.slf4j.Slf4jEventSender hardcodes the > logger category: >String cat = "org.apache.cxf.services." + >

Re: WSDiscoveryClient multicast network interface selection

2018-07-17 Thread Jonas
Looks like the list didn't like the raw-tag for the code. Here is the snippet: WSDiscoveryClient client = new WSDiscoveryClient(); client.setVersion10(); List references = client.probe(new QName("http://www.onvif.org/ver10/network/wsdl;, "NetworkVideoTransmitter")); client.close(); However, the

How to implement REST batch processing

2018-07-17 Thread Francesco Chicchiriccò
Hi all, I was wondering whether it is possible with CXF to handle a payload according to OData 4.0 specs [1]. Essentially, I would like to handle an endpoint like as POST /$batch where the service implementation is able, for each of the provided multi-parts, to lookup into the CXF's URL

Re: WebClient send multiple query same name

2018-07-17 Thread Matthew Broadhead
i think it is version 3.1.10 packaged with TomEE 7.0.3.  might be because i am sending Integer type? On 17/07/18 12:09, Colm O hEigeartaigh wrote: What version of CXF are you using? With CXF 3.2.5 I can do: WebClient client = WebClient.create(address, busFile.toString()); client =

Client creation using JaxWsProxyFactoryBean

2018-07-17 Thread nitin gupta
Hi, I am using CXF to consume a WS, and I am creating client in JAVA by using following line of code. ConfiguratorService service = new ConfiguratorService(); ConfiguratorServiceProxy newProxyService; LoggingFeature loggingFeature = new LoggingFeature(); loggingFeature.setPrettyLogging(true);

Re: WSDiscoveryClient multicast network interface selection

2018-07-17 Thread Daniel Kulp
I’m not seeing a way to do it at this point…. The java.net.MulticastSocket that is used to send the data does have a setNetworkInterface call on it, but we don’t use that at all so it would use whatever the JVM’s default algorithm for selecting an interface is. Most likely, UDPConduit

Re: WSDiscoveryClient multicast network interface selection

2018-07-17 Thread Colm O hEigeartaigh
The code snippet appears to be missing? UDPDestination refers to the publishing side, and not the client. UDPConduit is used by the client. Colm. On Tue, Jul 17, 2018 at 9:01 AM, Jonas wrote: > Hi, > > I'm trying to discover ONVIF video devices with the WSDiscoveryClient. I > can > see the

Re: WebClient send multiple query same name

2018-07-17 Thread Colm O hEigeartaigh
What version of CXF are you using? With CXF 3.2.5 I can do: WebClient client = WebClient.create(address, busFile.toString()); client = client.type("application/xml"); client.query("id", "1"); client.query("id", "2"); Response response = client.get(); and the URL