org.apache.ws.util.platform.websphere
Class WebsphereJaxRpcPlatform

java.lang.Object
  extended byorg.apache.ws.util.platform.JaxRpcPlatform
      extended byorg.apache.ws.util.platform.websphere.WebsphereJaxRpcPlatform

public class WebsphereJaxRpcPlatform
extends JaxRpcPlatform

Author:
Sal Campana

Field Summary
 
Fields inherited from class org.apache.ws.util.platform.JaxRpcPlatform
AXIS, WEBLOGIC
 
Constructor Summary
WebsphereJaxRpcPlatform()
           
 
Method Summary
 ResourceContext createResourceContext(javax.xml.rpc.handler.soap.SOAPMessageContext soapMsgContext)
          Creates a ResourceContext for this request.
 java.lang.String getDescription()
          Returns a short description of the platform.
 java.lang.String getEndpointUrl(java.lang.String baseWebappUrl, java.lang.String serviceName)
          Returns the platform-specific endpoint url for a service on a given platform.
 java.lang.String getSoapFactoryImpl()
          Returns the SOAPFactoryImpl class name.
 java.lang.String toString()
          Returns the description of the JAX-RPC platform.
 
Methods inherited from class org.apache.ws.util.platform.JaxRpcPlatform
getJaxRpcPlatform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebsphereJaxRpcPlatform

public WebsphereJaxRpcPlatform()
Method Detail

getDescription

public java.lang.String getDescription()
Returns a short description of the platform.

Specified by:
getDescription in class JaxRpcPlatform
Returns:
a short description of the platform

getEndpointUrl

public java.lang.String getEndpointUrl(java.lang.String baseWebappUrl,
                                       java.lang.String serviceName)
Returns the platform-specific endpoint url for a service on a given platform.

An example of this would be:
baseWebappUrl = http://localhost:8080/wsrf
serviceName = filesystem

On the Axis platform the endpoint URL is: http://localhost:8080/wsrf/services/filesystem

Specified by:
getEndpointUrl in class JaxRpcPlatform
Parameters:
baseWebappUrl - The url containing the webapp context (i.e. http://localhost:8080/wsrf)
serviceName - The service name which is registered with the platform
Returns:
The endpoint url for the service.

getSoapFactoryImpl

public java.lang.String getSoapFactoryImpl()
Returns the SOAPFactoryImpl class name.

Specified by:
getSoapFactoryImpl in class JaxRpcPlatform
Returns:
SOAPFactoryImpl class name.

createResourceContext

public ResourceContext createResourceContext(javax.xml.rpc.handler.soap.SOAPMessageContext soapMsgContext)
                                      throws java.lang.Exception
Creates a ResourceContext for this request.

Specified by:
createResourceContext in class JaxRpcPlatform
Parameters:
soapMsgContext - the JAX-RPC SOAP message context for this request
Returns:
a ResourceContext for this request
Throws:
java.lang.Exception

toString

public java.lang.String toString()
Returns the description of the JAX-RPC platform.

Specified by:
toString in class JaxRpcPlatform
Returns:
String


Copyright © 2004-2005 Apache Software Foundation. All Rights Reserved.