Para_De

hi

Can any one tell me if we can create more than one instances of Acme using different Ports

I am not sure whether Acme simulator is configured this way or not......

and please tell me how to do this.

Thanks

Para De



Re: BizTalk RFID How to create more than one instance of acme using different ports

Krishna Kurapati

I assume your question is to simulate two Acme devices using different ports.

if it is the case you can do by running single instance of Device simulator through configuration file which looks like the following

< xml version="1.0" encoding="utf-8" >
<profile>
<section name="NumberOfDevices">
<entry name="DeviceCount">2</entry>
</section>

<section name="DeviceInformation_1">
<entry name="DeviceName">ContosoTestDevice</entry>
<entry name="ConnectionType">TCPIP</entry>
<entry name="IpAddress">0.0.0.0</entry>
<entry name="PortNumber">6666</entry>
<entry name="ProviderId">Contoso</entry>
<entry name="NotificationDataFile">ContosoNotificationConfig.xml</entry>
<entry name="DeviceTranslatorAssemblyPath">Microsoft.Rfid.Test.ContosoDeviceTranslator.dll</entry>
<entry name="DeviceTranslatorConfigFile"></entry>
</section>

<section name="DeviceInformation_2">
<entry name="DeviceName">ContosoTestDevice2</entry>
<entry name="ConnectionType">TCPIP</entry>
<entry name="IpAddress">0.0.0.0</entry>
<entry name="PortNumber">6667</entry>
<entry name="ProviderId">Contoso</entry>
<entry name="NotificationDataFile">ContosoNotificationConfig.xml</entry>
<entry name="DeviceTranslatorAssemblyPath">Microsoft.Rfid.Test.ContosoDeviceTranslator.dll</entry>
<entry name="DeviceTranslatorConfigFile"></entry>
</section>
</profile>

you can change the parameter values you want.





Re: BizTalk RFID How to create more than one instance of acme using different ports

Para_De

Mukul

i have already done this but the setup file is creating only one device under Devices

where the ip:127.0.0.1

and port=6666

but i guess we need two devices one with port 6666 and other with port 6667

so can you tell me what are the changes we need to make in the device.xml

thanks

Para De





Re: BizTalk RFID How to create more than one instance of acme using different ports

Keerthi Kiran[MSFT]

Code Snippet
<ArrayOfDeviceComplete xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MS.Internal.Rfid.ClientUtilities">
<DeviceComplete>
<m_deviceDefinition xmlns:d3p1="
http://schemas.datacontract.org/2004/07/Microsoft.SensorServices.Rfid.Design">
<d3p1:authenticationInfo xmlns:d4p1="
http://schemas.datacontract.org/2004/07/Microsoft.SensorServices.Rfid.Dspi" i:nil="true" />
<d3p1:deviceInformation>
<connectionInformation xmlns="
http://schemas.datacontract.org/2004/07/Microsoft.SensorServices.Rfid.Dspi">
<provider>Acme</provider>
<transportSettings i:type="TcpTransportSettings">
<m_vendorSpecificData xmlns:d7p1="
http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<host>127.0.0.1</host>
<port>6666</port>
</transportSettings>
</connectionInformation>
<providerData xmlns:d5p1="
http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Microsoft.SensorServices.Rfid.Dspi" />
</d3p1:deviceInformation>
<d3p1:name>AcmeTestDevice</d3p1:name>
</m_deviceDefinition>
<m_propertyProfile xmlns:d3p1="
http://schemas.datacontract.org/2004/07/System.IO.SensorServices.Rfid.Client" i:nil="true" />
<m_sourcePropertyProfile xmlns:d3p1="
http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
</DeviceComplete>
<DeviceComplete>
<m_deviceDefinition xmlns:d3p1="
http://schemas.datacontract.org/2004/07/Microsoft.SensorServices.Rfid.Design">
<d3p1:authenticationInfo xmlns:d4p1="
http://schemas.datacontract.org/2004/07/Microsoft.SensorServices.Rfid.Dspi" i:nil="true" />
<d3p1:deviceInformation>
<connectionInformation xmlns="
http://schemas.datacontract.org/2004/07/Microsoft.SensorServices.Rfid.Dspi">
<provider>Acme</provider>
<transportSettings i:type="TcpTransportSettings">
<m_vendorSpecificData xmlns:d7p1="
http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<host>127.0.0.1</host>
<port>6667</port>
</transportSettings>
</connectionInformation>
<providerData xmlns:d5p1="
http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Microsoft.SensorServices.Rfid.Dspi" />
</d3p1:deviceInformation>
<d3p1:name>AcmeTestDevice1</d3p1:name>
</m_deviceDefinition>
<m_propertyProfile xmlns:d3p1="
http://schemas.datacontract.org/2004/07/System.IO.SensorServices.Rfid.Client" i:nil="true" />
<m_sourcePropertyProfile xmlns:d3p1="
http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
</DeviceComplete>
</ArrayOfDeviceComplete>

In device.xml just add one devicecomplete section, change the port and the name. when you import this device.xml two devices will get added to rfidservice. If you are using acme setup sample, you will have to bind the second device to the process (using rfid manager, you can manually bind the device to the process and you can also export the process for further usage)

Hope this helps.

Thanks,

keerthi.







Re: BizTalk RFID How to create more than one instance of acme using different ports

Para_De

Oh its already working after creating two diffent process and devices

anyway thanks for your help

thanks

Para De