SSL error with new version

2016-05-17 Thread Marco Westermann
tWrappedOutputStream.java:47) at org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresholdOutputStream.java:69) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1332) ... 32 more best regards, Marco

Registering two ports on (almost) the same URL -- same path, different protocol

2014-12-16 Thread Marco Rietveld
I do it? Lastly, my setup is: cxf + jbossws-cxf + java 6 EE (no spring or blueprint) Thanks, Marco

Error message when trying to retrieve wsdl from webservice implementation (Grails + CXF). "None of the policy alternatives can be satisfied."

2014-10-08 Thread Marco Pas
has no effect on just retrieving the wsdl. I keep getting the same error. I tried using SOAP UI with a basic authentication setup but no luck so far Any hints on what i am doing wrong? Pointers where to look? -- Marco Pas

staxutils.transform.QNamesMap

2014-05-22 Thread Lou Marco
(Please forgive me if this is the wrong place for this) Class QNamesMap has a private member QName[] values. In the class' get method, if it finds a QName whose NamespaceURI matches the NamespaceURI of the passed argument but whose LocalPart doesn't match, it evaluates a conditional expression w

Re: Julian to Gregorian calendar Switch. CXF behavior managing dates before 15/10/1582

2014-04-29 Thread Marco
Thank you very much. This canbe a good solution. Do you know if some documentation exists that explain the CXF unmarshal behaviour? Do you think this can be a bug? ... Il 28/04/2014 16:30, Hart, Andrew B. ha scritto: I believe that it is JAXB that defaults to a Gregorian calendar. In any ca

Re: CXF and kerberos authentication

2014-03-25 Thread Marco Di Sabatino Di Diodoro
Il giorno 25/mar/2014, alle ore 14:47, Andrei Shakirin ha scritto: > Hi Marco, > > Curios, does distilled java JAAS Kerberos call throw the same error? Login works for both. The problem is in the next step, when it has to delegate. > >

Re: CXF and kerberos authentication

2014-03-25 Thread Marco Di Sabatino Di Diodoro
Hi Sergey, Il giorno 19/mar/2014, alle ore 10:57, Sergey Beryozkin ha scritto: > Hi Marco > On 19/03/14 08:44, Marco Di Sabatino Di Diodoro wrote: >> Hi Sergey >> >> thanks for your support. >> We asked the FreeIPA community to see if there are some

Re: CXF and kerberos authentication

2014-03-19 Thread Marco Di Sabatino Di Diodoro
ergey Beryozkin ha scritto: > Hi > How do you configure it with curl ? > In your opinion, what is the difference between the way you set it up in curl > and in CXF ? > > Cheers, Sergey > > > > On 17/03/14 15:53, Marco Di Sabatino Di Diodoro wrote: >> Hi, >

Re: CXF and kerberos authentication

2014-03-17 Thread Marco Di Sabatino Di Diodoro
Hi,Il giorno 15/mar/2014, alle ore 13:38, Andrei Shakirin <ashaki...@talend.com> ha scritto:Hi Marco,I would suggest to try simple Kerberos login using JAAS directly (with debug=true), perhaps it helps to spot the problem:Test code:    URL conf = JaasLoginTest.class.getClass

CXF and kerberos authentication

2014-03-14 Thread Marco Di Sabatino Di Diodoro
;); kbInterceptor.setCredDelegation(true); WebClient.getConfig(wc).getOutInterceptors().add(kbInterceptor); I try a lot of other configuration without success, have you any suggestion? If we run with curl it works. Regards M [1] http://syncope.apache.org/ [2] http://tirasa.github.io/ConnId/ --

Re: https://issues.apache.org/jira/browse/CXF-5444

2013-12-16 Thread Marco Westermann
Hi, it looks like the client cannot load the wsdl definition. If you point your browser to http://vm32i-w3r2:9086/EngageOneWS/RequestStatusUpdateService?wsdl do you see a correct wsdl. If you test that wsdl with soapui does it work? regards, Marco Am 16.12.2013 11:43, schrieb Shailendra

Re: Relative Redirect

