Hello All,
I get the below error while running web service client stub build using axis
2 and rampart 1.6.2. Any clues.
ServiceClient:WC:org.apache.axis2.client.ServiceClient@1
testsI_Reverse_file_ZFI(mTI_EPaymentsReverse_Mahindra3).Applying policy
policy.xml.
xmlWriter:org.apache.axiom.om.impl.MTOMXMLStreamWriter@15856a5
Exception occured:java.lang.RuntimeException: Undefined 'Security policy
namespace cannot be null.' resource property
at
org.apache.rampart.RampartException.getMessage(RampartException.java:81)
at
org.apache.rampart.RampartException.<init>(RampartException.java:41)
at
org.apache.rampart.RampartException.<init>(RampartException.java:57)
at
org.apache.rampart.RampartMessageData.setWSSecurityVersions(RampartMessageDa
ta.java:387)
at
org.apache.rampart.RampartMessageData.<init>(RampartMessageData.java:261)
at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:61)
at
org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65)
at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:427)
at
org.apache.axis2.description.OutOnlyAxisOperationClient.executeImpl(OutOnlyA
xisOperation.java:278)
at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at
corp.mahindra.xi.idbibankintegration.BServ_IDBI_SI_Reverse_file_ZFI_x_xStub.
sI_Reverse_file_ZFI(BServ_IDBI_SI_
Reverse_file_ZFI_x_xStub.java:263)
at
corp.mahindra.xi.idbibankintegration.BServ_IDBI_SI_Reverse_file_ZFI_x_xTest.
testsI_Reverse_file_ZFI(BServ_IDBI
_SI_Reverse_file_ZFI_x_xTest.java:84)
at
com.idbiintech.wsclient.SGNB2BSendReverseFileEUPX.GenerateReverseFile(SGNB2B
SendReverseFileEUPX.java:421)
at
com.idbiintech.wsclient.SGNB2BSendReverseFileEUPX.main(SGNB2BSendReverseFile
EUPX.java:99)
Regards,
Dharmendra Pal
=======================================================
Disclaimer: This e-mail contains privileged information or information
belonging toIDBI Bank Ltd and is intended solely for the addressee/s. Access
to this email by anyone else is unauthorized. Any copying (whole or partial) or
further distribution beyond the original recipient is not intended, and may be
unlawful. The recipient acknowledges that IDBI Bank Ltd is unable to exercise
control or ensure or guarantee the integrity of the contents of the information
contained in e-mail transmissions and further acknowledges that any views
expressed in this message are those of the individual sender and are not
binding on IDBI Bank Ltd. E-mails are susceptible to alteration and their
integrity cannot be guaranteed. IDBI Bank Ltd does not accept any liability for
any damages caused on account of this e-mail. If you have received this
email in error, please contact the sender and delete the material from your
computer.
=======================================================