RP/SALT Tuxedo SALT WSDLCVT Problem With Relative Schema Location References

(Doc ID 2003456.1)

Last updated on JUNE 15, 2017

Applies to:

Oracle Service Architecture Leveraging Tuxedo (SALT) - Version 12.1.1.0 and later
Information in this document applies to any platform.

Goal

Oracle Service Architecture Leveraging Tuxedo (SALT) 12.1.1.0
If you have a WSDL and it has a schema location pointing to an xsd file through a relative path (from the point in which the WSDL is located) and
this XSD file has a reference to another XSD, using another relative path, then wsdlcvt does not find the second xsd and fails.

wsdlcvt -i MyTest.wsdl -o TEST -v

 java -classpath $TUXDIRj/salt/xalan/serializer. jar:$TUXDIR/udataobj/salt/xalan/xalan.jar:$TUXDIR/udataobj/salt/xalan/xsltc.jar:
  org.apache.xalan.xslt.Process -XSL $TUXDIR/udataobj/salt/download.xsl -IN MyTest.wsdl -OUT TEST.tw1
  -PARAM TUXDIR $TUXDIR -PARAM LANG C -PARAM TOXML NO -PARAM TOMBSTRING NO -PARAM VERBOSE YES
 
 ERROR: Failed to manipulate the XML document.An exception occurred!
 Type:RuntimeException, Message:The primary document entity could not be opened.
 Id=$TESTDIR/RESOURCES/XSD/MIL/MyTestDir2/MyTestDir2_File.xsd
 WSDLCVT:42:ERROR: Fail to import schema in "".

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms