473,397 Members | 1,961 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

PDA WSE 2 & OpenNetCF

Hello all

I am trying to upload/download files via a webservice to/from a PDA.

The webservices are secured using WSE 2.0 (this cannot change).

..NETCF 2 does not support WSE 2.0 so am using OpenNetCFon the PDA.

All works OK but I am having trouble adding a UserNameToken to the SOAP
context and signing the SOAP message with the token.

The equivalent lines I need to replace in 'normal' .NET 2 are....

Dim tok As UsernameToken = New UsernameToken(Username, Password,
PasswordOption.SendPlainText)
proxy.RequestSoapContext.Security.Tokens.Add(tok)
proxy.RequestSoapContext.Security.Elements.Add(New
Microsoft.Web.Services2.Security.MessageSignature( tok))

Can anyone help ?

Much appreciated
Keith Wilson
Nov 9 '06 #1
2 1534
"Keith Wilson" <ke**********@bowe.co.ukwrote in message
news:Ju******************************@bt.com...
Hello all
Please don't cross-post. I've seen your post on three newsgroups so far.

John
Nov 9 '06 #2
Fine.

"John Saunders" <john.saunders at trizetto.comwrote in message
news:eV**************@TK2MSFTNGP04.phx.gbl...
"Keith Wilson" <ke**********@bowe.co.ukwrote in message
news:Ju******************************@bt.com...
>Hello all

Please don't cross-post. I've seen your post on three newsgroups so far.

John


Nov 13 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: DrTebi | last post by:
Hello, I have the following problem: I used to "encode" my email address within links, in order to avoid (most) email spiders. So I had a link like this: <a...
0
by: Thomas Scheffler | last post by:
Hi, I runned in trouble using XALAN for XSL-Transformation. The following snipplet show what I mean: <a href="http://blah.com/?test=test&amp;test2=test2">Test1&amp;</a> <a...
4
by: johkar | last post by:
When the output method is set to xml, even though I have CDATA around my JavaScript, the operaters of && and < are converted to XML character entities which causes errors in my JavaScript. I know...
5
by: EMW | last post by:
Hi, For my windows application I'm using OpenNetCF's serialport stuff but I'm having a small problem. In my program I want to list a range of available ports to select. This works fine for the...
14
by: Arne | last post by:
A lot of Firefox users I know, says they have problems with validation where the ampersand sign has to be written as &amp; to be valid. I don't have Firefox my self and don't wont to install it only...
3
by: vaj | last post by:
Hi, Does anyone know how to load a *.Tab file on to a dataset using opennetcf? I tried doing it but it doesnt seem to work. Private da As OpenNETCF.Data.text.TextDataAdapter: .... .......
3
by: Hugh Janus | last post by:
Hi group, Using an iPaq running Windows Mobile 2003. I have a need where I will want to display a map and then using a bluetooth (or another form of connectivity) GPS unit, receive the data and...
4
by: James Wong | last post by:
Hi, Can WinCE & Pocket PC support the "AsyncCallback"?
1
by: wina | last post by:
Hai, anyone know how to Load a Wav file and put the loaded file as an input for FFT function? I'm building application for SmartPhone using Vb.Net2003 and OpenNETCF library v1.4. It's a violin...
0
by: The Mad Ape | last post by:
Hi experts. I am using VB.Net 2005 as my development environment. I have created an application for the Pocket PC. The data is transferred to the desktop via OpenNETCF and then I use SQL...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
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...
0
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...
0
tracyyun
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.