Kbase P116834: Unable to deploy a Web Service on a machine which has a hostname that contains a "-" or "_" characte
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  8/7/2007 |
|
Status: Unverified
FACT(s) (Environment):
OpenEdge 10.1x
OpenEdge 10.0B
Web Services
SYMPTOM(s):
Unable to deploy a Web Service on a machine which has a hostname that contains a "-" or "_" character
Unable to deploy a Web Service on a machine which has a hostname that contains a dash or underscore character
The Progress Explorer tool returns an error when deploying a Web Service
The WSAMAN utility returns an error when deploying a Web Service
Failed to deploy Web Service for: wsa1
WSA request error: Unable to initialize application
Failed to parse the WSM file entered: test.wsm.
File doesn't contain valid WSM content. Deploy cannot proceed.
Unable to read WSM file: test.wsm (10803)
The wsa1.wsa.log file contains several error messages
wsa1 ---------------- XML parsing error: NULL
wsa1 Admin-Provider Message: cvc-datatype-valid.1.2.1: ''http://server_test:8080/wsa/wsa1'' is not a valid ''anyURI'' value.
wsa1 Admin-Provider Line: 44 Column: 76
wsa1 Admin-Provider Message: cvc-type.3.1.3: The value ''http://server_test:8080/wsa/wsa1'' of element ''SoapEndpointURL'' is not valid.
CAUSE:
This is due to a bug in the Xerces Parser version 2.4.
CAUSE:
Bug# OE00129436
FIX:
This bug is fixed in OpenEdge 10.1A or later versions, which upgraded to the version 2.6.2 parser. However, Progress Explorer is still broken in 10.1A because it still uses the 2.4 parser due to requirements of the Microsoft JVM. To deploy a service that has a - or _ character in its hostname on 10.1A, use the WSAMAN utility instead of the Progress Explorer.
To deploy and run a service that has a - or _ character in its hostname in OpenEdge 10.0B, replace the version of the Xerces parser with the current 2.6.2 version by following these steps:
- Make a backup of the xercesImpl.jar and xmlParserAPIs.jar files located in the WSA servlet (e.g.: Tomcat/webapps/wsa/WEB-INF/lib).
- Replace these files with the ones which are packed with OpenEdge 10.1A.
- Restart your Java Servlet Engine (JSE).
- Deploy your Web Service using the WSAMAN utility, e.g.: wsaman -name wsa1 -wsm test.wsm -deploy