.net: web service in WinForm vs asp.net

Liviathan

Platinum Member
Feb 21, 2001
2,286
0
0
I have an app that consumes a web service. I can consume it no problem in a Winform app...in the asp.net the code below doesn't work. I get that no values are coming back to fill rsp. Works in the app but not the web. Any one had any problems with webservices??

Dim req As New comsbciotlinequalLineQualRequest
Dim rsp As New comsbciotlinequalLineQualResponse

'Dim x As comsbciotcompqualComputerQualifyRequest

With req
.clientID = USERNAME
.clientPassword = PASSWORD
.workingTN = phoneNumber
.requestType = "1"
.appVersion = "1"
'.promo = PROMOCODE
End With

rsp = Service.processLineQual(req)


Return rsp
 

torpid

Lifer
Sep 14, 2003
11,631
11
76
So you are getting an error from the .Net framework correct? Or are you just getting a null object which shouldn't happen?
 

torpid

Lifer
Sep 14, 2003
11,631
11
76
Huh? So which one is happening? Are you getting a valid xml document back with a null object as a response (which is a legitimate response) or are you getting back some malformed or incorrect xml document from the service?

Is this a web service on the same network that might have integrated security enabled (thus explaining why it works in Forms)?