Hi,
I am developing Pocket PC application in VB.NET.
Within the application we are using web services developed by outsourced team.
They developed the services in C#.
After adding a web reference to web services in my Pocket PC app, I am not
able to compile Smart device solution.
The same web services are used by web application and they work fine there.
Any ideas. I am kind of new to the subject.
The possible problems I can think of:
- some of the objects used in web services are not supported by .NET Compact
Framework
- Can it be caused by the fact that web services are developed in C#, and
Pocket PC app in VB.NET
I’ve got one more question. When I am adding a web reference (I am using
wizard available in VS .NET 2003), can I specify which functions I want to
add (I do need to use maybe 25% of all functions available)
I am going to research Microsoft documentation, but maybe I can get some
hints from here.
Any suggestions would be really appreciated.
Thank you,
Greg 4 3026
On Fri, 10 Dec 2004 06:41:02 -0800, Greg wrote: I am developing Pocket PC application in VB.NET. Within the application we are using web services developed by outsourced team. They developed the services in C#.
After adding a web reference to web services in my Pocket PC app, I am not able to compile Smart device solution. The same web services are used by web application and they work fine there.
Any ideas. I am kind of new to the subject.
A critical piece of information is missing - what errors do you get when
you compile? Saying "I am not able to compile" is almost meaningless
without specific details and specific lines of code that are causing the
compile error.
The possible problems I can think of: - some of the objects used in web services are not supported by .NET Compact Framework
This is a possibility, but without details that is only speculation.
- Can it be caused by the fact that web services are developed in C#, and Pocket PC app in VB.NET
Not likely, but...
Ive got one more question. When I am adding a web reference (I am using wizard available in VS .NET 2003), can I specify which functions I want to add (I do need to use maybe 25% of all functions available)
This generates a proxy that you can then edit and remove any functionality
that you don't want. Keep in mind that if you refresh the web reference
that the generated proxy will be recreated with all methods found in the
web class. You may want to consider manually generating the proxy class
rather than using a web reference.
--
Tom Porterfield
Hi Tom,
Thank you for reply.
I am getting ‘Maximum number of errors has been exceeded”
One of the errors is: “Type 'SerializationI nfo' is not defined.”
As far as I know SerializationIn fo is not supported by .NET Compact Framework
The corresponding code to the error is:
*************** **
Protected Sub New(ByVal info As SerializationIn fo, ByVal context As
StreamingContex t)
MyBase.New
............... ..............
...............
...............
End Sub
***********
Thanks again for reply,
Greg
"Tom Porterfield" wrote: On Fri, 10 Dec 2004 06:41:02 -0800, Greg wrote:
I am developing Pocket PC application in VB.NET. Within the application we are using web services developed by outsourced team. They developed the services in C#.
After adding a web reference to web services in my Pocket PC app, I am not able to compile Smart device solution. The same web services are used by web application and they work fine there.
Any ideas. I am kind of new to the subject.
A critical piece of information is missing - what errors do you get when you compile? Saying "I am not able to compile" is almost meaningless without specific details and specific lines of code that are causing the compile error.
The possible problems I can think of: - some of the objects used in web services are not supported by .NET Compact Framework
This is a possibility, but without details that is only speculation.
- Can it be caused by the fact that web services are developed in C#, and Pocket PC app in VB.NET
Not likely, but...
Iʼve got one more question. When I am adding a web reference (I am using wizard available in VS .NET 2003), can I specify which functions I want to add (I do need to use maybe 25% of all functions available)
This generates a proxy that you can then edit and remove any functionality that you don't want. Keep in mind that if you refresh the web reference that the generated proxy will be recreated with all methods found in the web class. You may want to consider manually generating the proxy class rather than using a web reference. -- Tom Porterfield
On Fri, 10 Dec 2004 08:05:04 -0800, Greg wrote: Hi Tom,
Thank you for reply. I am getting Maximum number of errors has been exceeded
One of the errors is: Type 'SerializationI nfo' is not defined. As far as I know SerializationIn fo is not supported by .NET Compact Framework
The corresponding code to the error is:
*************** ** Protected Sub New(ByVal info As SerializationIn fo, ByVal context As StreamingContex t) MyBase.New ............... .............. .............. .............. End Sub ***********
You are correct that the SerializationIn fo class is not supported by the
..NET Compact Framework. If the webservice requires an object of that type,
then you will not be able to use that webservice with the compact
framework.
--
Tom Porterfield
Thank you,
It's appreciated,
Greg
"Tom Porterfield" wrote: On Fri, 10 Dec 2004 08:05:04 -0800, Greg wrote:
Hi Tom,
Thank you for reply. I am getting ‘Maximum number of errors has been exceeded”
One of the errors is: “Type 'SerializationI nfo' is not defined.” As far as I know SerializationIn fo is not supported by .NET Compact Framework
The corresponding code to the error is:
*************** ** Protected Sub New(ByVal info As SerializationIn fo, ByVal context As StreamingContex t) MyBase.New ............... .............. .............. .............. End Sub ***********
You are correct that the SerializationIn fo class is not supported by the ..NET Compact Framework. If the webservice requires an object of that type, then you will not be able to use that webservice with the compact framework. -- Tom Porterfield This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: rbt |
last post by:
How does one associate a "Description" with a Windows service written in
Python? I've just started experimenting with Python services. Here's my
code... copied straight from Mr. Hammond's "Python Programming on Win32":
import win32serviceutil
import win32service
import win32event
class test_py_service(win32serviceutil.ServiceFramework):
_svc_name_ = "test_py_service"
|
by: Amol Shambharkar |
last post by:
Hello Everyone,
I am hoping someone could help me out with this.I am using Visual
Studio .NET 2003 to create a web application on a remote IIS 5.0
server using the File Share web access method.The problem is I get the
following two errors everytime I try to create the application:
Error 1:
The web was created successfully, but an error occured trying to
configure the application root of this web.Web projects may not
operate correctly...
|
by: Chris Dunaway |
last post by:
A quick scan of the group did not immediately reveal an answer to my
questions so here goes.
First let me describe my app and then I'll ask the questions.
I am writing a Windows Forms App (not Web Forms) that serves as a thin
client to some web services. In other words, the Windows Forms app will be
installed on the client machines and that app will call web services that
are deployed on my server.
|
by: Matt D |
last post by:
I've got two web services that use the same data types and that
clients will have to consume. I read the msdn article on sharing types
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnservice/html/service07162002.asp)
but I don't want clients to have to add two web references and then
manually have to edit the proxy classes. After doing some searching I
found that putting references to multiple web services in a .disco...
|
by: rmk |
last post by:
How can I get the 2000 and 2005 versions of SQL Server Reporting Services
both working on my development laptop ?????
I have ASP.NET 1.1 and 2.0 installed on my laptop.
I have Visual Studio 2003 and 2005 installed on my laptop.
I have my default website configured for ASP.NET 2.0.
I have the developer edition of SQL Server 2000 installed on my laptop as
| |
by: Jonathan Wood |
last post by:
I was wondering if some of you could advise me on the following issue.
I ported my code that generates shareware licenses to a C# class. I'd like
to get to the point where this is done online (and eventually done
automatically).
What is the best way to expose this functionality on the Web? Are Web
services the answer--I know almost nothing about them?
I'm also wanting to work with RegNow. While they don't seem to currently
|
by: =?Utf-8?B?dmlzaHJ1dGg=?= |
last post by:
This code works fine in Windows Application.
In Windows Application, I am able to zip the image files properly and it
totally contains 900MB
My problem is the same code which I used in my Windows Application,
does not work while I run it with Windows services.
In my Windows application I am able to zip the whole 900Mb without any
problems,
but in my windows services I am not able to zip the whole 900Mb.
In Windows Services it throws an...
|
by: Sylvie |
last post by:
My Windows Application has two forms, one form contains a grid (lets say
Stock Listing), and the other is a form of one stock, contains some edit
boxes for one stock's fields..
Is it possible to run application remotely and retrieve grid and form data
in some way without accessing directly to database server?
Web Services is being used for this purpose I think,
Which methods must be used for this ?
|
by: =?Utf-8?B?QnJhZA==?= |
last post by:
Generally on a Windows system the services file (located in
Windows\System32\Drviers\Etc\Services) would specify port allocation to
different applications. It contains registered ports and dynamic/private
ports. This was used to reduce the chance of Port conflicts. This allowed
applications to use a port name or alias instead of a number.
In WCF, a common paradigm is to allocate your port number in the app.config
file of your...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |