Unable to run SDK Test via HTTP Stub Server provided by Verisign NameStore
Downloaded EPP SDK at http://www.verisign.com/domain-name-services/current-registrars/epp-sdk/name-store-srs/index.html
As given in the Programming Guide at http://www.verisign.com/static/015886.pdf Section 4.2,executed the intructions as it is
1.Set CATALINA_HOME environment variable to the Tomcat home directory
2. Copied eppsdk/lib/xmlParserAPIs-2.6.0.jar and eppsdk/lib/xercesImpl-2.6.0.jar to $CATALINA_HOME/common/endorsed
3.Executed build.sh deploy to deploy namestore.war to $CATALINA_HOME/webapps
4.Executed $CATALINA_HOME/bin/startup.bat to start the Tomcat container. The SDK log files are created in the current directory (i.e. epp.log and epp.err).
The last step gave the following error
5.Could not execute build.bat test-http-client to run the test suite against the HTTP Server Stub.
ERROR LOG :
***************************************************************************************************************************
[junit] [Error] :1:7: cvc-elt.1: Cannot find the declaration of element 'htm
l'.
[junit] [Fatal Error] :1:983: The element type "HR" must be terminated by th
e matching end-tag "</HR>".
[junit] com.verisign.epp.interfaces.EPPCommandException: Couldn't parse resp
onse using DOM API<html><head><title>Apache Tomcat/5.5.17 - Error report</title>
<style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:
#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;bac
kground-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;c
olor:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Ar
ial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,
sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sa
ns-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {
color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404
- /nsgateway/epp</h1><HR size="1" noshade="noshade"><p><b>type</b> Status repor
t</p><p><b>message</b> <u>/nsgateway/epp</u></p><p><b>description</b> <u>The req
uested resource (/nsgateway/epp) is not available.</u></p><HR size="1" noshade="
noshade"><h3>Apache Tomcat/5.5.17</h3></body></html>The element type "HR" must b
e terminated by the matching end-tag "</HR>".
[junit] at com.verisign.epp.interfaces.EPPHttpSession.getDocFromString(E
PPHttpSession.java:813)
[junit] at com.verisign.epp.interfaces.EPPHttpSession.login(EPPHttpSessi
on.java:636)
[junit] at com.verisign.epp.interfaces.EPPSession.initSession(EPPSession
.java:1094)
[junit] at com.verisign.epp.interfaces.EPPSessionTst.initSession(EPPSess
ionTst.java:125)
[junit] at com.verisign.epp.interfaces.EPPSessionTst.testSession(EPPSess
ionTst.java:98)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:597)
[junit] at junit.framework.TestCase.runTest(TestCase.java:154)
[junit] at junit.framework.TestCase.runBare(TestCase.java:127)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at junit.framework.TestResult.run(TestResult.java:109)
[junit] at junit.framework.TestCase.run(TestCase.java:118)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:208)
[junit] at junit.framework.TestSuite.run(TestSuite.java:203)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.
run(JUnitTestRunner.java:326)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.
main(JUnitTestRunner.java:560)
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.375 sec
BUILD FAILED
D:\Verisign\versisign\epp-namestore-3.8.0.2-src\eppsdk\bundles\namestore\common-
targets.xml:270: Following error occured while executing this line
D:\Verisign\versisign\epp-namestore-3.8.0.2-src\eppsdk\bundles\namestore\common-
targets.xml:196: Test com.verisign.epp.interfaces.EPPSessionTst failed
Total time: 26 seconds
*********************************************************************************************************************************
Note:Changes made to the epp-http config in lines 114 and 424 to point the HTTP Stub Server URL correctly
Please help.