axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Baier <thomas.ba...@gmx.net>
Subject Getting the data type for anyType
Date Mon, 28 Dec 2009 22:01:21 GMT
Hi,

after changing the WSDL as Dimuthu has suggested to

      <s:element name="SetSymbol">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="pName"
type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="pData"
type="s:anyType" />
          </s:sequence>
        </s:complexType>
      </s:element>

there's still a problem open when invoking SetSymbol with a scalar type
(e.g. xsd:double).

The SOAP message is

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
      <SetSymbol xmlns="http://www.statconn.com/StatConnector">
         <pName>myvar</pName>
         <pData xsi:type="xsd:double">3.1415</pData>
      </SetSymbol>
   </soap:Body>
</soap:Envelope>

and adb_SetSymbol_get_pData() returns an (axiom_node_t*) only containing
"3.1415". Is there any way I can get access to the type information (the
attribte in the enclosing pData element)?

Best,
Thomas



Mime
View raw message