<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Domain-specific multimodeling - Page 13 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Domain-specific_multimodeling&amp;p=12">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Domain-specific_multimodeling&amp;p=14">3.Next</a>
</p>
<p>to all non-primary key (nonpk) fields of the Survey entity and these attributes are optional. As output, the service returns attributes corresponding to the primary key (pk) fields of Survey, i.e., in this case the surveyId field, and these attributes are mandatory. The purpose of the reference across languages is in this case to reduce redundancy. The attributes of the createSurvey service corresponds to the fields of the Survey entity and it is therefore only necessary to specify them once.</p>

<p><syntaxhighlight lang="xml">  <service name="createSurvey" default-entity-name="Survey" ...           location="org/ofbiz/content/survey/SurveyServices.xml"           invoke="createSurvey"> ...    <permission-service service-name="contentManagerPermission"                        main-action="CREATE"/>    <auto-attributes include="nonpk" mode="IN" optional="true"/>    <auto-attributes include="pk" mode="OUT" optional="false"/>  </service></syntaxhighlight></p><p>
<a accesskey="1" href="page.php?w=Domain-specific_multimodeling&amp;p=12">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Domain-specific_multimodeling&amp;p=14">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
