Author: jruzzi
Date: Tue Jul 26 17:36:09 2005
New Revision: 225433

URL: http://svn.apache.org/viewcvs?rev=225433&view=rev
Log:
pristine classes for Host service

Added:
    
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/
    
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/AbstractHostHome.java
    
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/AbstractHostResource.java
    
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/AbstractHostService.java
    
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostCustomOperationsPortType.java
    
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostHome.java
    
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostPropertyQNames.java
    
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostResource.java
    
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostService.java
    
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/Host_deploy.wsdd
    
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/Host_jndi-config.xml

Added: 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/AbstractHostHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/AbstractHostHome.java?rev=225433&view=auto
==============================================================================
--- 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/AbstractHostHome.java
 (added)
+++ 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/AbstractHostHome.java
 Tue Jul 26 17:36:09 2005
@@ -0,0 +1,39 @@
+package org.apache.ws.resource.example.host;

+

+import org.apache.ws.resource.impl.AbstractResourceHome;

+import org.apache.commons.collections.map.ReferenceMap;

+import java.util.Map;

+

+/** 

+ * The class acts as an extension of the AbstractResourceHome which

+ * maintains a reference to the STATIC map needed for accessing

+ * resources via JNDI. This ensures the resources will be accessible

+ * when serialized upon lookup from certain JNDI providers.

+ * <p />

+ * ***** WARNING *****

+ * This class is generated by Wsdl2Java and is NOT meant to be modified. 

+ * It will be overwritten by subsequent runs of Wsdl2Java. 

+ */

+abstract class AbstractHostHome extends AbstractResourceHome

+{

+    

+    /**

+     * Map containing all HostResource instances - this map <em>must</em> be 
static for

+     * compatibility with certain JNDI providers.         

+     */

+    private static Map s_resources;

+

+    /**

+     * Returns a map of all HostResource instances. Called by the [EMAIL 
PROTECTED] AbstractResourceHome}

+     * superclass.

+     */

+    protected synchronized final Map getResourceMap()

+    {

+        if ( s_resources == null )

+        {

+            s_resources = AbstractResourceHome.createResourceMap( 
m_resourceIsPersistent );

+        }

+        return s_resources;

+    }

+    

+}


Added: 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/AbstractHostResource.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/AbstractHostResource.java?rev=225433&view=auto
==============================================================================
--- 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/AbstractHostResource.java
 (added)
+++ 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/AbstractHostResource.java
 Tue Jul 26 17:36:09 2005
@@ -0,0 +1,137 @@
+

+package org.apache.ws.resource.example.host;

+

+import org.apache.ws.addressing.EndpointReference;

+

+/**

+ * An abstract base class for the Host resource.

+ * <p />

+ * ***** WARNING *****

+ * This class is generated by Wsdl2Java and is NOT meant to be modified. 

+ * It will be overwritten by subsequent runs of Wsdl2Java. 

+ */

