Gen Web Service Wizard WSDL file with DBCS fails to open in Axis
search cancel

Gen Web Service Wizard WSDL file with DBCS fails to open in Axis

book

Article ID: 50834

calendar_today

Updated On:

Products

Gen Gen - Workstation Toolset

Issue/Introduction

If a Procedure Step Action Diagram Description contains DBCS characters, the generated WSDL file fails to open after deployment to Axis and the user will receive an error of the form:

AXIS error
Sorry, something seems to have gone wrong... here are the details:
Fault - ; nested exception is:
com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence

Environment

Component: Gen Web Service Wizard Plug-In

Resolution

DBCS characters are supported in the generated Proxy XML .xsd file (since early Gen 8.0 generator PTF). However the Web Service Wizard (WSW) Plug-in which creates the .wsdl from the .xsd file only supports single byte file I/O and this results in any DBCS characters being corrupted in the generated .wsdl file.

To enhance the WSW to support DBCS characters is not something that is feasible with a PTF and so this problem will be addressed in a future release.

Workaround:

  1. Remove DBCS/NLS characters from the Procedure Step Action Diagram Description in the model prior to generation of the Proxy with XML option.

    or

  2. Remove DBCS/NLS characters in documentation tag in the generated .xsd file before generating the .wsdl with the WSW plug-in.

Additional Information