Apache CXF API

org.apache.cxf.frontend
Class WSDLGetUtils

java.lang.Object
  extended by org.apache.cxf.frontend.WSDLGetUtils

public class WSDLGetUtils
extends Object


Field Summary
static String AUTO_REWRITE_ADDRESS
           
static String AUTO_REWRITE_ADDRESS_ALL
           
static String PUBLISHED_ENDPOINT_URL
           
static String WSDL_CREATE_IMPORTS
           
 
Constructor Summary
WSDLGetUtils()
           
 
Method Summary
 Document getDocument(Message message, String base, Map<String,String> params, String ctxUri, EndpointInfo endpointInfo)
           
 Map<String,String> getSchemaLocations(Message message, String base, String ctxUri, EndpointInfo endpointInfo)
           
 Set<String> getWSDLIds(Message message, String base, String ctxUri, EndpointInfo endpointInfo)
           
protected  String mapUri(String base, Map<String,javax.wsdl.extensions.schema.SchemaReference> smp, String loc, String xsd)
           
protected  String resolveWithCatalogs(OASISCatalogManager catalogs, String start, String base)
           
protected  void rewriteAddress(String base, Element el, String soapNS)
           
protected  void rewriteAddressProtocolHostPort(String base, Element el, String httpBasePathProp, String soapNS)
           
protected  void setSoapAddressLocationOn(javax.wsdl.Port port, String url)
           
protected  void updateDefinition(Bus bus, javax.wsdl.Definition def, Map<String,javax.wsdl.Definition> done, Map<String,javax.wsdl.extensions.schema.SchemaReference> doneSchemas, String base, EndpointInfo ei, String docBase)
           
protected  void updateDoc(Document doc, String base, Map<String,javax.wsdl.Definition> mp, Map<String,javax.wsdl.extensions.schema.SchemaReference> smp, Message message, String xsd, String wsdl)
           
protected  void updatePublishedEndpointUrl(String publishingUrl, javax.wsdl.Definition def, QName name)
           
protected  void updateSchemaImports(Bus bus, javax.wsdl.extensions.schema.Schema schema, String docBase, Map<String,javax.wsdl.extensions.schema.SchemaReference> doneSchemas, String base)
           
 void updateWSDLPublishedEndpointAddress(javax.wsdl.Definition def, EndpointInfo endpointInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AUTO_REWRITE_ADDRESS

public static final String AUTO_REWRITE_ADDRESS
See Also:
Constant Field Values

AUTO_REWRITE_ADDRESS_ALL

public static final String AUTO_REWRITE_ADDRESS_ALL
See Also:
Constant Field Values

PUBLISHED_ENDPOINT_URL

public static final String PUBLISHED_ENDPOINT_URL
See Also:
Constant Field Values

WSDL_CREATE_IMPORTS

public static final String WSDL_CREATE_IMPORTS
See Also:
Constant Field Values
Constructor Detail

WSDLGetUtils

public WSDLGetUtils()
Method Detail

getWSDLIds

public Set<String> getWSDLIds(Message message,
                              String base,
                              String ctxUri,
                              EndpointInfo endpointInfo)

getSchemaLocations

public Map<String,String> getSchemaLocations(Message message,
                                             String base,
                                             String ctxUri,
                                             EndpointInfo endpointInfo)

getDocument

public Document getDocument(Message message,
                            String base,
                            Map<String,String> params,
                            String ctxUri,
                            EndpointInfo endpointInfo)

mapUri

protected String mapUri(String base,
                        Map<String,javax.wsdl.extensions.schema.SchemaReference> smp,
                        String loc,
                        String xsd)
                 throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

updateDoc

protected void updateDoc(Document doc,
                         String base,
                         Map<String,javax.wsdl.Definition> mp,
                         Map<String,javax.wsdl.extensions.schema.SchemaReference> smp,
                         Message message,
                         String xsd,
                         String wsdl)

rewriteAddress

protected void rewriteAddress(String base,
                              Element el,
                              String soapNS)

rewriteAddressProtocolHostPort

protected void rewriteAddressProtocolHostPort(String base,
                                              Element el,
                                              String httpBasePathProp,
                                              String soapNS)

resolveWithCatalogs

protected String resolveWithCatalogs(OASISCatalogManager catalogs,
                                     String start,
                                     String base)

updateDefinition

protected void updateDefinition(Bus bus,
                                javax.wsdl.Definition def,
                                Map<String,javax.wsdl.Definition> done,
                                Map<String,javax.wsdl.extensions.schema.SchemaReference> doneSchemas,
                                String base,
                                EndpointInfo ei,
                                String docBase)

updateWSDLPublishedEndpointAddress

public void updateWSDLPublishedEndpointAddress(javax.wsdl.Definition def,
                                               EndpointInfo endpointInfo)

updatePublishedEndpointUrl

protected void updatePublishedEndpointUrl(String publishingUrl,
                                          javax.wsdl.Definition def,
                                          QName name)

setSoapAddressLocationOn

protected void setSoapAddressLocationOn(javax.wsdl.Port port,
                                        String url)

updateSchemaImports

protected void updateSchemaImports(Bus bus,
                                   javax.wsdl.extensions.schema.Schema schema,
                                   String docBase,
                                   Map<String,javax.wsdl.extensions.schema.SchemaReference> doneSchemas,
                                   String base)

Apache CXF API

Apache CXF