Hi Seanoc,
I found CXF servlet and the http published server's "?wsdl" can't work,
when I wrote the servlet systest.
I looked into the code yesterday and found you can't make sure the bus
has already built the QueryHanderRegistryImp instance before the
HttpTransport Factory. So I move the HttpTransportFactory's code
which register WSDLQueryHandler to QueryHanderRegistryImp.
I just commited a fix it and added simple systest to test these "?wsdl"
stuff.
You can find the code in revision 503973.
Regards,
Willem.
[EMAIL PROTECTED] wrote:
Author: seanoc
Date: Mon Feb 5 09:10:10 2007
New Revision: 503772
URL: http://svn.apache.org/viewvc?view=rev&rev=503772
Log:
Updated to register itself as a bus extension
Modified:
incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/QueryHandlerRegistryImpl.java
Modified:
incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/QueryHandlerRegistryImpl.java
URL:
http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/QueryHandlerRegistryImpl.java?view=diff&rev=503772&r1=503771&r2=503772
==============================================================================
---
incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/QueryHandlerRegistryImpl.java
(original)
+++
incubator/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/QueryHandlerRegistryImpl.java
Mon Feb 5 09:10:10 2007
@@ -1,3 +1,4 @@
+<<<<<<< .mine
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
@@ -37,6 +38,7 @@
@PostConstruct
public void init() {
queryHandlers = new ArrayList<QueryHandler>();
+ bus.setExtension(this, QueryHandlerRegistry.class);
}
public List<QueryHandler> getHandlers() {
@@ -57,3 +59,4 @@
}
}
+