Re: upgrading from 2.2.5 to 2.2.6 failed

2010-01-29 Thread Yognhe
The passwordType was passwordDigest at server side and passwordText at client side. This works fine in 2.2.5. After setting both sides to be passwordText, we can upgrade to 2.2.6 without a problem. Thanks, Yonghe dkulp wrote: > > > You may be running into the fixes needed for: > https://issu

Re: CXF return fault when WS-Addressing MAPs are not present?

2010-01-29 Thread Daniel Kulp
On Wed January 27 2010 5:31:52 pm rduhard wrote: > I haven't had a chance to create a sample demonstrating the problem yet but > I did a little bit of digging... > > I've found that if you have BOTH the wsa:addressing feature in your Spring > configuration and wsaw:UsingAddressing in your WSDL, i

Re: Custom Transport and Creating a JaxWS Client

2010-01-29 Thread Daniel Kulp
Actually, I'm probably wrong.When you setup the factory, you would normally call factory.setServiceName and factory.setEndpointName to set the service and endpoint/port names to match what would be in the wsdl. Dan On Fri January 29 2010 3:46:13 pm Daniel Kulp wrote: > You can set the por

Re: jaxws:conduitSelector

2010-01-29 Thread Daniel Kulp
On Tue January 26 2010 9:41:30 am Jonathan Bricker wrote: > Is there an example of how to use the conduitSelector element? If I have a > conduit defined how do I reference it from the jaxws:client? Most likely, you would need to write your own ConduitSelector object that would be ApplicationCont

Re: Error: Could Not Send Message

2010-01-29 Thread Suneet Shah
Hi Dan These services respond in sub 2seconds in most case. This seems to happen after they have been running for a few hours. I could change the timeout, but it seems that there is an underlying problem that needs to be fixed Suneet On Fri, Jan 29, 2010 at 3:37 PM, Daniel Kulp wrote: > > Thi

Re: setting cxf property on "3rd party service" call

2010-01-29 Thread Daniel Kulp
Couple options: 1) I think just doing requestContext.put("set-jaxb-validation-event-handler", "false") would work. 2) You could do something like: BusFactory.getDefaultBus().setProperty(.) which would make it apply to EVERYTHING. 3) Client c = ClientProxy.getClient(iAtlasExportTxBFPort)

Re: Custom Transport and Creating a JaxWS Client

2010-01-29 Thread Daniel Kulp
You can set the portName attribute on the @WebService annotation as well. Dan On Wed January 27 2010 11:14:53 pm Coder One wrote: > I figured out the solution. The below error is fixed as per below... > > Caused by: org.apache.cxf.service.factory.ServiceConstructionException: > Could not f

Re: Dynamic Client dumping messages to catalina.out

2010-01-29 Thread Daniel Kulp
Well, CXF uses java.util.logging for Logging by default, not log4j. You can look at http://cxf.apache.org/docs/debugging-and-logging.html for instructions on flipping things over. That said, with 2.2.6, it tries to detect where slf4j is logging and uses that. Thus, you may just be able to

Re: Error: Could Not Send Message

2010-01-29 Thread Daniel Kulp
This is a Read timeout on a client. What this means is that the service you are trying to call is taking more than 60 seconds to respond.You can configure a longer timeout if you want, (see http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html) but you may also wan

Re: I need WSS4JOutInterceptor.signaturePropFile properties in database

2010-01-29 Thread Daniel Kulp
I think the only way to do this is to subclass the WSS4JOutInterceptor and override the load*Crypto methods. In each case, grab the properties form the DB and just call: return CryptoFactory.getInstance(properties); Dan On Fri January 29 2010 6:20:22 am pinguino wrote: > class="org.ap

RE: Dynamic WSDL creation?

2010-01-29 Thread andre John Mas
> I am currently maintaining an application for a customer that makes use of > "Mind Electric Glue" for > client/server communication, using SOAP. Since the Glue API appears to have > become defunct, > I am looking to replace this portion of the application with something > equivalent, to f

wsdl2js - deserializer code not created for complexContent types

2010-01-29 Thread justinlindh
In trying to generate javascript from a wsdl using wsdl2js, I've noticed that the deserializer for an XSD type containing a complexContent element is only output as a blank stub. For example, consider the following XML that extends a base type and uses complexContent:

Dynamic WSDL creation?

2010-01-29 Thread andre John Mas
Hi, I am currently maintaining an application for a customer that makes use of "Mind Electric Glue" for client/server communication, using SOAP. Since the Glue API appears to have become defunct, I am looking to replace this portion of the application with something equivalent, to facilitate s

Re: Wrong Content type set in REST web services

2010-01-29 Thread Sergey Beryozkin
Hi I'll need to have a self-contained test war to have this issue reproduced. Or please post the sample code here. Here is the test which works for me : @Test public void testAddBookCustomFailureStatus() throws Exception { String endpointAddress = "http://localhost:9080/bookstore/books/custo

SAAJ attachments in cxf

2010-01-29 Thread SaravananRamamoorthy
Hi All, I have written a webservice client in cxf. In one of the webservice operation having attachment part separately along with the soap envelop. How can we use SAAJ API to handle the attachments in cxf. Please provide your inputs and suggestions. Regards Saravanan Ramamoorthy -- View

Re: How to strip down the namespace generated by JAXb

2010-01-29 Thread SaravananRamamoorthy
Hi Sergey, Thanks for your feedback. I will try out with the suggestions you have provided. Regards Saravanan R Sergey Beryozkin-2 wrote: > > Hi > > there're few options, see [1], just fixed few typos... > > 1. register a custom JAXBElementProvider's outTransformElements. Ex, if > you have

Re: Regarding fault section in WADL..

2010-01-29 Thread Sergey Beryozkin
Hi Hello Sergey, Thank you very much for yr response. In my methods, I am returning custom objects. These methods throw exception according to certain validation. we want these exception should be part of wadl. So my question is, how can I publish these exception into wadl?? It is not poss

I need WSS4JOutInterceptor.signaturePropFile properties in database

2010-01-29 Thread pinguino
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Timestamp;{E

Re: Regarding fault section in WADL..

2010-01-29 Thread Ashishz
Hello Sergey, Thank you very much for yr response. In my methods, I am returning custom objects. These methods throw exception according to certain validation. we want these exception should be part of wadl. So my question is, how can I publish these exception into wadl?? Ashish Sergey Bery

RE: [CXF-2.2.5][Spring2.5.5][jre1.5] No mapped method

2010-01-29 Thread Sergey Beryozkin
Hi Gabo See comments with S.B Hi Sergey, Just a few follow up questions. 1. Is there a way for me to tell CXF that this sub-resource locator method should only accept GET? Atleast apart from throwing an exception from inside the method. S.B. No. The subresource locator is selected only if

RE: CXF with JAX-RS : No operation matching request path /detail/ is found

2010-01-29 Thread Sergey Beryozkin
Hi Good to hear you've got it resolved. The annotation inheritance in JAXRS does not work if you have a method in one class duplicating or overriding JAXRS annotations on the super class/interface 's method... It would be worth logging at the start-up why a given method was not added to the list