I am in the middle of creating my MBO against a RESTful service. I've created the connection profile and I think all is well. In the process of creating my MBO and when I am doing a “Preview” of the MBO, I get the following message: Error executing on back-end server: The data type integer does not support conversion for empty string.
But the URL http://regein01/spdir.nsf/queryDir?open&st=SX&st2=LN&qt=Rat, works just fine when running in the browser. It does return a result. This one has me stumped. Any help is appreciated.
The XSD for the response is below:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<!-- XML Schema Generated from XML Document on Wed Sep 04 2013 15:11:03 GMT-0600 (Canada Central Standard Time) -->
<!-- with XmlGrid.net Free Online Service http://xmlgrid.net -->
<xs:element name="directory">
<xs:complexType>
<xs:sequence>
<xs:element name="employee">
<xs:complexType>
<xs:sequence>
<xs:element name="displayName" type="xs:string"></xs:element>
<xs:element name="employeeNumber" type="xs:int"></xs:element>
<xs:element name="businessUnit" type="xs:string"></xs:element>
<xs:element name="position" type="xs:string"></xs:element>
<xs:element name="department" type="xs:string"></xs:element>
<xs:element name="phone" type="xs:string"></xs:element>
<xs:element name="cell"></xs:element>
<xs:element name="fax" type="xs:string"></xs:element>
<xs:element name="dphone" type="xs:string"></xs:element>
<xs:element name="dcell" type="xs:string"></xs:element>
<xs:element name="dfax" type="xs:string"></xs:element>
<xs:element name="location" type="xs:string"></xs:element>
<xs:element name="address" type="xs:string"></xs:element>
<xs:element name="email" type="xs:string"></xs:element>
<xs:element name="mailto" type="xs:string"></xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>