webmethod : soap body with attributes ?

  • Thread starter Thread starter Steph
  • Start date Start date
S

Steph

hello,
i have a probleme... how can write a webservice method with attribute ?

like this xml :

<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<CalcArea xmlns="http://example.org/geometry/" unite="radian"
floor="3">
<length>2.3</length>
<width>1.2</width>
</CalcArea>
</soap:Body>
</soap:Envelope>

what is the cs class / method for corresponding with this soap call ?
(with "unite" and "floor" attribute !)


thanks ?
 
Steph said:
hello,
i have a probleme... how can write a webservice method with attribute ?

like this xml :

<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<CalcArea xmlns="http://example.org/geometry/" unite="radian"
floor="3">
<length>2.3</length>
<width>1.2</width>
</CalcArea>
</soap:Body>
</soap:Envelope>

what is the cs class / method for corresponding with this soap call ?
(with "unite" and "floor" attribute !)


thanks ?

ok its good ! i found it !
 
Back
Top