inwise - email marketing and newsletter software company
inwise Top Background
Arrow on Service

Errors Get Error Codes

Errors Get Error Codes

Operation Name: operation Name
Description: description

All actions require a valid user name and password using authenticaion header.
Show a raw xml example including the authentication header.

Service url:

Adding a reference to inwise web services

User Name:
The service enables you to view a list of all error codes.
The operation returns an array with ErrorCode which contains each error code number and short description.


  • No fields

Java Code:

//get a reference to the service InwiseWebServices ws = new InwiseWebServices();
InwiseWebServicesSoap inwiseWebServicesSoap = ws.getInwiseWebServicesSoap();

//fill the security header
HeaderHandler hh = new HeaderHandler("myusername", "myPassword");

//call the operation
inwise.ArrayOfErrorCode errorCodes= inwiseWebServicesSoap.errorsGetErrorCodes();
Iterator<ErrorCode> it=errorCodes.getErrorCode().iterator();
ErrorCode code =;
int errorNumber = code.getCode();//the error number
String errorDescription = code.getName();//a short description of the error

C# Code:

 //get a reference to the service

        InwiseWebServices.InwiseWebServices ws = new InwiseWebServices.InwiseWebServices();


        //fill the security header

        InwiseWebServices.SecHeader header = new InwiseWebServices.SecHeader();

        header.username = "username";

        header.pass = "myPassword";

        ws.SecHeaderValue = header;//set credentials


        //call the operation

        InwiseWebServices.ErrorCode[] errorCodes= ws.Errors_GetErrorCodes();

        for (int i = 0; i < errorCodes.Length; i++)


            InwiseWebServices.ErrorCode code = errorCodes[i];

            int errorNumber = code.Code;//the error number

            string errorDescription = code.Name;//a short description of the error


VB Code:

  'call the operation

    Dim errorCodes() As InwiseWebServices.ErrorCode = ws.Errors_GetErrorCodes()

    Dim i As Integer

    For i = 0 To errorCodes.Length - 1 Step i + 1

        Dim code As InwiseWebServices.ErrorCode = errorCodes(i)

        Dim errorNumber As Integer = code.Code 'the error number

        Dim errorDescription As String = code.Name 'a short description of the error


Home  |  About us  |  Products  |  Service  |  Partners  |  Forum  |  Email Marketing Terms  |  Support  |  Contact us
Terms & Conditions  |  Privacy Policy  |  Anti Spam Policy  |  Site Map
© 2008 inwise LTD. All rights reserved.