Hi Joe, Please see my comments inline. On Sun, Jul 15, 2012 at 8:57 PM, Joe Smithian <joe.smith...@gmail.com>wrote:
> Hi all, > > I have some SOAP web services applications based on AXIS2-1.1.1 > running on Tomcat 6, they have been running for many years without > problem, but in the past few days some of them failed at validating > WSDL at startup because of problem accessing the schema files on > www.oasis-open.org website as you can see in the logs below. I'm > wondering if other people have experienced the same problem recently. > Maybe oasis has changed the location of the schema files?! > No, the file is still there at the given location. The change i see is http is being redirected to https. But I'm not quite sure that will be the reason for this issue. > > What's the proper way of fixing the problem? If I download all the > external schema files and store them on the server and change the > schemalocation > in the WSDL to local copies of the xsd files, would that work? > Yes, it will work. But make sure those xsd files are present in the META-INF directory of the service archive. Can WSDL validation work with local copies of the xsd/dtd files? > Yes, AFAIK. > > I'd appreciate your comments and suggestions to fix the problem. > Can you put this schema definition inline on your wsdl or import it as a local reference as suggested above and try again? If the error still occurs then there is an issue with this schema. In the mean time ill have a look at this schema file. Thanks, Kishanthan. > > 2012-07-11 17:38:33,981 INFO > org.apache.axis2.deployment.DeploymentEngine - Deploying module : > soapmonitor-1.1.1 > [Fatal Error] oasis-sstc-saml-schema-protocol-1.1.xsd:1:50: White > spaces are required between publicId and systemId. > 2012-07-11 17:38:34,640 ERROR > org.apache.axis2.description.WSDL11ToAxisServiceBuilder - > javax.wsdl.WSDLException: WSDLException (at > /wsdl:definitions/wsdl:types/xs:schema): faultCode=PARSER_ERROR: > Problem parsing > ' > http://www.oasis-open.org/committees/download.php/3408/oasis-sstc-saml-schema-protocol-1.1.xsd' > .: > org.xml.sax.SAXParseException: White spaces are required between > publicId and systemId. > 2012-07-11 17:38:34,641 INFO > org.apache.axis2.deployment.repository.util.ArchiveReader - Trouble > processing wsdl file :WSDLException (at > /wsdl:definitions/wsdl:types/xs:schema): faultCode=PARSER_ERROR: > Problem parsing > ' > http://www.oasis-open.org/committees/download.php/3408/oasis-sstc-saml-schema-protocol-1.1.xsd' > .: > org.xml.sax.SAXParseException: White spaces are required between > publicId and systemId.; nested exception is: > javax.wsdl.WSDLException: WSDLException (at > /wsdl:definitions/wsdl:types/xs:schema): faultCode=PARSER_ERROR: > Problem parsing > ' > http://www.oasis-open.org/committees/download.php/3408/oasis-sstc-saml-schema-protocol-1.1.xsd' > .: > org.xml.sax.SAXParseException: White spaces are required between > publicId and systemId. > 2012-07-11 17:38:35,403 INFO > org.apache.axis2.deployment.DeploymentEngine - Deploying Web service > XmCryptoService.aar > Jul 11, 2012 5:38:35 PM org.apache.coyote.http11.Http11AprProtocol start > INFO: Starting Coyote HTTP/1.1 on http-8443 > Jul 11, 2012 5:38:35 PM org.apache.catalina.startup.Catalina start > INFO: Server startup in 2699 ms > Command Result : 0 (Success) > > > Regards, > > Joe > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org > For additional commands, e-mail: java-user-h...@axis.apache.org > >