MLHttpRequest cannot load http://161.85.91.7:9001/office/offices/123. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the request

2015-12-01 Thread Shashank Dutt Jha
Server side code: protected Server() throws Exception { JAXRSServerFactoryBean sf = new JAXRSServerFactoryBean(); sf.setResourceClasses(CustomerService.class); sf.setResourceProvider(CustomerService.class, new SingletonResourceProvider(new CustomerService()))

Re: @BeanParam doesn't seem to support inheritance on client side

2015-12-01 Thread Veit Guna
I forgot to mention, that the attributes are decorated on field level with @QueryParam, of course. Am 01.12.2015 um 22:43 schrieb Veit Guna: > Hi. > > I'm using Apache CXF 3.1.4 with JAX-RS 2.0 client side proxies against a > REST service which uses Jersey 2.19 under JDK8. > The client side uses C

@BeanParam doesn't seem to support inheritance on client side

2015-12-01 Thread Veit Guna
Hi. I'm using Apache CXF 3.1.4 with JAX-RS 2.0 client side proxies against a REST service which uses Jersey 2.19 under JDK8. The client side uses CXF to generate the client proxies from the server interfaces. The server interface has a method that has a @BeanParam in its signature. Calling this m

Re: Java2WS - SEI - multiple classpaths

2015-12-01 Thread Aki Yoshida
When you set the classpath (cp) property, the classes should be found by the tool. But how the classpath argument has to be represented depends on OS. basically, you can have multiple paths delimited by either ":" in unix or ";" in windows. So something like -cp path/.../first.jar:path2/.../second.

Java2WS - SEI - multiple classpaths

2015-12-01 Thread Kastelic, Benjamin
Greetings! I'm working on a project, where the SEI class is in Maven module A, schema classes are in module B and the SEI interface is in module C. I am trying to generate a WSDL from the SEI class. I have run the java2ws plugin by setting the classpath to "moduleX/target/classes", but the plu

Re: CXF (2.7.13) Security Policy not used when SoapFault thrown due to Schema Validation

2015-12-01 Thread Colm O hEigeartaigh
Are you attaching security policies to the wsdl:fault part of your security binding? If policies are only attached to the wsdl:input/output, then the SOAP Faults won't be secured. Here is an example: https://git-wip-us.apache.org/repos/asf?p=cxf.git;a=blob;f=systests/ws-security/src/test/resources

Could message observer for incoming message be configured in XML?

2015-12-01 Thread Sergey Maslov
Hi! I have the code like --- conduit.setMessageObserver( new SomeMessageObserver(conduit.getMessageObserver()) ); --- Could I config message observer for coundit using XML configuration? -- *Sergey Maslov*