WinCE6.0 COM+ & WebServiceHost support

  • Thread starter Thread starter Sunny
  • Start date Start date
S

Sunny

Hello every body,

We have an application runing on XP which consists of following......
1) Web browser accessing the ASP application running on remote XP machine.
2) Web Service host developed using System.Web.Services.Webservice namespace
running on local machine, this service serves the request of the ASP
application running on the remote machine and this webservice makes use of
the following COM+ to complete that request.
3) COM+ component developed using System.EnterpriseServices namespace, this
component commands the serial port device as per the incoming requets from
local webservice.

Now we are planning to migrate this app from WinXP to WinCE6.0 and we found
that....
1) It has a webbrowser which can consume/access the ASP application running
on remote machine.
2) It supports a Native/unmanaged Web Service hosting, tried sample
webservice host, it is working fine.
3) No COM+, since there was no COM+, we tried to access the serial port
through the webservice, but it we were not able to do that.

So we are thinking what would be the alternative approach for this one

Comments/Suggestion would be greatly appreciated.

Thank you
Sunny
 
Hello Experts,

Is it not possible to access serial port through web-service?
Please suggest any alternative approach.

Thankyou
Sunny
 
If you wrote the web service is native code (which is the only option in CE)
then yes, the code can do pretty much anything, including opening and using
a serial port.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded World
www.OpenNETCF.com
 
Hai ctacke,

Thank for replying,
I tried to access the serial port through a webservice, but i was not able
to do so and the platfrom builder raised a access violation exception in the
debug window...

what could be the issue?

Thankyou
Sunny
 
Without seeing the code or the violation, all I can guess is that you have a
bug in your code.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded World
www.OpenNETCF.com
 
Write your own activeX object, and register it in CE6.
You can call this object from you script-code and do basically anything.

I did this, it works fine.
I donot think the lack of com-support is your problem, certain objects that
are available in XP, are just not present in CE. (like the filesystemobject
for instance)

Greetings,
Rob.
 
Back
Top