i would like to use an attribute in soap-response. for example,
<remark type= "error">this is an error </remark>
in wsdl i have declared an attribute "type" in the complexType "remark". How can i fill this field from the server (php)? for example, the element "remark" will look like this:
$response["remark"] = "this is an error";
how should i fill the "type"-field, in order that nusoap treats it like an attribute?
I'm also having trouble figuring this out. Has anyone gotten attributes to work? I need to set an attribute on the client side like <paymentinfo xsi:type="creditcardinfo"> ... </paymentinfo>