Reputation: 24616
I'm trying to follow the tutorial (link) for brs 1.2.2 using developer studio 2.1.
The operation definition seems to be different. This is from the tutorial:
<operation name="placeOrder">
<with-param type="samples.userguide.PlaceOrder"/>
<result>
<element type="samples.userguide.OrderReject"/>
<element type="samples.userguide.OrderAccept"/>
</result>
</operation>
However, developer studio is trying to create the operation definition like follows:
<operation name="placeOrder">
<input namespace="" wrapperElementName=""/>
<output wrapperElementName=""/>
</operation>
Is brs 1.2.2 compatible with developer studio 2.1?
Upvotes: 0
Views: 118
Reputation: 44
No, brs 1.2.2 is not compatible with developer studio. It's brs 2.0.0 version which is compatible with developer studio.
In that version what you would get will be similar to
<operation name="placeOrder">
<input wrapperElementName="placeOrder" namespace="http://com.test/placeorder">
<fact elementName="order" namespace="http://com.test/placeorder" type="samples.userguide.PlaceOrder"></fact>
</input>
<output wrapperElementName="placeOrderRespone" namespace="http://com.test/placeorder">
<fact elementName="orderAccept" namespace="http://com.test/placeorder" type="samples.userguide.OrderAccept"></fact>
<fact elementName="orderReject" namespace="http://com.test/placeorder" type="samples.userguide.OrderReject"></fact>
</output>
</operation>
Upvotes: 3