Return-Path: X-Original-To: apmail-axis-java-user-archive@www.apache.org Delivered-To: apmail-axis-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 55B77DB0F for ; Sun, 15 Jul 2012 15:28:25 +0000 (UTC) Received: (qmail 6844 invoked by uid 500); 15 Jul 2012 15:28:24 -0000 Delivered-To: apmail-axis-java-user-archive@axis.apache.org Received: (qmail 6536 invoked by uid 500); 15 Jul 2012 15:28:18 -0000 Mailing-List: contact java-user-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@axis.apache.org Delivered-To: mailing list java-user@axis.apache.org Received: (qmail 6490 invoked by uid 500); 15 Jul 2012 15:28:16 -0000 Delivered-To: apmail-ws-axis-user@ws.apache.org Received: (qmail 6483 invoked by uid 99); 15 Jul 2012 15:28:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Jul 2012 15:28:15 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of joe.smithian@gmail.com designates 209.85.214.177 as permitted sender) Received: from [209.85.214.177] (HELO mail-ob0-f177.google.com) (209.85.214.177) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Jul 2012 15:28:09 +0000 Received: by obbta17 with SMTP id ta17so11459748obb.22 for ; Sun, 15 Jul 2012 08:27:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=HrlEzS6YiubwlN6aXpIZl1WKSoQ7O9WSDwAOEwV3QgA=; b=iYY/KR6y7x18jA+EQmdSlVXw7VblaPvXDau2KZLQpvzKuoVWbYCjXl5il5tjgpr6Af epmnYEoBJ8fmEQdzOMuzEKUs31pnLQdgqcVQ/Mr/JBJXh9JSPASGoZqMhwb4BIfVwtiK pv7vO+0v2Nmjff3u6YhliV6Axxb9+5RDGI4VDQ4Dh8D04fnJ4ujjwgYPPXJW8NIISkPm i4d3bzurwEAayBP9fPVxWLiel+yEyx2Xpt8WCu8QjPHXeq5U6G7VZPLeWUEerirf/2Zg FBKSPU3R4OBbIkfmukUMYptGSVRvtZc5te5Z/LOo49mBQYLZS7QoM8357HfZBWnbFFiQ Dqng== MIME-Version: 1.0 Received: by 10.50.222.170 with SMTP id qn10mr3413693igc.45.1342366068293; Sun, 15 Jul 2012 08:27:48 -0700 (PDT) Received: by 10.50.168.33 with HTTP; Sun, 15 Jul 2012 08:27:48 -0700 (PDT) Date: Sun, 15 Jul 2012 11:27:48 -0400 Message-ID: Subject: AXIS 2 WSDL Validation probelm From: Joe Smithian To: axis-user@ws.apache.org Content-Type: text/plain; charset=ISO-8859-1 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