2013-09-30 Thread Marco Mans
Hi Sergey, That sounds good. What would you recommend in teh meantime? Could I use interceptors that check if the location is changed? Marco 2013/9/30 Sergey Beryozkin > Hi Marco > > On 30/09/13 13:31, Marco Mans wrote: > >> Hi Sergey! >> >> Thanks for the qui

Re: Relative Redirect

2013-09-30 Thread Marco Mans
id in the URL. Is there a setting that enables this? Greetz, Marco 2013/9/26 Sergey Beryozkin > I replaced the manual resolution code I added originally with URI resolve > call - that should fix the issue; also add a new "max.http.redirect.count" > property - can be us

Relative Redirect

2013-09-26 Thread Marco Mans
irect(true); client.getBus().getProperties().put("http.redirect.relative.uri", true); Does anyone knows how to fix this? Thanks in advance!!! Greetz, Marco Mans

Re: CXF XJC Maven Plugin (xsdtojava) Maven plugin usage

2013-07-25 Thread Marco Westermann
. regards, Marco Am 25.07.2013 14:01, schrieb Julio Carlos Barrera Juez: I have changed the version to 2.6.2 and I'm getting the same issue: [ERROR] Failed to execute goal org.apache.cxf:cxf-xjc-plugin:2.6.2:xsdtojava (generate-sources) on project org.opennaas.extensions.juniper.servi

Re: Help with REST Async Service

2013-05-15 Thread Marco Zapata
Thanks a lot for your Sergey, I managed to implement the service with your Help! Regards. 2013/5/14 Sergey Beryozkin > Hi > > On 14/05/13 17:21, Marco Zapata wrote: > >> Hello, >> >> I'm currently trying to implement an async REST service, but I

Help with REST Async Service

2013-05-14 Thread Marco Zapata
asyncHandler.handleResponse(r); } }.start(); return r; } Thanks in advance for you help. Regards Marco Zapata

How to log request/response with CXF dynamic client

2013-04-04 Thread Marco Pas
I am using CXF dynamic client and want to do some logging. I want to log the outgoing request and incoming reponse soap xml. I need to do that with interceptors but have no clue on how to wire them so the client will use that. Example code: MyWebservice ws = new MyWebservice_Service().getChar

Re: upgrade from cxf 2.6.2 to 2.7.3 null pointer error on startup

2013-02-26 Thread Marco Caligiuri
I have reported a bug with a small test case... https://issues.apache.org/jira/browse/CXF-4856 Thank you Marco 2013/2/26 Daniel Kulp > > Any chance of getting a bug logged with a small test case. Simple bugs > with test cases are the kind of thing I'm likely to tackle w

Re: [CXF DOSGi] Jetty and multi-services

2012-10-25 Thread Marco Speranza
Hi, tnx for your reply :) if /greeter starts by it's self, (without /greater2), it works fine. it seems that the second one "overwrites" the first one? Can this be possible? ciao :) -- Marco Speranza Flick photostream: http://www.flickr.com/photos/marcosperanza79/ Go

[CXF DOSGi] Jetty and multi-services

2012-10-24 Thread Marco Speranza
:31,123 | WARN | qtp1188024874-85 | WebApplicationExceptionMapper| 92 - org.apache.cxf.bundle-minimal - 2.5.2 | WebApplicationException has been caught : no cause is available Can anyone help me? thanks in advance -- Marco Speranza Google Code: http://code.google.com/u/marco.speranza79/

add namespaces to and tags

2012-10-18 Thread Marco Firrincieli
For some reason I cant' seem to create and tags the way I want them to be. I need to contain the reference to a particular namespace so something like http://this.particular.ns.com";> and soap:Envelope has to be http://www.w3.org/2001/XMLSchema-instance"; xmlns=" http://this.particular.com";

Re: WSDL to Java and SOAP version 1.2

2012-10-18 Thread Marco Firrincieli
g.sina.com.cn/u/1473905042 > weibo: http://weibo.com/u/1473905042 > > On 2012-10-17, at 上午12:03, Marco Firrincieli wrote: > >> Here http://cxf.apache.org/docs/wsdl-to-java.html it says WSDL to Java only >> supports soap 1.1 >> >> How would it be possible to generate client stubs ready for SOAP 1.2? >

