Search Engine: Elastic

Article ID: 116125, created on May 20, 2013, last review on May 11, 2014

  • Applies to:
  • H-Sphere 3.6.2


  1. When clicking "Softaculous server admin" in H-Sphere, the following message is displayed:

    The Session could not be verified
  2. Web service WSDL file published by H-sphere contains invalid URLs:

    # curl -s '' | grep -o '[^ ]*http.[^ ]*Services[^"]*"' | sort | uniq  

    The URL should be the same in all cases.

  3. The URL from WSDL should produce the following HTTP response:

    # curl
    <p>Hi there, this is an AXIS service!</p>
    <i>Perhaps there will be a form for invoking the service here...</i>


Under certain conditions, Apache Axis may set wrong web service URLs when generating WSDL documents. This leads to connection errors in client applications, which use WSDL for determining SOAP service URLs.


  1. Depending on your network configuration, find the host and port, on which H-Sphere web services are available to the client. For example:

  2. Log in to the Control Panel server, open the Axis config file /hsphere/local/home/cpanel/hsphere/WEB-INF/classes/psoft/hsphere/axis/server-config.wsdd and for each of the web services, manually set URL in the tags 'endpointURL' and 'namespace'. For example:

    <service name="UserServices" provider="java:RPC"/> 
    <parameter name="className" value="psoft.hsphere.axis.UserServices"/> 
    <parameter name="allowedMethods" value="*"/> 
    <beanMapping qname="myNS:AuthToken" xmlns:myNS="urn:UserServices" languageSpecificType="java:psoft.hsphere.axis.AuthToken"/>  

    Another example:

    <service name="MSSQLServices" provider="java:RPC">
    <parameter name="className" value="psoft.hsphere.axis.MSSQLServices"/>
    <parameter name="allowedMethods" value="*"/>
    <beanMapping qname="myNS:AuthToken" xmlns:myNS="urn:MSSQLServices"           languageSpecificType="java:psoft.hsphere.axis.AuthToken"/>
  3. Restart the Control Panel.

  4. Clean up WSDL cache on the client (which is normally, an H-Sphere physical server with Softaculous installed on it):

    rm -f /tmp/wsdl-*  

f213b9fa8759d57bee5d547445806fe7 6311ae17c1ee52b36e68aaf4ad066387 e5eac925e853cc7ef3f6055683c98fbb 2e39a5e5b1423cc126cf735bac076008

Email subscription for changes to this article
Save as PDF