Hello Norman.
I tried exactly what you said. Migrated VS2003.NET, ASP.NET 1.1, .NET
Framework 1.1, WSE 2.0 SP3 Web Application to VS2005, ASP.NET 2.0, .Net
Framwwork 2.0, WSE 3.0, Web Application.
There were some errors which i resolved, but there is just one outstanding
error that i cannot figure out how to fix.
In the following code, there is an error on the "RequestSoapContext" line
that says "'RequestSoapContext' is not a member of
'CoyneTruckWebServices.TripExportService.TripExportService'"
This code is exactly as it was in VS2003, where it was working, but i can't
figure out how to get rid of the error.
Dim proxy As New TripExportService.TripExportService
Dim user As New UsernameToken(txtCompany & "\" & txtUserName, txtPassword,
PasswordOption.SendHashed)
proxy.RequestSoapContext.Security.Tokens.Add(user)
Dim node As XmlNode = proxy.RetrieveArchivedTrips(strDate, endDate)
Dim xpDoc As XmlDocument = node.OwnerDocument
Thanks,
Tony
[quoted text, click to view] "Norman Yuan" <NotReal@NotReal.not> wrote in message
news:%23J9t6tyNHHA.3916@TK2MSFTNGP02.phx.gbl...
>I never used WSE2.0, so I do not know if your WSE2.0 app is OK or not under
>VS2005. However, if upgrading app from .NET 1.1 (with VS2003) to .NET2.0
>(with VS2005), it might be better to also upgrade the WS part from WSE2.0
>to WSE3.0. You simply download WSE3.0 SDK from MS and install in yur VS2005
>developing computer. Note, you need to install WSE3.0 runtime to client
>computer where your WSE3.0 application (ASP.NET or smart client app) runs.
>
> "Tony Girgenti" <tony(nospam)@lakesideos.com> wrote in message
> news:OGnoZrrNHHA.4720@TK2MSFTNGP03.phx.gbl...
>> Hello Norman.
>>
>> I am using "enhanced" web services in my 2003 solution with WSE2.0.
>>
>> Can i use WSE2.0 in my new 2005 solution or do i need WSE3.0? If i need
>> WSE3.0, how would i add that in to my solution?
>>
>> Thanks,
>> Tony
>>
>> "Norman Yuan" <NotReal@NotReal.not> wrote in message
>> news:OcdBIRqNHHA.2468@TK2MSFTNGP06.phx.gbl...
>>> It is not "required", it is add-in the VS2005. You only need it for
>>> "enhanced" web services developing.
>>>
>>> "Tony Girgenti" <tony(nospam)@lakesideos.com> wrote in message
>>> news:eHdZEUpNHHA.1240@TK2MSFTNGP03.phx.gbl...
>>>> Hello.
>>>>
>>>> I developed a VS.NET2003(VB), ASP.NET web application client program
>>>> with .NET Framework 1.1, ASP.NET 1.1, IIS 5.1 and WSE 2.0.
>>>>
>>>> I tried to migrate it to VS 2005 Pro(VB), Web Application Projects,
>>>> .NET Framework 2.0, ASP.NET 2.0, IIS 5.1, WSE ?.
>>>>
>>>> Is WSE 3.0 required for VS 2005?
>>>>
>>>> Any help would be gratefully appreciated.
>>>>
>>>> Thanks,
>>>> Tony
>>>>
>>>>
>>>
>>>
>>
>>
>
>