Hi Deepal,

Thanks very much for your help. But the rampart-1.1.mar I had should be
the latest one. And I am able to run the samples of rampart, does that
mean my rampart library is good. And TCPMon captured the input and
output SOAP packet. There are as following:

Input Packet:
------------------------------------------------------------------------
----
<?xml version='1.0' encoding='UTF-8'?>
   <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
      <soapenv:Header />
      <soapenv:Body>
         <getGuidWSConfig />
      </soapenv:Body>
   </soapenv:Envelope>


Output Packet:
------------------------------------------------------------------------
----
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=UTF-8
Transfer-Encoding: chunked
Date: Tue, 13 Feb 2007 14:42:38 GMT

35b
<?xml version='1.0' encoding='UTF-8'?>
   <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
      <soapenv:Header />
      <soapenv:Body>
         <ndar:GuidWSConfigResponse
xmlns:ndar="http://ndar.nih.gov/webservices/guid";>
            <hashCode1MatchRule>
               <upperT>1</upperT>
               <lowerT>0</lowerT>
            </hashCode1MatchRule>
            <hashCode2MatchRule>
               <upperT>2</upperT>
               <lowerT>1</lowerT>
            </hashCode2MatchRule>
            <hashCode3MatchRule>
               <upperT>3</upperT>
               <lowerT>1</lowerT>
            </hashCode3MatchRule>
            <hashCode4MatchRule>
               <upperT>3</upperT>
               <lowerT>1</lowerT>
            </hashCode4MatchRule>
            <hashCode5MatchRule>
               <upperT>3</upperT>
               <lowerT>1</lowerT>
            </hashCode5MatchRule>
            <subjectMatchRule>
               <thresholdForPerfectMatch>1</thresholdForPerfectMatch>
               <thresholdForGoodMatch>2</thresholdForGoodMatch>
               <thresholdForMixedMatch>2</thresholdForMixedMatch>
            </subjectMatchRule>
         </ndar:GuidWSConfigResponse>
      </soapenv:Body>
   </soapenv:Envelope>
0

The difference between my web service and samples of rampart is my one
is using ADB data binding. Does this affect rampart module?


Hailong


-----Original Message-----
From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 12, 2007 11:59 PM
To: [email protected]
Subject: Re: I got an error after i added <module ref="rampart" /> to
services.xml

Hi Wang,

As I can see you are using an old version of rampart. There was an API
change in handler API of Axis2 and it seems to me that you are using a
rampart version which does not implement that API changes.

Thanks
Deepal

> Hello,
>
>  
>
> Before I add <module ref="rampart" /> to the services.xml and client
> side configuration file axis2.xml, everything works fine. But after I
> add <module ref="rampart" />, I get the following error:
>
>  
>
> java.lang.AbstractMethodError:
>
org.apache.rampart.handler.WSDoAllSender.flowComplete(Lorg/apache/axis2/
context/MessageContext;)V
>
>       at org.apache.axis2.engine.Phase.flowComplete(_Phase.java:434_)
>
>       at
> org.apache.axis2.engine.AxisEngine.flowComplete(_AxisEngine.java:297_)
>
>       at
org.apache.axis2.engine.AxisEngine.send(_AxisEngine.java:529_)
>
>       at
>
org.apache.axis2.description.OutInAxisOperationClient.send(_OutInAxisOpe
ration.java:253_)
>
>       at
>
org.apache.axis2.description.OutInAxisOperationClient.execute(_OutInAxis
Operation.java:219_)
>
>       at
>
gov.nih.ndar.webservices.guid.client.GuidWSStub.getGuidWSConfig(_GuidWSS
tub.java:152_)
>
>       at
>
gov.nih.ndar.webservices.guid.client.GuidWSClient.getGuidWSConfig(_GuidW
SClient.java:55_)
>
>       at
>
gov.nih.ndar.webservices.guid.client.SubjectManager.<init>(_SubjectManag
er.java:40_)
>
>       at
>
gov.nih.ndar.webservices.guid.client.SubjectManager.getInstance(_Subject
Manager.java:45_)
>
>       at
>
org.akaza.openclinica.dao.subject.LdapServer.createPersonId(_LdapServer.
java:707_)
>
>       at
>
org.akaza.openclinica.dao.subject.LdapServer.insertPerson(_LdapServer.ja
va:346_)
>
>       at
>
org.akaza.openclinica.control.submit.AddNewSubjectServlet.processRequest
(_AddNewSubjectServlet.java:441_)
>
>       at
>
org.akaza.openclinica.control.core.SecureController.process(_SecureContr
oller.java:259_)
>
>      at
>
org.akaza.openclinica.control.core.SecureController.doPost(_SecureContro
ller.java:310_)
>
>       at
javax.servlet.http.HttpServlet.service(_HttpServlet.java:709_)
>
>       at
javax.servlet.http.HttpServlet.service(_HttpServlet.java:802_)
>
>       at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(_Applic
ationFilterChain.java:252_)
>
>       at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(_ApplicationFil
terChain.java:173_)
>
>       at
>
org.apache.catalina.core.StandardWrapperValve.invoke(_StandardWrapperVal
ve.java:213_)
>
>       at
>
org.apache.catalina.core.StandardContextValve.invoke(_StandardContextVal
ve.java:178_)
>
>       at
>
org.apache.catalina.authenticator.AuthenticatorBase.invoke(_Authenticato
rBase.java:524_)
>
>       at
>
org.apache.catalina.core.StandardHostValve.invoke(_StandardHostValve.jav
a:126_)
>
>       at
>
org.apache.catalina.valves.ErrorReportValve.invoke(_ErrorReportValve.jav
a:105_)
>
>       at
>
org.apache.catalina.core.StandardEngineValve.invoke(_StandardEngineValve
.java:107_)
>
>       at
>
org.apache.catalina.connector.CoyoteAdapter.service(_CoyoteAdapter.java:
148_)
>
>       at
>
org.apache.coyote.http11.Http11Processor.process(_Http11Processor.java:8
69_)
>
>       at
>
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(_Http11BaseProtocol.java:664_)
>
>       at
>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(_PoolTcpEndpoin
t.java:527_)
>
>       at
>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(_LeaderFollo
werWorkerThread.java:80_)
>
>       at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(_ThreadPoo
l.java:684_)
>
>       at java.lang.Thread.run(_Thread.java:595_)
>
>  
>
>  
>
> Is anyone has any clue about this error? I appreciate your help.
>
>  
>
> **Hailong Wang**
>
> National Database for Autism Research(NDAR)
>
> NIH/CIT/DECA
>
> 9000 Rockville Pike, Bld 12A/Room 2027
>
> Bethesda, MD 20892
>
> Phone:  301-402-3045
>
> Fax:       301-480-0028
>
> Email:   [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
> URL:   http://ndar.nih.gov
>
>  
>

-- 
Thanks,
Deepal
................................................................
"The highest tower is built one brick at a time"



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

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

Reply via email to