getBondTypes()

BondTypes getBondTypes()

This method retrieves the bond types that are available in Smile.

Parameters

This method does not accept any parameters.

Results

This method returns a BondTypes XML document containing information about the bond types available in Smile.

There are no messages defined by this method.

Example: A returned BondTypes XML document

This example shows a BondTypes XML document with information about the bond types available in Smile.

<BondTypes xmlns="http://xml.inomial.com/smile/2.xsd" xmlns="http://ws.inomial.com/smile.2">
  <BondType>
    <BondType>6aecbd7b-cfe4-4b79-9af4-92f5e70564d9</BondType>
    <Company>1</Company>
    <Name>ADSL modem</Name>
    <Description>ADSL modem</Description>
    <Rate formatted="$50.00" currency="AUD">50</Rate>
  </BondType>
  <BondType>
    <BondType>f4eb1d21-e27f-47d5-bd04-9b97509e47e2</BondType>
    <Company>1</Company>
    <Name>Pocket WiFi modem</Name>
    <Description>4G modem</Description>
    <Rate formatted="$150.00" currency="AUD">150</Rate>
  </BondType>
</BondTypes>

Faults

NoSuchItemException

This fault is returned when the SOAP caller does not exist in Smile.

Java client syntax

java -cp build/smilewsv2-client.jar [options]
 com.inomial.smile.client.v2.examples.GetBondTypes
Note: For more information about the Java client and the options it accepts, see Java client syntax.