-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
Undefined
-
---
-
---
The current profile element is defined as:
<xs:complexType name="profileType"> <xs:sequence> <xs:element name="remoting-ejb-receiver" type="remoting-ejb-receiverType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="remote-http-connection" type="remote-http-connectionType" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="static-ejb-discovery" type="static-ejb-discoveryType" minOccurs="0" maxOccurs="1"/> </xs:sequence> <xs:attribute name="name" type="xs:string" use="required"/> </xs:complexType>
2 attributes: exclude-local-receiver and local-receiver-pass-by-value are not defined. These 2 attributes are present in ejb3 resource model:
WildFly Full 22 Model Reference: https://docs.wildfly.org/22/wildscribe/subsystem/ejb3/remoting-profile/index.html
So xml like the following is valid representation of the resources, but is not backed by the schema:
<profiles> <profile name="p" exclude-local-receiver="false" local-receiver-pass-by-value="true"> <static-ejb-discovery> <module uri="http://localhost:8180/wildfly-services" app-name="bar" module-name="foo"/> </static-ejb-discovery> </profile> </profiles>
/subsystem=ejb3/remoting-profile=p:add(exclude-local-receiver=false, local-receiver-pass-by-value=true, static-ejb-discovery=[{app-name=bar, module-name=foo, uri="http://localhost:8180/wildfly-services"}]) {"outcome" => "success"}