Description

The message element defines a message which belongs to the result. This message is returned within the result of the response.

Structure

KeyOccursFormatDescription
msg


msg / code1String

The request type code to which the message belongs.

msg / text1StringThe text of the message.
msg / object1SimpleObject ( Component )

The object to which the message refers to.

XML Example

<msg>
	<code>EF4001001</code>
 	<text>Certificate could not be found.</text>
	<object>
		<type>certificate</type>
		<value>domain.com</value>
	</object>
</msg>

Code Example

@XmlRootElement(name = "msg")
public class Message {

    @XmlElement(name="code")
    private String code;

    @XmlElement(name="text")
    private String text;

	@XmlElement(name="object")
    private SimpleObject object;

  	/* Getter + Setter */

}
class Message {

    /**
     *
     * @var type String
     */
    public $code;

    /**
     *
     * @var type String
     */
    public $text;

    /**
     *
     * @var type SimpleObject
     */
    public $object;

  	/* Getter + Setter */

}
public class Message {

    private String code;

    private String text;

    private SimpleObject object;

	/* Getter + Setter */

}