Re: [CXF DOSGi] - No HTTP Service could be found

2012-10-17 Thread Marco Speranza
Hi thanks a lot for your suggest. I fixed the problem adding org.osgi.framework.system.packages.extra=javax.transaction.xa into etc/system.properties file. have a nice day :) -- Marco Speranza Google Code: http://code.google.com/u/marco.speranza79/ 2012/10/17 David Bosschaert : > I th

Re: [CXF DOSGi] - No HTTP Service could be found

2012-10-17 Thread Marco Speranza
1.3.1/dosgi_bundles/cxf-bundle-minimal-2.5.2.jar in feature(s) cxf-dosgi-1.3.1: Unresolved constraint in bundle org.apache.cxf.bundle-minimal [91]: Unable to resolve 91.0: missing requirement [91.0] package; (package=javax.transaction.xa) thank in advance -- Marco Speranza Google Code: http://code.googl

[CXF DOSGi] - No HTTP Service could be found

2012-10-17 Thread Marco Speranza
at java.lang.Thread.run(Thread.java:680) could anyone help me to fix it and start correctly the sample? thank in advance -- Marco Speranza Google Code: http://code.google.com/u/marco.speranza79/

WSDL to Java and SOAP version 1.2

2012-10-16 Thread Marco Firrincieli
Here http://cxf.apache.org/docs/wsdl-to-java.html it says WSDL to Java only supports soap 1.1 How would it be possible to generate client stubs ready for SOAP 1.2?

get rid of ns prefix

2012-10-09 Thread Marco Firrincieli
i've created my stub classes using **maven cxf-codegen-plugin** but now everytime i create a request the tag gets a stupid ***ns*** prefix this is what I have http://someurl.com/"; xmlns:ns2="https://someurl.com/";> this is what I want http://someurl.com/";> how can i avoid that? do

How to add interceptors to a wsdl2java generated client?

2012-08-22 Thread Marco Pas
(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, webServiceAddress); // for dynamic endpoints... Is there any way i can add some interceptors? I am using it in a Spring application by the way! Thanks in advance. Greetings Marco

Re: Able to log SOAP request and response but how to combine the input/output?

2012-08-22 Thread Marco Pas
emanfang.blogspot.com > http://blog.sina.com.cn/u/1473905042 > weibo: http://weibo.com/u/1473905042 > > On 2012-8-21, at 下午4:29, Marco Pas wrote: > >> Looks like this could be a solution indeed. Anyone willing to share >> some example on how to use MessageExhange en get th

Re: Able to log SOAP request and response but how to combine the input/output?

2012-08-21 Thread Marco Pas
ibo.com/u/1473905042 > > On 2012-8-21, at 下午3:16, Marco Pas wrote: > >> Hi there i am able to log input and output but i want to combine the >> incoming and outgoing xml so i can easily see the combined result? >> This would eliminate the task of manually digging out a

Able to log SOAP request and response but how to combine the input/output?

2012-08-21 Thread Marco Pas
Hi there i am able to log input and output but i want to combine the incoming and outgoing xml so i can easily see the combined result? This would eliminate the task of manually digging out a log file. Trying to accomplish this i have implemented 2 interceptors wich get the xml but i see now way t

Re: It is possible to skip the HTTP 202 response when using WS Addressing?

