I'm working on a RESTful based web service and i'm looking for some tools to make my life easier (please please please).
First, Is it possible to create a Businiss Object from an XML Schema? (like below):
Also, are there any libraries out there that can serialize/deserialize these Business Objets automatically?
Can i just go on a rant for a second?
{rant}
Apple works hard on enterprise support for end-user technologies (i.e. VPN, printing, etc). But the enterprise development tools (or lack thereof) are ridiculously primitive.
First, i'm forced to convert my existing soap based web services to REST since there aren't any real tools out there for consuming soap. gSoap hardly works and isn't a tool we can get support on if needed.
Second, xml serialization/deserialization shouldn't be as painful as it appears to be. I can successfully do this manually but some of these objects have tons of properties and manually implementing this plumbing is annoying and tedious work.
IMO Apple is missing the point when it comes to enterprise app development. The programming manager wants R.A.D. tools. Executives care about how much it cost to build the app. It doesn't matter that iPad supports printing if there is no Business Data to print.
{/rant}
First, Is it possible to create a Businiss Object from an XML Schema? (like below):
Code:
<xs:schema xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:tns="http://prospects.entities.roomstogo.rtg/prospect" elementFormDefault="qualified" targetNamespace="http://prospects.entities.roomstogo.rtg/prospect" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
<xs:complexType name="Prospect">
<xs:sequence>
<xs:element minOccurs="0" name="Address" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="AlternatePhone" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="City" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Email" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="FirstName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Id" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="LastName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Phone" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="State" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="ZipCode" nillable="true" type="xs:string" />
</xs:sequence>
<xs:attribute ref="ser:Id" />
<xs:attribute ref="ser:Ref" />
</xs:complexType>
<xs:element name="Prospect" nillable="true" type="tns:Prospect" />
</xs:schema>
Also, are there any libraries out there that can serialize/deserialize these Business Objets automatically?
Can i just go on a rant for a second?
{rant}
Apple works hard on enterprise support for end-user technologies (i.e. VPN, printing, etc). But the enterprise development tools (or lack thereof) are ridiculously primitive.
First, i'm forced to convert my existing soap based web services to REST since there aren't any real tools out there for consuming soap. gSoap hardly works and isn't a tool we can get support on if needed.
Second, xml serialization/deserialization shouldn't be as painful as it appears to be. I can successfully do this manually but some of these objects have tons of properties and manually implementing this plumbing is annoying and tedious work.
IMO Apple is missing the point when it comes to enterprise app development. The programming manager wants R.A.D. tools. Executives care about how much it cost to build the app. It doesn't matter that iPad supports printing if there is no Business Data to print.
{/rant}