mladd
Programmer
- Apr 12, 2006
- 46
Development is on Windows XP, and WTX is 8.1.0.2.
Prod will be on Linux
I'm in a bit of a bind here in my current development. We are using Websphere Process Server for all of the interfaces, but WTX for the actual transformation. WPS is calling the WTX mmc's via the Java API.
The problem we are having is that the XSD for WPS is in one location and the WTX xsd to validate the xml is in another location. there seems to be a disjoint in java when the map in memory is referencing a schema in a different location than where the java code thinks it is.
The solution (in talking with the WPS developers) is to allow them to point to a jar file which will include the location of the same xsd that the java app is using, removing the different locations of the xsd.
The problem is that it can't be hardcoded in the type tree importer, as the location will change on every platform.
So my question again, Is there a way to execute a map via the java api to specify a jar file (or classpath?) to point to where the xsd for validation will reside?
I know this is probably confusing, and as I am not a java developer, there is some mis-communication/mis-understanding between the WPS and WTX developers.
Thanks in advance!
Mike
Prod will be on Linux
I'm in a bit of a bind here in my current development. We are using Websphere Process Server for all of the interfaces, but WTX for the actual transformation. WPS is calling the WTX mmc's via the Java API.
The problem we are having is that the XSD for WPS is in one location and the WTX xsd to validate the xml is in another location. there seems to be a disjoint in java when the map in memory is referencing a schema in a different location than where the java code thinks it is.
The solution (in talking with the WPS developers) is to allow them to point to a jar file which will include the location of the same xsd that the java app is using, removing the different locations of the xsd.
The problem is that it can't be hardcoded in the type tree importer, as the location will change on every platform.
So my question again, Is there a way to execute a map via the java api to specify a jar file (or classpath?) to point to where the xsd for validation will reside?
I know this is probably confusing, and as I am not a java developer, there is some mis-communication/mis-understanding between the WPS and WTX developers.
Thanks in advance!
Mike