2012-06-26 Thread Marco Pas
Thanks to all who helped me to tackle this problem! 2012/6/26 Marco Pas : > The solution of Dan did the trick... > > I implemented the following interceptor: > > public class SetReplyToSOAPHeaderInInterceptor extends > AbstractSoapInterceptor { > >    public SetReplyT

Re: It is possible to skip the HTTP 202 response when using WS Addressing?

2012-06-26 Thread Marco Pas
ssing/anonymous";); epr.setAddress(aut); ap.setReplyTo(epr); } } 2012/6/26 Aki Yoshida : > Hi Marco, > > okay. In certain cases, one can use CXF's transform feature to perform > this kind of message modification. In your particular case, if your > inb

Re: How to override/modify a specific incoming SOAP header value?

2012-06-25 Thread Marco Pas
irectly (hopefully someone else who knows can answer that for you.) > > Glen > > > On 06/25/2012 10:18 AM, Marco Pas wrote: >> >> Hi there, >> >> i have a need for which i need to override a soap header value. In the >> receiving soap message there is

Re: It is possible to skip the HTTP 202 response when using WS Addressing?

2012-06-25 Thread Marco Pas
reach to do so. Grtz 2012/6/25 Aki Yoshida : > Hi Marco, > Is your client expecting some specific response message in the http response? > > The HTTP 202 response code is used for the HTTP response for a oneway > service call that returns no content or a request-response service > ca

How to override/modify a specific incoming SOAP header value?

2012-06-25 Thread Marco Pas
if so how? /Marco

It is possible to skip the HTTP 202 response when using WS Addressing?

2012-06-25 Thread Marco Pas
any way to skip the HTTP 202 reponse ? /Marco

Re: How to get incoming & outgoing soap xml in a simple way?

2012-06-14 Thread Marco Pas
> tried using that from the trunk and it didn't work, so I'm not sure why that > was. > > Jim > > > > On 14/06/2012 19:39, Marco Pas wrote: >> >> Could you share the code of these interceptors as an example off how I >> could implements them myself?

Re: How to get incoming & outgoing soap xml in a simple way?

2012-06-14 Thread Marco Pas
Could you share the code of these interceptors as an example off how I could implements them myself? It would help me a lot. I have read your suggestion and i also have to log the xml messages to an external system in my case a AMQP provider. /Marco 2012/6/14 Jim Talbut : > On 14/06/2012 18

How to get incoming & outgoing soap xml in a simple way?

2012-06-14 Thread Marco Pas
specific logging tasks. The standard LogIn & LogOut interceptors are not up to the task. Anyone willing to share some example on how i could implement a simple incoming interceptor that is able to get the incoming soap xml and a outgoing interceptor to again get the soap xml. /Marco

Re: How to use Spring Autowired in a custom cxf interceptor?

2012-06-04 Thread Marco Pas
with the autowired stuff. /Marco 2012/6/5 Ted : > hrmm I can't remember how I checked off hand, but you can always grab the > one from the spring context and check if it's the same memory location as > the this object, or you can print something in the constructor to see w

Re: How to use Spring Autowired in a custom cxf interceptor?

2012-06-04 Thread Marco Pas
. > > You might want to double check that the running code is in a spring > context, I suspect you might find it's not. Remember, just because > component scan initialises a copy of the bean, doesn't mean the running > copy of the bean is from the context. > > On Tue,

How to use Spring Autowired in a custom cxf interceptor?

2012-06-04 Thread Marco Pas
Hi there, i seem to run into a small issue when using @Autowired into a custom cxf interceptor. My use case is that i want to log soap messages and send these using AMQP to another system. This process works for normal services etc. I checked the Spring DI log and the context is scanned and picked

Re: Providing a custom resolver for XML schemas

2012-05-11 Thread Marco Zapletal
12/xmldsig-core-schema.xsd";; @Bean(name = LocalSchemaConfig.XMLDSIG_SYSTEM_ID) public URL xmldsigSchema() { return this.getClass().getResource("/META-INF/xmldsig-core-schema.xsd"); } } Best regards, Marco On 07.05.2012 17:43, Daniel Kulp wrot

Re: Run Service local using maven

2012-05-10 Thread Marco Westermann
Hi, ok will look at the samples. I didnt downloaded cxf cause it is beeing downloaded using maven ;-) regards, Marco Am 10.05.2012 14:05, schrieb Glen Mazza: I believe there are several examples in the CXF samples distribution that deploy via mvn jetty:run, I would just grep that command

Run Service local using maven

2012-05-10 Thread Marco Westermann
Hi, I created a new cxf project using maven2 with archtype cxf-jaxws-javafirst. Is there now a possibility to run the service using maven? Sth. like mvn jetty:run? Thank you, Marco

Providing a custom resolver for XML schemas

2012-05-07 Thread Marco Zapletal
are deployed to tomcat. Thus, I would like to know whether there is the possibility to plugin a custom resolver for the parser that is used under the hood similar to providing a custom LSResourceResolver to a JAXP validator. Thanks, Marco

Re: Is it possible to use ws addressing and give synchronous response?

2012-05-07 Thread Marco Pas
Please discard / ignore my previous question. It seems that the client that is calling our webservice is not implementing WS-A correctly. 2012/5/7 Marco Pas : > Hi there, > > I am forced to use ws addressing and would like to give a synchronous > reponse back to the caller of the web

Is it possible to use ws addressing and give synchronous response?

2012-05-07 Thread Marco Pas
HTTP 200. Do i need to configure CXF to achieve this? /Marco

Re: Response from CXF fails, same response using SOAP-UI works..?

2012-05-07 Thread Marco Pas
n it off and seeing if that helps. > > Dan > > > > On Friday, May 04, 2012 03:46:20 PM Marco Pas wrote: >> Hi there, >> >> i have a problem in which i seem to get stuck.. >> >> The case is that i have implemented a webservice which is called by an >

Re: Response from CXF fails, same response using SOAP-UI works..?

2012-05-05 Thread Marco Pas
upport%29-ANoteAboutChunking > > and the docs on that page to turn it off and seeing if that helps. > > Dan > > > > On Friday, May 04, 2012 03:46:20 PM Marco Pas wrote: >> Hi there, >> >> i have a problem in which i seem to get stuck.. >> >>

Response from CXF fails, same response using SOAP-UI works..?

2012-05-04 Thread Marco Pas
icating with ... When returning from SOAP-UI --> all faces are happy and it works.. Any suggestions on how to tackle this issue?? /Marco

Re: How to influence the reponse ws-addressing action element?

2012-05-04 Thread Marco Pas
gt; Dan > > > On Thursday, May 03, 2012 10:51:28 PM Marco Pas wrote: >> HI there, >> >> it seems that my response from a cxf implemented webservice contains a >>       > xmlns="http://www.w3.org/2005/08/addressing";>urn://...dummy.../Webservice >&g

Re: How to influence the reponse ws-addressing action element?

2012-05-03 Thread Marco Pas
Thanks for the reply! Works great! I guess i have to get back to the guys that created the wsdl file. The wsam:Action attribute for the response is missing. When the attribute is missing i guess cxf proposes (wsdl2java) a value for it and in my case this fails. /Marco 2012/5/3 Daniel Kulp

How to influence the reponse ws-addressing action element?

2012-05-03 Thread Marco Pas
/2005/08/addressing";>/WebserviceResponse The system that uses that uses our webservice fails on the urn on the action. /Marco

Soap Fault (SOAP 1.2) losing subcodes?

