Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
11 replies
Subscribers
8 subscribers
Views
4214 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
We had CDT's created by pointing to a remote WSDL - we deleted it and am now
padmanabhanv
over 9 years ago
We had CDT's created by pointing to a remote WSDL - we deleted it and am now trying to import it back from a lower environment.
Getting the following error - "An error occurred while importing the XSD. No types have been imported. Details: Type Error: Qualified name not unique or temporary". We deleted all the CDTS from the environment and have cleared the JBoss cache too(restarted) - but the issue still prevails while importing. Searched the forum for similar issues, but not finding much help - most of the issues raised in the forum on this aspect are unanswered. Any pointers?
Thanks,
Paddy
OriginalPostID-175737
OriginalPostID-175737
Discussion posts and replies are publicly visible
0
Tom Ryan
Appian Employee
over 9 years ago
Can you confirm that you have deleted ALL the CDTs that were created? It sounds like you have missed some. Try sorting by namespace as well, that might help.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
padmanabhanv
over 9 years ago
Yes, we deleted everything. Double checked. No luck !
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Tom Ryan
Appian Employee
over 9 years ago
Can you attach the import log
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
singaravelus
over 9 years ago
Here is the error message from the log.
datatype {
bridgerinsight.lexisnexis.com/BridgerInsight.Web.Services.Interfaces.9.0}CountryPhraseType
"{
bridgerinsight.lexisnexis.com/BridgerInsight.Web.Services.Interfaces.9.0}CountryPhraseType":
An error occurred while creating datatype [uuid={https://bridgerinsight.lexisnexis.com/BridgerInsight.Web.Services.Interfaces.9.0}CountryPhraseType]: An error occurred while importing the XSD. No types have been imported. Details: Invalid Type: Type Error: Qualified name not unique or temporary - {
bridgerinsight.lexisnexis.com/BridgerInsight.Web.Services.Interfaces.9.0}CountryPhraseType
(APNX-1-4050-000) (APNX-1-4071-007)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
Is this a Cloud environment?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
Based on the name of that CDT I think you're facing the same issue I describe here:
forum.appian.com/.../e-115143
caused by CDTs from Web Sevices with enumerations.
In addition to review my suggestion from that post, if you can create a support case that would be better.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
padmanabhanv
over 9 years ago
Yes, I had seen that post Eduardo- had kept it as the last resort. Will try out the plugin approach tomorrow. Thanks.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
padmanabhanv
over 9 years ago
Eduardo, Tried the plugin approach, not working...Throws a nullPointer on this line - Datatype dataType = ts.getTypeByQualifiedName(qName);
Thoughts?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
Your code needs to take two arguments: Name and Namespace. In your code you build a qName object and work with it:
QName qName = new QName(namespace, name);
Datatype dataType = ts.getTypeByQualifiedName(qName);
ts.deactivateTypes(new Long[] {dataType.getId()});
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
padmanabhanv
over 9 years ago
We did do that. The qName is getting set, but the next line throws the null pointer exception.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
>