Getting A Compact Framework 2.0 App To Consume A WCF Web Service?
Mar 10, 2011
We are in the process of creating a new WCF web service (WCF service that has an basicHttpBinding Endpoint) to carry out some of our business logic. The web application connects not problem at all, however our legacy Compact framework application doesn't seem to see the service at all. Are we on to a loser here and should we just revert to ASMX web service (the Compact framework cannot be upgraded) or is there a way around this?
View 1 Replies
ADVERTISEMENT
Dec 3, 2009
I'm pushing the bounds of what one should ask of others with this one, but I'm totally stuck, so here goes.This is my first web service. Not only that, it's my companies first web service - nobody I work with has ever written or consumed anything like this one. I know these things are not complicated, but for a first kick at the can, this is killing me because the API is so large.
[Code]...
View 1 Replies
May 9, 2010
I need to write a Windows forms app in VB 2008 to communicate with a Web Service.I have searched MSDN and many other sites trying to find a good tutorial or example code with no luck. The one really good piece of code I found did not compile.It needed to import Microsoft.UDDI.I found numerous references to the UDDI SDK, but could not find any site where I could successfully download it.I have the UDDI.dll but it is in my VB 8 folder and would not register.There is no such ddl in my VB 9 folder.
View 3 Replies
Oct 21, 2011
I'm very very new to vb.net. I have the following web service configuration:
1. Axis2
2. Https enabled with -x509
3. Public method: String login(user, password)Everything works well in Java.
I wanna write a vb client to 1. connect to https and authenticate.2. send user / pwd to login() service
3. receive message back from login() service.
View 1 Replies
Jun 19, 2010
i would like to ask if how can my vb.net app client consumes dynamic web service (URL). sometimes my webservice changes its IP thus my vb.net client can't connect to the webservice during compilation of my code. in vb6... i can simply do some dynamic change in my webservice using SOAP
[code]...
View 4 Replies
Jun 21, 2010
I am trying to consume a web service using VS2008.
The code below works in VS2005 but not VS2008 I, suspecting it's to do with WCF. Please can someone help me to solve the puzzle?[code]...
View 2 Replies
Dec 14, 2009
I want to create a class library .NET web project that encapsulates the functionality of consuming a web service. I can create the .NET class web project and add a web service (Visual Studio 2005) but I cannot seem to figure out how to reference it. It's easy to reference in a web site (simply address it by name), but apparently in the class library project things are different because I cannot figure out the namespace or reference name.
View 2 Replies
May 13, 2009
how to publish or consume web service at my server?how to reference web service from different web forms? i have a webservice it works fine at local host. i need to upload web service on my website which is written in visual basic 2008 asp .net and my website is written in c# asp .net. how do i reference web service in my c# page.
View 1 Replies
Sep 13, 2010
I'm building a .NET component that will call an external web service. I used the "Add Service Reference" dialog to add the web service to my component, which generates the code needed to consume the service and adds the settings to the app.config file.I'm testing the component by adding a reference to its DLL from a Console application and calling the appropriate method that creates a new instance of the web service: ... = new MyServiceSoapClient(). However, when I do this, I get the following exception:
InvalidOperationException
Could not find default endpoint element that references contract 'MyServicesSoap' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element.This makes sense since the app.config isn't being brought over with the component's DLL. How can I call the web service without having to rely on the settings in the App.Config?
View 2 Replies
Sep 24, 2010
I'm trying to consume a python web service in my webservice project.how to do that?
View 1 Replies
Jan 22, 2009
I created a dll project in visual studio 2008, and i dont see the add web reference option, only the Service Reference option whish looks like it takes a WCF not a regular asmx web service, is that correct?
View 3 Replies
Nov 16, 2008
I need to create a sound if validation fails. Anyone know how to do that? It can be a wave file or any kind of format.
How can i create a sound in .net compact framework 2.0. using vb.net. I saw codes asking to use system.media class. However in compact framework there do not seem to have this class.
View 1 Replies
Dec 23, 2009
I want to use MySQL with my mobile phone. I have installed the "MySQL Connector" and use this
Dim conn As New MySql.Data.MySqlClient.MySqlConnection
Dim myConnectionString as String
[CODE]....
My machine has erros with "MySql.Data.MySqlClient.MySqlException" and "MySql.Data.MySqlClient.MySqlConnection"
How can i solve this problem? With the normale Framework i can use MySQL...
View 3 Replies
Nov 2, 2009
I cant understand why sending parameters to insert function works slow in .net compact framework.
Forexample following code inserts within 2 seconds
[Code]...
View 1 Replies
Feb 15, 2011
Anyone doing anything with VS2010 and the compact framework ? or do we need to go back to VS2005/VS2008 ?
View 1 Replies
Jan 25, 2012
I need to replace WebRequestFactory, what is this doing?
Public Shared Sub download_file()
Dim wr As HttpWebRequest = CType(WebRequestFactory.Create("http://www.test.com/test.jpg"), HttpWebRequest)
[Code]....
View 1 Replies
Mar 29, 2010
I'm sure this has probably happened to most people but I've run out of UI space and need to create a hotkey or some similar situation to run a method or function.
View 3 Replies
Feb 10, 2009
I am building an application for windows mobile 5.0 using the .net compact framework and the mysql compact framework connector.Using this very simple app, I test the connection to our database:
Dim connection As New MySql.Data.MySqlClient.MySqlConnection("Server=160.10.1.25;Uid=***;Pwd=***;Database=DevAutomate;Pooling=false;")Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
connection.Open()
connection.Close()
End Sub
In the beginning, I was using an emulator to test this and I was getting a MissingManifestResource error. When I figured out that the emulator didn't have a network connection, I connected it to active sync and used the device emulator manager to simulate cradling the device. Next, I got my hands on a HP iPac mobile device running windows windows mobile classic and I get the MissingManifestResource exception again. This time, I have a network connection on my device and it can definately see the database.
View 1 Replies
Mar 9, 2010
[code].....
View 3 Replies
Jan 12, 2009
I am working on the mobile device application and I have a simple form where I have a text box+submit buttom and datagrid
On value enter in textbox+submit, i want to display the the data related to that value (txtbox) in grid.
Now in the compact framework there is no option like Selected value There is selected all, selected text. With the use seleted text is not working.
Dim con3 As New SqlConnection("xxx")
con3.Open()
Dim cmd3 As New SqlCommand
[Code].....
View 2 Replies
Jul 9, 2009
How do I know wich is the current folder of an App?? I mean... Is there a way to know where is the exe located from the running code?
View 5 Replies
Jun 6, 2012
Had any of you tried to migrating the code written in Compact framework (For Windows CE mobile application) into windows application 2010 I did this but getting .resx error i.e resource file error since it is in old version.Has any of you tried a workaroud on this in order to get rid of .resx error.
View 7 Replies
Apr 12, 2011
This is the first time I am working on compressing and decompressing data. I have a byte array(a dataset before compression) which is an already compressed data and I want to decompress it. But the decompression is to be done in .Net Compact framework 2.0 and this framework doesn't have System.IO.Compression library to use GZipStream or DeflateStream.
View 1 Replies
Mar 23, 2010
I'm developing an application with visual studio 2008 and compact framework 3.5 who needs to tell users about the compact framework version. If the user don't have the version specified in the application it sends a message but windows check the version before the application runs and send error message. How can i check the version before windows in vb without compact framework?
View 1 Replies
May 4, 2009
How can I get the state of a modifier key using VB.NET on the Compact Framework, in this case Windows Mobile 6.1. I want to be able to determine if the following keys are pressed or locked:
Shift
CTRL
ALT
and for the Psion Teklogix machines
Orange
Blue
Although I may be able to work this out, if I can determine the others.I want to create my own on-screen indicator panel and want to poll the keys, not using events.
View 1 Replies
Jun 10, 2011
im trying to creat a pocket pc application using visual basic. but i got problem access text file. system always shows that "counld not find a part of path". the code i wrote is like:
Imports System
Imports System.IO
Public Class Form1
[code]....
View 7 Replies
Oct 20, 2009
Is the Compact Framework still in work? It's not in Beta2.
View 2 Replies
Jun 23, 2009
I am writing my first windows ce app. I am using an xml file (app.Config) to store state data... basically user preferences on the last location (connection string) that the person was using before closing the app. I am having trouble understanding what is happening on deploy. It looks like it is copying my xml file to the debug folder on deploy. My problem is, when I save the xml file it is not saving in my project. Is there another folder in which the emulator resides that contains all of the state data and possibly the file that I am writing out? I am saving the doc to the same filepath as I am reading in but it does not actually save or throw error or anything.
View 2 Replies
Nov 3, 2009
Is there a better way of testing if a string can be converted to an integer other than something like the following?
Public Function IsInt(ByVal value As Object) As Boolean
Try
Dim temp As Integer = CInt(value)
[code].....
View 11 Replies
Feb 24, 2009
I am looking for the windows mobile equivelent of a flow layout panel (or any other control that I can use to hold custom controls)
View 2 Replies