Sharing session with multiple services

2007-09-19 Thread John McLaughlin
Hi, I've just started to look at CXF, and have successfully managed to quickly develop/deploy services using JAX-WS (newbie here too!) The scenario I have is that I will have multiple small web services running in Tomcat, and I want to maintain a session across them. I can set

Re: Schema-First Development with CXF

2007-09-19 Thread Daniel Pike
Hi, Just wondering if there was any further update on this? Daniel. On 9/5/07, Dan Diephouse [EMAIL PROTECTED] wrote: Hi Eric, I'll do some more digging into this today - I lost track of the thread. Provided you aren't too frustrated with me/us, I'll see if I can't dig out the problem

Re: Using Client in WebApplication (JBoss)

2007-09-19 Thread Willem Jiang
How about try to put the saaj*.jar to the jboss lib's endorsed directory? Willem. Axel Becker wrote: Hello, i wrote a small webapplikation to display some small webservice results. but on the first call i got these error javax.xml.ws.WebServiceException: Cannot create SAAJ factory instance.

Re: Sharing session with multiple services

2007-09-19 Thread Willem Jiang
Hi, I don't think it can be done by adding the interceptor now , because CXF HttpConduit [1] just holds the cookies as it's member variable. And for each Client proxy, CXF will set up a different HttpConduit for the http connection. If you want to accomplish the task, you need do some

Re: Schema-First Development with CXF

2007-09-19 Thread Eric Miles
Dan, I found out a few things, that my services WERE actually working as expected, provided I made sure I did a few things. When looking at the WSDL, notice the wsdl:import statement. You should see that it points to servlet generated WSDL and should contain your imported schema. Secondly (this

Re: Wsdl Versioning

2007-09-19 Thread Dave Kallstrom
That did it. Thanks again. On 9/18/07, Dave Kallstrom [EMAIL PROTECTED] wrote: I was wondering about that. I'll give that a shot tomorrow. Thanks a lot for the help. On 9/18/07, Liu, Jervis [EMAIL PROTECTED] wrote: Ok, I see the tricks. MultipleEndpointObserver only steps in when there

JUnit test with local transport failing to find hibernate session

2007-09-19 Thread Gilles Durys
Hi, I developed a web service in a cxf-spring-hibernat environment. It runs in Tomcat fine. I also wrote some Junit tests that use the same web service with a local transport. Within these tests, the DAOs fail to find an Hibernate session. Has anyone a lead on why this fail? Thanks, -- Gilles

RE: JUnit test with local transport failing to find hibernate session

2007-09-19 Thread Jiang, Ning (Willem)
Hi , I don't know if it relates to the http header staff(it is the major different between the http transport and local transport. I did not write any code about DAO, so may be I am wrong. Could you send me the stake trace or the work space. May be I can debug it to find out the real

wsdl generation which includes BPEL constructs

2007-09-19 Thread moraleslos
Hi, Just curious if there was an automated way for CXF to generate WSDL that includes BPEL constructs (e.g. partnerLinkType) given partner link definitions and XSD. I'm fairly new to WS-BPEL so maybe there is an obvious solution? Or maybe there is another tool outside or in combination with

Calling .net remote objects

2007-09-19 Thread Shaw, Richard A
I have a .net remote object hosted using SOAP over TCP. I want to dispatch a request to it using CXF using the following code - public static DOMSource dispatch(DOMSource request, URL wsdlLocation, QName serviceName, QName portName) {

Re: Architecture of cxf

2007-09-19 Thread Guillaume Nodet
Have you tried with cxf-api only ? Tr On 9/19/07, Christian Schneider [EMAIL PROTECTED] wrote: I have done a second try at displaying the architecture. This time I only included the cxf-rt* jars in the model. This looks much better already ;-) Any idea why inlcuding the other jars especially

CXF and WebSphere Compatibility

2007-09-19 Thread Singh, Ramanand
There seems that CXF is not compatible with WebSphere 6.1. I wrote a web service for my project. I tested it completely and successfully on JBOSS 4.x. However, when I deployed it on WebSphere 6.1, the deployment itself failed. I have include a portion of exception below for reference. I also

RE: CXF and WebSphere Compatibility

2007-09-19 Thread Benson Margulies
Looks like you need to fix your deployment to isolate your CXF application from the wrong XML parser which seems to be in there by default. -Original Message- From: Singh, Ramanand [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 19, 2007 6:02 PM To: cxf-user@incubator.apache.org

Questions on thread safety about the end port objects

2007-09-19 Thread Gattu, Praveen
Hi - I was trying to get more information about this from CXF documentation, but couldn't find much. We are using cxf to generate stubs for an internally published wsdl, when the stubs are generated this is the pattern we use to call the service SomeService someService = new SomeService(wsdlURL,

Re: Architecture of cxf

2007-09-19 Thread Daniel Kulp
We have a few places where package names exist in both the API jar as well as in the rt-* jars. This may be causing some issues with the analysis. They CERTAINLY have caused issues with the i18n stuff as grabbing the Message.properties seems to grab whichever is in the classpath first.

Re: HashMap as parameter for web service call

2007-09-19 Thread James Mao
Hi Kaleb, In your types classes (the one has HashMap field), you have to add the Adapter, and the jaxb will use this adapter automatically You don't need to change the spring configuration. Willem gave a quite useful link

Re: cxf-codegen-plugin and catalogs

2007-09-19 Thread James Mao
I suggest you to work with command line tools first, and try a simple case, and also there's test under the tools, if you have the source code, just grep the 'catalog' James Hello, I am trying to reference another project that contains xjc generated code from xsd file. When I run the plugin

Re: JUnit test with local transport failing to find hibernate session

2007-09-19 Thread Willem Jiang
Hi I just went through the code and Xfire JIRA, it may relate to the different send and receive thread on the client side. You just need to add this pair (org.apache.cxf.transport.local.LocalConduit.directDispatch, true) in your request context, to let the LocalConduit not fork a new thread

Re: CXF without Spring?

2007-09-19 Thread Willem Jiang
Hi It looks like the servlet transport factory did not set up the transport id for you to use. If you just want CXF Servlet to use the CXFBusFactory , you can add this option -Dorg.apache.cxf.bus.factory=org.apache.cxf.bus.CXFBusFactory to your WebContainer's start up script. Willem.