Changing the timeout settings in an IBM Websphere Server

There are two ways you can specify the session timeout in your websphere server : one way is to set the session time out at the server itself and another way is to set this up at the application level. By application, I mean the deployed enterprise application.

To change the server time out open your admin console and navigate to:
Servers > Application Servers > [Your Server] > Session Management

Then set the desired session timeout in minutes. Please note that you also have options to choose not to timeout at all.

Click on the screen shots to view the image in full size.

If you would like to set the session timeout at the application level, navigate to following in your admin console:
Applications > Enterprise Applications > [Your Application] > Session Management

Then set the desired session timeout in minutes.

Originally posted 2010-10-13 12:56:33.

Share

Sample WSDL File Created By Apache Axix 1.3 From A Simple Java File

This is not a WSDL tutorial. I am simply posting a simple Java file and the corresponding WSDL file created by Apache Axix 1.3. This was done using IBM’s Rational Software Architect (RSA) which is equivalent to eclipse IDE.

The java file:

package com.webservice;

public class HelloWebservice {
	
	public String sayHello (String name)
	{
		return "Hello"+name;
	}

}

The above file was converted to WSDL file by Apache Axix 1.3. The following is the generated .wsdl file.

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://webservice.com" 
xmlns:apachesoap="http://xml.apache.org/xml-soap" 
xmlns:impl="http://webservice.com" xmlns:intf="http://webservice.com" 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis version: 1.3
Built on Oct 05, 2005 (05:23:37 EDT)-->
 <wsdl:types>
  <schema elementFormDefault="qualified" targetNamespace="http://webservice.com" 
xmlns="http://www.w3.org/2001/XMLSchema">
   <element name="sayHello">
    <complexType>
     <sequence>
      <element name="name" type="xsd:string"/>
     </sequence>
    </complexType>
   </element>
   <element name="sayHelloResponse">
    <complexType>
     <sequence>
      <element name="sayHelloReturn" type="xsd:string"/>
     </sequence>
    </complexType>
   </element>
  </schema>
 </wsdl:types>

   <wsdl:message name="sayHelloResponse">

      <wsdl:part element="intf:sayHelloResponse" name="parameters"/>

   </wsdl:message>

   <wsdl:message name="sayHelloRequest">

      <wsdl:part element="intf:sayHello" name="parameters"/>

   </wsdl:message>

   <wsdl:portType name="HelloWebservice">

      <wsdl:operation name="sayHello">

         <wsdl:input message="intf:sayHelloRequest" name="sayHelloRequest"/>

         <wsdl:output message="intf:sayHelloResponse" name="sayHelloResponse"/>

      </wsdl:operation>

   </wsdl:portType>

   <wsdl:binding name="HelloWebserviceSoapBinding" type="intf:HelloWebservice">

      <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>

      <wsdl:operation name="sayHello">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="sayHelloRequest">

            <wsdlsoap:body use="literal"/>

         </wsdl:input>

         <wsdl:output name="sayHelloResponse">

            <wsdlsoap:body use="literal"/>

         </wsdl:output>

      </wsdl:operation>

   </wsdl:binding>

   <wsdl:service name="HelloWebserviceService">

      <wsdl:port binding="intf:HelloWebserviceSoapBinding" name="HelloWebservice">

         <wsdlsoap:address location="http://localhost:8080/WebServiceTutorial/services/HelloWebservice"/>

      </wsdl:port>

   </wsdl:service>

</wsdl:definitions>

Blog Widget by LinkWithin

Originally posted 2012-01-21 13:50:48.

Share