Files and Libraries

accounting.wsdl

Created June 11, 2019

Files
name size description
accounting.wsdl 85.21K  

accounting.xsd

Created June 11, 2019

Files
name size description
accounting.xsd 78.29K  

advisor.wsdl

Created June 11, 2019

Files
name size description
advisor.wsdl 3.96K  

advisor.xsd

Created June 11, 2019

Files
name size description
advisor.xsd 2.24K  

airbank.wsdl

Created June 11, 2019

Files
name size description
airbank.wsdl 46.18K  

airbank.xsd

Created June 11, 2019

Files
name size description
airbank.xsd 44.89K  

airportal.wsdl

Created June 11, 2019

Files
name size description
airportal.wsdl 1.40M  

airportal.xsd

Created June 11, 2019

Files
name size description
airportal.xsd 1.33M  

analytics.wsdl

Created June 11, 2019

Files
name size description
analytics.wsdl 39.50K  

analytics.xsd

Created June 11, 2019

Files
name size description
analytics.xsd 33.83K  

C Client Library

Created June 11, 2019

The C module generates the source code for the ANSI-C-compatible data structures and (de)serialization functions that can be used in conjunction with libxml2 to (de)serialize the REST resources as they are represented as XML data.

The generated C source code depends on the XML Reader API and the XML Writer API as well as the <time.h>, <string.h>, and <stdlib.h> C standard libraries.

C Example
#include <cbtwebservices.c>
//...

xmlTextWriterPtr writer = ...; //set up the writer to the url.
cbtwebservices_ns0_ticket *request_element = ...;
xmlTextReaderPtr reader = ...; //set up the reader to the url.
cbtwebservices_ns0_ticket *response_element = ...;
//set up the cbtwebservices_ns0_ticket...
xml_write_cbtwebservices_ns0_ticket(writer, request_element);
response_element = xml_read_cbtwebservices_ns0_ticket(reader);

//handle the response as needed...

//free the cbtwebservices_ns0_ticket
free_cbtwebservices_ns0_ticket(request_element);
//free the cbtwebservices_ns0_ticket
free_cbtwebservices_ns0_ticket(response_element);
    

Files
name size description
cbtwebservices.c 19.72M

The C module generates the source code for the ANSI-C-compatible data structures and (de)serialization functions that can be used in conjunction with libxml2 to (de)serialize the REST resources as they are represented as XML data.

The generated C source code depends on the XML Reader API and the XML Writer API as well as the <time.h>, <string.h>, and <stdlib.h> C standard libraries.

C Example
#include <cbtwebservices.c>
//...

xmlTextWriterPtr writer = ...; //set up the writer to the url.
cbtwebservices_ns0_ticket *request_element = ...;
xmlTextReaderPtr reader = ...; //set up the reader to the url.
cbtwebservices_ns0_ticket *response_element = ...;
//set up the cbtwebservices_ns0_ticket...
xml_write_cbtwebservices_ns0_ticket(writer, request_element);
response_element = xml_read_cbtwebservices_ns0_ticket(reader);

//handle the response as needed...

//free the cbtwebservices_ns0_ticket
free_cbtwebservices_ns0_ticket(request_element);
//free the cbtwebservices_ns0_ticket
free_cbtwebservices_ns0_ticket(response_element);
    
enunciate-common.c 39.68K Common code needed for all projects.

C# Client Library

Created June 11, 2019

The C# client-side library may be used to access the SOAP API for this application via the C# runtime.

The C# client-side library defines the classes that can be (de)serialized to/from XML. This is useful for accessing the HTTP resources that are published by this application.

C# Service Example
//instantiate a new service...
TravelSpendProvider service = new TravelSpendProvider();

//make the remote call...
result = service.GetItinerarySpendSummaries(list);

//handle the result as needed...
    
C# Resource Example
//read a resource from a REST url
Uri uri = new Uri(...);

XmlSerializer s = new XmlSerializer(
  typeof( byte[] )
);

  //Create the request object
WebRequest req = WebRequest.Create(uri);
WebResponse resp = req.GetResponse();
Stream stream = resp.GetResponseStream();
TextReader r = new StreamReader( stream );

byte[] result = (byte[]) s.Deserialize( r );

