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
4218 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
Parents
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
Reply
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
Children
No Data