webmethod : soap body with attributes ?

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 ?
 
S

Steph

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 !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top