Loosing Parameter Values Across WS

rcombs4

Well-known member
Joined
Aug 6, 2008
Messages
189
Programming Experience
3-5
Hi! And...

It seems that I'm loosing the value of a string when I call a function from my client application.

Client Side Code
VB.NET:
Label1.Text = formIDText
saveTempFile(dekalbWS.GetStateClaimData(formIDText))

The Label Shows the correct value for 'formIDText'
'9539-fc1f3cf7fb1c'
(Including Single Quotes)

Now on my Server Side I'm receiving a value of ""
Server Side Code
VB.NET:
<WebMethod(), SoapHeader("Authentication")> _
    Public Function GetStateClaimData(ByVal formIDText As String) As Byte()

I've never worked with a web service before this and had some trouble getting some of my objects to be serializable. If that was the issue wouldnt I be getting an error rather than just bad data?


Any help would be much appreciated.
 
The problem has been resolved. Still don’t really know what the issue was.

How I fixed it was completely deleted the web reference from the client application. I then added it back. After that everything worked perfectly.
 
Back
Top