//handle the result as needed...
    

Files
name size description
cbtwebservices-dotnet.zip 332.19K The C# source code for the C# client library.

external.wsdl

Created June 11, 2019

Files
name size description
external.wsdl 138.84K  

external.xsd

Created June 11, 2019

Files
name size description
external.xsd 117.12K  

gdsclient.wsdl

Created June 11, 2019

Files
name size description
gdsclient.wsdl 2.81K  

gdsclient.xsd

Created June 11, 2019

Files
name size description
gdsclient.xsd 1.67K  

GWT JSON Overlay

Created June 11, 2019

The Google Web Toolkit JSON Overlay library provides the JSON Overlays that can be used to access the Web service API for this application.

JSON Overlay Example
String url = ...;
RequestBuilder request = new RequestBuilder(RequestBuilder.GET, url);
request.sendRequest(null, new RequestCallback() {
  public void onResponseReceived(Request request, Response response) {
    if (200 == response.getStatusCode()) {
      //handle the successful data...
      Ticket data = Ticket.fromJson(response.getText());
      //handle the Ticket...
    }
    else {
      //handle the error...
    }
  }

  public void onError(Request request, Throwable throwable) {
    //handle the error...
  }
});
    

Files
name size description
cbtwebservices-gwt-json-overlay.jar 533.34K The sources for the GWT JSON overlay.

helpdesk.wsdl

Created June 11, 2019

Files
name size description
helpdesk.wsdl 47.88K  

helpdesk.xsd

Created June 11, 2019

Files
name size description
helpdesk.xsd 44.74K  

hpl.wsdl

Created June 11, 2019

Files
name size description
hpl.wsdl 54.75K  

hpl.xsd

Created June 11, 2019

Files
name size description
hpl.xsd 58.36K  

inside.wsdl

Created June 11, 2019

Files
name size description
inside.wsdl 106.81K  

inside.xsd

Created June 11, 2019

Files
name size description
inside.xsd 103.63K  

Java JSON Client Library

Created June 11, 2019

The Java client-side library is used to provide the set of Java objects that can be serialized to/from JSON using Jackson. This is useful for accessing the JSON REST endpoints that are published by this application.

Resources Example (Raw JAXB)
java.net.URL url = new java.net.URL(baseURL + "/airbankDao/updateAirBankTicket");
ObjectMapper mapper = new ObjectMapper();
java.net.URLConnection connection = url.openConnection();
connection.setDoOutput(true);
connection.connect();

mapper.writeValue(connection.getOutputStream(), ticket);
Ticket result = (Ticket) mapper.readValue( connection.getInputStream(), Ticket.class );
//handle the result as needed...
    
Resources Example (Jersey client)
javax.ws.rs.client.Client client = javax.ws.rs.client.ClientBuilder.newClient();

Ticket result = client.target(baseUrl + "/airbankDao/updateAirBankTicket")
  .post(javax.ws.rs.client.Entity.entity(ticket, "application/json"), Ticket.class);

//handle the result as needed...
    

Files
name size description
cbtwebservices-json-client.jar 676.35K The binaries for the Java JSON client library.
cbtwebservices-json-client-json-sources.jar 572.09K The sources for the Java JSON client library.

Java XML Client Library

Created June 11, 2019

The Java client-side library is used to access the Web service API for this application using Java.

The Java client-side library uses JAX-WS to access the SOAP API for this application.

The Java client-side library is used to provide the set of Java objects that can be serialized to/from XML using JAXB. This is useful for accessing the resources that are published by this application.

JAX-WS Example
// instantiate a new service with an impl
// (or through dependency injection, or whatever)...
TravelSpendProvider service = new TravelSpendProvider();

//make the remote call to read the result...
result = service.getItinerarySpendSummaries(list);

//handle the result as needed...
    
Resources Example (Raw JAXB)
java.net.URL url = new java.net.URL(baseURL + "/airbankDao/updateAirBankTicket");
JAXBContext context = JAXBContext.newInstance( byte[].class, byte[].class );
java.net.URLConnection connection = url.openConnection();
connection.setDoOutput(true);
connection.connect();

