Click here to Skip to main content
15,896,118 members
Home / Discussions / Mobile
   

Mobile

 
GeneralRe: eMbedded VC Pin
gUrM33T9-Apr-04 15:13
gUrM33T9-Apr-04 15:13 
GeneralTablet PC ink recognition Pin
obadran8-Apr-04 12:35
obadran8-Apr-04 12:35 
GeneralPalm int to char* conversion help!!! Pin
the6e8-Apr-04 5:55
the6e8-Apr-04 5:55 
GeneralHTML based dialog for the Pocket PC Pin
yamusf8-Apr-04 3:57
yamusf8-Apr-04 3:57 
GeneralIni Files Pin
DonaldL7-Apr-04 22:52
DonaldL7-Apr-04 22:52 
GeneralRe: Ini Files Pin
João Paulo Figueira8-Apr-04 4:05
professionalJoão Paulo Figueira8-Apr-04 4:05 
GeneralGDI+ Pin
Rassul Yunussov7-Apr-04 22:42
Rassul Yunussov7-Apr-04 22:42 
QuestionHow can I reference to a web service at runtime from a PDA Pin
maithoa7-Apr-04 22:02
maithoa7-Apr-04 22:02 
Hi all,

I built a web service client for PDA. My problem is How can my webservice client reference to the ws at runtime. Because the url of webservice can be changed in the future. There isn't UrlBehavior property of web reference in compact framework.

I have tried to modify the Reference.vb file but it doesn't work.

I did this
This is the Sub New procedure generated by .net when I added a web reference using Add Web reference dialog box.
Public Sub New()
MyBase.New
Me.Url = "http://localhost/myTestWebService/service1.asmx"
End Sub

Then i modified it like this

public Sub New(ByVal strWsUrl as String)
MyBase.New
Me.Url = strWsUrl
End Sub

This solution doesn't work 'cause there are still a lot of web methods are called through SoapDocumentMethodAttribute(..) and they are passed static url... I do not want to changed all of these static url.

Here is the code generated automatically for each web method when I used static url-->

'<remarks> <system.web.services.protocols.soapdocumentmethodattribute("http: thoantm="" mytestwebservice="" service1="" getbu0m02",="" requestnamespace:="http://thoantm/myTestWebService/Service1" ,="" responsenamespace:="http://thoantm/myTestWebService/Service1" use:="System.Web.Services.Description.SoapBindingUse.Literal," parameterstyle:="System.Web.Services.Protocols.SoapParameterStyle.Wrapped)"> _

Public Function GetBU0M02(ByVal intDownType As Integer, ByVal strLastDate As String) As System.Data.DataSet

Dim results() As Object = Me.Invoke("GetBU0M02", New Object() {intDownType, strLastDate})
Return CType(results(0),System.Data.DataSet)

End Function
...and more

Can anyone help me. Thanks a lot.......Rose | [Rose]
General&gt;Net Compact Framework DLLs Pin
User 9625787-Apr-04 19:59
User 9625787-Apr-04 19:59 
GeneralPocket PC 2003 emulator without VS .Net Pin
User 9625787-Apr-04 10:15
User 9625787-Apr-04 10:15 
GeneralRe: Pocket PC 2003 emulator without VS .Net Pin
João Paulo Figueira7-Apr-04 14:38
professionalJoão Paulo Figueira7-Apr-04 14:38 
GeneralMenu Pin
Rassul Yunussov6-Apr-04 22:33
Rassul Yunussov6-Apr-04 22:33 
GeneralRe: Menu Pin
João Paulo Figueira7-Apr-04 14:37
professionalJoão Paulo Figueira7-Apr-04 14:37 
GeneralRe: Menu Pin
Rassul Yunussov7-Apr-04 22:41
Rassul Yunussov7-Apr-04 22:41 
GeneralRe: Menu Pin
João Paulo Figueira8-Apr-04 3:57
professionalJoão Paulo Figueira8-Apr-04 3:57 
GeneralRe: Menu Pin
Rassul Yunussov8-Apr-04 7:41
Rassul Yunussov8-Apr-04 7:41 
GeneralPlease help, Internal Server Error 500 on ASP.Net Mobile Pin
irwansyah5-Apr-04 21:35
irwansyah5-Apr-04 21:35 
Generalmobile svg Pin
yvonneitt5-Apr-04 4:43
yvonneitt5-Apr-04 4:43 
Questionhow to convert from CTime to CString HELP Pin
rodneyk12-Apr-04 4:28
rodneyk12-Apr-04 4:28 
AnswerRe: how to convert from CTime to CString HELP Pin
João Paulo Figueira2-Apr-04 4:54
professionalJoão Paulo Figueira2-Apr-04 4:54 
GeneralHelp !!! Problem in calling webservice from PocketPC Pin
Anonymous31-Mar-04 23:21
Anonymous31-Mar-04 23:21 
QuestionQuick Question... Internet? Pin
Anonymous31-Mar-04 12:56
Anonymous31-Mar-04 12:56 
Questionhow to go from CString to char [] Pin
rodneyk131-Mar-04 10:27
rodneyk131-Mar-04 10:27 
AnswerRe: how to go from CString to char [] Pin
Daniel Strigl31-Mar-04 19:43
Daniel Strigl31-Mar-04 19:43 
GeneralRe: how to go from CString to char [] Pin
rodneyk12-Apr-04 4:31
rodneyk12-Apr-04 4:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.