gmarin

Hi:I am new to RFID Server: Could you give me a simple scenario when I need to integrate BizTalk and RFID Server . Could you give me some ideas about how to integrate RFID Server with BizTalk Thanks!!German


Re: BizTalk RFID 101 scenario: BizTalk and RFID Server

Keerthi Kiran[MSFT]

You might want to send the tagread events (which are generated by the rfid devices configured and managed using BizTalk RFID) to workflows of business logic hosted on BizTalk Server Applications.

You can integrate BizTalk Server applications with BizTalk RFID-enabled applications in several ways, including the following:

? Using the BizTalk SQL adapter to receive the event data stored in the rfidsink database (receive only scenario)

? Using the BizTalk SQL adapter to send a request with to the rfidsink database and get back the event data as a response (solicit-response scenario)

? Using the Web service exposed by BizTalk RFID from a BizTalk orchestration (solicit-response scenario)

We have a sample demonstrating how to integrate BizTalk Server with BizTalk RFID.You can find the download package for this sample online at http://go.microsoft.com/fwlink/ LinkId=83460.

R2B2Samples\RFID\SimpleReceive is sample you can use to understand how to use the BizTalk SQL adapter to receive data about events stored in the rfidsink database. You can extend the orchestration in this sample to implement the workflow of business logic that needs to be executed when the orchestration receives the event data.

You might also find the ConsumeRfidWS sample interesting. It demonstrates how to use the Web services exposed by the Microsoft.Rfid.ManagementWebServiceProxies assembly that ships with BizTalk RFID.

Hope this helps

Thanks,

Keerthi [MSFT]






Re: BizTalk RFID 101 scenario: BizTalk and RFID Server

Anilavar

Keerthi,

The go.microsoft.com link does not seem to work. Can you provide an alternate URL to view this sample Also can you please post a code sample of how to simulate these events in the BizTalk RFID so BizTalk Server can then initiate appropriate Workflow(s) Thank you.






Re: BizTalk RFID 101 scenario: BizTalk and RFID Server

Keerthi Kiran[MSFT]

when you click on the above link it gets redirected to the http://msdnstage.dns.microsoft.com/en-us/sql/bb264601.aspx

In this page you can find something like "To Download these code samples please click here." please follow the instructions to get the samples(from http://go.microsoft.com/fwlink/ LinkId=86689). let us know if this doesnt work for you.

The samples at the above location would have few examples/codes on how to use BizTalk RFID and how to integrate it with BizTalk Server.

Thanks,

Keerthi.






Re: BizTalk RFID 101 scenario: BizTalk and RFID Server

Anilavar

Many thanks Keerthi. It worked. Cheers.




Re: BizTalk RFID 101 scenario: BizTalk and RFID Server

Ashish

Hi,

I tried using the acme sample included with the Biztalk RFID. On starting the 'Acme device provider' from the RFID Manager, the following timeout error is shown:
This request operation sent to net.tcp://localhost:7891/rfid/service/ProviderManager did not receive a reply within the configured timeout (00:01:00).

The firewall is stopped on the machine and there are no ISAPI filters added. I am using a domain account with administrator rights on the machine and the SQL server and the RfidSvcAcc account also has the same rights. Any idea what I may be missing

Ashish Garg






Re: BizTalk RFID 101 scenario: BizTalk and RFID Server

Keerthi Kiran[MSFT]

Hi,

iam guessing that you are running win2k3. if this is the case can you please check the following:

IIS should be configured to run under IIS 6 mode (and not IIS 5 isolation mode).

ASP.NET 2.0 is installed and the website & virtual directory is configured to run under ASP.NET 2.0.

Try browsing to hosting.svc from the virtual directory created for this provider, and ensure that it shows up the service definition.

You can also browse through our trouble shooting tips at %rfidinstalldir%\Documentation\BizTalkRFID.chm under section Microsoft BizTalk RFID Documentation > Troubleshooting BizTalk RFID

In case this does not help, could you please send across the RFID Services logs, provider logs, and the application event logs for further review.

If you are using R2 Beta2 release of Microsoft BizTalk RFID, you can find the

rfid services logs at %rfiddatadir%\logs\

provider logs at %rfiddatadir%\providers\<providername>\

Thanks,

Keerthi.






Re: BizTalk RFID 101 scenario: BizTalk and RFID Server

Ashish

Thanks a lot Keerthi. The ASP.Net 2.0 was the culprit. After switching the version for the websites, the device got started.

Ashish




Re: BizTalk RFID 101 scenario: BizTalk and RFID Server

Tiziana

As I had the same problem, I did all the checks you suggested and everithing was ok, except that browsing hosting.svc form the virtual directory created for the provider I get the message "You are not authorized to view this page" in Internet Explorer. I also saw the log file at %rfiddatadir%\logs\ and there I found the following lines:

at MS.Internal.Rfid.WebProxies.HostingWSClient.Cleanup()
at MS.Internal.Rfid.Service.Hosting.RfidApplicationUtilities.CleanupHostingState(HostingInfo hostingInfo, Boolean ignoreRemoteErrors)The remote server returned an error: (401) Unauthorized. at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)|[Hosting]
19| Info|041107 12:55:38|MutexManager.Unregister returned null. This means that the remote worker process died or signalled via the process handshake|[Hosting]
19| Error|041107 12:55:39|Error from method invocation Microsoft.SensorServices.Rfid.RfidServerException: The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was ''. ---> System.ServiceModel.Security.MessageSecurityException: The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was ''. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.