Unmarshaller unmarshaller = context.createUnmarshaller();
Marshaller marshaller = context.createMarshaller();
marshaller.marshal(ticket, connection.getOutputStream());
Ticket result = (Ticket) unmarshaller.unmarshal( connection.getInputStream() );
//handle the result as needed...
    
Resources Example (Jersey client)
javax.ws.rs.client.Client client = javax.ws.rs.client.ClientBuilder.newClient();

Ticket result = client.target(baseUrl + "/airbankDao/updateAirBankTicket")
  .post(javax.ws.rs.client.Entity.entity(ticket, "application/xml"), Ticket.class);

//handle the result as needed...
    

Files
name size description
cbtwebservices-xml-client.jar 6.72M The binaries for the Java XML client library.
cbtwebservices-xml-client-xml-sources.jar 4.89M The sources for the Java XML client library.

JavaScript Client Library

Created June 11, 2019

The JavaScript client-side library defines classes that can be (de)serialized to/from JSON. This is useful for accessing the resources that are published by this application, but only those that produce a JSON representation of their resources (content type "application/json").

The library uses ES6 class syntax which has limited support. See MDN and the ES6 Compatibility Table for more details.

The library contains a UMD loader which supports AMD, CommonJS and browser globals. The browser global variable name for this library is "javascriptClient".

JavaScript Example
//read the resource in JSON:
var json = JSON.parse(jsonString);

//create an object
var object = new Object(json);

//retreive the json again
var newJson = object.toJSON();

//serialize the json
var newJsonString = JSON.stringify(newJson);
    

Files
name size description
cbtwebservices-js.zip 291.03K

The JavaScript client-side library defines classes that can be (de)serialized to/from JSON. This is useful for accessing the resources that are published by this application, but only those that produce a JSON representation of their resources (content type "application/json").

The library uses ES6 class syntax which has limited support. See MDN and the ES6 Compatibility Table for more details.

The library contains a UMD loader which supports AMD, CommonJS and browser globals. The browser global variable name for this library is "javascriptClient".

JavaScript Example
//read the resource in JSON:
var json = JSON.parse(jsonString);

//create an object
var object = new Object(json);

//retreive the json again
var newJson = object.toJSON();

//serialize the json
var newJsonString = JSON.stringify(newJson);
    

news.wsdl

Created June 11, 2019

Files
name size description
news.wsdl 6.26K  

news.xsd

Created June 11, 2019

Files
name size description
news.xsd 5.58K  

ns0.xsd

Created June 11, 2019

Files
name size description
ns0.xsd 1.13M  

ns1.wsdl

Created June 11, 2019

Files
name size description
ns1.wsdl 3.87K  

ns1.xsd

Created June 11, 2019

Files
name size description
ns1.xsd 2.03K  

ns2.wsdl

Created June 11, 2019

Files
name size description
ns2.wsdl 3.63K  

ns2.xsd

Created June 11, 2019

Files
name size description
ns2.xsd 2.89K  

Objective C Client Library

Created June 11, 2019

The Objective C module generates the source code for the Objective C classes and (de)serialization functions that can be used in conjunction with libxml2 to (de)serialize the REST resources as they are represented as XML data.

The generated Objective C source code depends on the XML Reader API and the XML Writer API as well as the base OpenStep foundation classes.

Objective C Example
#import <cbtwebservices.h>
//...

CBTWEBSERVICESNS0Ticket *requestElement = [[CBTWEBSERVICESNS0Ticket alloc] init];
NSData *requestData; //data holding the XML for the request.
CBTWEBSERVICESNS0Ticket *responseElement;
NSData *responseData; //data holding the XML from the response.
NSURL *baseURL = ...; //the base url including the host and subpath.
NSURL *url = [NSURL URLWithString: @"/airbankDao/updateAirBankTicket" relativeToURL: baseURL];
NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:url];
NSURLResponse *response = nil;
NSError *error = NULL;
[request setHTTPMethod: @"POST"];
[request setValue:@"application/xml" forHTTPHeaderField:@"Content-Type"];  

//set up the CBTWEBSERVICESNS0Ticket...

requestData = [requestElement writeToXML];
[request setHTTPBody: requestData];

