As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
Indeed you can create a synonym from an xsd (or with the xml itself, albeit with less information).
The first line of an xsd should look something like this:
<?xml version="1.0" encoding="utf-8"?>
The xsd must be valid; you may want to validate it in a tool like xmlspy if you have one, or download a free tool like xmlpad.
There is an example of creating a synonym in the DataMigrator User's Guide for 7.6.
The procedure has changed somewhat for 7.7. Configure an adapter for XML, then select Create Synonym. For Base Location enter the location of the xml document. Then click Next. Then for Base Location enter the location of the xsd. Then click Create Synonym.This message has been edited. Last edited by: Clif,
N/A
Posts: 397 | Location: New York City | Registered: May 03, 2007
I went ahead and validated the schema with XMLPAD. I've retreieved the documentation you mention and for the most part - it appears to be what I am doing.
I believe you were commenting on what the first line of the xsd should look like - but it seems it got cut off.
I am not sure if would make a different - but I can upload the schema if needed.
It looks like eve treated the xml snippet as xml. I edited the post to put code markers around it. However since you've validated the xsd it should be good to go.
Please upload the schema and I will try to create the synonym myself.
N/A
Posts: 397 | Location: New York City | Registered: May 03, 2007
Originally posted by Clif: The problem is the line
<version>1.8.0</version>
I removed it and (using 7.7.03M) was able to create the synonym, which takes a while because it's humongous.
Which unfortunately means it's too large to use as is. What do you want to do with it?
Sorry - I got pulled away to another project. As you said, the schema is huge. I have a list of the elements I have to map - my plan at the moment is to create to a Focus database will all the data field values - use that as the source and map each data field to the element in the XML synonym - is that a viable option - I've looked at the IWAY documentation - not much there on a process like this.
Any alternatives? Open to suggestions.
Update - I tried creaing a flow - by mapping a few of the field - as you mention the synonym is too large to use as is -
(FOC336) THE SUM OF ALL FIELD LENGTHS EXCEEDS MAXIMUM.
Is there an alternative way to reduce it?This message has been edited. Last edited by: InformSRB,