2012-04-24 Thread Marco Pas
Hi there, I am trying to throw a SOAP Fault using subcodes, but whatever i do i seem to be loosing the subcodes. I am using the follow code to construct my soap fault: SOAPFactory sf = SOAPFactory.newInstance(SOAPConstants.SOAP_1_2_PROTOCOL); SOAPFault f = sf.createFault("Reason", SOAPConstants

Re: WebService do not work

2012-02-22 Thread Marco
How did you solve the problem? I have the same behaviour. The javax.jws.WebService annotation was already loaded by another classloader. Please check if there are multiple versions of the web service annotation jar in your classpath. Thanks.

Changing the JMX domain name of the exposed MBeans

2011-09-22 Thread Marco Zapletal
Hi, is it somehow possible in CXF to change the domain name ("org.apache.cxf") of the MBeans that are exposed via JMX? Thanks, marco

Re: Transferring signed documents without breaking their XML signature

2011-06-06 Thread Marco Zapletal
given JAXB object received at the service interface. Anyway, if preserving the infoset for checking the XML signature of an incoming message is considered as a valuable enhancement to CXF, I will file a JIRA issue. Regards, marco On 31.05.2011 11:34, Freeman Fang wrote: Hi, Using jaxws

Re: Transferring signed documents without breaking their XML signature

2011-05-31 Thread Marco Zapletal
fact, I expect I have to pass in something like a Source or Document object at the client side as well - but I haven't found anything how to do this. thanks, marco

Transferring signed documents without breaking their XML signature

2011-05-31 Thread Marco Zapletal
documents with CXF, which takes care of their signature (by avoiding JAXB marshalling/unmarshalling)? Regards, marco

Re: cxf 2.3 and Jetty 7

2010-11-22 Thread Marco Zapletal
e.com/camel-cxf-exception-when-parsing-cxf-schemaLocation-element-td3253254i20.html regards, marco

Re: 2.3.0: NPE in ClientImpl.setupInterceptorChain

2010-11-12 Thread Marco Zapletal
I think it is better to continue the discussion on the camel mailing list. Please see my answer there. http://camel.465427.n5.nabble.com/camel-cxf-exception-when-parsing-cxf-schemaLocation-element-td3253254.html thanks, marco Am 12.11.2010 11:15, schrieb Willem Jiang: How do you use the

Re: 2.3.0: NPE in ClientImpl.setupInterceptorChain

2010-11-12 Thread Marco Zapletal
approach the problem later on again. regards, marco Am 11.11.2010 23:38, schrieb Daniel Kulp: On Thursday 11 November 2010 9:04:24 am Marco Zapletal wrote: Hello, My services have been running fine with CXF 2.2.x. However, when switching to 2.3.0 running my tests throw the exception shown

2.3.0: NPE in ClientImpl.setupInterceptorChain

2010-11-11 Thread Marco Zapletal
valid instance is returned. Could someone give me a hint, what has changed in 2.3.0 that leads to this error? thanks, marco javax.xml.ws.soap.SOAPFaultException: Fault string, and possibly fault code, not set at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:146

SAXException resolving resource

2010-10-05 Thread Marco Zapletal
re was no reply on the authors last post, I wanted to ask whether this may be considered as a bug on the schema resolver (imho yes) and whether it is likely that it gets fixed when submitted as a JIRA issue? thanks, marco

Problems in wsdl2java generation of no-argument method

2009-11-15 Thread Marco Tedone
Hi all, I've got the following WSDL: http://www.jemos.co.uk/schemas/contact"; xmlns:jem="http://www.jemos.co.uk/cxftest/"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:wsdl="http://schemas.x

Schema field order and WSDL generation

2009-02-02 Thread Marco
I'm developing using CXF-2.1.4-SNAPSHOT. I noticed that the order of the fields in complex-types in the generated schema has changed with the SNAPSHOT release of today. The question is: is that an issue or the CXF/Jaxb behaviour has been changed for a reason? Marco.

Re: EndpointReference in Exceptions

2009-01-20 Thread Marco
No one can give me an hint on this? Is it an issue, or the W3CEndpointReference type is not supported inside Exceptions? Marco. On Mon, 2009-01-19 at 19:23 +0100, Marco wrote: > I All, > > It seems that CXF ignores the W3CEndpointReference in the Exceptions. > > For exampl

EndpointReference in Exceptions

2009-01-19 Thread Marco
, the EPR is correctly managed. I have this behaviour with both 2.1.3 and 2.1.4-SNAPSHOT. Is this an issue? If needed, i can send you a test case. Marco.

Re: A regression from CXF2.0* to CXF 2.1.*?

2008-12-17 Thread Marco
. If you need i can send you a test case to reproduce the issue. Marco. On Wed, 2008-12-17 at 14:03 -0500, Daniel Kulp wrote: > Not sure what would cause this considering we have a system tests that > explicitly tests the array things: > http://svn.eu.apache.org/repos/asf/cxf/trunk/sys

A regression from CXF2.0* to CXF 2.1.*?

2008-12-13 Thread Marco
, since the int[] as a parameter (and not a return type) works. I tested that with 2.1.3 and 2.1.4-SNAPSHOT (same behaviour) Marco.