//this example uses a synchronous request,
//but you'll probably want to use an asynchronous call
responseData = [NSURLConnection sendSynchronousRequest:request returningResponse:&response error:&error];
CBTWEBSERVICESNS0Ticket *responseElement = [CBTWEBSERVICESNS0Ticket readFromXML: responseData];
[responseElement retain];

//handle the response as needed...
    

Files
name size description
cbtwebservices.h 1.17M

The Objective C module generates the source code for the Objective C classes and (de)serialization functions that can be used in conjunction with libxml2 to (de)serialize the REST resources as they are represented as XML data.

The generated Objective C source code depends on the XML Reader API and the XML Writer API as well as the base OpenStep foundation classes.

Objective C Example
#import <cbtwebservices.h>
//...

CBTWEBSERVICESNS0Ticket *requestElement = [[CBTWEBSERVICESNS0Ticket alloc] init];
NSData *requestData; //data holding the XML for the request.
CBTWEBSERVICESNS0Ticket *responseElement;
NSData *responseData; //data holding the XML from the response.
NSURL *baseURL = ...; //the base url including the host and subpath.
NSURL *url = [NSURL URLWithString: @"/airbankDao/updateAirBankTicket" relativeToURL: baseURL];
NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:url];
NSURLResponse *response = nil;
NSError *error = NULL;
[request setHTTPMethod: @"POST"];
[request setValue:@"application/xml" forHTTPHeaderField:@"Content-Type"];  

//set up the CBTWEBSERVICESNS0Ticket...

requestData = [requestElement writeToXML];
[request setHTTPBody: requestData];

//this example uses a synchronous request,
//but you'll probably want to use an asynchronous call
responseData = [NSURLConnection sendSynchronousRequest:request returningResponse:&response error:&error];
CBTWEBSERVICESNS0Ticket *responseElement = [CBTWEBSERVICESNS0Ticket readFromXML: responseData];
[responseElement retain];

//handle the response as needed...
    
cbtwebservices.m 11.90M

The Objective C module generates the source code for the Objective C classes and (de)serialization functions that can be used in conjunction with libxml2 to (de)serialize the REST resources as they are represented as XML data.

The generated Objective C source code depends on the XML Reader API and the XML Writer API as well as the base OpenStep foundation classes.

Objective C Example
#import <cbtwebservices.h>
//...

CBTWEBSERVICESNS0Ticket *requestElement = [[CBTWEBSERVICESNS0Ticket alloc] init];
NSData *requestData; //data holding the XML for the request.
CBTWEBSERVICESNS0Ticket *responseElement;
NSData *responseData; //data holding the XML from the response.
NSURL *baseURL = ...; //the base url including the host and subpath.
NSURL *url = [NSURL URLWithString: @"/airbankDao/updateAirBankTicket" relativeToURL: baseURL];
NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:url];
NSURLResponse *response = nil;
NSError *error = NULL;
[request setHTTPMethod: @"POST"];
[request setValue:@"application/xml" forHTTPHeaderField:@"Content-Type"];  

//set up the CBTWEBSERVICESNS0Ticket...

requestData = [requestElement writeToXML];
[request setHTTPBody: requestData];

//this example uses a synchronous request,
//but you'll probably want to use an asynchronous call
responseData = [NSURLConnection sendSynchronousRequest:request returningResponse:&response error:&error];
CBTWEBSERVICESNS0Ticket *responseElement = [CBTWEBSERVICESNS0Ticket readFromXML: responseData];
[responseElement retain];

//handle the response as needed...
    
enunciate-common.h 12.83K Common header needed for all projects.
enunciate-common.m 42.34K Common implementation code needed for all projects.

PHP JSON Client Library

Created June 11, 2019

The PHP JSON client-side library defines the PHP classes that can be (de)serialized to/from JSON. This is useful for accessing the resources that are published by this application, but only those that produce a JSON representation of their resources (content type "application/json").

This library requires the json_encode function which was included in PHP versions 5.2.0+.

PHP JSON Example
//read the resource in JSON:
$json = ...;

//read the json as an array.
$parsed = json_decode($json, true);

//read the json array as the object
$result = new Object($parsed);

//open a writer for the json
$json = $result->toJson();
    

Files
name size description
cbtwebservices-php.zip 350.71K

The PHP JSON client-side library defines the PHP classes that can be (de)serialized to/from JSON. This is useful for accessing the resources that are published by this application, but only those that produce a JSON representation of their resources (content type "application/json").

