Rodrigue Zablith
asked on
About WF Service string is too long
Hello Expert Team,
I am trying to develop a method in WCF service to dump data in an SQL tables
I asked the user to give us a json string with a specific format
if I test it for a small json , the method works correctly
but I tried to test for a long string it gives 'HTTP Error 414. The request URL is too long.'
<WebGet> _
Function GetHello(UserParam As String) As String
-----------------------
Public Function GetHello(Json_Parameter As String) As String Implements IMobileservice.GetHello
Dim ParameterInfoLength As String = ""
Try
ParameterInfoLength = Json_Parameter
Catch ex As Exception
ParameterInfoLength = ""
End Try
ParameterInfoLength = "This is the result of " & ParameterInfoLength
Return ParameterInfoLength
End Function
Do we have a solution?
Besides, I develop same method using a web services, it gives a window unresponsive to wait/kill, after a wait time , I get an answer, the method displays the string
<WebMethod()> _
Public Function GetHello(Json_Parameter As String) As String
Dim ParameterInfoLength As String = ""
Try
ParameterInfoLength = Json_Parameter
Catch ex As Exception
ParameterInfoLength = ""
End Try
ParameterInfoLength = "This is the result of " & ParameterInfoLength
Return ParameterInfoLength
End Function
What do you suggest?
What is the best and practice method to dump data?
Thank you for your help
I am trying to develop a method in WCF service to dump data in an SQL tables
I asked the user to give us a json string with a specific format
if I test it for a small json , the method works correctly
but I tried to test for a long string it gives 'HTTP Error 414. The request URL is too long.'
<WebGet> _
Function GetHello(UserParam As String) As String
-----------------------
Public Function GetHello(Json_Parameter As String) As String Implements IMobileservice.GetHello
Dim ParameterInfoLength As String = ""
Try
ParameterInfoLength = Json_Parameter
Catch ex As Exception
ParameterInfoLength = ""
End Try
ParameterInfoLength = "This is the result of " & ParameterInfoLength
Return ParameterInfoLength
End Function
Do we have a solution?
Besides, I develop same method using a web services, it gives a window unresponsive to wait/kill, after a wait time , I get an answer, the method displays the string
<WebMethod()> _
Public Function GetHello(Json_Parameter As String) As String
Dim ParameterInfoLength As String = ""
Try
ParameterInfoLength = Json_Parameter
Catch ex As Exception
ParameterInfoLength = ""
End Try
ParameterInfoLength = "This is the result of " & ParameterInfoLength
Return ParameterInfoLength
End Function
What do you suggest?
What is the best and practice method to dump data?
Thank you for your help
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I have recommended this question be closed as follows:
Split:
-- Ryan Chong (https:#a42035559)
-- Monica P (https:#a42186896)
If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.
MacroShadow
Experts-Exchange Cleanup Volunteer