Have you any idea

Many thank in advance

Regards

Tiziana





Re: BizTalk RFID 101 scenario: BizTalk and RFID Server

Keerthi Kiran[MSFT]

Can you please do the following and try to start the provider and let us know what happens.

  1. Open IIS Manager (Control panel -> Administrative tools -> Internet Information Services Manager)
  2. Open the default website. You will see virtual directories corresponding to your provider/process. The will look like ProviderName<Guid>
  3. On one of them Right click -> Properties -> Directory Security -> In the Authentication and Access control section click the edit button.
  4. Is the anonymous authentication turned on
  5. is ˇ°Integrated Windows Authentication enabled

Thanks,

Keerthi.






Re: BizTalk RFID 101 scenario: BizTalk and RFID Server

Tiziana

In "Authentication Methods" window of ISS Manager I have the following configuration:

"Enable anonymous access" is checked

"User name" is "IUSR_computername"

Password field is set but I don't know the value

In "Authenticated access" part all check boxes are not flagged. I enabled "Integrated Windows authentication" but nothing changed.

Thanks

Tiziana





Re: BizTalk RFID 101 scenario: BizTalk and RFID Server

Keerthi Kiran[MSFT]

when you try browsing throught hosting.svc what events do you see in the eventlogs. This might be an IIS issue. http://blogs.msdn.com/david.wang/archive/2005/07/14/HOWTO_Diagnose_IIS_401_Access_Denied.aspx could throw some light on the issues that you are facing.

Thanks,

Keerthi.






Re: BizTalk RFID 101 scenario: BizTalk and RFID Server

Anilavar

Dear Keerthi,

Many thanks for all your posts. What I am still unable to understand at a functional level is what RFID readers can be emulated using BizTalk RFID How can I view the list of such readers that BizTalk RFID supports

Rgds.,

-Anil






Re: BizTalk RFID 101 scenario: BizTalk and RFID Server

Ashish

Hi,

I was trying to create a device simulator by understanding the Acme device simulator sample. I am not able to understand how we can send tag notifications for a predefined set of tags (may be by reading from an XML file or a user input). I think the devicesimulator.exe generates tag ids and calls the RaiseNotificationEvent of the translator, which notifies the clients. I am trying to create a sample scenario wherein I will read a set of predfined tags and once the tag information is notified to the client, it performs some database search based on that.

Thanx
Ashish





Re: BizTalk RFID 101 scenario: BizTalk and RFID Server

Keerthi Kiran[MSFT]

Anil,

RFID-enabled devices can use BizTalk RFID through the Device Service Provider Interface (DSPI), which provides uniform device abstraction and enables to communicate and manage a large number different devices. Independent hardware vendors (IHVs) use DSPI, which is the uniform software development kit (SDK) that Microsoft provides to build device providers.

Further, you can build RFID-based solutions in BizTalk RFID by using the RFID programming model and a rich set of application programming interfaces (APIs) for event processing. Please look at topics in %rfidinstalldir%\Documentation\BizTalkRFID.chm for more details.

Thanks,

keerthi.