axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Smithian <joe.smith...@gmail.com>
Subject AXIS 2 WSDL Validation probelm
Date Sun, 15 Jul 2012 15:27:48 GMT
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?!

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?
 Can WSDL validation work with local copies of the xsd/dtd files?

I'd appreciate your comments and suggestions to fix the problem.

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-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


Mime
View raw message