axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roshan Weerasuriya <ros...@opensource.lk>
Subject Re: Adding Attributes
Date Wed, 26 May 2004 03:37:53 GMT
hi,

SoapMethod has the method addAttribute(Attribute *pAttribute). You have to 
create a Attribute object pointer with your data and set it.

rgds,
Roshan

At 06:07 PM 5/25/2004 +0100, you wrote:



>Hi All,
>       How do I add attributes to the SOAP-BODY operation. e.g
>
>Currently have:
><body>
>       <ns1:find_business xmlns:ns1="...">
>             <name>
>                   xxx
>             </name>
>       </ns1:find_business xmlns:ns1="...">
></body>
>
>Would like:
><body>
>       <ns1:find_business xmlns:ns1="..." generic="2.0">
>             <name>
>                   xxx
>             </name>
>       </ns1:find_business xmlns:ns1="...">
></body>
>
>How do I add in the generic="2.0" attribute using ws-axis methods?
>
>Regards,
>
>Fred Preston.
>Software Engineer
>Business Integration
>
>Mail Point 188,  IBM Hursley Park
>Winchester, Hampshire, SO21 2JN, UK
>Notes id:    Fred Preston/UK/IBM @ IBMGB
>Internet:      prestonf@uk.ibm.com
>Tel:             +44 1962 817180
>Internal:      247180




Mime
View raw message