+public abstract class AbstractHostResource  implements 
org.apache.ws.resource.PropertiesResource {

+    

+    /**

+     * The resource ID of the instance.

+     */

+    protected String m_id;

+    

+    /** The EndpointReference for this resource **/

+    protected EndpointReference m_endpointReference;

+

+        /**

+     * The set of properties associated with this resource.

+     */

+    protected org.apache.ws.resource.properties.ResourcePropertySet m_propSet;

+            

+    

+    /**

+     * A list of termination listeners to be notified when the resource is 
terminated.

+     */

+    private java.util.List m_terminationListeners = new java.util.ArrayList(); 

+     

+     

+    /**

+     * DOCUMENT_ME

+     *

+     * @param id DOCUMENT_ME

+     */

+    public void setID( Object id )

+    {

+        if ( m_id != null )

+        {

+            throw new IllegalStateException( "This resource's ID has already 
been set." );

+        }

+

+        try

+        {

+            m_id = (String) id;

+        }

+        catch ( ClassCastException cce )

+        {

+            throw new IllegalArgumentException( "Specified ID is not a 
String." );

+        }

+    }

+

+    /**

+     * DOCUMENT_ME

+     *

+     * @param listener DOCUMENT_ME

+     */

+    public void addTerminationListener( 
org.apache.ws.resource.lifetime.ResourceTerminationListener listener)

+    {         

+         m_terminationListeners.add(listener);

+    }

+

+    /**

+     * DOCUMENT_ME

+     *

+     * @return DOCUMENT_ME

+     */

+    public Object getID()

+    {

+        return m_id;

+    }

+

+    public void destroy()

+    {

+       org.apache.ws.resource.lifetime.ResourceTerminationEvent rte = new 
org.apache.ws.resource.lifetime.impl.ResourceTerminationEventImpl(getID(),"Resource
 Destroyed");

+       for (int i = 0; i < m_terminationListeners.size(); i++)

+       {

+           org.apache.ws.resource.lifetime.ResourceTerminationListener 
resourceTerminationEventListener = 
(org.apache.ws.resource.lifetime.ResourceTerminationListener) 
m_terminationListeners.get(i);

+           resourceTerminationEventListener.terminationOccurred(rte);

+       }     

+        return;

+    }

+

+    public void init()

+    {

+                

+                
org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart1.IdentityPropertiesDocument 
propsDoc = 
org.oasisOpen.docs.wsdm.x2004.x12.muws.wsdmMuwsPart1.IdentityPropertiesDocument.Factory.newInstance();

+        m_propSet = new 
org.apache.ws.resource.properties.impl.XmlBeansResourcePropertySet( propsDoc );

+               

+              

+    }

+    

+   /**

+    * Returns the EndpointReference associated with this Resource.

+    *

+    * @return The Resource's EndpointReference or null if the 
EndpointReference has not been set.

+    * 

+    * Note: It is the responsibility of the Resource creator to set the 
EndpointReference (i.e. ResourceHome impl)

+    */

+    public EndpointReference getEndpointReference()

+    {

+            return m_endpointReference;        

+    }

+    

+   /**

+    * Sets the EndpointReference associated with this Resource.

+    *

+    * @param epr The Resource's EndpointReference.

+    * 

+    * Note: It is the responsibility of the Resource creator to set the 
EndpointReference (i.e. ResourceHome impl)

+    */

+    public void setEndpointReference(EndpointReference epr)

+    {

+            m_endpointReference = epr;        

+    }

+    

+

+    /**

+     * @see 
org.apache.ws.resource.PropertiesResource#setResourcePropertySet(org.apache.ws.resource.properties.ResourcePropertySet)

+     */

+    public void setResourcePropertySet( 
org.apache.ws.resource.properties.ResourcePropertySet propSet )

+    {

+        m_propSet = propSet;

+    }

+

+    /**

+     * @see org.apache.ws.resource.PropertiesResource#getResourcePropertySet()

+     */

+    public org.apache.ws.resource.properties.ResourcePropertySet 
getResourcePropertySet()

+    {

+        return m_propSet;

+    }      

+}


Added: 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/AbstractHostService.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/AbstractHostService.java?rev=225433&view=auto
==============================================================================
--- 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/AbstractHostService.java
 (added)
+++ 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/AbstractHostService.java
 Tue Jul 26 17:36:09 2005
@@ -0,0 +1,96 @@
+

+package org.apache.ws.resource.example.host;

+

+import org.apache.ws.resource.ResourceContext;

+import org.apache.ws.resource.handler.SoapMethodNameMap;

+import org.apache.ws.resource.handler.WsrfService;

+import org.apache.ws.resource.AbstractPortType;

+import org.apache.ws.resource.handler.ServiceSoapMethodNameMap;

+import javax.xml.namespace.QName;

+

+/**

+ * An abstract base class for the Host service.

+ * <p />

+ * ***** WARNING *****

+ * This class is generated by Wsdl2Java and is NOT meant to be modified. 

+ * It will be overwritten by subsequent runs of Wsdl2Java. 

+ */

+public abstract class AbstractHostService extends AbstractPortType

+    implements org.apache.ws.resource.handler.WsrfService, 
org.apache.ws.resource.properties.v2004_06.porttype.GetResourcePropertyPortType 
{

+

+   public static final String TARGET_NSURI = 
"http://ws.apache.org/resource/example/Host";;

+   public static final String TARGET_NSPREFIX = "Host";

+

+   /**

+    * DOCUMENT_ME

+    */

+   private ServiceSoapMethodNameMap m_methodNameMap;

+

+   /**

+    * DOCUMENT_ME

+    */

+   private boolean m_isInitialized;

+

+   public AbstractHostService( ResourceContext resourceContext )

+   {

+      super(resourceContext);

+   }

+

+   /**

+    * DOCUMENT_ME

+    *

+    * @param requestQname DOCUMENT_ME

+    *

+    * @return DOCUMENT_ME

+    */

+   public String getMethodName( QName requestQname )

+   {

+      if ( !m_isInitialized )

+      {

+         init(  );

+      }

+

+      return m_methodNameMap.getMethodName( requestQname );

+   }

+

+ 

+   /**

+    * DOCUMENT_ME

+    *

+    * @return DOCUMENT_ME

+    */

+   public final SoapMethodNameMap getMethodNameMap(  )

+   {

+      return m_methodNameMap;

+   }

+   

+      /**

+       * DOCUMENT_ME

+       */

+   public void init(  )

+   {

+      m_methodNameMap    = new ServiceSoapMethodNameMap( getResourceContext(  
) );

+      m_isInitialized      = true;

+   }

+   

+   

+      /**

+       * DOCUMENT_ME

+       *

+       * @return DOCUMENT_ME

+       */

+   protected final boolean isInitialized(  )

+   {

+         return m_isInitialized;

+   }

+

+   /**

+    * @see 

+    */

+   public 
org.oasisOpen.docs.wsrf.x2004.x06.wsrfWSResourceProperties12Draft01.GetResourcePropertyResponseDocument
 getResourceProperty( 
org.oasisOpen.docs.wsrf.x2004.x06.wsrfWSResourceProperties12Draft01.GetResourcePropertyDocument
 requestDoc )

+   {

+      return new 
org.apache.ws.resource.properties.v2004_06.porttype.impl.GetResourcePropertyPortTypeImpl(
 getResourceContext(  ) ).getResourceProperty( requestDoc );

+   }

+

+

+}


Added: 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostCustomOperationsPortType.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostCustomOperationsPortType.java?rev=225433&view=auto
==============================================================================
--- 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostCustomOperationsPortType.java
 (added)
+++ 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostCustomOperationsPortType.java
 Tue Jul 26 17:36:09 2005
@@ -0,0 +1,16 @@
+

+package org.apache.ws.resource.example.host;

+

+/**

+ * An interface containing all custom operations from the Host service's

+ * most-derived portType.

+ * <p />

+ * ***** WARNING *****

+ * This class is generated by Wsdl2Java and is NOT meant to be modified. 

+ * It will be overwritten by subsequent runs of Wsdl2Java. 

+ */

+public interface HostCustomOperationsPortType

+{

+   

+   

+}


Added: 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostHome.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostHome.java?rev=225433&view=auto
==============================================================================
--- 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostHome.java
 (added)
+++ 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostHome.java
 Tue Jul 26 17:36:09 2005
@@ -0,0 +1,84 @@
+

+package org.apache.ws.resource.example.host;

+

+import org.apache.ws.resource.Resource;

+import org.apache.ws.resource.ResourceContext;

+import org.apache.ws.resource.ResourceContextException;

+import org.apache.ws.resource.ResourceException;

+import org.apache.ws.resource.ResourceUnknownException;

+import org.apache.ws.resource.impl.AbstractResourceHome;

+import org.apache.ws.addressing.EndpointReference;

+

+import javax.xml.namespace.QName;

+

+import java.io.Serializable;

+

+/**

+ * The home for Host resources.

+ * <p />

+ * NOTE: This file is generated, but is meant to be modified.

+ *       It will NOT be overwritten by subsequent runs of Wsdl2Java.

+ */

+public class HostHome

+        extends AbstractHostHome

+        implements Serializable

+{

+

+    /**  The service endpoint name as registered with the SOAP Platform.  This 
is useful for building EPR's. **/

+    public static final QName SERVICE_NAME = 
javax.xml.namespace.QName.valueOf("{http://ws.apache.org/resource/example/Host}Host";);

+

+    /** The management PortType associated with this resource. This is useful 
for building EPR's.**/

+    public static final QName PORT_TYPE = 
javax.xml.namespace.QName.valueOf("{http://ws.apache.org/resource/example/Host}HostPortType";);

+

+    /** The WSDL Port name associated with the resource. This is useful for 
building EPR's. **/

+    public static final String PORT_NAME = "host";

+

+    /** The name of the resource key for this resource. **/

+    public static final QName RESOURCE_KEY_NAME = 
javax.xml.namespace.QName.valueOf("{http://ws.apache.org/resource/example/Host}ResourceIdentifier";);

+

+        /**

+     * A NamespaceVerionHolder which maintains the QNames of Spec Wsdls

+     */

+     public static final 
org.apache.ws.muws.v1_0.impl.WsdmNamespaceVersionHolderImpl SPEC_NAMESPACE_SET 
= new org.apache.ws.muws.v1_0.impl.WsdmNamespaceVersionHolderImpl();

+        /** A constant for the JNDI Lookup name for this home. **/

+    public static final String  HOME_LOCATION =

+     org.apache.ws.resource.JndiConstants.CONTEXT_NAME_SERVICES + "/" + 
SERVICE_NAME.getLocalPart() + "/" + 
org.apache.ws.resource.JndiConstants.ATOMIC_NAME_HOME;

+

+    /**

+     * Create and add any resource instances.

+     *

+     * @throws Exception on error

+     */

+    public void init() throws Exception

+    {

+        super.init();

+        // You may create and add any known resource instances here.

+        //String instance1_id = "00000001";

+        //HostResource instance1 = (HostResource) createInstance( instance1_id 
);

+        //add( instance1_id, instance1 );

+

+        HostResource host = (HostResource) createInstance( null );

+        add( host );

+    }

+

+    public QName getServiceName()

+    {

+        return SERVICE_NAME;

+    }

+

+    public QName getPortType()

+    {

+        return PORT_TYPE;

+    }

+

+    public String getServicePortName()

+    {

+        return PORT_NAME;

+    }

+

+    public QName getResourceKeyNameQName()

+    {

+        return RESOURCE_KEY_NAME;

+    }

+

+}


Added: 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostPropertyQNames.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostPropertyQNames.java?rev=225433&view=auto
==============================================================================
--- 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostPropertyQNames.java
 (added)
+++ 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostPropertyQNames.java
 Tue Jul 26 17:36:09 2005
@@ -0,0 +1,18 @@
+package org.apache.ws.resource.example.host;

+

+import javax.xml.namespace.QName;

+

+/** 

+ * QNames of the resource properties associated with the Host resource.

+ * <p />

+ * ***** WARNING *****

+ * This class is generated by Wsdl2Java and is NOT meant to be modified. 

+ * It will be overwritten by subsequent runs of Wsdl2Java. 

+ */

+public interface HostPropertyQNames

+{

+    

+            QName RESOURCEID =

+            new QName( 
"http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd";, 
"ResourceId", "muws-p1-xs");        

+    

+}


Added: 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostResource.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostResource.java?rev=225433&view=auto
==============================================================================
--- 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostResource.java
 (added)
+++ 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostResource.java
 Tue Jul 26 17:36:09 2005
@@ -0,0 +1,49 @@
+

+package org.apache.ws.resource.example.host;

+

+/**

+ * A Host WS-Resource.

+ * <p />

+ * NOTE: This file is generated, but is meant to be modified.

+ *       It will NOT be overwritten by subsequent runs of Wsdl2Java.

+ */

+public class HostResource extends AbstractHostResource

+

+{

+

+        /**

+     * A NamespaceVerionHolder which maintains the QNames of Spec Wsdls

+     */

+    public static final 
org.apache.ws.muws.v1_0.impl.WsdmNamespaceVersionHolderImpl SPEC_NAMESPACE_SET 
= new org.apache.ws.muws.v1_0.impl.WsdmNamespaceVersionHolderImpl();

+

+    /**

+     * Initializes this resource's state (properties, etc.).

+     */

+   public void init()

+       {

+           super.init();

+

+           /**

+                * The ResourcePropertySet which contains all the defined 
ResourceProperties

+                */

+               org.apache.ws.resource.properties.ResourcePropertySet 
resourcePropertySet = getResourcePropertySet();

+               org.apache.ws.resource.properties.ResourceProperty 
resourceProperty = null;

+

+

+       try{

+               // init the 
{http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd}ResourceId 
resource property

+               resourceProperty = resourcePropertySet.get( 
HostPropertyQNames.RESOURCEID );

+               resourceProperty.setCallback( new 
org.apache.ws.muws.ResourceIdResourcePropertyCallback( this ) );

+               // NOTE: it's not necessary to add a property change listener, 
since the ResourceId prop is immutable

+

+

+

+               }

+       catch (Exception e)

+       {

+          throw new javax.xml.rpc.JAXRPCException("There was a problem in 
initializing your resource properties.  Please check your init() method. Cause: 
" + e.getLocalizedMessage());

+       }

+

+

+   }

+}


Added: 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostService.java
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostService.java?rev=225433&view=auto
==============================================================================
--- 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostService.java
 (added)
+++ 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostService.java
 Tue Jul 26 17:36:09 2005
@@ -0,0 +1,54 @@
+package org.apache.ws.resource.example.host;

+

+import org.apache.ws.resource.ResourceContext;

+import org.apache.xmlbeans.XmlObject;

+import org.apache.xmlbeans.XmlException;

+

+import javax.xml.rpc.JAXRPCException;

+

+/**

+ * A Host service.

+ *

+ * This class is generated ONCE and never overwritten.

+ * If there is a change to the WSDL, then the generated implemented interfaces

+ * representing the implemented portTypes will change, thus showing a compile 
error to the

+ * user.

+ * <p />

+ * NOTE: This file is generated, but is meant to be modified.

+ *       It will NOT be overwritten by subsequent runs of Wsdl2Java.

+ */

+public class HostService

+   extends AbstractHostService 

+   implements HostCustomOperationsPortType

+{

+   

+      

+   /**

+    * A NamespaceVerionHolder which maintains the QNames of Spec Wsdls

+    */

+   public static final 
org.apache.ws.muws.v1_0.impl.WsdmNamespaceVersionHolderImpl SPEC_NAMESPACE_SET 
= new org.apache.ws.muws.v1_0.impl.WsdmNamespaceVersionHolderImpl();

+    

+   /**

+    * Creates a new [EMAIL PROTECTED] HostService } object.

+    *

+    * @param resourceContext DOCUMENT_ME

+    */

+   public HostService( ResourceContext resourceContext )

+   {

+      super(resourceContext);

+      init();

+   }

+   

+      /**

+    * Returns a collection of Spec Namespaces associated with this Service

+    *

+    * @return A NamespaceVersionHolder impl which represents the collection of 
spec namespaces 

+    *         associated with this service.

+    */

+   protected org.apache.ws.resource.properties.NamespaceVersionHolder 
getNamespaceSet()

+   {

+      return SPEC_NAMESPACE_SET;

+   }

+   

+      

+}


Added: 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/Host_deploy.wsdd
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/Host_deploy.wsdd?rev=225433&view=auto
==============================================================================
--- 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/Host_deploy.wsdd
 (added)
+++ 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/Host_deploy.wsdd
 Tue Jul 26 17:36:09 2005
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>

+

+<!-- ***** WARNING: This file will be overwritten during generation. ***** -->

+

+<deployment xmlns="http://xml.apache.org/axis/wsdd/"; 

+            xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>

+

+   <service name="Host" provider="java:WSRF" style="document" use="literal">

+      

+      <wsdlFile>/wsdl/Host.wsdl</wsdlFile>      

+      

+      <requestFlow>

+         <handler type="java:org.apache.axis.handlers.JAXRPCHandler">

+            <parameter name="className" 
value="org.apache.axis.message.addressing.handler.AxisServerSideAddressingHandler"
 />

+            <parameter name="referencePropertyNames" value="*" />

+         </handler>

+      </requestFlow>      

+      

+      <responseFlow>

+         <handler type="java:org.apache.axis.handlers.JAXRPCHandler">

+            <parameter name="className" 
value="org.apache.axis.message.addressing.handler.AxisServerSideAddressingHandler"
 />

+            <parameter name="referencePropertyNames" value="*" />

+         </handler>

+      </responseFlow>            

+      

+   </service>

+

+</deployment>


Added: 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/Host_jndi-config.xml
URL: 
http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/Host_jndi-config.xml?rev=225433&view=auto
==============================================================================
--- 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/Host_jndi-config.xml
 (added)
+++ 
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/Host_jndi-config.xml
 Tue Jul 26 17:36:09 2005
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>

+

+<!-- ***** WARNING: This file will be overwritten during generation. ***** -->

+

+<jndiConfig xmlns="http://www.apache.org/wsfx/wsrf/jndi/config";>

+

+   <service name="Host">

+      <resource name="home" 
type="org.apache.ws.resource.example.host.HostHome">

+         <resourceParams>

+            <parameter>

+               <name>serviceClassName</name>

+               <value>org.apache.ws.resource.example.host.HostService</value>

+            </parameter>

+            <parameter>

+               <name>resourceClassName</name>

+               <value>org.apache.ws.resource.example.host.HostResource</value>

+            </parameter>

+            <parameter>

+               <name>wsdlTargetNamespace</name>

+               <value>http://ws.apache.org/resource/example/Host</value>

+            </parameter>            

+            <parameter>

+               <name>resourceIdentifierReferenceParameterName</name>

+               
<value>{http://ws.apache.org/resource/example/Host}ResourceIdentifier</value>

+            </parameter>            

+         </resourceParams>

+      </resource>

+   </service>

+

+</jndiConfig>

+




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to