attributes definition with php and nusoap

  • jerschow

    jerschow - 2005-01-04


    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?


    • Jonathan Howard

      Jonathan Howard - 2008-08-07

      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>


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks