I have created a new Security Policy token for Rampart say <CustomToken> of type SignedSupportingToken. It successfully generates a request with custom tag in the policy.xml
<sp:SignedSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> <wsp:Policy> <sp:CustomToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient" /> </wsp:Policy> </sp:SignedSupportingTokens> Now i want to deploy a service which requests for Custom tokens from clients. For that i added the custom jars to the axis/lib in tomcat/webapps and above part to the services.xml of the service and deployed it. But it does not generates the wsdl for the service and displays a message "Internal Error" . When i check the tomcat stack trace following exception was found. [INFO] getData request failed for dialect, http://schemas.xmlsoap.org/wsdl/ org.apache.axis2.dataretrieval.DataRetrievalException: javax.xml.stream.XMLStrea mException: No open start element, when trying to write end element at org.apache.axis2.dataretrieval.WSDLDataLocator.outputInlineForm(WSDLD ataLocator.java:135) at org.apache.axis2.dataretrieval.WSDLDataLocator.getData(WSDLDataLocato r.java:73) etc... What can be the solution for this. Any suggestion is most welcome. Thanks and regards, shyameniw -- View this message in context: http://old.nabble.com/Generating-WSDL-for-custom-rampart-policy-token-tp31260403p31260403.html Sent from the Axis - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@axis.apache.org