This library requires the json_encode function which was included in PHP versions 5.2.0+.

PHP JSON Example
//read the resource in JSON:
$json = ...;

//read the json as an array.
$parsed = json_decode($json, true);

//read the json array as the object
$result = new Object($parsed);

//open a writer for the json
$json = $result->toJson();
    

PHP XML Client Library

Created June 11, 2019

The PHP client-side library defines the PHP classes that can be (de)serialized to/from XML. This is useful for accessing the resources that are published by this application, but only those that produce a XML representation of their resources.

This library leverages the XMLReader and XMLWriter tools that were included in PHP versions 5.1.0+.

PHP XML Example
//read the resource in XML form:
$xml = ...;

$reader = new \XMLReader();

if (!$reader->open($xml)) {
  throw new \Exception('Unable to open ' . $xml);
}
$result = new Object($reader);

//open a writer for the xml
$out = ...;
$writer = new \XMLWriter();
$writer->openUri($out);
$writer->startDocument();
$writer->setIndent(4);
$result->toXml($writer);
$writer->flush();
    

Files
name size description
cbtwebservices-php.zip 379.88K

The PHP client-side library defines the PHP classes that can be (de)serialized to/from XML. This is useful for accessing the resources that are published by this application, but only those that produce a XML representation of their resources.

This library leverages the XMLReader and XMLWriter tools that were included in PHP versions 5.1.0+.

PHP XML Example
//read the resource in XML form:
$xml = ...;

$reader = new \XMLReader();

if (!$reader->open($xml)) {
  throw new \Exception('Unable to open ' . $xml);
}
$result = new Object($reader);

//open a writer for the xml
$out = ...;
$writer = new \XMLWriter();
$writer->openUri($out);
$writer->startDocument();
$writer->setIndent(4);
$result->toXml($writer);
$writer->flush();
    

Ruby JSON Client Library

Created June 11, 2019

The Ruby JSON client-side library defines the Ruby classes that can be (de)serialized to/from JSON. This is useful for accessing the REST endpoints that are published by this application, but only those that produce a JSON representation of their resources (content type "application/json").

This library leverages the Ruby JSON Implementation, which is required in order to use this library.

Ruby JSON Example
require 'net/https'
require 'uri'
//...

//read a resource from a REST url
url = URI.parse("...")
request = Net::HTTP::Post.new(url.request_uri)
input = Object.new
//set up the Object...
request.body = input.to_json
request['Content-Type'] = "application/json"

http = Net::HTTP.new(url.host, url.port)
//set up additional http stuff...
res = http.start do |ht|
  ht.request(request)
end

result = Object.from_json(JSON.parse(res.body))

//handle the result as needed...
    

Files
name size description
cbtwebservices.rb 4.43M

The Ruby JSON client-side library defines the Ruby classes that can be (de)serialized to/from JSON. This is useful for accessing the REST endpoints that are published by this application, but only those that produce a JSON representation of their resources (content type "application/json").

This library leverages the Ruby JSON Implementation, which is required in order to use this library.

Ruby JSON Example
require 'net/https'
require 'uri'
//...

//read a resource from a REST url
url = URI.parse("...")
request = Net::HTTP::Post.new(url.request_uri)
input = Object.new
//set up the Object...
request.body = input.to_json
request['Content-Type'] = "application/json"

http = Net::HTTP.new(url.host, url.port)
//set up additional http stuff...
res = http.start do |ht|
  ht.request(request)
end

result = Object.from_json(JSON.parse(res.body))

//handle the result as needed...
    

sap.wsdl

Created June 11, 2019

Files
name size description
sap.wsdl 17.65K  

sap.xsd

Created June 11, 2019

Files
name size description
sap.xsd 16.27K  

valuelogic.wsdl

Created June 11, 2019

Files
name size description
valuelogic.wsdl 52.80K  

valuelogic.xsd

Created June 11, 2019

Files
name size description
valuelogic.xsd 49.64K  

vpay.wsdl

Created June 11, 2019

Files
name size description
vpay.wsdl 19.31K  

vpay.xsd

Created June 11, 2019

Files
name size description
vpay.xsd 16.84K