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

Errors Translate Error Code

Errors Translate Error Code

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:
Error code: 
The operation enables you to get the description of an error code


  • int errorCode
    The error code

Java Code:

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

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

//the error code
int errorCode=3;

//call the operation
String description = inwiseWebServicesSoap.errorsTranslateErrorCode(errorCode);

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


        //the error code

        int errorCode = 3;


        //call the operation

        string description = ws.Errors_TranslateErrorCode(errorCode);

VB Code:

 'get a reference to the service

        Dim ws As InwiseWebServices.InwiseWebServices = New InwiseWebServices.InwiseWebServices()


        'fill the security header

        Dim header As InwiseWebServices.SecHeader = New InwiseWebServices.SecHeader()

        header.username = "username"

        header.pass = "myPassword"

        ws.SecHeaderValue = header 'set credentials


        'the error code

        Dim errorCode As Integer = 3


        'call the operation

        Dim description As String = ws.Errors_TranslateErrorCode(errorCode)

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.