Click here to Skip to main content
15,860,859 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Data Reader only producing one row of records. Any ideas why? Pin
jkirkerx12-May-19 13:15
professionaljkirkerx12-May-19 13:15 
GeneralRe: Data Reader only producing one row of records. Any ideas why? Pin
samflex16-May-19 14:39
samflex16-May-19 14:39 
Questionodata Pin
Member 140736591-May-19 2:33
Member 140736591-May-19 2:33 
AnswerRe: odata Pin
jkirkerx3-May-19 9:01
professionaljkirkerx3-May-19 9:01 
QuestionSOAP and using a Class containing two sub classes with same name problem Pin
Martin Stevens26-Apr-19 17:18
Martin Stevens26-Apr-19 17:18 
AnswerRe: SOAP and using a Class containing two sub classes with same name problem Pin
jkirkerx3-May-19 8:38
professionaljkirkerx3-May-19 8:38 
GeneralRe: SOAP and using a Class containing two sub classes with same name problem Pin
Martin Stevens10-May-19 20:03
Martin Stevens10-May-19 20:03 
GeneralRe: SOAP and using a Class containing two sub classes with same name problem Pin
jkirkerx12-May-19 13:03
professionaljkirkerx12-May-19 13:03 
I don't know. It looks like your still using the original models or classes to me and not the modified ones.

I wrote mine like this, but used serialized classes and not actual XML
Then tested it calling the API in the browser, and getting that white and blue page that shows the all the WSDL services.
I remember seeing my class outputted on the screen, but can't remember if it was XML. But I wrote a Win App to call this web service and it worked really well.
<WebMethod(EnableSession:=True)>
    Public Function customers_load(
ByVal CustomerRequest As ws_customers_Request) As ws_customers_Response

        Dim customer As New ws_customers_Response
        Dim customerList As List(Of ws_customers_list) = Nothing

        Dim dwXCode As Integer = crm_ef_login.administrator_Login(
    CustomerRequest.Credentials_Key,
    CustomerRequest.Credentials_Password
)

        If (0 = dwXCode) Then

            If CustomerRequest.PageIndex = 0 Then CustomerRequest.PageIndex = 1
            If CustomerRequest.PageSize = 0 Then CustomerRequest.PageSize = 25

            Dim m_count As Integer = crm_ws_ef_customers.customers_Load(
        CustomerRequest.PageIndex,
        CustomerRequest.PageSize,
        customerList
    )

            If (m_count > 0) Then

                customer.response_Code = "OK"
                customer.response_Text = m_count & " subscribers have loaded successfully"
                customer.customerList = customerList

            Else

                customer.response_Code = "E001"
                customer.response_Text = "No subscribers exist in the database"
                customer.customerList = customerList

            End If

        Else

            customer.response_Code = "E000"
            customer.response_Text = "Failed Authentication"
            customer.customerList = Nothing

        End If

        Return customer

    End Function
<Serializable()>
Public Class ws_customers_Response

    Private m_response_Code As String
    Private m_response_Text As String
    Private m_customerList As List(Of ws_customers_list)

    Public Property response_Code As String
        Get
            Return m_response_Code
        End Get
        Set(value As String)
            m_response_Code = value
        End Set

    End Property

    Public Property response_Text As String
        Get
            Return m_response_Text
        End Get
        Set(value As String)
            m_response_Text = value
        End Set

    End Property

    Public Property customerList As List(Of ws_customers_list)
        Get
            Return m_customerList
        End Get
        Set(value As List(Of ws_customers_list))
            m_customerList = value
        End Set

    End Property

End Class
<Serializable()>
Public Class ws_customers_list

    Private m_CustomerID As Integer
    Private m_FirstName As String
    Private m_LastName As String
    Private m_EmailAddress As String

    Public Property CustomerID As Integer
        Get
            Return m_CustomerID
        End Get
        Set(value As Integer)
            m_CustomerID = value
        End Set

    End Property

    Public Property FirstName As String
        Get
            Return m_FirstName
        End Get
        Set(value As String)
            m_FirstName = value
        End Set

    End Property

    Public Property LastName As String
        Get
            Return m_LastName
        End Get
        Set(value As String)
            m_LastName = value
        End Set

    End Property

    Public Property EmailAddress As String
        Get
            Return m_EmailAddress
        End Get
        Set(value As String)
            m_EmailAddress = value
        End Set

    End Property

End Class
If it ain't broke don't fix it
Discover my world at jkirkerx.com

Questionprint sql data from vb Pin
Member 1433060825-Apr-19 1:17
Member 1433060825-Apr-19 1:17 
AnswerRe: print sql data from vb Pin
Afzaal Ahmad Zeeshan25-Apr-19 1:36
professionalAfzaal Ahmad Zeeshan25-Apr-19 1:36 
QuestionSharing API's between multiple sites in IIS 8.5 Pin
Fred283424-Apr-19 21:39
Fred283424-Apr-19 21:39 
AnswerRe: Sharing API's between multiple sites in IIS 8.5 Pin
Richard Deeming25-Apr-19 1:17
mveRichard Deeming25-Apr-19 1:17 
GeneralRe: Sharing API's between multiple sites in IIS 8.5 Pin
Fred283425-Apr-19 1:47
Fred283425-Apr-19 1:47 
QuestionSo I finally got my Angular wrapped in .Net Core 2.2 app working in a Docker Container on a production server. Pin
jkirkerx16-Apr-19 11:14
professionaljkirkerx16-Apr-19 11:14 
SuggestionRe: So I finally got my Angular wrapped in .Net Core 2.2 app working in a Docker Container on a production server. Pin
Richard MacCutchan20-Apr-19 22:16
mveRichard MacCutchan20-Apr-19 22:16 
GeneralRe: So I finally got my Angular wrapped in .Net Core 2.2 app working in a Docker Container on a production server. Pin
jkirkerx21-Apr-19 8:17
professionaljkirkerx21-Apr-19 8:17 
Questionwithout using session and querty string value pass in another form Pin
UDTWS14-Apr-19 23:39
UDTWS14-Apr-19 23:39 
AnswerRe: without using session and querty string value pass in another form Pin
User 418025415-Apr-19 7:44
User 418025415-Apr-19 7:44 
QuestionExpiry date and Update Expiry Date Pin
Member 1370260513-Apr-19 1:49
Member 1370260513-Apr-19 1:49 
AnswerRe: Expiry date and Update Expiry Date Pin
User 418025415-Apr-19 7:55
User 418025415-Apr-19 7:55 
SuggestionRe: Expiry date and Update Expiry Date Pin
Richard Deeming15-Apr-19 8:25
mveRichard Deeming15-Apr-19 8:25 
AnswerRe: Expiry date and Update Expiry Date Pin
jkirkerx16-Apr-19 9:57
professionaljkirkerx16-Apr-19 9:57 
QuestionIn 3 tier architecture , filling textboxes with values from database table Pin
Member 1418527512-Apr-19 19:17
Member 1418527512-Apr-19 19:17 
AnswerRe: In 3 tier architecture , filling textboxes with values from database table Pin
User 418025415-Apr-19 7:49
User 418025415-Apr-19 7:49 
GeneralRe: In 3 tier architecture , filling textboxes with values from database table Pin
Member 1418527515-Apr-19 8:46
Member 1418527515-Apr-19 8:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.