on 04-04-2008 4:39 AM
Hi there,
does anybody out there now whether facets such as maxLength, etc. are now support in the PI 7.0 Graphical Mapping tool or whether they are still for documentation purposes only.
Thanks. Dieter
Julie-Anne,
your comments are a copy from the online help which I have read as well as tested without success. It appears that facets are still not doing anything in the Graphical mapping tool. It would be nice to get an answer from SAP on this topic.
Thanks. Dieter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dieter,
this is feature is not available in PI 7.0. What you want is part of XML validation, this is acutally not support yet, but it will be supported in the PI7.1, which will come out shortly. You could turn on/off validation as you want, validation costs some performance and sometimes it is not really needed.
At moment it is only doucmentation purpose. In the java mapping the input message will be parsed but NOT validated against XSD. Nevertheless you could do the effort self and validate it in your own mapping programm.
regards,
Hai
Hi,
Facets enable you to restrict the value range of a data type in XML schema to a particular subset. This enables you to determine exactly which value is expected in a special case for a simple data type, an element, or an attribute. For example:
· A telephone number (using a pattern on a string)
· A selection of permitted values, for example to classify the different classes for a flight (using an enumeration)
Before you can use a facet, you must have selected a built-in data type in the Type column for your simple data type, element, or attribute. Otherwise the input field in the Details column remains locked
Using the XSD editor, you can further restrict the value range of a built-in data type for simple data types, elements or attributes.
So, you can use facets in PI 7.0, provided you can avoid the restrictions on them to use.
Regards
Aashish Sinha
PS : reward points if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
maxLength will be supported for ABAP proxy generation but in my opinion other facets are still not supported
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.