Hi All, I have to implement a WS-Trust STS that issues SAML2.0 tokens. It is not possible using rampart and rahas, so I decided to code it on my own.
I try to get the WSDL from oasis with errors: [EMAIL PROTECTED] ~ $ wsdl2java.sh -uri http://docs.oasis-open.org/ws-sx/ws-trust/200512/ws-trust-1.3.wsdl -pn SecurityTokenService Using AXIS2_HOME: /Users/max/Documents/axis2/ Using JAVA_HOME: /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home Retrieving schema at 'http://docs.oasis-open.org/ws-sx/ws-trust/200512/ws-trust-1.3.xsd', relative to 'http://docs.oasis-open.org/ws-sx/ws-trust/200512/ws-trust-1.3.wsdl'. Retrieving schema at 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd', relative to 'http://docs.oasis-open.org/ws-sx/ws-trust/200512/ws-trust-1.3.xsd'. Retrieving schema at 'http://schemas.xmlsoap.org/ws/2004/09/policy/ws-policy.xsd', relative to 'http://docs.oasis-open.org/ws-sx/ws-trust/200512/ws-trust-1.3.xsd'. Retrieving schema at 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd', relative to 'http://schemas.xmlsoap.org/ws/2004/09/policy/ws-policy.xsd'. Retrieving schema at 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd', relative to 'http://schemas.xmlsoap.org/ws/2004/09/policy/ws-policy.xsd'. Retrieving schema at 'http://www.w3.org/2001/xml.xsd', relative to 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'. Retrieving schema at 'http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd', relative to 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'. Retrieving schema at 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd', relative to 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'. Retrieving schema at 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd', relative to 'http://docs.oasis-open.org/ws-sx/ws-trust/200512/ws-trust-1.3.xsd'. Retrieving schema at 'http://www.w3.org/2006/03/addressing/ws-addr.xsd', relative to 'http://docs.oasis-open.org/ws-sx/ws-trust/200512/ws-trust-1.3.xsd'. Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:137) at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21) Caused by: org.apache.axis2.AxisFault: No service was not found in the WSDL at http://docs.oasis-open.org/ws-sx/ws-trust/200512/ws-trust-1.3.wsdl with targetnamespace http://docs.oasis-open.org/ws-sx/ws-trust/200512/ at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:106) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:131) ... 2 more Have you any idea??? How can I find docs on how to customize services.xml in order to generate a WSDL compatible with the OASIS one? Thank you, -- Massimiliano Masi http://www.comunidelchianti.it/~max --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
