Re: Expose MBeans in CXF

2011-05-19 Thread Sergey Beryozkin
HI Shenglin String href = builder.path(mbean).path(someUniqueKey).build().toString() Here is my progress, I use  UriBuilder uriBuilder = uriInfo.getAbsolutePathBuilder().path(this.getClass(), list); and     String uniqueKey = Integer.toString(index++);     String href =

Re: How To Route SoapHttp Request to SoapJMS

2011-05-19 Thread Willem Jiang
Hi, What kind of error did you get? BTW, according the route configure that I got, you should not use the jaxws:endpoint. Here is an example[1] in camel that you make take a look. [1]https://cwiki.apache.org/CAMEL/cxf-example.html Willem On 5/18/11 11:58 PM, Harshal wrote: Hi All, I am

Re: Expose MBeans in CXF

2011-05-19 Thread Sergey Beryozkin
Hi Shenglin Please don't copy all the response collection, copy only relevant fragments. Because there are 2 unrelated MBean filtered out, http://localhost:8080/services/jmx/list/mbean/0 - CXF BUS CXF Bus is definitely relevant, as it is in the org.apache.cxf domain. Please include it

RE: Expose MBeans in CXF

2011-05-19 Thread Shenglin Qiu
Yes Sergey, will have these following pattern: http://localhost:8080/services/jmx/mbean/0 - CXF Bus http://localhost:8080/services/jmx/mbean/01 - UserService http://localhost:8080/services/jmx/mbean/0123 - CustomerService http://localhost:8080/services/jmx/mbean/01234 - GreeterService

Re: Expose MBeans in CXF

2011-05-19 Thread Sergey Beryozkin
HI Shenglin On Thu, May 19, 2011 at 2:54 PM, Shenglin Qiu dabaip...@hotmail.com wrote: Yes Sergey, will have these following pattern: http://localhost:8080/services/jmx/mbean/0  - CXF Bus http://localhost:8080/services/jmx/mbean/01   - UserService

Re: Expose MBeans in CXF

2011-05-19 Thread Sergey Beryozkin
Every MBean should have a unique id so that we can work with it later on individually. 0, 1, 2, 3, n, represents the unique part in the otherwise same URI. When working with MBeans (when populating MBeans collections, etc) you need to associate some unique number with every MBean. Have some local

How to use xmlbeans databinding in CXF wsdl2java?

2011-05-19 Thread Chun Zhang
Hello, I need to generate Java code using CXF wsdl2java with xmlbeans databinding. I tried it using the CustomerService.wsdl file from the wsdl_first sample. See attached file. I got the following generated code for the CustomerService interface. Here is partial code. See attached

Re: compiler error in proxy classes

2011-05-19 Thread Freeman Fang
Hi, wsdl2java generate code have javax.xml.ws.WebServiceFeature[] is per jaxws 2.2 spec, however java6 build-in jaxws 2.1 api which cause compile error You have 2 options to work around it 1. endorsed jaxws2.2 and jaxb2.2 api in your jdk, take a look at [1] to get more details 2. You can

Re: How to use xmlbeans databinding in CXF wsdl2java?

2011-05-19 Thread Daniel Kulp
This looks like a bug in the XMLBeans databinding. It looks like it cannot handle the collections/arrays for the unwrapping cases. Can you log an issue? You can flip it to BARE mode by creating a small binding file containing: jaxws:bindings wsdlLocation=CustomerService.wsdl