org.ow2.jonas.ws.cxf.http
Class JOnASWSDLQueryHandler

java.lang.Object
  extended by org.apache.cxf.transport.http.WSDLQueryHandler
      extended by org.ow2.jonas.ws.cxf.http.JOnASWSDLQueryHandler
All Implemented Interfaces:
org.apache.cxf.transports.http.QueryHandler, org.apache.cxf.transports.http.StemMatchingQueryHandler

public class JOnASWSDLQueryHandler
extends org.apache.cxf.transport.http.WSDLQueryHandler

This WSDLQuery handler will update the SOAP address of the WSDL by replacing the existing address by the given URL.

Author:
Florent Benoit

Constructor Summary
JOnASWSDLQueryHandler(org.apache.cxf.Bus bus, String portBindingURI)
          Build a new WSDL Query Handler that will update the port binding with the given URL.
JOnASWSDLQueryHandler(org.apache.cxf.Bus bus, String url, org.apache.cxf.service.model.EndpointInfo ei, WebservicesContainer container)
           
 
Method Summary
protected  void updateDefinition(javax.wsdl.Definition definition, Map<String,javax.wsdl.Definition> done, Map<String,javax.wsdl.extensions.schema.SchemaReference> doneSchemas, String base, org.apache.cxf.service.model.EndpointInfo endpointInfo)
          Overrides the super method by using the definition object and updating the SOAP address.
 
Methods inherited from class org.apache.cxf.transport.http.WSDLQueryHandler
getResponseContentType, isRecognizedQuery, isRecognizedQuery, updatePublishedEndpointUrl, updateSchemaImports, writeResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JOnASWSDLQueryHandler

public JOnASWSDLQueryHandler(org.apache.cxf.Bus bus,
                             String portBindingURI)
Build a new WSDL Query Handler that will update the port binding with the given URL.

Parameters:
bus - the bus used by this handler.
portBindingURI - the URI of the port binding

JOnASWSDLQueryHandler

public JOnASWSDLQueryHandler(org.apache.cxf.Bus bus,
                             String url,
                             org.apache.cxf.service.model.EndpointInfo ei,
                             WebservicesContainer container)
Method Detail

updateDefinition

protected void updateDefinition(javax.wsdl.Definition definition,
                                Map<String,javax.wsdl.Definition> done,
                                Map<String,javax.wsdl.extensions.schema.SchemaReference> doneSchemas,
                                String base,
                                org.apache.cxf.service.model.EndpointInfo endpointInfo)
Overrides the super method by using the definition object and updating the SOAP address.

Overrides:
updateDefinition in class org.apache.cxf.transport.http.WSDLQueryHandler
Parameters:
definition - the definition used to get the WSDL service
done - the map between WSDL and definition objects.
doneSchemas - the map between XSD and SchemaReference objects
base - the base URI
endpointInfo - the endpoint info


Copyright © 2010 OW2 Consortium. All Rights Reserved.