org.codehaus.xfire.service.object
Interface ServiceBuilder

All Known Implementing Classes:
ObjectServiceBuilder

public interface ServiceBuilder

Author:
Dan Diephouse

Method Summary
 org.codehaus.xfire.service.Service create(java.lang.Class clazz)
          Create a service from the specified class.
 org.codehaus.xfire.service.Service create(java.lang.Class clazz, org.codehaus.xfire.soap.SoapVersion version, java.lang.String style, java.lang.String use)
          Create a service from the specified class.
 org.codehaus.xfire.service.Service create(java.lang.Class clazz, java.lang.String name, java.lang.String namespace, org.codehaus.xfire.soap.SoapVersion version, java.lang.String style, java.lang.String use)
          Create a service from the specified class.
 org.codehaus.xfire.service.Service create(java.lang.Class clazz, TypeMapping tm, java.net.URL wsdlUrl)
          Create a service from a WSDL file.
 

Method Detail

create

org.codehaus.xfire.service.Service create(java.lang.Class clazz)
Create a service from the specified class.

Parameters:
clazz - The service class used to populate the operations and parameters.
Returns:
The service.

create

org.codehaus.xfire.service.Service create(java.lang.Class clazz,
                                          org.codehaus.xfire.soap.SoapVersion version,
                                          java.lang.String style,
                                          java.lang.String use)
Create a service from the specified class.

Parameters:
clazz - The service class used to populate the operations and parameters.
version - The SoapVersion.
style - The service style.
use - The service use.
Returns:
The service.
See Also:
SoapConstants, Soap11, Soap12, SoapVersion

create

org.codehaus.xfire.service.Service create(java.lang.Class clazz,
                                          java.lang.String name,
                                          java.lang.String namespace,
                                          org.codehaus.xfire.soap.SoapVersion version,
                                          java.lang.String style,
                                          java.lang.String use)
Create a service from the specified class.

Parameters:
clazz - The service class used to populate the operations and parameters.
name - The name of the service.
namespace - The default namespace of the service.
version - The SoapVersion.
style - The service style.
use - The service use.
Returns:
The service.
See Also:
SoapConstants, Soap11, Soap12, SoapVersion

create

org.codehaus.xfire.service.Service create(java.lang.Class clazz,
                                          TypeMapping tm,
                                          java.net.URL wsdlUrl)
                                          throws java.lang.Exception
Create a service from a WSDL file. NOTE: This probably doesn't work yet.

Parameters:
clazz - The service class for the wsdl.
tm -
wsdlUrl - The WSDL URL.
Returns:
Throws:
java.lang.Exception


Copyright © 2004-2005 Codehaus. All Rights Reserved.