Click here to Skip to main content
15,947,958 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Actually I have the following webmethod:

Public Function deliveryNotification(transId As String, messageId As String, [from] As String, [to] As String, status As Integer, tariffId As System.Nullable(Of Integer), price As System.Nullable(Of Double), errorCode As System.Nullable(Of Integer), errorMessage As String) As <XmlElement("genericResponse")>

the webservice work fine but when my cliente send me tag "errorCode" empty the web service return HTTP 500 (Internal Error)
There is an error in XML Document (23,41).

This is the XML body TAG empty of my client:


My client work with with Java. I have made a client in Net and work fine but the XML body tag is the following:

<errorCode xsi:nil="true"/>

Somebody help me please.


What I have tried:

I need the webservice working with the tag empty as supplied by the client

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900