Hi, 

I have a soap method described like that :

===========================
<s:complexType base="s0:Credential">
 <s:sequence/>
 <s:attribute name="Login" type="s:string" use="required"/>
 <s:attribute name="Password" type="s:string" use="optional"/>
 ...
</s:complexType>

<s:element name="login">
 <s:complexType>
  <s:sequence>
   <s:element name="credential" type="s0:Credential"/>
  </s:sequence>
 </s:complexType>
</s:element>

<message name="loginSoapIn">
 <part element="s0:login" name="parameters"/>
</message>

<operation name="login">
 <input message="s0:loginSoapIn"/>
 ...
</operation>
===========================

Here you see that credential has Login and Password as *xml
attributes*, not nested xml elements... So how should I call this method ?

It seems that whatever I do, the request is serialized like that :
|| <credential>
||  <Login>...</Login>
||  <Password>...</Password>
|| </credential>

Instead of :
|| <credential Login="..." Password="..." />


Any help ? :s

{Maz}

Reply via email to