Hi everybody,
The problem is pesistent with cxf-2.1.3 and cxf-2.2
I have a WS that stops responding after a while. After that no client can
connect and read time outs are happening on the client. The issue is (I think)
a little bit accelerated whe the services is accessed by multiple
Would debugging into the service with Eclipse (or equivalent) remote
debugging help? You could set some breakpoints in your service and see
if any of them get hit when you send a request. Or just hit Suspend
while the client's waiting for a response, and see where the service
is waiting.
Andrew.
Hi
the port numbers turned out to be a red herring...
I just needed to invoke the service differently, referencing the wsdl
explicitly.
I'm now having problems correctly mapping my webservice response - but that
will be another post possibly ;)
trevor
dkulp wrote:
What version of CXF
For Aegis, there is a some information on Confluence, and there are test
cases in the source tree of customization.
On Wed, Mar 25, 2009 at 5:46 PM, Joe-D Morrison joe-d.morri...@db.comwrote:
I'm porting an application from XFire to CXF. The XFire implementation was
a code-first design with
And this is the point at which I have to make the sad observation that I
work on CXF more as a hobby than as day-job, and your idea, while perfectly
plausible to me, seems beyond what I can pile onto my existing stack.
On Wed, Mar 25, 2009 at 2:03 PM, Sergey Beryozkin sbery...@progress.comwrote:
Hi Josh,
We are doing this in the CXF-base Distributed OSGi implementation
(http://cxf.apache.org/distributed-osgi.html), have a look at the
following file:
Hi,
I am using cxf-bundle-jaxrs-2.2.
I tried registering it using
jaxrs:providers
bean id=intArrayProvider
class=com.mycompany.services.rest.util.ArrayParamHandler/
/jaxrs:providers
To make it work, I changed the method getAddressById () to take String
instead of Int[], and inside the
Hi
Sorry for a delay.
I'm wondering would using JSON object annotations solve this problem. Jettison ships them too so perhaps we could've updated
jettison to check if JSONObjects and if they're there then use them to serialize. It's on the map anyway - I didn't get the time yet
to do it.
Gary
On Thursday 26 March 2009, Andrew Clegg wrote:
Would debugging into the service with Eclipse (or equivalent) remote
debugging help? You could set some breakpoints in your service and see
if any of them get hit when you send a request. Or just hit Suspend
while the client's waiting for a
Hi all. I am having trouble defining my WebService as I want it.
Below is a sample how I want the XML to look like when I send it:
com:findProducts
catalogmyCatalog/catalog
attributes
attribute
name?/name
Hello,
I managed to correctly deploy and run the Greeter sample from Distributed
OSGI. However the sample does not use the ServiceDiscovery thus forcing to
hardcoding the WS address on both server and client side. Looking into dosgi
source code I found the implementation of
Hi Marek,
The local Discovery service is really just a facade over statically
configured remote-services.xml files. This local version exposes the same
whiteboard-based interaction model as the full-on distributed Discovery
service, so as to allow the core dOSGi code interact with both in the
The WSDL looks fine. However, it looks like the service itself is not
sending the message back in a form that matches the wsdl. That would be a
bug in that service. You would have to contact them to get that fixed.
Dan
On Wed March 25 2009 4:11:02 am brijesh wrote:
Dan ,
thanks a
Hi
The command
wsdl2java -p com.test.appl.service -d build -exsh true -verbose -b
ServiceBinding.xml TheService.wsdl
works with wsdl2java - Apache CXF 2.1.3 but gives the error below when used
with
[java] wsdl2java - Apache CXF 2.2
[java] WSDLToJava Error: -p option cannot be used
I believe 2.1.4 would show the same error.
Basically, the -p option is NOT safe to use if there are multiple schemas.
Previously, we didn't catch that and the generated code would randomly work
and randomly not work which is not good. It's basically a JAXB issue.
JAXB needs each schema
On Tue March 24 2009 10:14:40 am goelshek wrote:
Added the bug to CXF Jira and also added the source code - simply a
modified version of samples/java_first_jaxws.
Thanks for that. This is now fixed in lastnight's snapshots.
Dan
Thanks.
dkulp wrote:
On Tue March 24 2009 9:15:46 am
The ONLY way I can see to do this is to create a wrapper bean for the
findProducts method and add an @XmlElementWrapper annotation to the field.
It's a shame that that annotation isn't allowed on a parameter so we could map
it in when we build the wrapper types internally.Just checked
Colm,
BTW: I believe 2.1.5 will also exhibit this.
Basically, what is the policy vs what is the configuration?
With 2.1.3, both the protocol (http or https in the url) AND the TLS params
were basically policy. Both had to be specified or not specified.
With 2.1.3, in the https case, the
There is actually another way this error can pop up:
If the wsdl defines a operation, but it cannot be mapped to a method on the
impl. Basically, double check that the service impl has the method and it
EXACTLY matches what the SEI interface defines.
Also, double check the classloaders
If you WANT to go JAXB, Jaxb DOES have @XmlJavaTypeAdapter things that can be
used to convert types to other types as part of
serialization/deserialization. Basically, you define a JAXB type that looks
like what you WANT on the wire, and then write an adapter that converts from
what your
This SOUNDS like a bug in jettison. If you could create a small sample that
just uses the Jettison stream and a JAXBContext that shows this and post that
into the jettison bugs:
http://jira.codehaus.org/browse/JETTISON
that would be best.
Dan
On Wed March 25 2009 5:47:47 am felixsch wrote:
On Thu March 19 2009 10:31:06 am Pieper, Aaron wrote:
I've encountered some strange behavior with CXF's stubs, and I'd like to
know if I should submit a tracker to capture this.
This is actually not something CXF controls at all. It's a JAXB thing. You
MAY be able to file a bug or similar
On Thu March 26 2009 2:29:11 pm nmt999 wrote:
There are multiple wsdl files provided by yahoo. The reason -p option is
used is to create a package for each of the service. If the -p option is
not use the ws2dltojava keeps overwriting the ObjectFactory.java. Could
you suggest me the solution
23 matches
Mail list logo