libjibx1.2-java-1.2.3/0000755000175000017500000000000011526304316014237 5ustar twernertwernerlibjibx1.2-java-1.2.3/tutorial/0000755000175000017500000000000011300356022016071 5ustar twernertwernerlibjibx1.2-java-1.2.3/tutorial/example8/0000755000175000017500000000000011300356022017614 5ustar twernertwernerlibjibx1.2-java-1.2.3/tutorial/example8/data.xml0000644000175000017500000000160110541744662021266 0ustar twernertwerner http://www.northleft.com Northleft Airlines http://www.classyskylines.com Classy Skylines Boston, MA Logan International Airport Seattle, WA Seattle-Tacoma International Airport Los Angeles, CA Los Angeles International Airport Information for January 1, 2006, to March 30, 2006 Travelers within the Continental United States are advised to allow a minimum of 12 hours for security checks at the departure airport libjibx1.2-java-1.2.3/tutorial/example8/Airport.java0000644000175000017500000000017410347705734022123 0ustar twernertwerner package example8; public class Airport { private String code; private String name; private String location; } libjibx1.2-java-1.2.3/tutorial/example8/binding.xml0000644000175000017500000000141410541744662021771 0ustar twernertwerner libjibx1.2-java-1.2.3/tutorial/example8/Carrier.java0000644000175000017500000000021710347705734022070 0ustar twernertwerner package example8; public class Carrier { private String code; private String name; private String url; private int rating; } libjibx1.2-java-1.2.3/tutorial/example8/TimeTable.java0000644000175000017500000000030610541744662022345 0ustar twernertwerner package example8; import java.util.ArrayList; import java.util.LinkedList; public class TimeTable { private ArrayList carriers; private LinkedList airports; private String[] notes; } libjibx1.2-java-1.2.3/tutorial/example22/0000755000175000017500000000000011526304204017675 5ustar twernertwernerlibjibx1.2-java-1.2.3/tutorial/example22/binding2.xml0000644000175000017500000000127410347705622022130 0ustar twernertwerner libjibx1.2-java-1.2.3/tutorial/example22/Person.java0000644000175000017500000000021010347705622022010 0ustar twernertwerner package example22; public class Person { private String firstName; private String lastName; private int customerNumber; } libjibx1.2-java-1.2.3/tutorial/example22/binding0.xml0000644000175000017500000000076510347705622022132 0ustar twernertwerner libjibx1.2-java-1.2.3/tutorial/example22/Customer.java0000644000175000017500000000036710347705622022360 0ustar twernertwerner package example22; public class Customer { public Person person; public String street; public String city; public String state; public Integer zip; public String phone; public int rating; public String version; } libjibx1.2-java-1.2.3/tutorial/example22/BindingSelector.java0000644000175000017500000001436410347705622023634 0ustar twernertwerner package example22; import java.io.OutputStream; import java.io.Writer; import org.jibx.runtime.BindingDirectory; import org.jibx.runtime.IBindingFactory; import org.jibx.runtime.IMarshallable; import org.jibx.runtime.IUnmarshallingContext; import org.jibx.runtime.JiBXException; import org.jibx.runtime.impl.MarshallingContext; import org.jibx.runtime.impl.UnmarshallingContext; public class BindingSelector { /** URI of version selection attribute. */ private final String m_attributeUri; /** Name of version selection attribute. */ private final String m_attributeName; /** Array of version names. */ private final String[] m_versionTexts; /** Array of bindings corresponding to versions. */ private final String[] m_versionBindings; /** Basic unmarshalling context used to determine document version. */ private final UnmarshallingContext m_context; /** Stream for marshalling output. */ private OutputStream m_outputStream; /** Encoding for output stream. */ private String m_outputEncoding; /** Output writer for marshalling. */ private Writer m_outputWriter; /** Indentation for marshalling. */ private int m_outputIndent; /** * Constructor. * * @param uri version selection attribute URI (null if none) * @param name version selection attribute name * @param versions array of version texts (first is default) * @param bindings array of binding names corresponding to versions */ public BindingSelector(String uri, String name, String[] versions, String[] bindings) { m_attributeUri = uri; m_attributeName = name; m_versionTexts = versions; m_versionBindings = bindings; m_context = new UnmarshallingContext(); m_outputIndent = -1; } /** * Get initial unmarshalling context. This gives access to the unmarshalling * context used before the specific version is determined. The document * information must be set for this context before calling {@link * #unmarshalVersioned}. * * @return initial unmarshalling context */ public IUnmarshallingContext getContext() { return m_context; } /** * Set output stream and encoding. * * @param outs stream for document data output * @param enc document output encoding, or null for default */ void setOutput(OutputStream outs, String enc) { m_outputStream = outs; m_outputEncoding = enc; } /** * Set output writer. * * @param outw writer for document data output */ void setOutput(Writer outw) { m_outputWriter = outw; } /** * Set nesting indent spaces. * * @param indent number of spaces to indent per level, or disable * indentation if negative */ void setIndent(int indent) { m_outputIndent = indent; } /** * Marshal according to supplied version. * * @param obj root object to be marshalled * @param version identifier for version to be used in marshalling * @throws JiBXException if error in marshalling */ public void marshalVersioned(Object obj, String version) throws JiBXException { // look up version in defined list String match = (version == null) ? m_versionTexts[0] : version; for (int i = 0; i < m_versionTexts.length; i++) { if (match.equals(m_versionTexts[i])) { // version found, create marshaller for the associated binding IBindingFactory fact = BindingDirectory. getFactory(m_versionBindings[i], obj.getClass()); MarshallingContext context = (MarshallingContext)fact.createMarshallingContext(); // configure marshaller for writing document context.setIndent(m_outputIndent); if (m_outputWriter == null) { if (m_outputStream == null) { throw new JiBXException("Output not configured"); } else { context.setOutput(m_outputStream, m_outputEncoding); } } else { context.setOutput(m_outputWriter); } // output object as document context.startDocument(m_outputEncoding, null); ((IMarshallable)obj).marshal(context); context.endDocument(); return; } } // error if unknown version in document throw new JiBXException("Unrecognized document version " + version); } /** * Unmarshal according to document version. * * @param clas expected class mapped to root element of document (used only * to look up the binding) * @return root object unmarshalled from document * @throws JiBXException if error in unmarshalling */ public Object unmarshalVersioned(Class clas) throws JiBXException { // get the version attribute value (using first value as default) m_context.toStart(); String version = m_context.attributeText(m_attributeUri, m_attributeName, m_versionTexts[0]); // look up version in defined list for (int i = 0; i < m_versionTexts.length; i++) { if (version.equals(m_versionTexts[i])) { // version found, create unmarshaller for the associated binding IBindingFactory fact = BindingDirectory. getFactory(m_versionBindings[i], clas); UnmarshallingContext context = (UnmarshallingContext)fact.createUnmarshallingContext(); // return object unmarshalled using binding for document version context.setFromContext(m_context); return context.unmarshalElement(); } } // error if unknown version in document throw new JiBXException("Unrecognized document version " + version); } }libjibx1.2-java-1.2.3/tutorial/example22/temp.xml0000644000175000017500000000037311526304204021367 0ustar twernertwernerSmith
12345 Happy Lane
888.555.123410
libjibx1.2-java-1.2.3/tutorial/example22/binding1.xml0000644000175000017500000000131110347705622022117 0ustar twernertwerner libjibx1.2-java-1.2.3/tutorial/example22/data1.xml0000644000175000017500000000043610347705622021425 0ustar twernertwerner Smith
12345 Happy Lane Plunk WA 98059
888.555.1234 10
libjibx1.2-java-1.2.3/tutorial/example22/data2.xml0000644000175000017500000000035310347705622021424 0ustar twernertwerner Smith
12345 Happy Lane
888.555.1234 10
libjibx1.2-java-1.2.3/tutorial/example22/Test.java0000644000175000017500000000753311124407326021472 0ustar twernertwerner package example22; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FileReader; import java.io.InputStreamReader; import org.jibx.extras.DocumentComparator; import org.jibx.runtime.*; /** * Test program for the JiBX framework. Works with two or three command line * arguments: mapped-class, in-file, and out-file (optional, only needed if * different from in-file). You can also supply a multiple of three input * arguments, in which case each set of three is processed in turn (in this case * the out-file is required). Unmarshals documents from files using the binding * defined for the mapped class, then marshals them back out using the same * bindings and compares the results. In case of a comparison error the output * file is left as temp.xml. * * @author Dennis M. Sosnoski * @version 1.0 */ public class Test { // definitions for version attribute on document root element private static final String VERSION_URI = null; private static final String VERSION_NAME = "version"; // attribute text strings used for different document versions private static String[] VERSION_TEXTS = { "1.0", "1.1", "1.2" }; // binding names corresponding to text strings private static String[] VERSION_BINDINGS = { "binding0", "binding1", "binding2" }; public static void main(String[] args) { if (args.length == 1) { // delete generated output file if present File temp = new File("temp.xml"); if (temp.exists()) { temp.delete(); } try { // process input file according to declared version BindingSelector select = new BindingSelector(VERSION_URI, VERSION_NAME, VERSION_TEXTS, VERSION_BINDINGS); IUnmarshallingContext context = select.getContext(); context.setDocument(new FileInputStream(args[0]), null); Customer customer = (Customer)select. unmarshalVersioned(Customer.class); // now marshal to in-memory array with same document version ByteArrayOutputStream bos = new ByteArrayOutputStream(); select.setOutput(bos, "UTF-8"); select.marshalVersioned(customer, customer.version); // run comparison of output with original document InputStreamReader brdr = new InputStreamReader (new ByteArrayInputStream(bos.toByteArray()), "UTF-8"); FileReader frdr = new FileReader(args[0]); FileOutputStream fos = new FileOutputStream("temp.xml"); fos.write(bos.toByteArray()); fos.close(); DocumentComparator comp = new DocumentComparator(System.err); if (!comp.compare(frdr, brdr)) { // report mismatch with output saved to file // FileOutputStream fos = new FileOutputStream("temp.xml"); // fos.write(bos.toByteArray()); // fos.close(); System.err.println("Error testing on input file " + args[0]); System.err.println("Saved output document file path " + temp.getAbsolutePath()); System.exit(1); } } catch (Exception e) { e.printStackTrace(); System.exit(1); } } else { System.err.println("Usage: java exampl22.Test in-file\n" + "Leaves output as temp.xml in case of error"); System.exit(1); } } } libjibx1.2-java-1.2.3/tutorial/example22/data0.xml0000644000175000017500000000042210347705622021417 0ustar twernertwerner 123456789 John Smith 12345 Happy Lane Plunk WA 98059 888.555.1234 libjibx1.2-java-1.2.3/tutorial/index.html0000644000175000017500000001432710350107366020106 0ustar twernertwerner Tutorial Example Code

Tutorial Example Code

This area has the full code for the examples shown in the binding tutorial. The subdirectories correspond to the sequence of tutorial diagrams. The source code has been modified from the diagrams shown in the tutorial to use a separate package for each example, but should otherwise match what you see in the diagrams. Here's the list of code examples:

The Ant build.xml file in this directory gives targets for compiling and running each example. Most don't supply any interesting output (unless there's an error), but if you want to experiment with code based on a particular example (or try out variations of the sample XML documents) the build.xml should at least get you started.

Disclaimer

This code gives samples of working with JiBX data binding. It may be reused and redistributed without restriction, but is supplied subject to the following disclaimer. If you do not accept the terms of the disclaimer, do not use this code.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


libjibx1.2-java-1.2.3/tutorial/example12/0000755000175000017500000000000011300356016017672 5ustar twernertwernerlibjibx1.2-java-1.2.3/tutorial/example12/Address.java0000644000175000017500000000022110347705316022130 0ustar twernertwerner package example12; public class Address { public String street; public String city; public String state; public Integer zip; } libjibx1.2-java-1.2.3/tutorial/example12/data.xml0000644000175000017500000000035510347705316021343 0ustar twernertwerner Smith
12345 Happy Lane Plunk WA
888.555.1234
libjibx1.2-java-1.2.3/tutorial/example12/Customer.java0000644000175000017500000000027410347705316022354 0ustar twernertwerner package example12; public class Customer { public int customerNumber; public String firstName; public String lastName; public Address address; public String phone; } libjibx1.2-java-1.2.3/tutorial/example12/binding.xml0000644000175000017500000000115710347705316022045 0ustar twernertwerner libjibx1.2-java-1.2.3/tutorial/example11/0000755000175000017500000000000011300356016017671 5ustar twernertwernerlibjibx1.2-java-1.2.3/tutorial/example11/data.xml0000644000175000017500000000245010347705210021331 0ustar twernertwerner http://www.northleft.com Northleft Airlines http://www.classyskylines.com Classy Skylines Boston, MA Logan International Airport Seattle, WA Seattle-Tacoma International Airport Los Angeles, CA Los Angeles International Airport libjibx1.2-java-1.2.3/tutorial/example11/Airport.java0000644000175000017500000000017510347705210022163 0ustar twernertwerner package example11; public class Airport { private String code; private String name; private String location; } libjibx1.2-java-1.2.3/tutorial/example11/binding.xml0000644000175000017500000000243010347705210022030 0ustar twernertwerner libjibx1.2-java-1.2.3/tutorial/example11/Route.java0000644000175000017500000000023210347705210021633 0ustar twernertwerner package example11; import java.util.ArrayList; public class Route { private Airport from; private Airport to; private ArrayList flights; } libjibx1.2-java-1.2.3/tutorial/example11/Carrier.java0000644000175000017500000000022010347705210022121 0ustar twernertwerner package example11; public class Carrier { private String code; private String name; private String url; private int rating; } libjibx1.2-java-1.2.3/tutorial/example11/Flight.java0000644000175000017500000000023410347705210021754 0ustar twernertwerner package example11; public class Flight { private Carrier carrier; private int number; private String departure; private String arrival; } libjibx1.2-java-1.2.3/tutorial/example11/TimeTable.java0000644000175000017500000000025310347705210022406 0ustar twernertwerner package example11; import java.util.ArrayList; public class TimeTable { private ArrayList carriers; private ArrayList airports; private ArrayList routes; } libjibx1.2-java-1.2.3/tutorial/example18/0000755000175000017500000000000011300356016017700 5ustar twernertwernerlibjibx1.2-java-1.2.3/tutorial/example18/data.xml0000644000175000017500000000055110347706624021352 0ustar twernertwerner John Smith 12345 Happy Lane Plunk WA 98059 libjibx1.2-java-1.2.3/tutorial/example18/Person.java0000644000175000017500000000020510347706624022024 0ustar twernertwerner package example18; public class Person { public int customerNumber; public String firstName; public String lastName; } libjibx1.2-java-1.2.3/tutorial/example18/Customer.java0000644000175000017500000000030510347706624022360 0ustar twernertwerner package example18; public class Customer { public Person person; public String street; public String city; public String state; public Integer zip; public String phone; } libjibx1.2-java-1.2.3/tutorial/example18/binding.xml0000644000175000017500000000133310347706624022052 0ustar twernertwerner libjibx1.2-java-1.2.3/tutorial/example9/0000755000175000017500000000000011300356022017615 5ustar twernertwernerlibjibx1.2-java-1.2.3/tutorial/example9/data.xml0000644000175000017500000000125110347705752021271 0ustar twernertwerner http://www.northleft.com Northleft Airlines http://www.classyskylines.com Classy Skylines Boston, MA Logan International Airport Seattle, WA Seattle-Tacoma International Airport Los Angeles, CA Los Angeles International Airport libjibx1.2-java-1.2.3/tutorial/example9/Airport.java0000644000175000017500000000017410347705752022124 0ustar twernertwerner package example9; public class Airport { private String code; private String name; private String location; } libjibx1.2-java-1.2.3/tutorial/example9/binding.xml0000644000175000017500000000126510347705752021777 0ustar twernertwerner libjibx1.2-java-1.2.3/tutorial/example9/Carrier.java0000644000175000017500000000021710347705752022071 0ustar twernertwerner package example9; public class Carrier { private String code; private String name; private String url; private int rating; } libjibx1.2-java-1.2.3/tutorial/example9/TimeTable.java0000644000175000017500000000032110347705752022344 0ustar twernertwerner package example9; import java.util.LinkedList; import java.util.List; public class TimeTable { private List children; private static List listFactory() { return new LinkedList(); } } libjibx1.2-java-1.2.3/tutorial/example5/0000755000175000017500000000000011300356022017611 5ustar twernertwernerlibjibx1.2-java-1.2.3/tutorial/example5/data.xml0000644000175000017500000000042210347705662021264 0ustar twernertwerner 123456789 John Smith 12345 Happy Lane Plunk WA 98059 888.555.1234 libjibx1.2-java-1.2.3/tutorial/example5/Customer.java0000644000175000017500000000040210347705662022273 0ustar twernertwerner package example5; public class Customer { public int customerNumber; public String firstName; public String lastName; public String street; public String city; public String state; public Integer zip; public String phone; } libjibx1.2-java-1.2.3/tutorial/example5/binding.xml0000644000175000017500000000074510347705662021775 0ustar twernertwerner libjibx1.2-java-1.2.3/tutorial/example16/0000755000175000017500000000000011300356016017676 5ustar twernertwernerlibjibx1.2-java-1.2.3/tutorial/example16/Company.java0000644000175000017500000000016010347706624022162 0ustar twernertwerner package example16; public class Company extends Identity { public String name; public String taxId; } libjibx1.2-java-1.2.3/tutorial/example16/Identity.java0000644000175000017500000000011610347706624022346 0ustar twernertwerner package example16; public class Identity { public int customerNumber; } libjibx1.2-java-1.2.3/tutorial/example16/Person.java0000644000175000017500000000016710347706624022031 0ustar twernertwerner package example16; public class Person extends Identity { public String firstName; public String lastName; } libjibx1.2-java-1.2.3/tutorial/example16/Customer.java0000644000175000017500000000031110347706624022353 0ustar twernertwerner package example16; public class Customer { public Identity identity; public String street; public String city; public String state; public Integer zip; public String phone; } libjibx1.2-java-1.2.3/tutorial/example16/binding.xml0000644000175000017500000000163011124407326022037 0ustar twernertwerner libjibx1.2-java-1.2.3/tutorial/example16/data1.xml0000644000175000017500000000042210347706624021426 0ustar twernertwerner 123456789 John Smith 12345 Happy Lane Plunk WA 98059 888.555.1234 libjibx1.2-java-1.2.3/tutorial/example16/data2.xml0000644000175000017500000000043010347706624021426 0ustar twernertwerner John Smith Enterprises 91-234851 311233459 12345 Happy Lane Plunk WA 98059 888.555.1234 libjibx1.2-java-1.2.3/tutorial/example6/0000755000175000017500000000000011300356022017612 5ustar twernertwernerlibjibx1.2-java-1.2.3/tutorial/example6/Address.java0000644000175000017500000000022010347705676022063 0ustar twernertwerner package example6; public class Address { public String street; public String city; public String state; public Integer zip; } libjibx1.2-java-1.2.3/tutorial/example6/data.xml0000644000175000017500000000042210347705676021272 0ustar twernertwerner 123456789 John Smith 12345 Happy Lane Plunk WA 98059 888.555.1234 libjibx1.2-java-1.2.3/tutorial/example6/Customer.java0000644000175000017500000000027310347705676022307 0ustar twernertwerner package example6; public class Customer { public int customerNumber; public String firstName; public String lastName; public Address address; public String phone; } libjibx1.2-java-1.2.3/tutorial/example6/binding.xml0000644000175000017500000000103610347705676021775 0ustar twernertwerner libjibx1.2-java-1.2.3/tutorial/example20/0000755000175000017500000000000011300356022017666 5ustar twernertwernerlibjibx1.2-java-1.2.3/tutorial/example20/data.xml0000644000175000017500000000047110347705552021343 0ustar twernertwerner John Smith 12345 Happy Lane Plunk WA 98059 818.42 2393901 3119013 3221010 4390901 6501931 libjibx1.2-java-1.2.3/tutorial/example20/Customer.java0000644000175000017500000000044210347705552022352 0ustar twernertwerner package example20; public class Customer { private int customerNumber; private String firstName; private String lastName; private String street; private String city; private String state; private Integer zip; private int total; private int[] orders; } libjibx1.2-java-1.2.3/tutorial/example20/binding.xml0000644000175000017500000000145310347705552022045 0ustar twernertwerner libjibx1.2-java-1.2.3/tutorial/example20/Conversion.java0000644000175000017500000000441510425211516022667 0ustar twernertwerner package example20; public class Conversion { private Conversion () {} public static String serializeDollarsCents(int cents) { StringBuffer buff = new StringBuffer(); buff.append(cents / 100); int extra = cents % 100; if (extra != 0) { buff.append('.'); if (extra < 10) { buff.append('0'); } buff.append(extra); } return buff.toString(); } public static int deserializeDollarsCents(String text) { if (text == null) { return 0; } else { int split = text.indexOf('.'); int cents = 0; if (split > 0) { cents = Integer.parseInt(text.substring(0, split)) * 100; text = text.substring(split+1); } return cents + Integer.parseInt(text); } } public static String serializeIntArray(int[] values) { StringBuffer buff = new StringBuffer(); for (int i = 0; i < values.length; i++) { if (i > 0) { buff.append(' '); } buff.append(values[i]); } return buff.toString(); } private static int[] resizeArray(int[] array, int size) { int[] copy = new int[size]; System.arraycopy(array, 0, copy, 0, Math.min(array.length, size)); return copy; } public static int[] deserializeIntArray(String text) { if (text == null) { return new int[0]; } else { int split = 0; text = text.trim(); int fill = 0; int[] values = new int[10]; while (split < text.length()) { int base = split; split = text.indexOf(' ', split); if (split < 0) { split = text.length(); } int value = Integer.parseInt(text.substring(base, split)); if (fill >= values.length) { values = resizeArray(values, values.length*2); } values[fill++] = value; while (split < text.length() && text.charAt(++split) == ' '); } return resizeArray(values, fill); } } } libjibx1.2-java-1.2.3/tutorial/example21/0000755000175000017500000000000011300356022017667 5ustar twernertwernerlibjibx1.2-java-1.2.3/tutorial/example21/binding2.xml0000644000175000017500000000202610347705602022121 0ustar twernertwerner libjibx1.2-java-1.2.3/tutorial/example21/binding3.xml0000644000175000017500000000176010347705602022126 0ustar twernertwerner libjibx1.2-java-1.2.3/tutorial/example21/Name.java0000644000175000017500000000014610347705602021427 0ustar twernertwerner package example21; public class Name { private String firstName; private String lastName; } libjibx1.2-java-1.2.3/tutorial/example21/Directory.java0000644000175000017500000000015410347705602022512 0ustar twernertwerner package example21; import java.util.HashMap; public class Directory { private HashMap customerMap; } libjibx1.2-java-1.2.3/tutorial/example21/HashMapper.java0000644000175000017500000001105511124407326022574 0ustar twernertwerner package example21; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import org.jibx.runtime.IAliasable; import org.jibx.runtime.IMarshallable; import org.jibx.runtime.IMarshaller; import org.jibx.runtime.IMarshallingContext; import org.jibx.runtime.IUnmarshaller; import org.jibx.runtime.IUnmarshallingContext; import org.jibx.runtime.JiBXException; import org.jibx.runtime.impl.MarshallingContext; import org.jibx.runtime.impl.UnmarshallingContext; public class HashMapper implements IMarshaller, IUnmarshaller, IAliasable { private static final String SIZE_ATTRIBUTE_NAME = "size"; private static final String ENTRY_ELEMENT_NAME = "entry"; private static final String KEY_ATTRIBUTE_NAME = "key"; private static final int DEFAULT_SIZE = 10; private String m_uri; private int m_index; private String m_name; public HashMapper() { m_uri = null; m_index = 0; m_name = "hashmap"; } public HashMapper(String uri, int index, String name) { m_uri = uri; m_index = index; m_name = name; } /* (non-Javadoc) * @see org.jibx.runtime.IMarshaller#isExtension(java.lang.String) */ public boolean isExtension(String mapname) { return false; } /* (non-Javadoc) * @see org.jibx.runtime.IMarshaller#marshal(java.lang.Object, * org.jibx.runtime.IMarshallingContext) */ public void marshal(Object obj, IMarshallingContext ictx) throws JiBXException { // make sure the parameters are as expected if (!(obj instanceof HashMap)) { throw new JiBXException("Invalid object type for marshaller"); } else if (!(ictx instanceof MarshallingContext)) { throw new JiBXException("Invalid object type for marshaller"); } else { // start by generating start tag for container MarshallingContext ctx = (MarshallingContext)ictx; HashMap map = (HashMap)obj; ctx.startTagAttributes(m_index, m_name). attribute(m_index, SIZE_ATTRIBUTE_NAME, map.size()). closeStartContent(); // loop through all entries in hashmap Iterator iter = map.entrySet().iterator(); while (iter.hasNext()) { Map.Entry entry = (Map.Entry)iter.next(); ctx.startTagAttributes(m_index, ENTRY_ELEMENT_NAME); if (entry.getKey() != null) { ctx.attribute(m_index, KEY_ATTRIBUTE_NAME, entry.getKey().toString()); } ctx.closeStartContent(); if (entry.getValue() instanceof IMarshallable) { ((IMarshallable)entry.getValue()).marshal(ctx); ctx.endTag(m_index, ENTRY_ELEMENT_NAME); } else { throw new JiBXException("Mapped value is not marshallable"); } } // finish with end tag for container element ctx.endTag(m_index, m_name); } } /* (non-Javadoc) * @see org.jibx.runtime.IUnmarshaller#isPresent(org.jibx.runtime.IUnmarshallingContext) */ public boolean isPresent(IUnmarshallingContext ctx) throws JiBXException { return ctx.isAt(m_uri, m_name); } /* (non-Javadoc) * @see org.jibx.runtime.IUnmarshaller#unmarshal(java.lang.Object, * org.jibx.runtime.IUnmarshallingContext) */ public Object unmarshal(Object obj, IUnmarshallingContext ictx) throws JiBXException { // make sure we're at the appropriate start tag UnmarshallingContext ctx = (UnmarshallingContext)ictx; if (!ctx.isAt(m_uri, m_name)) { ctx.throwStartTagNameError(m_uri, m_name); } // create new hashmap if needed int size = ctx.attributeInt(m_uri, SIZE_ATTRIBUTE_NAME, DEFAULT_SIZE); HashMap map = (HashMap)obj; if (map == null) { map = new HashMap(size); } // process all entries present in document ctx.parsePastStartTag(m_uri, m_name); while (ctx.isAt(m_uri, ENTRY_ELEMENT_NAME)) { Object key = ctx.attributeText(m_uri, KEY_ATTRIBUTE_NAME, null); ctx.parsePastStartTag(m_uri, ENTRY_ELEMENT_NAME); Object value = ctx.unmarshalElement(); map.put(key, value); ctx.parsePastEndTag(m_uri, ENTRY_ELEMENT_NAME); } ctx.parsePastEndTag(m_uri, m_name); return map; } }libjibx1.2-java-1.2.3/tutorial/example21/binding0.xml0000644000175000017500000000214410347705602022120 0ustar twernertwerner libjibx1.2-java-1.2.3/tutorial/example21/Customer.java0000644000175000017500000000025510347705602022351 0ustar twernertwerner package example21; public class Customer { private Name name; private String street; private String city; private String state; private Integer zip; } libjibx1.2-java-1.2.3/tutorial/example21/binding1.xml0000644000175000017500000000202310347705602022115 0ustar twernertwerner libjibx1.2-java-1.2.3/tutorial/example21/data1.xml0000644000175000017500000000226110347705602021420 0ustar twernertwerner 12345 Happy Lane Plunk 932 Easy Street Fort Lewis 12345 Happy Lane Plunk 12345 Plunket Lane Happy libjibx1.2-java-1.2.3/tutorial/example21/data0.xml0000644000175000017500000000163110347705602021417 0ustar twernertwerner 12345 Happy Lane Plunk 932 Easy Street Fort Lewis 12345 Happy Lane Plunk 12345 Plunket Lane Happy libjibx1.2-java-1.2.3/tutorial/example17/0000755000175000017500000000000011300356016017677 5ustar twernertwernerlibjibx1.2-java-1.2.3/tutorial/example17/data3.xml0000644000175000017500000000032710347706624021435 0ustar twernertwerner 123456789 12345 Happy Lane Plunk WA 98059 888.555.1234 libjibx1.2-java-1.2.3/tutorial/example17/Company.java0000644000175000017500000000016010347706624022163 0ustar twernertwerner package example17; public class Company extends Identity { public String name; public String taxId; } libjibx1.2-java-1.2.3/tutorial/example17/Identity.java0000644000175000017500000000011610347706624022347 0ustar twernertwerner package example17; public class Identity { public int customerNumber; } libjibx1.2-java-1.2.3/tutorial/example17/Person.java0000644000175000017500000000016710347706624022032 0ustar twernertwerner package example17; public class Person extends Identity { public String firstName; public String lastName; } libjibx1.2-java-1.2.3/tutorial/example17/Customer.java0000644000175000017500000000031110347706624022354 0ustar twernertwerner package example17; public class Customer { public Identity identity; public String street; public String city; public String state; public Integer zip; public String phone; } libjibx1.2-java-1.2.3/tutorial/example17/binding.xml0000644000175000017500000000205710347706624022055 0ustar twernertwerner libjibx1.2-java-1.2.3/tutorial/example17/data1.xml0000644000175000017500000000042210347706624021427 0ustar twernertwerner 123456789 John Smith 12345 Happy Lane Plunk WA 98059 888.555.1234 libjibx1.2-java-1.2.3/tutorial/example17/data2.xml0000644000175000017500000000043010347706624021427 0ustar twernertwerner John Smith Enterprises 91-234851 311233459 12345 Happy Lane Plunk WA 98059 888.555.1234 libjibx1.2-java-1.2.3/tutorial/example19/0000755000175000017500000000000011300356016017701 5ustar twernertwernerlibjibx1.2-java-1.2.3/tutorial/example19/Item.java0000644000175000017500000000050110347706624021454 0ustar twernertwerner package example19; import org.jibx.runtime.IUnmarshallingContext; public class Item { public Order order; public int itemId; public int count; public void postset(IUnmarshallingContext ctx) { order = (Order)ctx.getStackObject(1); System.out.println("Item.postset called"); } } libjibx1.2-java-1.2.3/tutorial/example19/data.xml0000644000175000017500000000064210347706624021354 0ustar twernertwerner John Smith 12345 Happy Lane Plunk WA 98059 6.0 5 1 3 2 libjibx1.2-java-1.2.3/tutorial/example19/Person.java0000644000175000017500000000044510347706624022033 0ustar twernertwerner package example19; public class Person { Customer customer; private int customerNumber; private String firstName; private String lastName; public void preset(Object obj) { customer = (Customer)obj; System.out.println("Person.preset called"); } } libjibx1.2-java-1.2.3/tutorial/example19/Customer.java0000644000175000017500000000041710347706624022365 0ustar twernertwerner package example19; public class Customer { private Person person; private String street; private String city; private String state; private Integer zip; private String phone; public void setZip(Integer zip) { this.zip = zip; } } libjibx1.2-java-1.2.3/tutorial/example19/binding.xml0000644000175000017500000000175310347706624022061 0ustar twernertwerner libjibx1.2-java-1.2.3/tutorial/example19/Order.java0000644000175000017500000000063510347706624021641 0ustar twernertwerner package example19; import java.util.ArrayList; public class Order { public Customer customer; public double total; public ArrayList items; public static Order orderFactory() { System.out.println("Order.orderFactory called"); return new Order(); } public void preget() { System.out.println("Order.preget called"); total = items.size() * 1.5; } } libjibx1.2-java-1.2.3/tutorial/example3/0000755000175000017500000000000011300356022017607 5ustar twernertwernerlibjibx1.2-java-1.2.3/tutorial/example3/data.xml0000644000175000017500000000042210071714774021260 0ustar twernertwerner WA 98059 Plunk 12345 Happy Lane 123456789 John Smith 888.555.1234 libjibx1.2-java-1.2.3/tutorial/example3/Person.java0000644000175000017500000000020710347705636021742 0ustar twernertwerner package example3; public class Person { private String firstName; private String lastName; private int customerNumber; } libjibx1.2-java-1.2.3/tutorial/example3/Customer.java0000644000175000017500000000030410347705636022273 0ustar twernertwerner package example3; public class Customer { public Person person; public String street; public String city; public String state; public Integer zip; public String phone; } libjibx1.2-java-1.2.3/tutorial/example3/binding.xml0000644000175000017500000000115210071714774021762 0ustar twernertwerner libjibx1.2-java-1.2.3/tutorial/example3/out.xml0000644000175000017500000000042210071714774021156 0ustar twernertwerner 123456789 John Smith 12345 Happy Lane Plunk WA 98059 888.555.1234 libjibx1.2-java-1.2.3/tutorial/example7/0000755000175000017500000000000011300356022017613 5ustar twernertwernerlibjibx1.2-java-1.2.3/tutorial/example7/data.xml0000644000175000017500000000052310347705716021270 0ustar twernertwerner 12345 Happy Lane Plunk WA 98059

Leave package behind bushes to left of door

888.555.1234
libjibx1.2-java-1.2.3/tutorial/example7/Person.java0000644000175000017500000000020410347705716021742 0ustar twernertwerner package example7; public class Person { public int customerNumber; public String firstName; public String lastName; } libjibx1.2-java-1.2.3/tutorial/example7/Customer.java0000644000175000017500000000030410347705716022276 0ustar twernertwerner package example7; public class Customer { public Person person; public String street; public String city; public String state; public Integer zip; public String phone; } libjibx1.2-java-1.2.3/tutorial/example7/binding.xml0000644000175000017500000000050110347705716021765 0ustar twernertwerner libjibx1.2-java-1.2.3/tutorial/example7/out.xml0000644000175000017500000000024710347705716021171 0ustar twernertwerner 12345 Happy Lane Plunk WA 98059 888.555.1234 libjibx1.2-java-1.2.3/tutorial/example13/0000755000175000017500000000000011300356016017673 5ustar twernertwernerlibjibx1.2-java-1.2.3/tutorial/example13/Address.java0000644000175000017500000000022110347705332022127 0ustar twernertwerner package example13; public class Address { public String street; public String city; public String state; public Integer zip; } libjibx1.2-java-1.2.3/tutorial/example13/data.xml0000644000175000017500000000035510347705332021342 0ustar twernertwerner Smith
12345 Happy Lane Plunk WA
888.555.1234
libjibx1.2-java-1.2.3/tutorial/example13/Customer.java0000644000175000017500000000027310347705332022352 0ustar twernertwerner package example13; public class Customer { public int customerNumber; public String firstName; public String lastName; public Object address; public String phone; } libjibx1.2-java-1.2.3/tutorial/example13/binding.xml0000644000175000017500000000115710347705332022044 0ustar twernertwerner libjibx1.2-java-1.2.3/tutorial/example10/0000755000175000017500000000000011300356016017670 5ustar twernertwernerlibjibx1.2-java-1.2.3/tutorial/example10/data.xml0000644000175000017500000000125110347705034021332 0ustar twernertwerner http://www.northleft.com Northleft Airlines http://www.classyskylines.com Classy Skylines Boston, MA Logan International Airport Seattle, WA Seattle-Tacoma International Airport Los Angeles, CA Los Angeles International Airport libjibx1.2-java-1.2.3/tutorial/example10/Airport.java0000644000175000017500000000017510347705034022166 0ustar twernertwerner package example10; public class Airport { private String code; private String name; private String location; } libjibx1.2-java-1.2.3/tutorial/example10/binding.xml0000644000175000017500000000121510347705034022033 0ustar twernertwerner libjibx1.2-java-1.2.3/tutorial/example10/Carrier.java0000644000175000017500000000022010347705034022124 0ustar twernertwerner package example10; public class Carrier { private String code; private String name; private String url; private int rating; } libjibx1.2-java-1.2.3/tutorial/example10/TimeTable.java0000644000175000017500000000025110347705034022407 0ustar twernertwerner package example10; import java.util.ArrayList; import java.util.LinkedList; public class TimeTable { private ArrayList carriers; private Object[] airports; } libjibx1.2-java-1.2.3/tutorial/build.xml0000644000175000017500000003260510434265730017734 0ustar twernertwerner libjibx1.2-java-1.2.3/tutorial/example15/0000755000175000017500000000000011300356016017675 5ustar twernertwernerlibjibx1.2-java-1.2.3/tutorial/example15/Address.java0000644000175000017500000000022110347705370022133 0ustar twernertwerner package example15; public class Address { public String street; public String city; public String state; public Integer zip; } libjibx1.2-java-1.2.3/tutorial/example15/data3.xml0000644000175000017500000000057110347705370021431 0ustar twernertwerner Smith 12345 Happy Lane Plunk WA 54321 Happy Lane Plunk WA 888.555.1234 libjibx1.2-java-1.2.3/tutorial/example15/Customer.java0000644000175000017500000000034010347705370022351 0ustar twernertwerner package example15; public class Customer { public int customerNumber; public String firstName; public String lastName; public Address shipAddress; public Address billAddress; public String phone; } libjibx1.2-java-1.2.3/tutorial/example15/binding.xml0000644000175000017500000000241110347705370022042 0ustar twernertwerner libjibx1.2-java-1.2.3/tutorial/example15/Subscriber.java0000644000175000017500000000015110347705370022653 0ustar twernertwerner package example15; public class Subscriber { public String name; public Address mailAddress; } libjibx1.2-java-1.2.3/tutorial/example15/data1.xml0000644000175000017500000000036710347705370021432 0ustar twernertwerner Smith 12345 Happy Lane Plunk WA 888.555.1234 libjibx1.2-java-1.2.3/tutorial/example15/data2.xml0000644000175000017500000000017510347705370021430 0ustar twernertwerner John Smith 12345 Happy Lane libjibx1.2-java-1.2.3/tutorial/example4/0000755000175000017500000000000011300356022017610 5ustar twernertwernerlibjibx1.2-java-1.2.3/tutorial/example1/0000755000175000017500000000000011300356016017610 5ustar twernertwernerlibjibx1.2-java-1.2.3/tutorial/example1/data.xml0000644000175000017500000000042210071714764021255 0ustar twernertwerner 123456789 John Smith 12345 Happy Lane Plunk WA 98059 888.555.1234 libjibx1.2-java-1.2.3/tutorial/example1/Person.java0000644000175000017500000000020410350107324021715 0ustar twernertwerner package example1; public class Person { public int customerNumber; public String firstName; public String lastName; } libjibx1.2-java-1.2.3/tutorial/example1/Customer.java0000644000175000017500000000030410350107324022251 0ustar twernertwerner package example1; public class Customer { public Person person; public String street; public String city; public String state; public Integer zip; public String phone; } libjibx1.2-java-1.2.3/tutorial/example1/binding.xml0000644000175000017500000000076410071714764021767 0ustar twernertwerner libjibx1.2-java-1.2.3/tutorial/example2/0000755000175000017500000000000011300356022017606 5ustar twernertwernerlibjibx1.2-java-1.2.3/tutorial/example2/data.xml0000644000175000017500000000030610071714774021260 0ustar twernertwerner Smith 12345 Happy Lane Plunk WA 888.555.1234 libjibx1.2-java-1.2.3/tutorial/example2/Person.java0000644000175000017500000000043010350107324021717 0ustar twernertwerner package example2; public class Person { private int customerNumber; private String firstName; private String lastName; protected int getNumber() { return customerNumber; } protected void setNumber(int num) { customerNumber = num; } } libjibx1.2-java-1.2.3/tutorial/example2/Customer.java0000644000175000017500000000042410350107324022255 0ustar twernertwerner package example2; public class Customer { private Person person; private String street; private String city; private String state; private Object zip; private String phone; public void setPhone(String phone) { this.phone = phone; } } libjibx1.2-java-1.2.3/tutorial/example2/binding.xml0000644000175000017500000000117310350107324021747 0ustar twernertwerner libjibx1.2-java-1.2.3/tutorial/example14/0000755000175000017500000000000011300356016017674 5ustar twernertwernerlibjibx1.2-java-1.2.3/tutorial/example14/Address.java0000644000175000017500000000022110347705346022135 0ustar twernertwerner package example14; public class Address { public String street; public String city; public String state; public Integer zip; } libjibx1.2-java-1.2.3/tutorial/example14/data3.xml0000644000175000017500000000057110347705346021433 0ustar twernertwerner Smith 12345 Happy Lane Plunk WA 54321 Happy Lane Plunk WA 888.555.1234 libjibx1.2-java-1.2.3/tutorial/example14/Customer.java0000644000175000017500000000034010347705346022353 0ustar twernertwerner package example14; public class Customer { public int customerNumber; public String firstName; public String lastName; public Address shipAddress; public Address billAddress; public String phone; } libjibx1.2-java-1.2.3/tutorial/example14/binding.xml0000644000175000017500000000154510347705346022053 0ustar twernertwerner libjibx1.2-java-1.2.3/tutorial/example14/Subscriber.java0000644000175000017500000000015110347705346022655 0ustar twernertwerner package example14; public class Subscriber { public String name; public Address mailAddress; } libjibx1.2-java-1.2.3/tutorial/example14/data1.xml0000644000175000017500000000036710347705346021434 0ustar twernertwerner Smith 12345 Happy Lane Plunk WA 888.555.1234 libjibx1.2-java-1.2.3/tutorial/example14/data2.xml0000644000175000017500000000021610347705346021426 0ustar twernertwerner John Smith 12345 Happy Lane Plunk WA libjibx1.2-java-1.2.3/readme.html0000644000175000017500000001331311526300632016360 0ustar twernertwerner JiBX: 1.2.3 Release

Welcome to the 1.2.3 Release

This 1.2.3 release provides many enhancements and bug fixes (see changes.txt for a list of the more significant ones), especially around the new features introduced in the 1.2 release:

  • Code and binding generation from schemas
  • Improved schema and binding generation from code
  • Precompiled base bindings

The docs subdirectory contains the full JiBX documentation.

To help you get started using JiBX, you can find several introductory projects in the examples directory, all with Ant build scripts provided. The examples/bindgen directory gives examples of using JiBX to generate schema definitions and corresponding bindings from existing Java code. The documentation includes a full discussion of these examples. The examples/codegen directory gives examples of using JiBX to generate Java code and corresponding bindings from XML schema definitions, again as discussed in the documentation. The examples/jibx2wsdl directory gives examples of using JiBX to generate WSDL web service definitions from existing Java code. Finally, the examples/starter project gives a barebones projects demonstrating how you can work with JiBX using an existing binding definition. This last example is based on the first sample from the binding tutorial. The source codes for the full set of samples in the binding tutorial are also provided, separately.

Acknowledgements

This download includes the XPP3 Pull Parser implementation of the XMLPull parser API. See the XPP3 home page for details on the parser.

This download includes the Apache Jakarta BCEL Byte Code Engineering Library (version 5.1). See the BCEL home page for details on the library. It also includes the Apache Jakarta log4j library (version 1.2.14). See the log4j home page for details.

This download includes the QDox JavaDoc parser (version 1.6.1). See the QDox home page for details on the parser.

This download includes the StAX 1.0 API and WoodStox parser implementation from the Apach Axis2 project. See the Apache Axis2 home page for details on these libraries.

This download includes the Joda Time library (version 1.6). See the Joda home page for details on the library.

This download includes several Eclipse project jars (version 3.2.0). See the Eclipse home page for details on the Eclipse project.

The CodeGen examples use simplified versions of some Open Travel Alliance (OTA) schemas and sample documents. See the OTA home page for details.


libjibx1.2-java-1.2.3/examples/0000755000175000017500000000000011300355502016046 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/codegen/0000755000175000017500000000000011526304270017460 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/codegen/custom3b.xml0000644000175000017500000000571611366304536021761 0ustar twernertwerner libjibx1.2-java-1.2.3/examples/codegen/custom1.xml0000644000175000017500000000037311147013326021576 0ustar twernertwerner libjibx1.2-java-1.2.3/examples/codegen/otasubset/0000755000175000017500000000000011300533032021457 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/codegen/otasubset/OTA_CommonTypes.xsd0000644000175000017500000072735510633454124025216 0ustar twernertwerner All Schema files in the OTA specification are made available according to the terms defined by the OTA License Agreement at http://www.opentravel.org/ota_downloads_form.cfm This complex type defines the information needed to describe a type of payment card that is acceptable as a form of payment. A usage fee (amount or percentage) may also be stated for this particular card type. A code used to identify this payment card. Refer to OTA Code List Card Type (CDT). The name used to describe this type of payment card, for example, American Express If applicable, defines the percentage of the total amount that is incurred as a usage fee. If applicable, defines the additonal amount that is incurred as a usage fee. Airport location includes 3 letter code, terminal and gate. Location code used to identify a specific airport. Identifies the context of the identifying code, such as IATA, ARC, or internal code, etc. Arrival or departure terminal (e.g., Concourse A) Arrival or departure gate (e.g., B12) Identifies the alternate language for a customer or message. The human language is identified by ISO 639 codes. Used in place of a property code to retrieve availability across multiple properties in a hotel reservation system defined area. This attribute does not map to a code list, it maps to a hotel reservation system defined value. Used to provide a date of birth. Indicates the date of birth as indicated in the document, in ISO 8601 prescribed format. Specifies the booking channel types and whether it is the primary means of connectivity of the source. The type of booking channel (e.g. Global Distribution System (GDS), Alternative Distribution System (ADS), Sales and Catering System (SCS), Property Management System (PMS), Central Reservation System (CRS), Tour Operator System (TOS), Internet and ALL). Refer to OTA Code List Booking Channel Type (BCT). Indicates whether the enumerated booking channel is the primary means of connectivity used by the source. Specifies charge information by unit (e.g., room, person, item) and frequency (e.g., daily, weekly, stay). This is the unit for which the charge applies (e.g. room, person, seat). Refer to OTA Code List Charge Type (CHG). This is the timeframe used to apply the charge during the course of the reservation (e.g. Daily, Weekly, Stay). Refer to OTA Code List Charge Type (CHG). Number of units permitted before charges are applied (e.g., more than 4 persons). ChargeFrequency exemptions before charges are applied (e.g. after 2 nights). Maximum number of Units for which the charge will be applied (e.g., waive charges above 10 rooms). Maximum number of times the charge will be applied (e.g. waive charges above 30 nights). Name of the (self-professed) country that is claimed for citizenship Used to specify a code and the context of the code. Any code used to specify an item, for example, type of traveler, service code, room amenity, etc. Identifies the source authority for the code. This is intended to be used in conjunction with an attribute that uses an OTA code list. It is used to provide additional information about the code being referenced. May be used to give further detail on the code or to remove an obsolete item. May be used to give further detail on the code. Used to specify a code and its associated attributes; meaning is derived from actual use. Used to specify a code and the context of the code. Identifies the location of the code table Specifies the number of items that are identified by the Code (e.g., 2 adults, 5 first class seats). Provides a code along with the preferred usage of this information. Provides meaning to a company code. Used to provide the company common name. Refer to OTA Code List Travel Sector (TVS). Identifies a company by the company code. Identifies the context of the identifying code, such as DUNS, IATA or internal code, etc. Provides a monetary amount and the currency code to reflect the currency in which this amount is expressed. Provides a currency code to reflect the currency in which an amount may be expressed as well as the number of decimal places of that currency. Provides a currency code to reflect the currency in which an amount may be expressed. The code specifying a monetary unit. Use ISO 4217, three alpha code. Indicates the number of decimal places for a particular currency. This is equivalent to the ISO 4217 standard "minor unit". Typically used when the amount provided includes the minor unit of currency without a decimal point (e.g., USD 8500 needs DecimalPlaces="2" to represent $85). Program rewarding frequent use by accumulating credits for services provided by vendors. Identifier to indicate the company owner of the loyalty program. Unique identifier of the member in the program (membership number, account number, etc.). Identifies the travel sector. Refer to OTA Code List Travel Sector (TVS). A reference placeholder for this loyalty membership. Indicate the partner(s)/vendor(s) for which the customer loyalty number is valid. Used to define a period of time using either actual dates or a day and month. Defines the start of a period either the day and month or the actual date. Defines the duration of a period. Defines the end of a period either the day and month or the actual date. The attributes of the OTA DateTimeSpan data type are based on the W3C base data types of timeInstant and timeDuration. The lexical representation for timeDuration is the [ISO 8601] extended format PnYn MnDTnH nMnS, where nY represents the number of years, nM the number of months, nD the number of days, 'T' is the date/time separator, nH the number of hours, nM the number of minutes and nS the number of seconds. The number of seconds can include decimal digits to arbitrary precision. As an example, 7 months, 2 days, 2hours and 30 minutes would be expressed as P0Y7M2DT2H30M0S. Truncated representations are allowed provided they conform to ISO 8601 format. Time periods, i.e. specific durations of time, can be represented by supplying two items of information: a start instant and a duration or a start instant and an end instant or an end instant and a duration. The OTA standards use the XML mapping that provides for two elements to represent the specific period of time; a startInstant and a duration. The starting value of the time span. The duration datatype represents a combination of year, month, day and time values representing a single duration of time, encoded as a single string. The ending value of the time span. Creation date time, Creator Id, last modification date time and last Modifier Id. Time stamp of the creation. ID of creator. The creator could be a software system identifier or an identifier of an employee resposible for the creation. Time stamp of last modification. Identifies the last software system or person to modify a record. Date an item will be purged from a database (e.g., from a live database to an archive). The absolute deadline or amount of offset time before a deadline for a payment of cancel goes into effect. Defines the absolute deadline. Either this or the offset attributes may be used. The units of time, e.g.: days, hours, etc., that apply to the deadline. The number of units of DeadlineTimeUnit. An enumerated type indicating when the deadline drop time goes into effect. The deadline information applies from when the reservation was confirmed. In some systems the confirmation time will differ from the booking time. Indicates that the receiving system should assume the default value if the user specifies no overriding value or action. Used to determine the level of detail in the response. To indicate whether full details should be returned in the response. "True" indicates details should be included and "false" means details are not required. Used to provide distance and direction information. An optional attribute indicating the distance to/from a reference point. When used in conjunction with DistanceMax, this represents the minimum distance. When the Distance attribute contains a value, (presumably a numerical value), the unit of measure is a string value that indicate what units are used for the value. An optional string value used to indicate the compass point(s) direction, e.g.: S, SE (South, Southeast), FROM the Reference Point TO the hotel location if the search is not a full circumference from the reference point. An optional attribute indicating the maximum distance to/from a reference point. If a day(s) of the week is set to true then the associated item is available on that day of the week (e.g. if Mon="T" then a flight operates on Mondays or a certain rate is available on Mondays). When true, apply to Monday. When true, apply to Tuesday. When true, apply to Wednesday. When true, apply to Thursday. When true, apply to Friday. When true, apply to Saturday. When true, apply to Sunday. Used to send the effective date and/or expiration date. Indicates the starting date. Indicates the ending date. Used to identify an application error by either text, code, or by an online description and also to give the status, tag, and/or identification of the record that may have caused the error. If present, this refers to a table of coded values exchanged between applications to identify errors or warnings. Refer to OTA Code List Error Codes (ERR). If present, this URL refers to an online description of the error that occurred. If present, recommended values are those enumerated in the OTA_ErrorRS, (NotProcessed | Incomplete | Complete | Unknown) however, the data type is designated as string data, recognizing that trading partners may identify additional status conditions not included in the enumeration. If present, this attribute may identify an unknown or misspelled tag that caused an error in processing. It is recommended that the Tag attribute use XPath notation to identify the location of a tag in the event that more than one tag of the same name is present in the document. Alternatively, the tag name alone can be used to identify missing data [Type=ReqFieldMissing]. If present, this attribute allows for batch processing and the identification of the record that failed amongst a group of records. This value may contain a concatenation of a unique failed transaction ID with specific record(s) associated with that transaction. Used to specify the rate for exchanging from one currency to another currency. Defines the fees and/or taxes associated with a charge (e.g. taxes associated with a hotel rate). Used to indicate if the amount is inclusive or exclusive of other charges, such as taxes, or is cumulative (amounts have been added to each other). Code identifying the fee (e.g.,agency fee, municipality fee). Refer to OTA Code List Fee Tax Type (FTT). Fee percentage; if zero, assume use of the Amount attribute (Amount or Percent must be a zero value). Provides information about any files attached (e.g., multimedia objects) at the transport layer (e.g., HTTP/SOAP) May be used to give further detail on the code or to remove an obsolete item. Vendor-specific format that contains the content data for the multimedia object. A short description of the multimedia object. A code defining the type of picture (e.g. Exterior, Lobby, Reception area, RoomTypes, Facilities, Dining areas, Meeting Rooms, Logo). Refer to OTA Code List Picture Category Code (PIC). The version of the multimedia object. The title for the multimedia object. The caption to be published with the multimedia file. The information describing the copyright notice for the multimedia object at a hotel facility. If this field is filled in, this copyright notice must be printed with the multimedia object. Specifies the name of the file being sent. The size of the file sent, in bytes. This may be used to validate that the received file is the correct size. The height of the image. The width of the image. The unit of measure for the multimedia object (e.g., inches, pixels, centimeters). Refer to OTA Code List Unit of Measure Code (UOM). The content ID of a file attachment with the prefix 'cid:'. The value of this can be used to retrieve the corresponding attachment by the receiving system. Description of the multimedia object or attached file contents. Refer to OTA Code List Content Code (CTT). The specific file format of the multimedia object or attached file (e.g., mpeg, jpg, gif). Refer to OTA Code List Content Format Code (CFC). Uniquely identifies this file in the message. Identifies if the associated data is formatted into its individual pieces, or exists as a single entity. Specifies if the associated data is formatted or not. When true, then it is formatted; when false, then not formatted. Used to indicate the gender of a person, if known. HotelReference: The hotel reference identifies a specific hotel by using the Chain Code, the Brand Code, and the Hotel Code. The codes used are agreed upon by trading partners. The code that identifies a hotel chain or management group. The hotel chain code is decided between vendors. This attribute is optional if the hotel is an independent property that can be identified by the HotelCode attribute. A code that identifies the brand or flag of a hotel, often used for independently-owned or franchised properties who are known by a specific brand. The code that uniquely identifies a single hotel property. The hotel code is decided between vendors. The IATA city code; for example DCA, ORD. A text field used to communicate the proper name of the hotel. A text field used to communicate the context (or source of - ex Sabre, Galileo, Worldspan, Amadeus) the HotelReferenceGroup codes. Used to provide a required unique identifier. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation. Provides employee information. Identifier assigned to the employee. Level in employer organization (e.g. seniority) that conveys privileges. Title of employee in the employer company that conveys rank or privileges. Used to provide an optional unique identifier. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation. Name of bank or organization issuing the card (e.g., alumni association, bank, fraternal organization, etc.). Code of bank issuing the card. Identifies language. Language identification. Code and optional string to describe a location point. Code used to identify a location. Identifies the context of the identifying code (e.g., IATA, ARC, or internal code). Provides the level within a loyalty program. Indicates special privileges in program assigned to individual. Identifies the Loyalty Program, membership, form factor used by the certificate and its current status Identifies the individual program or promotion within a loyalty scheme Identifies the source of the code that identifies program or promotion within a loyalty scheme Identifies the unique certificate number and the loyalty program and the membership ID associated with this certificate Identifies either the date range when the Certificate is valid or the dates against which the certificate is being applied The number of nights of the hotel stay that are used to calculate the redemption amount. Indicates what form the certificate is in e.g. Paper or Electronic Used to define the status of the certificate e.g. Available, Voided, Cancelled, Reserved, Used. Identifies a loyalty certificate. The loyalty redemption certificate identifier. Unique identifier of the member in the program. This identifies the loyalty program. Used to specify the maximum number of responses to a request. A positive integer value that indicates the maximum number of responses desired in the return. Generic information about a multimedia item. The content ID of a file attachment with the prefix 'cid:'. The value of this can be used to retrieve the corresponding attachment by the receiving system. The title of the multimedia object. The author of the multimedia object. A copyright notice for the multimedia object. Owner of the copyright for the multimedia content. The start date for which the multimedia content rights are claimed. The end date for which the multimedia content rights are claimed. The start date for which the content is considered valid. The end date for which the content is considered valid. Start month and day or date for which the multimedia content is relevent (e.g. the start of a season or the start of an event). When a year is not used (i.e. only the month and day) it signifies a recurring event. End month and day or date for which the multimedia content is relevent (e.g. the end of a season or the start of an event). When a year is not used (i.e. only the month and day) it signifies a recurring event. Uniquely identifies this file in the message. Unique identifier for the source of the multimedia object (e.g., the original image file). Specific information about a multimedia item. The code associated with the format of the multimedia item. Refer to OTA code list Content Format Code (CFC) The size of the multimedia file in bytes. The name of the multimedia file. An attribute group to be used when the associated item has a required name and an optional code. If the length of the name could exceed 64 characters the complexType LongNameoptionalCodeType should be used. The name of an item. Provides the code identifying the item. Minimum and maximum occupancy values. Minimum number of persons allowed in a unit of accommodation or place. Maximum number of persons allowed in a unit of accommodation or place. Designates the office category within an organization. Indicates main office, field office, or division of the organization. An attribute group to be used when the associated item has an optional code and an optional name. Provides the code identifying the item. The name of an item. The OTA_PayloadStdAttributes defines the standard attributes that appear on the root element for all OTA payloads. A reference for additional message identification, assigned by the requesting host system. When a request message includes an echo token the corresponding response message MUST include an echo token with an identical value. Indicates the creation date and time of the message in UTC using the following format specified by ISO 8601; YYYY-MM-DDThh:mm:ssZ with time values using the 24 hour clock (e.g. 20 November 2003, 1:59:38 pm UTC becomes 2003-11-20T13:59:38Z). Used to indicate whether the request is for the Test or Production system. For all OTA versioned messages, the version of the message is indicated by a decimal value. A unique identifier to relate all messages within a transaction (e.g. this would be sent in all request and response messages that are part of an on-going transaction). Used to identify the sequence number of the transaction as assigned by the sending system; allows for an application to process messages in a certain order or to request a resynchronization of messages in the event that a system has been off-line and needs to retrieve messages that were missed. This indicates where this message falls within a sequence of messages. This is the first message within a transaction. This is the last message within a transaction. This indicates that all messages within the current transaction must be ignored. This is any message that is not the first or last message within a transaction. Specifies that this is a followup request asking for more of what was requested in the previous request. This request message is a subsequent request based on the previous message sent in this transaction. When true, indicates the message is being re-sent after a failure. It is recommended that this attribute is used (i.e., set to TRUE) only when a message is retransmitted. Indicates the start and end date for a payment card. Indicates the starting date. Indicates the ending date. Used to specify the geographic coordinates of a location. The measure of the angular distance on a meridian north or south of the equator. The measure of the angular distance on a meridian east or west of the prime meridian. The height of an item, typically above sea level. Provides the unit of measure for the altitude (e.g., feet, meters, miles, kilometers). Refer to OTA Code List Unit of Measure Code (UOM). Used to indicate a level of prefernce for an associated item, only, unacceptable, preferred. Used to indicate a level of preference for an associated item. Identifes the primary language preference for the message. Identifes the primary language preference for the message. The human language is identified by ISO 639 codes. Allows for control of the sharing of data between parties. value="Inherit" Permission for sharing data for synchronization of information held by other travel service providers. value="Inherit" Permission for sharing data for marketing purposes. Used to specify a profile type. Code to specify a profile such as Customer, Tour Operator, Corporation, etc. Refer to OTA Code List Profile Type (PRT). Used to provide a promotion code. Promotion code is the identifier used by the host to link directly with a specific named advertising campaign. By including the required code, the client is able to gain access to special offers which may have been created for a specifically targeted group via a CRM system or for a wider advertising campaign using Television or press adverts. List of the vendor codes associated with a promotion. Used to define a quantity. Used to define the quantity for an associated element or attribute. Information to identify a queue. The ATA/IATA airport/city code, office code, pseudo city code, etc. of the queue. An identifier specifying the queue on which the booking file resides in the system. The category of the queue. Identifies the airline and/or system where the queue resides. If this is omitted, the airline and/or system code (AirlineVendorID) contained in the point of sale information should be used. An additional identifier to determine the exact queue on which a reservation record should be placed Defines the rate information that is common to all transactions. Such information may include rate codes, rate type, promotional codes, etc. This information may be used to determine the rate that is made available. Used to indicate the purpose, whether for business, personal or other. Refer to OTA Code List Travel Purpose (TVP). The RateCategory attribute defines a set of valid values for the category of a rate. Typically rates are offered as either Leisure rates or Business (Corporate) rates, with a business rate usually including additional costs such as the cost of insurance, etc. This set of values defines the rate categories. Refer to OTA Code List Rate Category(RTC). This is the vendor specific code used to identify a special rate associated with a specific organization. Promotion code is the identifier used by the host to link directly with a specific named advertising campaign. By including the required code, the client is able to gain access to special offers which may have been created for a specifically targeted group via a CRM system or for a wider advertising campaign using Television or press adverts. This is the vendor specific code for rate codes (e.g. WES, 2A, DLY00). The RatePeriod attribute defines the type of rate that may be applied. For example, typically car rental rates differ based upon the duration of the rental, and the actual rate is then expressed in terms of the period of the rental. When true, only guaranteed rates should be returned. When false, all rates should be returned A range of monetary values within which the cost of the available products are requested. A decimal value that indicates the minimum monetary value to be considered in a request for an available product. A decimal value that indicates the maximum monetary value to be considered in a request for an available product. The rate amount used in place of MinRate and MaxRate when a specific rate is being requested. Used to specify the period of time to which the rates apply. Used to provide currency code and decimal places for the rate attributes. Defines the position of an entity in relation to another entity (e.g. from an airport to a hotel, the relationship is dependant on use). Defines the cardinal direction (e.g., north, south, southwest). Defines the distance between two points. Candidate for potential removal, usage is not recommended. Deprecation Warning added in 2006A. Provides the ability to specify the unit of measure to which the "Distance" attribute is referring. The unit of measure in a code format. Refer to OTA Code List Unit of Measure Code (UOM). This is used to indicate that an item is obsolete. If true, this item is obsolete and should be removed from the receiving system. Used to request the version of the payload message desired for the response. Used to request the version of the payload message desired for the response. Indicates that additional records are available and provides the echo token to be used to retrieve those records. If true, this indicates more items are available. If false, no more items are available. A reference to the last response returned. Originally set in the response message and will be used in the next query for more details. Used to specify the maximum number of responses to a request. Indicates a preference for an item that is referred to using a Reference Place Holder (RPH). Often an object is stored in a collection of similar objects, and a preference for use of one these objects is to be made known. This complex type can be used to specify the preference level, and to provide the indicator to the object in the collection. Attributes for seat request. Note: you can choose a specific seat or just a general preference Used to provide the seat number. Refer to OTA Code List Seat Preference (STP). Used to indicate whether information can be shared. Permission for sharing all data in profile for synchronization of profiles held by other travel service providers. Permission for sharing all data in profile for marketing purposes. Provides the date of registration for a loyalty program. Indicates when the member signed up for the loyalty program. Indicates the alliance status of a program. Indicates if program is affiliated with a group of related offers accumulating credits. Indicates the program is not part of an alliance. Indicates the program is part of an alliance. Identifies a position with regard to the smoking of cigarettes, either Allowed or NotAllowed. This may be of use when expressing a preference (I prefer a room that allows smoking) or when stating the attributes of an item (smoking in this rental car is not allowed). Indicates smoking is allowed when true and is not allowed when false. Provides telephone information details. Refer to OTA Code List Phone Location Type (PLT). Indicates type of technology associated with this telephone number, such as Voice, Data, Fax, Pager, Mobile, TTY, etc. Refer to OTA Code List Phone Technology Type (PTT). Describes the type of telephone number, in the context of its general use (e.g. Home, Business, Emergency Contact, Travel Arranger, Day, Evening). Refer to OTA Code List Phone Use Type (PUT). Code assigned by telecommunications authorities for international country access identifier. Code assigned for telephones in a specific region, city, or area. Telephone number assigned to a single location. Extension to reach a specific party at the phone number. Additional codes used for pager or telephone access rights. A remark associated with the telephone number. Construct for holding a telephone number. Information about a telephone number, including the actual number and its usage Used elsewhere in the message to reference a specific telephone number (including faxes). Total time span covered by this availability request (from the earliest arrival to the latest departure) The earliest ending date/time for the availability requested, expressed in dateTime format as prescribed by ISO 8601. The latest ending date/time for the availability requested, expressed in dateTime format as prescribed by ISO 8601. The Day of Week of the starting date for the availability requested. Enumerated values of StartDOW are the seven days of the week: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, or Sunday. Provides times related to a travel segment. The day of week of travel segment. The check in time and date of travel segment. The departure time and date of the travel segment The arrival time and date of the travel segment. Defines information on the number of travelers of a specific type (e.g. a driver type can be either one of a defined set, Adult, YoungDriver, YoungerDriver, or it may be a code that is acceptable to both Trading Partners). This is used to specify age in years. Refer to OTA Code List Age Qualifying Code (AQC) or use StringLength1to8 with CodeContext to use a non-OTA code. Identifies the source authority for the code. Identifies the location of the code table Specifies the number of travelers. Provides unique identification information. URL that identifies the location associated with the record identified by the UniqueID. A reference to the type of object defined by the UniqueID element. Refer to OTA Code List Unique ID Type (UIT). The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated. Used to identify the source of the identifier (e.g., IATA, ABTA). Provides measurement information. This is the numeric value associated with the measurement. This is the standard unit of measure name (e.g., it could be generic such as metric or imperial or specific such as inches, feet, yards, miles, millimeters, centimeters, meters, kilometers- according to usage). The unit of measure in a code format (e.g., inches, pixels, centimeters). Refer to OTA Code List Unit of Measure Code (UOM). A form of payment using a voucher or coupon. The date when a voucher becomes valid for use, if applicable, and the the date when a voucher or series of coupons expires and is no longer valid. Identification of a series of coupons or vouchers identified by serial number(s). This complex type identifies payment cards that are acceptable for a specific form of payment, along with the ability to provide free text information regarding payment cards. A collection of payment cards that are acceptable as a form of payment. Specific information of one payment card that is acceptable as a form of payment. General information regarding the use of payment cards. Used to define the types of payments accepted. Information about an address that identifies a location for a specific purposes. Describes the use of the address (e.g. mailing, delivery, billing, etc.). Refer to OTA Code List Address Use Type (AUT). Used elsewhere in the message to reference this specific address. Provides address information. May contain the street number and optionally the street name. Usually a letter right after the street number (A in 66-A, B in 123-B etc). Street direction of an address (e.g., N, E, S, NW, SW). Numerical equivalent of a rural township as defined within a given area (e.g., 12, 99). Building name, room, apartment, or suite number. When true, the information is a building name. When the address is unformatted (FormattedInd="false") these lines will contain free form address details. When the address is formatted and street number and street name must be sent independently, the street number will be sent using StreetNmbr, and the street name will be sent in the first AddressLine occurrence. City (e.g., Dublin), town, or postal station (i.e., a postal service territory, often used in a military address). Post Office Code number. County or Region Name (e.g., Fairfax). State or Province name (e.g., Texas). Country name (e.g., Ireland). Specifies if the associated data is formatted or not. When true, then it is formatted; when false, then not formatted. Defines the type of address (e.g. home, business, other). Refer to OTA Code List Communication Location Type (CLT). Customer bank accounts for payments, either for paper checks or electronic funds transfer. The name the account is held under. Code assigned by authorities to financial institutions; sometimes called bank routing number. Describes the bank account used for financing travel (e.g., checking, savings, investment). Identifier for the account assigned by the bank. If true, checks are accepted. If false, checks are not accepted. Provides blackout date information. Indicates black-out dates for the travel product/service. Identifies the common, or core, information associated with the request for cancellation of a reservation or other type of record. Sending own UniqueID and partner UniqueID - the receiving system needs to know which one - UniqueID acts as a reference for each system The person's name in a reservation. Used to specify if this is to initiate a cancellation or to commit the cancellation. May contain rules associated with canceling a reservation as well as the supplier's cancellation number. Contains the supplier's cancellation number. Provides the cancellation amount due according to the time before the booking date that the cancellation occurs. The amount may be either an amount or a percentage (e.g. 50% within 30 days or $100 outside 30 days). A collection of comments. Comment details. CommentOriginatorCode : String Unique identifier for the system which created the comment. GuestViewable : Boolean Whether or not this comment should be shown to the guest. Values: False or No, and True or Yes. Contains details pertaining to commissions. Identifies the recipient of the commission. The amount on which commission is calculated. When true, indicates that the commission is calculated using the rate including tax. When false, indicates that the commission is calculated using the net rate. The amount of commission paid to the agency prior to the service being rendered. A fixed commission amount. The amount of commission to be paid. Text related to the commission. Indicates the status of the commission payment itself (e.g. no-show indicates that a different commission may be applied if the reservation is not fulfilled). Indicates full commission. Indicates partial commission. Indicates no commission. Indicates customer did not use the reserved product or service and did not cancel. This "no show" may impact commission. Indicates the commission is being adjusted. The percent applied to the commissionable amount to determine the commission payable amount. Indicates the currency to be applied to the amounts located in the child elements. Identifies the reason why a commission is not paid or not paid in full. Identifies who should be billed for the commission amount. This is the frequency at which the commission is applied (e.g. per stay, daily). Refer to OTA Code List Charge Type (CHG). Maximum number of units for which the commission will be applied. This may be used in conjunction with the frequency attribute. The highest monetary value that may be paid for the commission. Identifies a company by name. The division name or ID with which the contact is associated. The department name or ID with which the contact is associated. To specify connection locations, preference level for each, min connection time, and whether location is specified for stopping or changing. The preference level for the connection point - only, unacceptable, preferred. Number of minutes between connections. Name of an individual and appropriate contact information. May be contact information for the customer or someone affiliated with the customer. This provides name information for a person. Information about a telephone number, including the actual number and its usage Information about an address that identifies a location for a specific purposes. Electronic email addresses, in IETF specified format. Web site address, in IETF specified format. Identifies a company by name. Employment identification; using an employee ID number, title, level within the company, and an indication of their status, i.e.: active, retired, on leave, or terminated from employment. Additional information about an employee can be entered into the element, including the name of the employee, if it differs from the person name identified as a customer or contact. Allows for control of the sharing of data between parties. Indicates that the receiving system should assume the default value if the user specifies no overriding value or action. Type of contact in the context of use for the travel experience; such as permanent, temporary, affiliation, travel arranger, etc. Indicates the type of relationship with the person or company in the profile, such as Spouse, Child, Family, Business Associate, Interest Group, Medical, Security,Other, etc. Indicates if this contact should be used in the case of an emergency. Provides a unique reference to this contact person. The name or code of a country (e.g. as used in an address or to specify citizenship of a traveller). ISO 3166 code for a country. Contains basic data on the customer's identity, location, relationships, finances, memberships, etc. The first and last dates between which this telephone number is in effect. The first and last dates between which this address is in effect. Identifies the customer's employer. Indicates reason for locking out record, such as Emergency, Incident, etc. Type of funds preferred for reviewing monetary values, in ISO 4217 codes. If true, indicates a very important person. Used to specify textual information about the customer. The primary language of the customer. Used to specify a time window range by either specifying an earliest and latest date for the start date and end date or by giving a date with a time period that can be applied before and/or after the start date. Company name and location for sending invoice for remittances for travel services. Company name to whom remittance should be directed. This may be used to pass the name of the contact at the company for which the direct bill applies. Address where remittance should be directed. Identifier for the organization to be billed directly for travel services. The number assigned by the subscriber for billing reconciliation of a corporate account. Provides information on a specific documents The name of the document holder in unformatted text (Mr. Sam Jones). The name of document holder in formatted text. Used to indicate any limitations on the document (e.g. as a person may only be allowed to spend a max of 30 days in country on a visitor's visa). A container for additional person names. The name of an additional person listed on this document. Indicates the group or association that granted the document. Indicates the location where the document was issued. Unique number assigned by authorities to document. Indicates the type of document (e.g. Passport, Military ID, Drivers License, national ID, Vaccination Certificate). Refer to OTA Code List Document Type (DOC). State or Province where the document was issued. Country where the document was issued. Specifies the birth country of the document holder. The country code of the nationality of the document holder. Electronic email addresses, in IETF specified format. Defines the purpose of the e-mail address (e.g. personal, business, listserve). Refer to OTA Code List Email Address Type (EAT). Used elsewhere in the message to reference this specific email address. Employment identification; using an employee ID number, title, level within the company, and an indication of their status, i.e.: active, retired, on leave, or terminated from employment. Additional information about an employee can be entered into the element, including the name of the employee, if it differs from the person name identified as a customer or contact. Identifier assigned to the employee. Level in employer organization (e.g. seniority) that coveys privileges. Title of employee in the employer company that conveys rank or privileges. Status of employment. Refer to OTA Code List Employee Status (EMP). Specifies the aircraft equipment type. This is the 3 character IATA code. Indicates there is an equipment change. Standard way to indicate that an error occurred during the processing of an OTA message The Error element MUST contain the Type attribute that uses a recommended set of values to indicate the error type. The validating XSD can expect to accept values that it has NOT been explicitly coded for and process them by using Type ="Unknown". Refer to OTA Code List Error Warning Type (EWT). An XPath expression that selects all the nodes whose data caused this error. Further, this expression should have an additional contraint which contains the data of the node. This will provide the offending data back to systems that cannot maintain the original message. A collection of errors that occurred during the processing of a message. Used for non-tax fees and charges (e.g. service charges) . Used for taxes on the associated fee. Text description of the fees in a given language. Indicates whether taxes are included when figuring the fees. When true, indicates the fee is mandatory. When false, the fee is not mandatory. An index code to identify an instance in a collection of like items. Specifies charge information by unit (e.g., room, person, item) and frequency (e.g., daily, weekly, stay). When true, indicates that the fee is subject to tax. A collection of fees. Fee Amount that is applied to the rate. Fees are used for non tax amounts like service charges. Construct for holding a flight segment availability object. Departure point of flight segment. Arrival point of flight segment. The operating airline of the flight if it is a codeshare flight. The type of equipment used for the flight.. The date and time of the flight segment departure. The number of stops the flight makes Used to specify the source of the data being exchanged as determined by trading partners. Used to provide subsection formatted text information. This attribute may be used to provide a title for a sub-section of the formatted free text. A sub-section may have multiple related paragraphs of information. For example, if used to provide driving directions there may be multiple paragraphs, and these paragraphs may be grouped into a sub-section called "Driving from the North". A second subsection may be titled "Driving from the South", and may contain several paragraphs to describe the driving directions when driving from the south. An optional code that may be assigned to this sub-section of formatted free text. This attribute may be used when there is a need to number all of the sub-sections of information that is to be presented. Provides text and indicates whether it is formatted or not. Textual information, which may be formatted as a line of information, or unformatted, as a paragraph of text. Collection of formatted text sub sections. This attribute may be used to provide a title for the formatted free text, for example, Driving Directions. Each of the sub sections that are defined to be a part of the formatted text would provide detailed information about the subject identified by the title. Textual information to provide descriptions and/or additional information. Describes an image item. A set of Images for a given category but provided in different format. code list to create to identof the different format of an Image Associates the image size to a given category (e.g., 70x70, 100x100, 480x480). For example, if an image with a dimension of 72x73 is sent, it may be categorized as a 70x70 image. When true, the image is the original file and format. When false, the image is not the original file and format. The description associated with the image in a specific language. The caption associated to a specific image category which can be provided in different languages. Specifies the image category. Refer to OTA code list Picture Category Code (PIC). Collection of image items. Image of a given category. Creation and modification information for this image item. If true, this item is obsolete and should be removed from the receiving system. The version of the image item. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation. Details for an image of a given category. URL of the multimedia item for a specific format. The unit of measure for the image item. Refer to OTA code list Unit of Measure (UOM). The width of the image item (unit specified by unit of measure). The height of the image item (unit specified by unit of measure). Identifies the criterion for a search. The Position element contains three attributes, Latitude, Longitude, and Altitude, used to indicate the geographic location(s) requested by the search, expressed in notation specified by ISO standard 6709. It is likely that only the first two attributes, Latitude and Longitude, would be needed to define a geographic area. Uses any part of address information, such as street name, postal code, or country code. When true, only locations in the same country as the specified city's country should be selected. Telephone number(s) used in the search. The Reference Point element allows for a search by proximity to a designated reference point by name. The state or province in which the reference point is located. The country in which the reference point is located. Used to specify a reference point by a code. Indicates the type of location being referenced (e.g., Airport, Hotel). Refer to the OTA code table Index Point Code (IPC). The name of the reference point. The name of the city associated with this reference point. Indicates the location of points of interest. Used to identify the vicinity of the location. Refer to OTA Codelist Vehicle Where at Facility (VWF). Indicates the detail of hotel reference information. Used to search for hotels within a particular market segment. Refer to OTA Code Segment Category Code Type (SEG). Refer to OTA Code list OTA Code List Property Class Type (PCT). Refer to OTA Code List Architectural Style Code (ARC). The level of integration of a property to provide automated transaction information. The lower the number, the higher the integration (e.g., a 1 means the supplier has the highest level of integration automation). Used to specify the extent of a search area. The extent is relative to an element (position, address, hotel reference, etc.) present in this ItemSearchCriterionType that specifies a location. Used to provide distance and direction information from the referenced location. Values of "true" or "false", indicating whether the string of the search value must be an exact match. An enumerated list, indicating the level of importance of the search criterion. Acceptable values are "Mandatory", "High", "Medium", or "Low." Indicates the item is required. Indicates a high level of importance. Indicates a medium level of importance. Indicates a low level of importance. Defines a ranking scale expressed as integers; meaning and scale are based on individual implementations. Provides high-level information regarding a location. City (e.g., Dublin), town, or postal station (i.e., a postal service territory, often used in a military address). State or Province name (e.g., Texas). Country name (e.g., Ireland). Code and optional string to describe a location point. Information to acknowledge the receipt of a message. The presence of the empty Success element explicitly indicates that the OTA versioned message succeeded. Used in conjunction with the Success element to define one or more business errors. Errors is returned if the request was unable to be processed. May be used to return the unique id from the request message. This defines the information pertaining to rules and amounts associated with these rules. Refer to OTA Code List Rule Type (RUL). Refer to OTA Code List Payment Type (PMT). Contains descriptions of multimedia item(s). The description can be done using numerous items of different multimedia type The date and time when the multimedia information was last updated. Describes multimedia item(s). A collection of video items. A collection of image items. A collection of text items. Used to designate a particular type of description such as marketing. Refer to OTA Code List Information Type (INF). Used to designate a particular type of additional information. Refer to OTA Code List Additional Detail Type (ADT). A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation. This is an extension of CompanyNameType to include a FlightNumber. Details of an operating schedule (e.g. a golf tee time may be more expensive during peak hours v. off peak hours). A collection of OperationTimes. Provides operating times of a facility. Used to provide additional information regarding operation times (e.g., after hours operations, restricted times). Refer to OTA Codelist Additional Operation Info (OPR). The frequency with which this operation occurs (e.g., 'on the hour', 'on the half hour'). Textual information for this period of operation. Collection of operation schedules. The OperationSchedule class defines the dates and hours of operation. The date range for which the operation schedule information is valid. This allows a charge to be associated with operating times (e.g. a golf tee time may be more expensive during peak hours v. off peak hours). Cost associated with an amenity. The OperationSchedule class defines the dates and hours of operation in addition the charges that may apply. The OperationSchedule class defines details the dates and hours of operation. Used to provide a name for a sub-operation (e.g. an activity or event). Provides the details of one or more orders. Information pertaining to a specific order. A collection of products. The details associated to a specific product. The date or date and time that the product was issued. An identification number associated to the specific product. Identifies the type of product being purchased. The number of the specific product being purchased. The serial number of the specific product. The discount code that applies to the specific product. The amount related to the specific item (e.g., if the item being purchased is a gift certificate, and only one item is being purchased the full amount is applied to the gift certificate). The status of the product. This attribute would primarily be used in the response message to identify the status of the item being purchased. The order has been submitted, but has not yet been confirmed. The product being purchased is on back order. The product being purchased is unavailable. The order has been confirmed. The recipient(s) to whom the product pertains. Identifies the type of order. The identification number associated to the orders. The recipient(s) to whom the order pertains. Identifies the type of orders. A discount code that applies to the orders. The purchase order number of a sales intermediary. The identification number associated to the orders. Origin and Destination location, and time information for the request. Also includes the ability to specify a connection location for the search. Travel Origin Location - for example, air uses the IATA 3 letter code. If true, other airports within this city may be considered (i.e., EWR, JFK when origin location is LGA.) If true, alternate locations may be considered. Travel Destination Location - for example, air uses the IATA 3 letter code. If true, other airports within this city may be considered (i.e., EWR, JFK when origin location is LGA.) If true, alternate locations may be considered. Travel Connection Location - for example, air uses the IATA 3 letter code. Point of Sale (POS) is the details identifying the party or connection channel making the request. This holds details regarding the requestor. It may be repeated to also accommodate the delivery systems. An indication of a new paragraph for a sub-section of a formatted text message. In many cases the description repeats, this will allow you to define the information that is being sent, typically used when multiple occurrences of ParagraphType are being sent. Identification about a specific credit card Indicates the type of magnetic striped card. Refer to OTA Code ListCard Type (CDT). The 2 character code of the credit card issuer. Credit card number embossed on the card. Verification digits printed on the card following the embossed number. This may also accommodate the customer identification/batch number (CID), card verification value (CVV2 ), card validation code number (CVC2) on credit card. Date the card becomes valid for use (optional) and the date the card expires (required) in ISO 8601 prescribed format. May be used to send a concealed credit card number (e.g., xxxxxxxxxxxx9922). Provides a reference pointer that links the payment card to the payment card holder. When true, the credit card company is requested to delay the date on which the amount of this transaction is applied to the customer's account. Details of payment. The approval code returned as part of an authorization process. Ways of providing funds for travel by the individual. Details of a debit or credit card. Details of a bank account. Details of a direct billing arrangement. Details of a paper or electronic document indicating prepayment. Reference of the billing account which handles the payment transaction. Unique identifier of the electronic voucher, created by the supplier. Unique identifier of the electronic voucher. Defines the type of voucher (e.g., full credit or partial credit). When true, indicates the voucher is electronic. An E-voucher is a value document issued by the Travel Agent for the customer. The e-voucher can be used as a proof of reservation, but more normally, as a full-payment or partial payment. Details of a loyalty redemption arrangement. This is normally miles or points. A certificate may be needed in order to redeem miles or points. Certificates may be used in combination with each other as part of a reservation. Identifies the loyalty scheme, programs and promotions within the scheme, membership reference, format of the certificate, the number of nights it can be used and its current status. Identifies the Loyalty scheme, programs and promotions within the scheme, membership reference, form factor used by the certificate, the number of nights it can be used for and its current status. The quantity of loyalty units being redeemed. Details of a miscellaneous charge order (MCO). The ticket number of the miscellaneous charge order (MCO). Used to indicate payment in cash. If true, this indicates cash is being used. A reference to identify the billing department for allocating cost of travel to company account. Provides a reference to a specific form of payment. This is used to indicate either a charge or reserve (deposit). This indicates that an actual payment has been made. This indicates that a hold for the indicated amount has been placed on a credit card or that a cash amount has been taken from the customer to guarantee final payment. Collection of payment rules. One specific payment rule associated with this reservation. For example, a date by which a deposit must be received. This provides name information for a person. Salutation of honorific. (e.g., Mr. Mrs., Ms., Miss, Dr.) Given name, first name or names The middle name of the person name e.g "van der", "von", "de" Family name, last name. Hold various name suffixes and letters (e.g. Jr., Sr., III, Ret., Esq.). Degree or honors (e.g., Ph.D., M.D.) Type of name of the individual, such as former, nickname, alternate or alias name. Refer to OTA Code List Name Type (NAM). The RateQualifierType complex type describes fully rate information associated with a specific rate quotation, including the description of any promotions that may apply. This may be used to provide additional information about the promotion code. This may be used to provide any additional information about rates (e.g., must return by Monday at 8 AM). Defines the type of rate comments (e.g., textual rule, marketing information). Indicates if this rate is only available to those customers who are flying to the vehicle rental location. The rate authorization code for this rate. The identifier assigned to this rate by the vendor. Information about one or more recipients. Contact and/or reservation information pertaining to the recipient. Provides the reservation number of the recipient for delivery of the product. Informtion pertaining to the shipment of a product to the recipient. The method of shipment (e.g., air, ground, pickup). The shipping carrier (e.g., USPS, UPS, FedEx). The charges associated with shipment of the item. A collection of comments. Comment information pertaining to the purchase. This may be used to pass a message to be printed on a note card. Used to provide a reference to an object that is stored elsewhere in a collection of the same objects. Other traveler profiles associated with an specific individual. Indicates the type of relationship with the person in the profile, such as Spouse, Child, Family, Business Associate, Interest Group, Medical, Security, Other, etc. The RelativePosition object contains information about the direction, distance and travel time to/from a facility (hotel, car rental location, or airport) or to/from a designated location. The indicator for whether this location is nearest. This is the object referred to by the relative position (e.g. cross street, airport). Refer to OTA Code List Index Point Code (IPC). This is used to accommodate a city name, rail station name etc. when using the indexPoint attribute. Indicates whether the reference point is considered the main reference point for the specific type of IndexPointCode (e.g., in Dallas, where IndexPointCode=airport Dallas/Fort Worth airport would be the primary airport even if another airport such as Love Field is closer). Used to indicate whether the context is to a facility or from a facility. Indicates the direction is to the facility based on use (e.g., hotel, car rental location, airport). Indicates the direction is from the facility based on use (e.g., hotel, car rental location, airport). When true, the distance information is approximate. Information associated with a specific restaurant. Multimedia information about the restaurant. Used to pass restaurant attire information. Indicates the directions to a specific restaurant. Collection of operating times for the restaurant including detail such as season, day of week, or a combination. Collection of types of restaurant. Indicates the generic type of restaurant such as fast food, cafe, fine dining, etc. This name refers to an OTA Code List table (e.g. RestaurantCategoryCode/InfoCode). The actual code is passed in the Code attribute. Refer to OTA Code List Restaurant Srvc Info (RSI). This uses OTA Code Table Beverage Code. This uses OTA Code Table Available Meal Category Codes. This uses OTA Code Table RestaurantCategoryCode. This uses OTA Code Table Restaurant Policy Code. Refer to OTA Code List Restaurant Category (RES). May be used to give further detail on the code or to remove an obsolete item. Collection of cuisine types of restaurant. The code for the type of cuisine served at the restaurant. Refer to OTA Code List Main Cuisine Code (CUI). May be used to give further detail on the code or to remove an obsolete item. Indicates whether this cuisine code is the main cuisine offered by restaurant. This attribute is used to explicitly define whether the Code applies. Refer to OTA Code list Option Type Code (OTC). This is used in conjunction with Code. Descriptive text that describes the restaurant. The name of the restaurant at the facility. The total seating capacity for this restaurant. The maximum number of people that can be seated as a single party in this restaurant. Identification code of the restaurant service or facility for inventory and booking purposes if the service is an inventoriable item. Denotes whether a service is onsite, offsite or information is not available. Refer to OTA Code Table Proximity (PRX). This may be used to uniquely identify the restaurant. Used to define the display order. Provides information on the source of a request. An identifier of the entity making the request (e.g. ATA/IATA/ID number, Electronic Reservation Service Provider (ERSP), Association of British Travel Agents (ABTA)). This password provides an additional level of security that the recipient can use to validate the sending party's authority to use the message. Specifies the booking channel type and whether it is the primary means of connectivity of the source. Identifies the company that is associated with the booking channel. Identifies the party within the requesting entity. An identification code assigned to an office/agency by a reservation system. The country code of the requesting party. The currency code in which the reservation will be ticketed. An authority code assigned to a requestor. The IATA assigned airline code. The IATA assigned airport code. The point of first departure in a trip. Electronic Reservation Service Provider (ERSP) assigned identifier used to identify the individual using the ERSP system. This is the electronic address of the device from which information is entered. SpecialRequests : SpecialRequest A collection of SpecialRequest objects. The collection of all special requests associated with any part of the reservation (the reservation in its entirety, one or more guests, or one or more room stays). Which special requests belong to which part is determined by each object's SpecialRequestRPHs collection. The SpecialRequest object indicates special requests for a particular guest, service or reservation. Each of these may be independent of any that are tied to the profile (see Profile Synchronization standard). This identifies a special request for this reservation and is typically hotel-specific. Identifies the source authority for the RequestCode. Allows you to pass the number of units that the special request is for (e.g., if 4 rooms are booked you may want 3 with double/double beds and 1 with a king). State, province, or region name or code needed to identify location. The standard code or abbreviation for the state, province, or region. Street name; number on street. Defines a Post Office Box number. Standard way to indicate successful processing of an OTA message. Returning an empty element of this type indicates success. Allows extensions to be added to the OTA specification per trading partner agreement. Applicable tax element. This element allows for both percentages and flat amounts. If one field is used, the other should be zero since logically, taxes should be calculated in only one of the two ways. Text description of the taxes in a given language. Specifies charge information by unit (e.g., room, person, item) and frequency (e.g., daily, weekly, stay). A collection of taxes. An individual tax. Used to provide a total of all the taxes. Describes a text item. The URL for a specific text item.. The text in a specific language. Specifies the text category. Refer to OTA code list Picture Category Code (PIC). Generic information about the text multimedia item. The language of the text item. Collection of text items. Text description of a given category. Creation and modification information for this text item. If true, this item is obsolete and should be removed from the receiving system. The version of the text item. Used to specify a time period, which may additionally include a minimum and/or maximum duration. Specifies a time window. When true the requested period may extend over the previous or following day. When false, the search period is restricted to the date specified. Normally used when the window duration is in hours. The total amount charged for the service including additional amounts and fees. When true, amounts do not contain additional fees or charges. Used to define the types of transportation offered. Collection of directions to/from a specific location via various modes of transportation Defines the type of transportation offered. Contains the directions to/from a specific location for a mode of travel. Multimedia information about the transportation. Collection of operation schedules for the transportation. Descriptive text that describes the transportation. This would be used for information such as a shuttle needs to be requested or a reservation is required. The mode of transportation. Refer to OTA Code List Transportation Code (TRP). Refer to OTA Codelist Charge Type (CHG). May be used to give further detail on the code (e.g. if a trolley is chosen, the trolley name could be added here) or to remove an obsolete item. Descriptive information about the mode of transportation. The normal (average) travel time required to get to or from the location, measured in minutes. This attribute is used to explicitly define whether the type of transportation applies. Refer to OTA Code list Option Type Code (OTC). This is used in conjunction with TransportationCode. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation. Date and time of trip, that allows specifying a time window before and after the given date. A container to relate individual travelers to an inventory or chargeable item. Web site address, in IETF specified format. Defines the purpose of the URL address, such as personal, business, public, etc. An identifier used to uniquely reference an object in a system (e.g. an airline reservation reference, customer profile reference, booking confirmation number, or a reference to a previous availability quote). Identifies the company that is associated with the UniqueID. Provides formatted textual information that a vendor wishes to make known. The type of information is indicated To define the type of information such as Description, Policy, Marketing, etc. Refer to OTA Code List Information Type (INF). Collection of vendor messages. A specific message associated with this vendor Collection of data used to ensure the correct reservation is canceled or modified (e.g. in the case of a hotel reservation modification, a CustLoyalty/ MembershipID would be verified as part of the reservation that you plan to modify to ensure the correct reservation is being modified). Vendor or Vendors associated with the Reservation The start and end day of the reservation. Quantity or Quantities that are associated with the reservation (e.g. number of seats, number of rooms, number of people, etc.). Location or Locations associated with the reservation. Location or Locations associated with the reservation. Describes a video item. A set of video of a given category can be provided in different Format , each format will be described in this element Multimedia information for the video file. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation. Specifies the video category. Refer to OTA code list Picture Category Code (PIC). Collection of video items. Each video item represents a specific category. The language associated with the caption for the video. The caption associated to a specific video category which can be provided in different languages. If true, this item is obsolete and should be removed from the receiving system. The version of the video item. Creation and modification information for this video item. Details for a video of a given category. URL of the multimedia item for a specific format. The unit of measure associated with all the dimensions of the multimedia item. Refer to OTA code list Unit of Measure (UOM). The width of the video item (unit specified by unit of measure). The height of the video item (unit specified by unit of measure). The bit rate of the video item. The length of the video item (unit specified by unit of measure). Multimedia information for the video item. Standard way to indicate successful processing of an OTA message, but one in which warnings are generated The Warning element MUST contain the Type attribute that uses a recommended set of values to indicate the warning type. The validating XSD can expect to accept values that it has NOT been explicitly coded for and process them by using Type ="Unknown". Refer to OTA Code List Error Warning Type (EWT). Collection of warnings. Method by which confirmations should be delivered. Additional data that will be sent with the confirmation. This could be used to include a map, pictures, or any other information that the reservation source wishes to include with the confirmation When true a written confirmation was requested and will be sent. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA). libjibx1.2-java-1.2.3/examples/codegen/otasubset/OTA_SimpleTypes.xsd0000644000175000017500000013032410633241446025200 0ustar twernertwerner All Schema files in the OTA specification are made available according to the terms defined by the OTA License Agreement at http://www.opentravel.org/ota_downloads_form.cfm Identifes an action to take place. Typically used to add an item where it does not exist or to update an item where it does exist. Typically used to cancel an existing item. Typically used to remove specified data. Typically used to add data whether data already exists or not. Typically used to overlay existing data. Used for an Alpha String, length 1 Used for an Alpha String, length 1 to 2 Used for Alphabetic Strings, length exactly 3 Used for an Alpha String, length 4 Used for Alpha-Numeric Strings, length 1 Used for Alpha-Numeric Strings, length 1 to 8 Used forAlpha-Numeric Strings, length 1 to 14 Used forAlpha-Numeric Strings, length 1 to 19 Used to indicate if an amount is inclusive or exclusive of other charges, such as taxes, or is cumulative (amounts have been added to each other). A cabin is either First, Business or Economy First class compartment. Business class compartment. Economy (or sometimes referred to as Coach) class compartment. A construct to validate either a date or a dateTime value. A construct to validate either a date or a time or a dateTime value. A construct to validate either a date or a month and day value. A three letter abbreviation for the days of the week (e.g. may be the starting date for the availability requested, days of operation, rate effective day, etc.). This simple type defines a set of valid values for the units in which distance is measured (i.e. mile or kilometer). Allows for the specification of a night duration. Identifies a flight number (1 to 4 numbers followed by optional uppercase A - Z, which specifies an operational suffix) or OPEN or ARNK. Used in lieu of a flight number when a specific flight number is unknown but service is present. Used in lieu of a flight number when surface transportation is used when there is a break in the continuity of the flight itinerary. Identifies a particular type of flight - Direct, Stopover etc. Indicates the flight does not make any scheduled stops between 2 points. Indicates the flight makes a scheduled stop(s) between 2 points. Indicates the flight will require a change of aircraft at a connecting point(s). A trip with only one connection. A trip with only two connections. A union between TransactionActionType and PMS_ResStatusType. Used in messages that communicate between reservation systems as well as between a reservation and property management system. In addition to the TransactionActionType and PMS_ResStatusType, the UpperCaseAlphaLength1to2 may be used for company specifc codes. Specifies the applicability of the criteria to which it is related. The associated item is required. The associated item is allowed. Used to specify the source of the data being exchanged. This defines a set of valid status values, allowing the selection of a specific group based on availability, or allowing the reservation status to be made known. Examples of such values include Available, OnRequest, Confirmed, etc. The booking has already been made directly through the supplier. 2 character country code as defined in ISO3166. List of country codes. List of OTA codes. List of Reference Place Holders. List of StringLength1to8. Month and year information. Airline meal types. AVML - Asian Veg BBML - Baby/Infant Food BLML - Bland Meal CHML - Child Meal DBML - Diabetic FPML - Fruit Meal GFML - Gluten Free HFML - High Fiber HNML - Hindu Meal KSML - Kosher LCML - Low Calorie LFML - Low Cholesterol LPML - Low Protein LSML - Low Sodium/No Salt MOML - Moslem NLML - Non-Lactose ORML - Oriental PRML - Low Purin RVML - Raw Vegetarian SFML - Seafood SPML - Special/Specify VGML - Vegetarian/Non Dairy VLML - Vegetarian/Milk/Eggs Designates a regular meal. Used for amounts, max 3 decimals A union of money and percentage so that the appropriate data can be sent in a single field. Provides the ability to define a duration in terms of nights rather than days. Used for Numeric values, from 0 to 4 inclusive Used for Numeric values, from 0 to 99 inclusive Used for Numeric values, from 0 to 999 inclusive Used for Numeric values, from 0 to 9999 inclusive. Used for Numeric values, from 1 to 3 inclusive Used for Numeric values, from 1 to 4 inclusive Used for Numeric values, from 1 to 99 inclusive Used for Numeric values, from 1 to 999 inclusive. Used for Numeric values, from 1 to 9999 inclusive. Used for Numeric Strings, length 1 to 16. Used for Numeric Strings, length 1 to 19. Used for Numeric Strings, length 4. Used for Numeric Strings, minimum length 1, maximum length 3. Used for Numeric Strings, length 1 to 5 Used for Numeric Strings, length 1 to 8. Used for codes in the OTA code tables. Possible values of this pattern are 1, 101, 101.EQP, or 101.EQP.X. Indicates main office, field office, or division of the organization. The 2 digit code used that references the credit card used. American Express Bank Card Carte Bleu Carte Blanche Diners Club Discover Card Eurocard Japanese Credit Bureau Credit Card Master Card Universal Air Travel Card Visa This is intended to be used when the above enumeration list does not meet your needs. Used for percentage values Used to specify a preference level for something that is or will be requested (e.g. a supplier of a service, a type of service, a form of payment, etc.). Preference level that indicates request is only for a specific criterion. Preference level that indicates request is unnacceptable for a specific criterion. Preference level that indicates request is preferred for a specific criterion. Preference level that indicates request is required for a specific criterion. Preference level that indicates there is no preference. An enumerated type that defines how a service is priced. Values: Per stay, Per person, Per night, Per person per night, Per use. Statuses that exist in a property management system (PMS). (Reference Place Holder) - an index code to identify an instance in a collection of like items.. For example, used to assign individual passengers or clients to particular itinerary items. An enumerated type indicating special conditions with the rate Valid values: ChangeDuringStay, MultipleNights, Exclusive, OnRequest, LimitedAvailability. Availability is limited based on guest qualification criteria e.g. AAA member or Government Employee Indicates an issue that precluded the ability to provide the information. Availability is limited based on distribution channel qualification criteria (e.g., Expedia or Sabre). The rate plan does not exist. The RatePeriodSimpleType simple type defines a set of valid values for the type of rate that may be applied. Typically rates differ based upon the duration, and the actual rate is then expressed in terms of the period of the rental. The rate period is based on the package. The rate is the same regardless of the number of days the vehicle is rented The rate is the total, no specific rate period. Identifies the orientation of a seat relative to the direction of travel. Identifies the position of a seat, e.g. Window, Aisle etc. A textual description. The standard code or abbreviation for the state, province, or region Used for Character Strings, length 0 to 128 Used for Character Strings, length 0 to 255 Used for Character Strings, length 0 to 32 Used for Character Strings, length 0 to 64 Used for Character Strings, length 0 to 8 Used for Character Strings, length 1 to 128 Used for Character Strings, length 1 to 16 Used for Character Strings, length 1 to 255 Used for Character Strings, length 1 to 32 Used for Strings, length exactly 3 Used for Character Strings, length 1 to 64 Used for Character Strings, length 1 to 8 Specifies the type of ticket document. An electronic ticket A paper ticket A miscellaneous charge order Allows for the specification of a date time or just time. An enumerated type defining the unit in which the time is expressed. To specify the type of action requested when more than one function could be handled by the message. Commit the transaction and override the end transaction edits. To specify a status to the transaction, usually in the response message, of the action specifed in the request message. Identifies a time zone within the United States Used for an Alpha String, length 2 (for letter codes) Used for an Alpha String, length 3 (for letter codes) Used for an Upper Alpha String and Numeric, length 2 to 3. Used for an Upper Alpha String and Numeric, length 3 to 5. A construct to validate either a year or a year and month value. Used to indicate a positive or negative choice. Not recommended for use, use xs:boolean. libjibx1.2-java-1.2.3/examples/codegen/otasubset/OTA_AirCommonTypes.xsd0000644000175000017500000041706310633241444025641 0ustar twernertwerner All Schema files in the OTA specification are made available according to the terms defined by the OTA License Agreement at http://www.opentravel.org/ota_downloads_form.cfm Identifies the action code for a booking - OK, Waitlist etc. Status is confirmed. Status is waitlisted. Status is other. Status is cancel. Status is need. Identifies the trip type - one way, return, circle trip, open jaw Identifies a one way trip type. Cannot be doubled to create a roundtrip. Identifies a return trip type. Identifies a circle trip type. Identifies an open jaw trip type. Identifies an other trip type. The direction for the fare is outbound. The direction for the fare is outbound seasonal roundtrip. There is no direction specified for the fare. The direction for the fare is inbound. Identifies travel from one point to another point and return to the original point. (The outbound fare shall be used also for the inbound fare component for the purpose of determing if the pricing unit is a round trip). Display products by departure time Display products by arrival time Display products by journey time AWG ToDo AWG ToDo Specifies that the fare is for a roundtrip. Identifies whether the fare was constructed, published, created, etc. Specifies that the fare was built based on rules. The private fare was built by rules. Specifies the global travel area. Atlantic/Pacific Round-the-World Atlantic Ocean Circle trip Domestic Eastern Hemisphere Within the Far East Pacific Ocean TC1-TC3 via Pacific/N. America Polar Route Russia Area 3 Round the world South Atlantic only Trans Siberia Route Western Hemisphere Enumerated List (Meal Code in brackets): Breakfast (B) Snack (S) Dinner (D) Hot Meal (H) Lunch (L) Refreshments (R) Complimentary Liquor (C) Meal (M) Liquor for Purchase (P) Food for Purchase (F) Cold Meal (O) No Meal Service (-) Alternately, a String of Length 32 can be used if the above list does not suffice. Identifies a breakfast meal service. Identifies a snack meal service. Identifies a dinner meal service. Identifies a hot meal service. Identifies a lunch meal service. Identifies a refreshments meal service. Identifies a complimentary liquor meal service. Identifies a meal service exists. Identifies that liquor is available for purchase. Identifies that food is available for purchase. Identifies a cold meal service is available. Identifies that no meal service is available. It can be used to indicate whether the fare is public or private. Published fare. Private fare. Fare is both public and private. Identifies the type of special remark used. Remarks apply to the itinerary. Remarks apply to the invoice. Remarks apply to the endorsement. Remarks which can be deleted by the author only. Confidential remarks which are visible only to the author and system providers. Free text remarks which can be sent to specific airlines. Remarks from or to a specific group revenue management system (GRMS). Remarks containing information about split transaction (Split off PNR address, time, who, etc.). Defines the 'Units' that can be applied to Stay restrictions. Stay restriction in minutes. Stay restriction in hours. Stay restriction in days. Stay restriction in months. Monday Tuesday Wednesday Thursday Friday Saturday Sunday OTA Codes for AirRowType Refer to OTA Code List Air Row Type (ROW). Provides information concerning flight times and mileage. The total duration of time a flight is airborne. The total duration of time a flight is on the ground. The total duration of time required for a flight operation (ground and air). Total miles for a flight segment. A collection of information that specifies how the message processing should occur or how the data should be returned. Specifies to whom the request should be targeted for the information that is to be returned. Requested information should be based on travel data (availabiltiy, rates) stored inhouse. Requested information should taken from the vendor's system. If true, flight service information should be returned in the response. Specifies the order in which the information should be returned. If true, reduced data should be returned If true, only base fare information should be returned Specifies (at a high level) the type of search criteria for this request. No special conditions (default) Search should be done for a window of time. Search should be based on arrival time. Checks availability and fares by manually entered data. If true, booking class availability should be returned in the response for each of the flight segments. Holds booking class and available seats quantity. Reservation Booking Designator (RBD) code (e.g. Y). Seat quantity available for this Reservation Booking Designator (RBD). Refer to OTA Code List Res Book Designator Status Code (RBD). This provides the status (e.g. waitlist open, available, available by direct request to supplier only). Booking class code and preference level for specifying booking classes preferred/not preferred in a request. Booking class code The preference level for the booking class. To specify the types of RBD's (Res Book Desig Codes) that should be returned as opposed to a specific RBD. Only return displayable RBDs. Only return non-displayable RBD's. Return all RBD's, displayable and non-displayable. Used to specify a code and its associated attributes; meaning is derived from actual use (plus SecondaryCode and SupplierCode). An additional attribute to allow flexibility for particular organizations who require an additional code. An additional attribute to allow flexibility for particular organizations who require an additional supplier code. Attribute collection providing information on direct flight categorization and the number of stops made. Indicates the same flight number on the same airline regardless of number of stops in most cases. Information regarding the number of stops made. The type of fare required (e.g. unrestricted, excursion). Refer to the Fare Qualifier OTA Code list (FAQ). Provides information for a flight leg. The flight number of the flight. The duration of the flight from departure location to destination location. The duration of a ground stop. The total duration time of the flight. This is the combination of both JourneyDuration and GroundDuration. Miles aquired per flight segments, usually used for earning of frequent flyer miles. A reference place holder used as a pointer to link back to a flight number. A reference pointer used to link a flight number to the search or response. The global direction and maximum permitted miles for the fare. Indicates the global direction. The maximum mileage (in miles) that can be travelled under this contract. When true, the global direction can be used for travel. When false, the global direction cannot be used for travel. Attribute collection providing private fare profile. Indicator to show if this is a private fare. Code used to identify the private fare. Provides information for operational events for a flight leg (e.g., off-ground) Time or date/time an operational event happened. Type of operational event (e.g., off-ground). References the OTA Code Table OTT. Describes whether the operational event time is scheduled, estimated or actual. The actual operation time. The scheduled time. The estimated time. The reason attributed to a delay or cancellation. Refers to OTA Code Table FDC. Attribute collection used to describe a price request. Fare Type is specific to a specific fare and this is a request for a set of fares based on these qualifiers. Refer to OTA Code List 'Fare Qualifier' (FAQ). Indicator to identify whether or not the price is applicable only to private fares. Type of funds preferred for reviewing monetary values, in ISO 4217 codes. It can be used to indicate whether the fare is public or private. If true repricing is requested. Describes the seat attributes. Availability status of the particular seat. Refer to OTA Code List Seat Availability (SAV). Actual seat number within a particular row, typically A, B etc. Describes the characteristics of a specific seat. Refer to OTA Code List Air Seat Type (AST). Allows that a seat may be assigned a class code. A reference place holder used as a pointer to link back to the traveler. A unique reference for the traveler. Used to identify and associate travelers with the same surname. Container used to hold information regarding advance reservation and/or advance ticketing. Specifies constraints on when advance reservations can be made. The time of day by which reservations must be made on the last day that advance reservations can be made. The amount of elapsed time or number of occurrences of a day of the week before departure needed to satisfy an advance reservation requirement. The unit of elapsed time or the day of the week to be applied to the LatestPeriod value. Specifies advance ticketing restrictions. The time of day after reservations are made by which a ticket must be purchased. A length of time expressed as either an amount of time or the number of occurrences of a day of the week after reservations are made that a ticket must be purchased. The unit of elapsed time or the day of the week to be applied to the period after reservation are made that a ticket must be purchased. The time of day prior to departure when that a ticket must be purchased. A length of time expressed as either an amount of time or the number of occurrences of a day of the week before departure that a ticket must be purchased. The unit of elapsed time or the day of the week to be applied to the the period before departure that a ticket must be purchased. Indicator for identifying whether or not advance reservation restrictions are involved in the request or response. Indicator for identifying whether or not advance ticketing restrictions are involved in the request or response. The date a traveller wishes to ticket their reservation. Defines the data fields available for the fees. Identifies the code for the fee. Provides a monetary amount and the currency code to reflect the currency in which this amount is expressed. Defines a fee in terms of its amount, currency and decimal places. Pricing Information for an Air Itinerary Total price of the itinerary This is a collection of PTC Fare Breakdowns Per passenger type code pricing for a travel itinerary. This is a collection of FareInfo Detailed information on individual priced fares Information used to define a fare and its associated rules information. Used to indicate whether the pricing is public or private Specifies the origin and destination of the traveler. Attributes: DirectionInd - A directional indicator that identifies a type of air booking, either one-way, round-trip, or open-jaw with the enumeration of (OneWay | RT | OpenJaw) respectively. ActionCode - Indicates the status of the booking, such as OK or Wait-List. NumberInParty - Indicates the traveler count. A collection of OriginDestinationOption A container for OriginDestinationOptionType. When a PricedItinerary element contains multiple solutions and a single price, this attribute identifies the OriginDestinationPair from the request. Identifies whether travel is: one way, return trip, circle trip, open jaw, other. Contains all booking response information pertaining to a completed reservation. A collection of all flight segments requested for booking. Pricing information for the air itinerary to be booked e.g. this data could come from the OTA_AirPriceRS data. All traveler information relevant to a booking request. All payment information relevant to a booking request. Container for payment detail The form of payment that was specified in the booking request message. The postal address where the ticketing fulfillment (i.e., ticket, receipt) will be sent. Information used to specify the ticketing arrangement. A container for queue information. Specifies queue information for this booking. Date/time when the time initiated queuing should take place. Text describing why the queuing takes place. Identifies airline/system on which the reservation is being queued. Optional field available for use by trading partners as determined by their needs. Defines the data fields available for air tax. The element text of this type may contain a description of the tax. Identifies the code for the tax. Used to identify the country imposing the tax. Identifies the tax code by name. Information about the person traveling. Gender - the gender of the customer, if needed. BirthDate - Date of Birth. Currency - the preferred currency in which monetary amounts should be returned. Stored information about a customer. May contain readily available information relevant to the booking. An identifier used to uniquely reference a customer profile. Name information of the person traveling. Telephone number for the person traveling. Indicates the required modification to the element. A 3 character ATA/IATA city code of telephone location. Email address of the person traveling. Indicates the required modification to the element. Address information of the person traveling. Indicates the required modification to the element. Identifies the loyalty program(s) that the customer belongs to and associated information. Indicates the required modification to the element. Official travel document information associated with the person traveling. Indicates the required modification to the element. Specifies the number of travelers of a given passenger type (e.g., Adult, Child) Direct reference of traveler assigned by requesting system. Used as a cross reference between data segments. Reference pointers to flight segments Reference to the flight segments for this traveler Traveler's date of birth. Specifies the code for the currency units. Code used to indicate the type of traveler that will be traveling (e.g., ADT, CHD, INF, GRP). Indicates if an infant accompanying a traveler is with or without a seat. Information with which a traveller's identification is verified and/or charges are authorized. ToDo - this types should be moved to OTA_CommonTypes. It's required in a common types file, since the both AuthRQ/RS use it. Specifies check information about the customer seeking authorization. Specifies bank account information about the customer seeking authorization. The amount of money for which the the requester is seeking authorization. Specifies credit card information about the customer seeking authorization. Specifies the credit card information for which authorization is required. Specifies the amount of money for which the the requester is seeking authorization. Information describing the point of sale. Agent representation (for example, a ticket office). The source of the purchase request is a mail or phone order. The source of the purchase request is an unattended terminal such as a kiosk or ATM. Indicates that the merchant requesting the credit seems to be suspicious or fraudulent. Indicates an e-comerce transaction provided over a secure channel. For example, SSL (secure sockets layer). Indicates an e-comerce transaction provided over an unsecured channel. For example HTTP. The purchase request is made from an in flight air phone. If true, the requester would like to apply extended payment conditions to this authorization. This is the approval code received on the original authorization request. Only used in the case where the requested transaction is to reverse the authorization. If true, indicates a request to reverse a credit authorization. Information used for validating a drivers license or for supporting a check or credit card authorization request. The booking or confirmation number for which charges are being authorized. The code associated with the company (e.g., two to three character airline designator) submitting a request to an authorization vendor system. Container for the flight segment data plus the MarriageGrp. Construct for holding the booked flight segment information. Many airlines link connection flights together by terming them married segments. When two or more segments are married, they must be processed as one unit. The segments must be moved, cancelled, and/or priced together. The value of the marriage group must be the same for all segments. A collection of availability counts per booking class. Booking codes available to be sold for a particular flight segment. RPH refers back to Marketing Cabin Type." Free text information that the marketing carrier may send about this flight. A location where the flight is scheduled to stop en route to its destination for this flight segment. A location where the flight is scheduled to stop en route to its destination for this flight segment. Specific Booking Class for this segment. Number of travelers associated with this segment. Code providing status information for this segment. Refer to OTA Code List 'Status' (STS). Specifies whether a flight segment is eligible for electronic ticketing. Analogous to the IATA PADIS code: electronic ticket candidate. Analogous to the IATA PADIS code: not an electronic ticket candidate. Analogous to the IATA PADIS code: electronic ticketing required. The applicable meal service code for this flight. Container for all the fare information. Pricing information for an itinerary. Identifies pricing source, if negotiated fares are requested and if it is a reprice request. If true re-pricing of the itinerary is required. Construct for holding cabin class information, such as seat availability or meal codes. Can be up to three of these per flight segment or air leg - First, Business and Economy. Identifies any meal and/or beverage services that are provided. Used to designate a meal or beverage service. Provides the maximum weight of checked-in bags per passenger in this cabin. A section of an aircraft identified by the service level (e.g., First, Business, Economy) Describes the Cabin details in a seat map Collection of Air Rows Row in a Cabin class of a flight Cabin class for which the seat map details is being given. Could be first, business or economy. Name that a particular airline/ CRS may give to the cabin class Rules for this priced option. Departure Date for this priced fare Used to provide the fare basis code, the fare class code, and/or ticket designator. Identifies the class of service for the specified fare basis code. Specifies the discount code applicable to the fare that is associated with this fare basis code. A code to uniquely identify a fare account. Information regarding restrictions governing use of the fare. To specify if the trip is one way or roundtrip. If true, the fare rule being requested is for all airline fares for the specified city pair. If false, it is not. The airline that filed the fare(s). The marketing airline. Departure point of flight segment. Arrival point of flight segment. Date information applicable to the fare rules. The applicable date for the purpose specified in the Type attribute. Specifies the type of date. The last date the rule was changed. The date after which the rule is no longer valid. The date on which the restrictive fare becomes effective. The date on which the restrictive fare is discontinued. Fares and related information for this fare rule. Date information applicable to the fare. The applicable date for the purpose specified in the Type attribute. The first travel date for this fare. The last travel date for this fare. The first date for ticketing. The last date for ticketing. The date by which travel must be completed. The base and total fare and tax amounts associated with the rule. The base amount of the fare. The base neutral unit of construction amount. The tax amount for the fare associated to the rule. The total fare associated to the rule. A description of the fare. The passenger types for which the fare is applicable. The passenger type code for this fare. The fare basis code for the fare for this rule. The global direction for this fare rule. The maximum mileage (in miles) that can be travelled under this fare . Tthe type of trip associated with the rule. Specifies the fare type for this fare. Identifies whether the fare was constructed, published, created, etc. The ISO 4217 currency code associated with the fare rule information. The tariff number for the rule. The number associated with the fare rule. Holds a base fare, tax, total and currency information on a price Price of the inventory excluding taxes and fees. Price of the inventory excluding taxes and fees in the payable currency. This is a collection of Taxes Any individual tax applied to the fare This is a collection of Fees Any additional fee incurred by the passenger but not shown on the ticket. The total price that the passenger would pay (includes fare, taxes, fees) Should not contain unstructured FareCalc data. Contains the fare calc information for the stored fare for the passenger. This field should not exceed 87 characters, Used to identify the method of pricing for this transaction (e.g., manual, automated pricing). Should be 1 character in length. Used to indicate a negotiated fare and, if so, the fare code. Specifies a discount code applicable to the fare. FlightSegmentType extends FlightSegmentBaseType to provide additional functionality. The marketing airline. This is required for use with scheduled airline messages but may be omitted for requests by tour operators. To specifiy if an airline is a member of an alliance. The flight number of the flight. This is required for use with scheduled airline messages but may be omitted for requests by tour operators. ID of a flight in the Tour Operator's inventory. This flight is not necessarily in the inventory of an airline. Rather, it is a code created by tour operators. Marketing name for the First, Business or Economy cabin. The marketing name of the cabin that is specific to the supplier. The reference place holder to link the marketing cabin information and the RBD. A container for flight segments. A container for necessary data to describe one or more legs of a single flight number. Other Service Information (OSI) for relevant airlines One or more travelers to whom this request applies The airline to which the OSI applies. The OSI text. Specifies a PTC and the associated number of PTC's - for use in specifying passenger lists. Identify pricing source, if negotiated fares are requested and if it is a reprice request. Contains negotiated fare code information. Contains code information for a negotiated fare. Used to describe a price request. Identifies the type of cabin (i.e., first, business, economy) requested. Container for priced itineraries. Itinerary with pricing information. This attribute refers back to origin destination information in the OTA_AirLowFareSearchRQ message. Itinerary with pricing information. Specifies the origin and destination of the traveler. Attributes: DirectionInd - A directional indicator that identifies a type of air booking, either one-way, round-trip, or open-jaw with the enumeration of (OneWay | RT | OpenJaw) respectively. ActionCode - Indicates the status of the booking, such as OK or Wait-List. NumberInParty - Indicates the traveler count. Pricing Information for an Air Itinerary. Provides for free form descriptive information for the priced itinerary. Container for TicketingInfoRS_Type. Shipping information for the ticket. Specifies the manner in which a ticket will be sent to the traveler. Refer to OTA Code List Distribution Type (DTB). Specifies the cost of the ticket delivery option. Specifies the allowable forms of payment (i.e., check, cash, credit card). Refer to OTA Code List Payment Type (PMT). Assigns a number to priced itineraries. Per passenger type code pricing for this itinerary. Set if fareBreakdown was requested. Number of individuals traveling under this PTC This is a collection of Fare Basis Codes Fare basis code for the price for this PTC The total passenger fare with cost breakdown. Contains the RPH reference to the traveler. This is a collection of ticket designator elements. Contains the discount code and a flight reference applicable to the fare. Specifies a discount code applicable to the fare. Specifies an extension that a carrier may apply to a ticket designator. Container for endorsements. Specifies ticket endorsement information. Indicates whether the ticket is refundable. If true, the ticket is NOT refundable. Indicates whether the ticket is endorsable. If true, the ticket is NOT endorsable. Detailed information on individual priced fares. Information used to define a fare and its associated rules information. The fare with cost breakdown. Indicates whether the fare is public, private or both. Describes the row details in a seat map A Collection of Air Seat A Seat within a row Describes the seat attributes. Should be used for situations in which a passenger in the input request is already assigned a seat. The RPH value will correspond to the RPH in the element TravelRefNumber within the element TravelerInfoSummary. Contains a list of characteristics of an air row. Describes the characteristics of a specific seat row. Refer to OTA Code List Air Row Type (ROW). Maximum number of seats per row. Specifies the actual row number in the seat map. Allows that a seat may be assigned a class code. Contains summary fare rule information as well as detailed Rule Information for Fare Basis Codes. Information may be actual rules data or the results returned from a rules-based inquiry. General container for rules regarding fare reservation, ticketing and sale restrictions Container for holding rules regarding advance reservation or ticketing restrictions. The first date that a ticket may be issued for this fare. The last date that a ticket may be issued for this fare. Rules providing minimum or maximum stay restrictions. General container for rules specifying amounts for such things as: surcharges, deposits, change penalties, cancellation penalties, etc. Specifies a voluntary change charge. Specifies a Voluntary Refund (cancellation) charge. Details of a seat map for a particular aircraft Describes the Cabin details in a seat map. The reference number is used as a cross reference between the AirTravelerType and the SeatMapDetails. This will be used only if different seat maps are valid for different passengers for the same flight segment. Object to hold a passengers' seat request Departure point of flight segment. Arrival point of flight segment. Attributes for seat request. Note: you can choose a specific seat or just a general preference The departure date of the flight for the seat requested. The number of the flight for which this seat is requested. Code providing status information for this seat request. Refer to OTA Code List 'Status' (STS). Itinerary Remarks, Invoice Remarks, etc. One or more travelers to whom this request applies One or more flights to whom this request applies Text associated with remark Denotes the receiver (or target) airline(s) for the remark. A container for authorized viewers. Specifies those authorized to view a confidential special remark. Identifies an authorized viewer of a confidential remark. Can be a 3 character ATA/IATA airport/city code, an office ID, pseudo city code, etc. Carrier code that may be used in conjunction with the viewer code to identify those authorized to view the confidential special remark. Type of special remark used (e.g., itinerary remark, invoice remark). Refer to OTA Code List Special Remark Option Type (SRO). Remarks, OSIs, Seat Requests etc. A collection of Seat Request Seating requests for each passenger for each air leg of this trip. AWG to revisit. One or more travelers to whom this request applies One or more flights to whom this request applies When true, the carrier supports partial seating. When false, the carrier does not support partial seating. A collection of Special Service Request Special Service Requests (SSR) for this booking AWG to revisit. One or more travelers to whom this request applies One or more flights to whom this request applies A collection of Other Service Information Other Service Information (OSI) for relevant airlines Unique value associated with the OSI. Indicates the required modification to the element. A collection of Remark Supplementary information for this booking Unique value associated with the Remark. Indicates the required modification to the element. A collection of Special Remark Itinerary Remarks, Invoice Remarks, etc. Indicates the required modification to the element. Unique value associated with the Special Remark. SSR's for this booking request e.g.,. meals Specify airline to request availability for. Text associated with remark The four alpha position industry code identifying a particular type of special service request. Used to specify the number of special services. Code providing status information for this special service request. Refer to OTA Code List 'Status' (STS). Specify actual airline, flight number, or booking class Specific flight number to request availability for. Requires that Airline is also supplied. Specify airline to request availability for. Specify specific booking classes to include and exclude in the response Type defining Min and Max Stay Restrictions Specifies restrictions for the shortest length/period of time or earliest day return travel can commence or be completed. The time of day when return travel may commence. The amount of elapsed time or number of occurrences of a day of the week needed to satisfy a minimum stay requirement. The unit of elapsed time or the day of the week applied to the MinStay value. The specific date for the minimum stay requirement. If true, there are complicated rules for the minimum stay requirement. Specifies restrictions for the longest length/period of time or last day to begin or complete the return. Code indicating whether travel must commence or be completed in order to satisfy the stay restriction. Return travel must be Completed. Return travel must be Started. The time of day when return travel may commence. The amount of elapsed time or number of occurrences of a day of the week that must occur to satisfy a maximum stay requirement. The unit of elapsed time or the day of the week applied to the MaxStay value. The specific date for the maximum stay requirement. If true, there are complicated rules for the maximum stay requirement. True indicates that Stay Restrictions exist. Extends TicketingInfoType to provide an eTicketNumber. Minimum information about ticketing required to complete the booking transaction plus eTicket number. If reservation is electronically ticketed at time of booking, this is the field for the eTicket number. Minimum information about ticketing required to complete the booking transaction. Open text field available for additional ticket information. TicketTimeLimit - Indicates the ticketing arrangement, and allows for the requirement that an itinerary must be ticketed by a certain date and time. TicketType - Indicates the type of ticket (Paper, eTicket) Code for setting and displaying detailed ticketing information. Refer to OTA Code List Ticketing Status (TST). Specifies one or more segment numbers for ticketing purposes. This RPH is associated with the RPH contained in the FlightSegment element in AirBookRQ. Specifies one or more traveler names for ticketing purposes. This RPH is associated with the RPH contained in the TravelerRefNumber element in AirBookRQ. Applies a reverse sequence of the outbound travel to the inbound travel. An identification code assigned to an office/agency by a reservation system. Specify passenger numbers and types Specify number of passengers using Passenger Type Codes Information profiling the person traveling Gender - the gender of the customer, if needed BirthDate - Date of Birth Currency - the preferred currency in which monetary amounts should be returned. Specify passenger numbers and types Number of seats requested. Specifies passenger numbers and types. Identifies pricing source, if negotiated fares are requested and if it is a reprice request. Identifies passenger(s) who will travel on the reservation. Information about the person traveling. Provides detailed information regarding any special needs, requests, or remarks associated with the traveler Specifies charges and/or penalties associated with making ticket changes after purchase. Specifies penalty charges as either a currency amount or a percentage of the fare Indicates the type of penalty involved in the search or response. Identifier used to indicate whether the change occurs before or after departure from the origin city. The penalty charge defined a fee in terms of its amount, currency and decimal laces. The penalty charge conveyed as a percent of the total fare. Indicator used to specify whether voluntary change and other penalties are involved in the search or response. libjibx1.2-java-1.2.3/examples/codegen/otasubset/OTA_AirPreferences.xsd0000644000175000017500000005107710633236344025627 0ustar twernertwerner All Schema files in the OTA specification are made available according to the terms defined by the OTA License Agreement at http://www.opentravel.org/ota_downloads_form.cfm Fare calculation type (e.g. PointToPoint, Through, Joint, Private) To request ATPCO historical fare/rule information. To request fares for a specified agreement. To request all airline fares for the specified city pair, lowest to highest. All roundtrip airline fares for the specified city pair including one way fares. All airline fares for the specified city pair but no one way fares. Only one-way fares for all airlines for the specified city pair. Indicates preferences for choice of airline cabin. Indicates preferred airline cabin. Identifies preferences for airfare restrictions acceptable or not acceptable for a given travel situation. Refer to OTA Code List Fare Restriction (FAR). A date that is associated to the fare restriction. Indicates preferences for certain types of flights, such as connections or stopovers, when used for a specific travel situation. Indicates type of stops preferred (Nonstop, Direct, Connection). Indicates that if connection is chosen, then this attribute defines the maximum number of connections preferred. To specify which types of non-scheduled air service should be included. Only include non scheduled flights that are charter flights. Do not include non scheduled flights that are charters. Include both charter non scheduled flights and those that are not charters. If true, include connections where one of the enroute stops is the same as the initial board point or the final off point of the flight. If true, include flights that include at least one leg that is ground transportation. If true, direct and non-stop flights are requested. If true, only non-stop flights are requested. If true, only online connection flights are requested (i.e., same marketing airline). Specifies the travel routing preference. No special conditions. Outbound and inbound route of travel must be the same. Indicates preferences for seats or seat types. Identifies preferences for special services required for air travel, using standard industry (SSR-OSI) code list. Code of the special service request to be used for this air travel situation. Refers to standard industry code list. Identifies a collection of preferences for airline travel. Identifies the preferred loyalty program(s). Identifies the preferred airline carrier(s) by name. Preferred form(s) of payment. Identifies the preferred origination airport for travel (using IATA airport codes). Indicates the preferred connection airport(s) (using IATA airport codes).. Indicates preferred fare restrictions to be used in search. Indicates preferred flight characteristics to be used in a search (e.g., connections, stopovers). Indicates preferred equipment type(s) to be used in a search. Indicates preferred cabin(s) to be used in a search. Indicates preferred seat characteristics. Refer to OTA Code List Seat Preference (STP) for codes. Indicates preferred ticket distribution method (e.g., fax, eMail, courier, mail, airport pickup) Indicates preferred meal type (e.g., vegetarian, Kosher, low fat) Indicates preferred special request(s) to be used with this collection of preferences. Indicates Special Service Request preference type. Media and entertainment preferences. Indicates preferred information for pet accompanying traveler. Category of airline passenger, using standard ATPCO codes. Type of airline ticket preferred for this collection. Departure airport preferences, using IATA airport codes. Defines user preferences to be used in conducting a search. Specify vendors to include and exclude from the response. Defines preferred flight characteristics to be used in a search. Constrains a fare search to those with restrictions that satisfy user-imposed limitations. Container used for specifying or limiting acceptable fare restrictions. Identifies whether advance reservation or ticketing restrictions are acceptable in the search results Identifies whether restrictions on minimum or maximum stays should be included in the search results Identifies whether penalties associated with voluntary changes should be included in the search results Currency in which fare display is requested Display fare published in other than local selling currency only. Defines preferred equipment profile(s) to be used in a search. Defines preferred cabin(s) to be used in a search. Defines a specific cabin sub type within the cabin type (i.e., first, business, economy.) For example, 'Premium'. Defines Distribution prefernces. Request smoking flights in response. Defaults to false - no desire for smoking flights. Request for flights in response that meet the given Department of Transport on-time rate. This is a number between 0 and 100. Request flights that are e-ticketable in the response. Request flights that have no more than the requested number of stops. Indicates preferences for type of airplane. Indicates if an airplane with multiple aisles is preferred. libjibx1.2-java-1.2.3/examples/codegen/otasubset/OTA_AirLowFareSearchRQ.xsd0000644000175000017500000002114710633236344026311 0ustar twernertwerner All Schema files in the OTA specification are made available according to the terms defined by the OTA License Agreement at http://www.opentravel.org/ota_downloads_form.cfm The Low Fare Search Request message requests priced itinerary options for flights between specific city pairs on specific dates for specific numbers and types of passengers. Optional request information can include: - Time / Time Window - Connecting cities. - Client Preferences (airlines, cabin, flight types etc.) The Low Fare Search request contains similar information to a Low Fare Search entry on an airline CRS or GDS. Point of sale object. A collection of information that specifies how the message processing should occur or how the data should be returned. Origin and Destination location, and time information for the Air Low Fare Search request. Specifies alternate location(s) for the origin and/or destination. Specifies alternate airport/city codes for the origin location. Specifies alternate airport/city codes for the destination location. A unique reference to this origin destination information. A unique reference to this origin destination information to be referenced wihin the OTA_AirLowFareSearchRS message. Specify actual airline, flight number, or booking class to qualify the low fare search Air Low Fare Search Request preference information. To specify which portions of the journey the date is flexible. Date is flexible on the outbound portion. Date is flexible on the return portion. Date is flexible on the entire journey. If true, days before or after the weekend day should be searched. If true, eligible for widest flex searches. If true, no fare breaks in the itinerary apart from the turn point should be considered. Refers to specific origin destination information within this request message. Specify the number of passengers and types for Air Low Fare Search To specify the country code where ticketing of the reservation will take place. If true, this request is for a specific PTC and only fares applicable to that PTC will be checked and returned. Request direct flights on between the given locations.This defaults to false. Include only flights with available booking codes (when True or when attribute not present). libjibx1.2-java-1.2.3/examples/codegen/otasubset/OTA_AirLowFareSearchRS.xsd0000644000175000017500000000543110633236344026311 0ustar twernertwerner All Schema files in the OTA specification are made available according to the terms defined by the OTA License Agreement at http://www.opentravel.org/ota_downloads_form.cfm The Low Fare Search Response message contains a number of 'Priced Itinerary' options. Each includes: - A set of available flights matching the client's request. - Pricing information including taxes and full fare breakdown for each passenger type - Ticketing information - Fare Basis Codes and the information necessary to make a rules entry. This message contains similar information to a standard airline CRS or GDS Low Fare Search Response message. Success Standard way to indicate successful processing of an OTA message. Returning an empty element of this type indicates success. Standard way to indicate successful processing of an OTA message, but one in which warnings are generated. Successfull Low Fare priced itineraries in response to a Low Fare Search request. A collection of errors that occurred during the processing of a message. The OTA_PayloadStdAttributes defines the standard attributes that appear on the root element for all OTA payloads. libjibx1.2-java-1.2.3/examples/codegen/otasubset/OTA_CommonPrefs.xsd0000644000175000017500000003016010633236344025150 0ustar twernertwerner All Schema files in the OTA specification are made available according to the terms defined by the OTA License Agreement at http://www.opentravel.org/ota_downloads_form.cfm Address(es) to be used with this collection of preferences. Travel needs associated with a collection but independent of specific travel services. Identifies a preferred company by name. Identifies travel insurance policies to be used with this collection of preferences. Index number to be used for reference the insurance policy to be used in this travel collection. Traveler interests to be used with this collection of preferences. Loyalty programs to be used with this collection. Identification of loyalty program by reference number or index. Food and beverage preferences to be used with this collection. Type of meal required (e.g.,vegetarian, Kosher, low fat, etc.) Dining preferences used with this collection. Type of drink(s) preferred. Media and entertainment information preferences. PersonName to be used with this collection of preferences. Other travel service preferences. Name of other travel services identified in this collection of preferences. Refer to OTA Code List Travel Purpose (TVP). Form(s) of payment to be used with this collection of preferences. Indicates the preferences for information about pets that accompany the customer in a given travel situation. Telephone number(s) to be used with this collection of preferences. Name(s) of related travelers to be used with this collection of preferences. Seating preferences to be used with this collection of preferences. Direction seat faces during travel, when conveyance allows. Location of seat in cabin of conveyance. Suggested values include: Forward, Middle, Aft, ExitRow, Bulkhead, Right or Left Side, etc. Preferred position of seat in a row, such as Aisle, Middle, Center, Window, etc. Preferred row for seating, indicates specific row number and/or seat identifier. Special request to be used with this collection of preferences. Type of ticket distribution to be used with this collection of preferences. Ticket distribution method such as Fax, Email, Courier, Mail, Airport_Pickup, City_Office, Hotel_Desk, WillCall, etc. Refer to OTA Code List Distribution Type (DTB). Ticket turnaround time desired, amount of time requested to deliver tickets. libjibx1.2-java-1.2.3/examples/codegen/src/0000755000175000017500000000000011300355476020253 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/codegen/src/org/0000755000175000017500000000000011300355476021042 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/codegen/src/org/jibx/0000755000175000017500000000000011300355502021764 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/codegen/src/org/jibx/starter/0000755000175000017500000000000011300355502023450 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/codegen/src/org/jibx/starter/Test.java0000644000175000017500000001125211154051562025241 0ustar twernertwernerpackage org.jibx.starter; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStreamReader; import org.jibx.extras.DocumentComparator; import org.jibx.runtime.BindingDirectory; import org.jibx.runtime.IBindingFactory; import org.jibx.runtime.IMarshallable; import org.jibx.runtime.IMarshallingContext; import org.jibx.runtime.IUnmarshallingContext; import org.jibx.runtime.JiBXException; import org.jibx.runtime.impl.UnmarshallingContext; public class Test { /** * Roundtrip all files in a directory of sample documents. * * @param root * @return true if all successful, false if any error */ private static boolean processDirectory(File root, IBindingFactory factory) { // process all the files in this directory File[] files = root.listFiles(); boolean success = true; for (int i = 0; i < files.length; i++) { File file = files[i]; if (!file.isDirectory()) { try { // unmarshal document into object IUnmarshallingContext uctx = factory.createUnmarshallingContext(); uctx.setDocument(new FileInputStream(file), null); Object object = uctx.unmarshalElement(); String encoding = ((UnmarshallingContext)uctx).getInputEncoding(); // marshal object back out to document in memory IMarshallingContext mctx = factory.createMarshallingContext(); mctx.setIndent(2); ByteArrayOutputStream bos = new ByteArrayOutputStream(); mctx.setOutput(bos, "UTF-8"); ((IMarshallable)object).marshal(mctx); mctx.endDocument(); // compare with original input document InputStreamReader brdr = new InputStreamReader (new ByteArrayInputStream(bos.toByteArray()), "UTF-8"); InputStreamReader frdr = new InputStreamReader(new FileInputStream(file), encoding); DocumentComparator comp = new DocumentComparator(System.err, true); System.out.println("Comparing round-tripped file '" + file.getPath() + "' with original file"); if (comp.compare(frdr, brdr)) { System.out.println("Successfully round-tripped file '" + file.getPath() + '\''); } else { // save output for comparison failure try { FileOutputStream fos = new FileOutputStream(file.getName()); fos.write(bos.toByteArray()); fos.close(); } catch (IOException e) { System.err.println("Error writing to file '" + file.getName() + "': " + e.getMessage()); success = false; } } } catch (Exception e) { System.err.println("Error on file '" + file.getPath() + '\''); e.printStackTrace(); success = false; } } } return success; } /** * Processes a directory of sample documents, unmarshalling each document and then marshalling it back out and * comparing the result with the original input document. * * @param args */ public static void main(String[] args) { if (args.length != 2) { System.out.println("Usage: java -cp ... " + "org.jibx.starter.Test binding-package directory-path"); System.exit(1); } // setup the directory path File root = new File(args[1]); if (!root.isDirectory()) { System.err.println("Root directory '" + args[1] + "' not found"); System.exit(2); } // get the binding factory IBindingFactory factory = null; try { factory = BindingDirectory.getFactory("binding", args[0]); } catch (JiBXException e) { System.err.println("Binding factory not found - did you remember to compile the binding?"); e.printStackTrace(); System.exit(3); } // process all the data files if (!processDirectory(root, factory)) { System.exit(4); } } }libjibx1.2-java-1.2.3/examples/codegen/build.xml0000644000175000017500000003007011331625752021306 0ustar twernertwerner JiBX home directory not found - define JIBX_HOME system property or set path directly in build.xml file. Required JiBX runtime jar jibx-run.jar was not found in JiBX home lib directory (${jibx-home}/lib) Required JiBX extras jar jibx-extras.jar was not found in JiBX home lib directory (${jibx-home}/lib) Required JiBX binding jar jibx-bind.jar or bcel.jar was not found in JiBX home lib directory (${jibx-home}/lib) Need to first run base generation and build (ant custgen3a buildbase). libjibx1.2-java-1.2.3/examples/codegen/custom2.xml0000644000175000017500000000637511366131626021616 0ustar twernertwerner libjibx1.2-java-1.2.3/examples/codegen/custom3a.xml0000644000175000017500000000163411366304530021745 0ustar twernertwerner libjibx1.2-java-1.2.3/examples/codegen/samples/0000755000175000017500000000000011300533066021121 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/codegen/samples/OTA_AirLowFareSearchRS3.xml0000644000175000017500000001456510633614750026042 0ustar twernertwerner "L" CO "L" CO "L" CO "H" DL "H" DL "Q" DL "Y26" AA "Y26" AA "Y" AA libjibx1.2-java-1.2.3/examples/codegen/samples/OTA_AirLowFareSearchRQ2.xml0000644000175000017500000000251111276274334026027 0ustar twernertwerner 2004-06-05T10:00:00-05:00 2004-06-27T10:00:00-05:00 libjibx1.2-java-1.2.3/examples/codegen/samples/OTA_AirLowFareSearchRS2.xml0000644000175000017500000001226110633614750026030 0ustar twernertwerner "K" HP "H" HP "Q" NW "Q" NW "Y" UA "Y" UA libjibx1.2-java-1.2.3/examples/codegen/samples/OTA_AirLowFareSearchRQ3.xml0000644000175000017500000000304410633614750026026 0ustar twernertwerner 2003-11-01T18:00:00 2003-11-05T15:00:00 2003-11-15T10:00:00 libjibx1.2-java-1.2.3/examples/codegen/log4j.properties0000644000175000017500000000147111147013326022616 0ustar twernertwerner# CONSOLE is set to be a ConsoleAppender using a PatternLayout. log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout log4j.appender.CONSOLE.layout.ConversionPattern=%-5p %c{2} - %m%n # LOGFILE is set to be a File appender using a PatternLayout. log4j.appender.LOGFILE=org.apache.log4j.FileAppender log4j.appender.LOGFILE.File=jibx.log log4j.appender.LOGFILE.Append=false log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout log4j.appender.LOGFILE.layout.ConversionPattern=%-5p %c{2} %x - %m%n # change logging level here. log4j.rootLogger=ERROR, LOGFILE log4j.logger.org.jibx.schema.TreeWalker=ERROR, LOGFILE log4j.logger.org.jibx.schema.codegen.ItemVisitor=ERROR, LOGFILE log4j.logger.org.jibx.schema.codegen.custom.ComponentExtension=ERROR, LOGFILE libjibx1.2-java-1.2.3/examples/jibx2wsdl/0000755000175000017500000000000011414045200017753 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/0000755000175000017500000000000011526304276021510 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/client/0000755000175000017500000000000011526304276022766 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/client/src/0000755000175000017500000000000011300355502023541 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/client/src/com/0000755000175000017500000000000011300355502024317 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/client/src/com/sosnoski/0000755000175000017500000000000011300355502026167 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/client/src/com/sosnoski/ws/0000755000175000017500000000000011300355502026620 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/client/src/com/sosnoski/ws/library/0000755000175000017500000000000011300355502030264 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/client/src/com/sosnoski/ws/library/jibx2wsdl/0000755000175000017500000000000011300355502032174 5ustar twernertwerner././@LongLink0000000000000000000000000000016500000000000011567 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/client/src/com/sosnoski/ws/library/jibx2wsdl/WebServiceClient.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/client/src/com/sosnoski/ws/library/jibx2wsdl/WebSe0000644000175000017500000001214611147013326033134 0ustar twernertwerner/* * Copyright 2006 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl; import java.util.List; /** * Web service client for book server. This runs through a test of the service * methods, first retrieving a book, then adding a book, and finally retrieving * all books of a particular type. */ public class WebServiceClient { public static void main(String[] args) throws Exception { // allow override of target address String host = args.length > 0 ? args[0] : "localhost"; String port = args.length > 1 ? args[1] : "8080"; String target = "http://" + host + ":" + port + "/axis2/services/LibraryServer1"; // create the server instance LibraryServer1Stub stub = new LibraryServer1Stub(target); // retrieve a book directly String isbn = "0061020052"; Item item = stub.getItem(isbn); if (item == null) { System.out.println("No item found with ISBN '" + isbn + '\''); } else if (item instanceof Book){ Book book = (Book)item; System.out.println("Retrieved '" + book.getTitle() + "' of format " + book.getFormat()); } // retrieve the list of types defined List types = stub.getTypes(); System.out.println("Retrieved " + types.size() + " types:"); for (int i = 0; i < types.size(); i++) { System.out.println(" '" + types.get(i).getName() + "' with " + types.get(i).getCount() + " items"); } // add a new book String title = "The Dragon Never Sleeps"; isbn = "0445203498"; try { Book book = new Book("scifi", isbn, Book.Format.POCKET_PAPERBACK, title, new String[] { "Cook, Glen" }); stub.addItem(book); System.out.println("Added '" + title + '\''); title = "This Should Not Work"; book = new Book("xml", isbn, Book.Format.TRADE_PAPERBACK, title, new String[] { "Nobody, Ima" }); stub.addItem(book); System.out.println("Added duplicate book - should not happen!"); } catch (AddDuplicateFault e) { System.out.println("Failed adding '" + title + "' with ISBN '" + isbn + "' - matches existing title '" + e.getFaultMessage().getItem().getTitle() + '\''); } // add a new dvd title = "Lord of the Rings: The Two Towers"; String id = "B00005JKZV"; try { Dvd dvd = new Dvd("fant", id, title, "Jackson, Peter", new String[] { "Baker, Sala", "Blanchett, Cate", "Bloom, Orlando", "McKellen, Ian", "Mortensen, Viggo", "Tyler, Liv", "Wood, Elijah" }); stub.addItem(dvd); System.out.println("Added '" + title + '\''); } catch (AddDuplicateFault e) { System.out.println("Failed adding '" + title + "' with ID '" + id + "' - matches existing title '" + e.getFaultMessage().getItem().getTitle() + '\''); } // create a callback instance ItemsByTypeCallback cb = new ItemsByTypeCallback(); // retrieve all books of a type asynchronously stub.startgetItemsByType("scifi", cb); long start = System.currentTimeMillis(); synchronized (cb) { while (!cb.m_done) { try { cb.wait(100L); } catch (Exception e) {} } } List items = cb.m_items; System.out.println("Asynchronous operation took " + (System.currentTimeMillis()-start) + " millis"); if (items != null) { System.out.println("Retrieved " + items.size() + " items of type 'scifi':"); for (int i = 0; i < items.size(); i++) { System.out.println(" '" + items.get(i).getTitle() + '\''); } } else { System.out.println("Returned exception:"); cb.m_exception.printStackTrace(System.out); } } public static class ItemsByTypeCallback extends LibraryServer1CallbackHandler { private boolean m_done; private Exception m_exception; private List m_items; public void receiveResultgetItemsByType(List rsp) { m_items = rsp; m_done = true; } public synchronized void receiveErrorgetItemsByType(Exception e) { m_done = true; } }; }libjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/server/0000755000175000017500000000000011526304276023016 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/server/services.xml0000644000175000017500000000374311147013326025362 0ustar twernertwerner com.sosnoski.ws.library.jibx2wsdl.LibraryServer1Impl true true urn:getItem http://sosnoski.com/ws/library/jibx2wsdl/LibraryServer1/LibraryServer1PortType/getItemResponse urn:getItemsByType http://sosnoski.com/ws/library/jibx2wsdl/LibraryServer1/LibraryServer1PortType/getItemsByTypeResponse urn:getTypes http://sosnoski.com/ws/library/jibx2wsdl/LibraryServer1/LibraryServer1PortType/getTypesResponse urn:addItem http://sosnoski.com/ws/library/jibx2wsdl/LibraryServer1/LibraryServer1PortType/addItemResponse http://sosnoski.com/ws/library/jibx2wsdl/LibraryServer1/LibraryServer1PortType/addItem/Fault/addDuplicateFault file:///home/dennis/projects/jibx/jibx2wsdl/example3/gen/LibraryServer1.xsd libjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/server/src/0000755000175000017500000000000011300355502023571 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/server/src/com/0000755000175000017500000000000011300355502024347 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/server/src/com/sosnoski/0000755000175000017500000000000011300355502026217 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/server/src/com/sosnoski/ws/0000755000175000017500000000000011300355502026650 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/server/src/com/sosnoski/ws/library/0000755000175000017500000000000011300355502030314 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/server/src/com/sosnoski/ws/library/jibx2wsdl/0000755000175000017500000000000011300355502032224 5ustar twernertwerner././@LongLink0000000000000000000000000000016700000000000011571 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/server/src/com/sosnoski/ws/library/jibx2wsdl/LibraryServer1Impl.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/server/src/com/sosnoski/ws/library/jibx2wsdl/Libra0000644000175000017500000000313011147013326033201 0ustar twernertwerner/* * Copyright 2007 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl; import java.util.List; /** * Implementation class for service. This extends the generated skeleton code, * overriding the methods to call the actual service code. */ public class LibraryServer1Impl extends LibraryServer1Skeleton { private final LibraryServer1 m_server; public LibraryServer1Impl() { m_server = new LibraryServer1(); } public void addItem(Item item) throws AddDuplicateFault { try { m_server.addItem(item); } catch (AddDuplicateException e) { AddDuplicateFault fault = new AddDuplicateFault(e.getMessage(), e); fault.setFaultMessage(e.getData()); throw fault; } } public Item getItem(String id) { return m_server.getItem(id); } public List getItemsByType(String type) { return m_server.getItemsByType(type); } public List getTypes() { return m_server.getTypes(); } }libjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/custom.xml0000644000175000017500000000027611147013326023541 0ustar twernertwerner libjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/build.xml0000644000175000017500000002721711156001720023325 0ustar twernertwerner libjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/log4j.properties0000644000175000017500000000056211147013326024640 0ustar twernertwerner# simple log4j configutation for axis # # direct log messages to stdout # log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.Target=System.out log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n # change logging level here. log4j.rootLogger=error, stdout libjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/start/0000755000175000017500000000000011526304276022645 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/start/src/0000755000175000017500000000000011300355502023420 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/start/src/com/0000755000175000017500000000000011300355502024176 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/start/src/com/sosnoski/0000755000175000017500000000000011300355502026046 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/start/src/com/sosnoski/ws/0000755000175000017500000000000011300355502026477 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/start/src/com/sosnoski/ws/library/0000755000175000017500000000000011300355502030143 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/start/src/com/sosnoski/ws/library/jibx2wsdl/0000755000175000017500000000000011414054032032053 5ustar twernertwerner././@LongLink0000000000000000000000000000015000000000000011561 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/start/src/com/sosnoski/ws/library/jibx2wsdl/Item.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/start/src/com/sosnoski/ws/library/jibx2wsdl/Item.j0000644000175000017500000000210311414054032033120 0ustar twernertwerner/* * Copyright 2007 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl; public abstract class Item { private String m_id; private String m_type; private String m_title; public Item(String id, String type, String title) { m_id = id; m_title = title; m_type = type; } public String getId() { return m_id; } public String getType() { return m_type; } public String getTitle() { return m_title; } }././@LongLink0000000000000000000000000000015000000000000011561 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/start/src/com/sosnoski/ws/library/jibx2wsdl/Book.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/start/src/com/sosnoski/ws/library/jibx2wsdl/Book.j0000644000175000017500000000304011147013326033121 0ustar twernertwerner/* * Copyright 2007 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl; /** * Information about a book. */ public class Book extends Item { public enum Format { HARDCOVER("Hard bound"), TRADE_PAPERBACK("Large format paperback"), POCKET_PAPERBACK("Small format paperback"); private final String m_text; private Format(String text) { m_text = text; } public String getText() { return m_text; } } private String[] m_authors; private Format m_format; public Book(String type, String isbn, Format format, String title, String[] authors) { super(isbn, type, title); m_format = format; m_authors = authors; } public String getIsbn() { return getId(); } public String[] getAuthors() { return m_authors; } public Format getFormat() { return m_format; } }././@LongLink0000000000000000000000000000015000000000000011561 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/start/src/com/sosnoski/ws/library/jibx2wsdl/Type.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/start/src/com/sosnoski/ws/library/jibx2wsdl/Type.j0000644000175000017500000000224711147013326033160 0ustar twernertwerner/* * Copyright 2007 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl; public class Type { private String m_name; private String m_description; private int m_count; public Type() {} public Type(String name, String description) { m_name = name; m_description = description; } public String getName() { return m_name; } public String getDescription() { return m_description; } public int getCount() { return m_count; } public void setCount(int count) { m_count = count; } }././@LongLink0000000000000000000000000000017100000000000011564 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/start/src/com/sosnoski/ws/library/jibx2wsdl/AddDuplicateException.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/start/src/com/sosnoski/ws/library/jibx2wsdl/AddDup0000644000175000017500000000204011147013326033137 0ustar twernertwerner/* * Copyright 2007 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl; public class AddDuplicateException extends Exception { private AddDuplicateData m_data; public AddDuplicateException() {} public AddDuplicateException(Item item) { m_data = new AddDuplicateData(item); } public void setData(AddDuplicateData data) { m_data = data; } public AddDuplicateData getData() { return m_data; } }././@LongLink0000000000000000000000000000014700000000000011567 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/start/src/com/sosnoski/ws/library/jibx2wsdl/Dvd.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/start/src/com/sosnoski/ws/library/jibx2wsdl/Dvd.ja0000644000175000017500000000221411147013326033107 0ustar twernertwerner/* * Copyright 2006 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl; public class Dvd extends Item { private String m_director; private String[] m_stars; public Dvd(String type, String barcode, String title, String director, String[] stars) { super(barcode, type, title); m_director = director; m_stars = stars; } public String getBarcode() { return getId(); } public String getDirector() { return m_director; } public String[] getStars() { return m_stars; } }././@LongLink0000000000000000000000000000016200000000000011564 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/start/src/com/sosnoski/ws/library/jibx2wsdl/LibraryServer1.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/start/src/com/sosnoski/ws/library/jibx2wsdl/Librar0000644000175000017500000001307511147013326033223 0ustar twernertwerner/* * Copyright 2006 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Library server class. This creates an initial library of books, DVDs, and CDs * when the class is loaded, then supports method calls to access the library * information (including adding new items). */ public class LibraryServer1 { private static final Type[] m_types = new Type[] { newType("fant", "Fantasy"), newType("java", "About Java"), newType("scifi", "Science fiction"), newType("xml", "About XML") }; private static final Map m_itemMap; private static final List m_itemList; static { m_itemMap = new HashMap(); m_itemList = new ArrayList(); internalAdd(newBook("java", "0136597238", Book.Format.TRADE_PAPERBACK, "Thinking in Java", new String[] { "Eckel, Bruce" })); internalAdd(newBook("xml", "0130655678", Book.Format.TRADE_PAPERBACK, "Definitive XML Schema", new String[] { "Walmsley, Priscilla" })); internalAdd(newBook("scifi", "0061020052", Book.Format.POCKET_PAPERBACK, "Infinity Beach", new String[] { "McDevitt, Jack" })); internalAdd(newBook("scifi", "0812514092", Book.Format.POCKET_PAPERBACK, "Aristoi", new String[] { "Williams, Walter Jon" })); internalAdd(newBook("java", "0201633612", Book.Format.HARDCOVER, "Design Patterns", new String[] { "Gamma, Erich", "Helm, Richard", "Johnson, Ralph", "Vlissides, John"})); internalAdd(newBook("scifi", "0345253884", Book.Format.POCKET_PAPERBACK, "Roadmarks", new String[] { "Zelazny, Roger" })); internalAdd(newBook("xml", "0596002521", Book.Format.TRADE_PAPERBACK, "XML Schema", new String[] { "van der Vlist, Eric" })); internalAdd(newBook("java", "0079132480", Book.Format.TRADE_PAPERBACK, "Inside the Java Virtual Machine", new String[] { "Venners, Bill" })); internalAdd(newDvd("fant", "B00003CWT6", "Lord of the Rings: The Fellowship of the Ring", "Jackson, Peter", new String[] { "Appleby, Noel", "Astin, Sean", "Baker, Sala", "Bean, Sean", "Blanchett, Cate", "Bloom, Orlando", "McKellen, Ian", "Mortensen, Viggo", "Tyler, Liv", "Wood, Elijah"})); internalAdd(newDvd("fant", "B00005JKZY", "Lord of the Rings: The Return of the King", "Jackson, Peter", new String[] { "Astin, Sean", "Rhys-Davies, John", "Dourif, Brad", "Holm, Ian", "Bloom, Orlando", "McKellen, Ian", "Mortensen, Viggo", "Tyler, Liv", "Wood, Elijah" })); internalAdd(newDvd("scifi", "B0000640VR", "Imposter", "Fleder, Gary", new String[] { "Sinise, Gary", "Stowe, Madeleine"})); internalAdd(newDvd("scifi", "0767821629", "The Thirteenth Floor", "Rusnak, Josef", new String[] { "Bierko, Craig", "Mueller-Stahl, Armin"})); } private static Type newType(String name, String desc) { return new Type(name, desc); } private static Book newBook(String type, String isbn, Book.Format format, String title, String[] authors) { return new Book(type, isbn, format, title, authors); } private static Dvd newDvd(String type, String barcode, String title, String director, String[] stars) { return new Dvd(type, barcode, title, director, stars); } private static boolean internalAdd(Item item) { if (m_itemMap.containsKey(item.getId())) { return false; } else { m_itemMap.put(item.getId(), item); m_itemList.add(item); for (int i = 0; i < m_types.length; i++) { Type type = m_types[i]; if (item.getType().equals(m_types[i].getName())) { type.setCount(type.getCount()+1); break; } } return true; } } public synchronized Item getItem(String isbn) { return m_itemMap.get(isbn); } public synchronized List getItemsByType(String type) { ArrayList matches = new ArrayList(); for (int i = 0; i < m_itemList.size(); i++) { Item item = m_itemList.get(i); if (type.equals(item.getType())) { matches.add(item); } } return matches; } public List getTypes() { ArrayList types = new ArrayList(); for (int i = 0; i < m_types.length; i++) { types.add(m_types[i]); } return types; } public synchronized void addItem(Item item) throws AddDuplicateException { Item prior = getItem(item.getId()); if (prior == null) { internalAdd(item); } else { throw new AddDuplicateException(prior); } } }././@LongLink0000000000000000000000000000016400000000000011566 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/start/src/com/sosnoski/ws/library/jibx2wsdl/AddDuplicateData.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example3/start/src/com/sosnoski/ws/library/jibx2wsdl/AddDup0000644000175000017500000000170511147013326033146 0ustar twernertwerner/* * Copyright 2007 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl; public class AddDuplicateData { private Item m_item; public AddDuplicateData() {} public AddDuplicateData(Item item) { m_item = item; } public void setItem(Item item) { m_item = item; } public Item getItem() { return m_item; } }libjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/0000755000175000017500000000000011526304302021477 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/client/0000755000175000017500000000000011526304302022755 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/client/src/0000755000175000017500000000000011300355502023542 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/client/src/com/0000755000175000017500000000000011300355502024320 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/client/src/com/sosnoski/0000755000175000017500000000000011300355502026170 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/client/src/com/sosnoski/ws/0000755000175000017500000000000011300355502026621 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/client/src/com/sosnoski/ws/library/0000755000175000017500000000000011300355502030265 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/client/src/com/sosnoski/ws/library/jibx2wsdl/0000755000175000017500000000000011300355502032175 5ustar twernertwerner././@LongLink0000000000000000000000000000016500000000000011567 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/client/src/com/sosnoski/ws/library/jibx2wsdl/WebServiceClient.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/client/src/com/sosnoski/ws/library/jibx2wsdl/WebSe0000644000175000017500000001214611147013326033135 0ustar twernertwerner/* * Copyright 2006 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl; import java.util.List; /** * Web service client for book server. This runs through a test of the service * methods, first retrieving a book, then adding a book, and finally retrieving * all books of a particular type. */ public class WebServiceClient { public static void main(String[] args) throws Exception { // allow override of target address String host = args.length > 0 ? args[0] : "localhost"; String port = args.length > 1 ? args[1] : "8080"; String target = "http://" + host + ":" + port + "/axis2/services/LibraryServer2"; // create the server instance LibraryServer2Stub stub = new LibraryServer2Stub(target); // retrieve a book directly String isbn = "0061020052"; Item item = stub.getItem(isbn); if (item == null) { System.out.println("No item found with ISBN '" + isbn + '\''); } else if (item instanceof Book){ Book book = (Book)item; System.out.println("Retrieved '" + book.getTitle() + "' of format " + book.getFormat()); } // retrieve the list of types defined List types = stub.getTypes(); System.out.println("Retrieved " + types.size() + " types:"); for (int i = 0; i < types.size(); i++) { System.out.println(" '" + types.get(i).getName() + "' with " + types.get(i).getCount() + " items"); } // add a new book String title = "The Dragon Never Sleeps"; isbn = "0445203498"; try { Book book = new Book("scifi", isbn, Book.Format.POCKET_PAPERBACK, title, new String[] { "Cook, Glen" }); stub.addItem(book); System.out.println("Added '" + title + '\''); title = "This Should Not Work"; book = new Book("xml", isbn, Book.Format.TRADE_PAPERBACK, title, new String[] { "Nobody, Ima" }); stub.addItem(book); System.out.println("Added duplicate book - should not happen!"); } catch (AddDuplicateFault e) { System.out.println("Failed adding '" + title + "' with ISBN '" + isbn + "' - matches existing title '" + e.getFaultMessage().getItem().getTitle() + '\''); } // add a new dvd title = "Lord of the Rings: The Two Towers"; String id = "B00005JKZV"; try { Dvd dvd = new Dvd("fant", id, title, "Jackson, Peter", new String[] { "Baker, Sala", "Blanchett, Cate", "Bloom, Orlando", "McKellen, Ian", "Mortensen, Viggo", "Tyler, Liv", "Wood, Elijah" }); stub.addItem(dvd); System.out.println("Added '" + title + '\''); } catch (AddDuplicateFault e) { System.out.println("Failed adding '" + title + "' with ID '" + id + "' - matches existing title '" + e.getFaultMessage().getItem().getTitle() + '\''); } // create a callback instance ItemsByTypeCallback cb = new ItemsByTypeCallback(); // retrieve all books of a type asynchronously stub.startgetItemsByType("scifi", cb); long start = System.currentTimeMillis(); synchronized (cb) { while (!cb.m_done) { try { cb.wait(100L); } catch (Exception e) {} } } List items = cb.m_items; System.out.println("Asynchronous operation took " + (System.currentTimeMillis()-start) + " millis"); if (items != null) { System.out.println("Retrieved " + items.size() + " items of type 'scifi':"); for (int i = 0; i < items.size(); i++) { System.out.println(" '" + items.get(i).getTitle() + '\''); } } else { System.out.println("Returned exception:"); cb.m_exception.printStackTrace(System.out); } } public static class ItemsByTypeCallback extends LibraryServer2CallbackHandler { private boolean m_done; private Exception m_exception; private List m_items; public void receiveResultgetItemsByType(List rsp) { m_items = rsp; m_done = true; } public synchronized void receiveErrorgetItemsByType(Exception e) { m_done = true; } }; }libjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/server/0000755000175000017500000000000011526304302023005 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/server/services.xml0000644000175000017500000000374311147013326025363 0ustar twernertwerner com.sosnoski.ws.library.jibx2wsdl.LibraryServer2Impl true true urn:getItem http://sosnoski.com/ws/library/jibx2wsdl/LibraryServer2/LibraryServer2PortType/getItemResponse urn:getItemsByType http://sosnoski.com/ws/library/jibx2wsdl/LibraryServer2/LibraryServer2PortType/getItemsByTypeResponse urn:getTypes http://sosnoski.com/ws/library/jibx2wsdl/LibraryServer2/LibraryServer2PortType/getTypesResponse urn:addItem http://sosnoski.com/ws/library/jibx2wsdl/LibraryServer2/LibraryServer2PortType/addItemResponse http://sosnoski.com/ws/library/jibx2wsdl/LibraryServer2/LibraryServer2PortType/addItem/Fault/addDuplicateFault file:///home/dennis/projects/jibx/jibx2wsdl/example4/gen/LibraryServer2.xsd libjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/server/src/0000755000175000017500000000000011300355502023572 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/server/src/com/0000755000175000017500000000000011300355502024350 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/server/src/com/sosnoski/0000755000175000017500000000000011300355502026220 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/server/src/com/sosnoski/ws/0000755000175000017500000000000011300355502026651 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/server/src/com/sosnoski/ws/library/0000755000175000017500000000000011300355502030315 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/server/src/com/sosnoski/ws/library/jibx2wsdl/0000755000175000017500000000000011300355502032225 5ustar twernertwerner././@LongLink0000000000000000000000000000016700000000000011571 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/server/src/com/sosnoski/ws/library/jibx2wsdl/LibraryServer2Impl.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/server/src/com/sosnoski/ws/library/jibx2wsdl/Libra0000644000175000017500000000322511147013326033207 0ustar twernertwerner/* * Copyright 2007 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl; import java.util.List; import com.sosnoski.ws.library.jibx2wsdl.AddDuplicateFault; /** * Implementation class for service. This extends the generated skeleton code, * overriding the methods to call the actual service code. */ public class LibraryServer2Impl extends LibraryServer2Skeleton { private final LibraryServer2 m_server; public LibraryServer2Impl() { m_server = new LibraryServer2(); } public void addItem(Item item) throws AddDuplicateFault { try { m_server.addItem(item); } catch (AddDuplicateException e) { AddDuplicateFault fault = new AddDuplicateFault(e.getMessage(), e); fault.setFaultMessage(e.getData()); throw fault; } } public Item getItem(String id) { return m_server.getItem(id); } public List getItemsByType(String type) { return m_server.getItemsByType(type); } public List getTypes() { return m_server.getTypes(); } }libjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/custom1.xml0000644000175000017500000000116511147013326023621 0ustar twernertwerner libjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/sample1.xml0000644000175000017500000000517111147013326023571 0ustar twernertwerner Infinity Beach McDevitt, Jack Aristoi Williams, Walter Jon Roadmarks Zelazny, Roger Imposter Fleder, Gary Sinise, Gary Stowe, Madeleine The Thirteenth Floor Rusnak, Josef Bierko, Craig Mueller-Stahl, Armin Serenity Baccarin, Morena Baldwin, Adam Fillion, Nathan Torres, Gina Tudyk, Alan Stargate Ackerman, Robert Allen, Rae Avari, Erick Cruz, Alexis Danziger, Kenneth 2006 Beyond Everything Alda, Alan Pitt, Brad SuperDVD The Dragon Never Sleeps Cook, Glen libjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/build.xml0000644000175000017500000003420011156001720023314 0ustar twernertwerner libjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/custom2.xml0000644000175000017500000000137311147013326023623 0ustar twernertwerner libjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/log4j.properties0000644000175000017500000000056211147013326024641 0ustar twernertwerner# simple log4j configutation for axis # # direct log messages to stdout # log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.Target=System.out log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n # change logging level here. log4j.rootLogger=error, stdout libjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/sample.xml0000644000175000017500000000553311147013326023512 0ustar twernertwerner 0061020052 scifi Infinity Beach McDevitt, Jack POCKET_PAPERBACK 0812514092 scifi Aristoi Williams, Walter Jon POCKET_PAPERBACK 0345253884 scifi Roadmarks Zelazny, Roger POCKET_PAPERBACK 786936185447 scifi Imposter Fleder, Gary Sinise, Gary Stowe, Madeleine 0767821629 scifi The Thirteenth Floor Rusnak, Josef Bierko, Craig Mueller-Stahl, Armin 025192784927 scifi Serenity Wheden, Joss Baccarin, Morena Baldwin, Adam Fillion, Nathan Torres, Gina Tudyk, Alan Universal 012236191551 scifi Stargate Emmerich, Roland Ackerman, Robert Allen, Rae Avari, Erick Cruz, Alexis Danziger, Kenneth 999999999 scifi Beyond Everything Determined, Tobe Alda, Alan Pitt, Brad SuperDVD 0445203498 scifi The Dragon Never Sleeps Cook, Glen POCKET_PAPERBACK libjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/0000755000175000017500000000000011526304302022634 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/0000755000175000017500000000000011300355502023421 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/0000755000175000017500000000000011300355502024177 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/sosnoski/0000755000175000017500000000000011300355502026047 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/sosnoski/ws/0000755000175000017500000000000011300355502026500 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/sosnoski/ws/library/0000755000175000017500000000000011300355502030144 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/sosnoski/ws/library/jibx2wsdl/0000755000175000017500000000000011300355502032054 5ustar twernertwerner././@LongLink0000000000000000000000000000015000000000000011561 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/sosnoski/ws/library/jibx2wsdl/Item.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/sosnoski/ws/library/jibx2wsdl/Item.j0000644000175000017500000000176011147013326033135 0ustar twernertwerner/* * Copyright 2007 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl; /** * Generic item definition. This just defines the basics of an identifier, type, * and title. */ public interface Item { public String getId(); public String getType(); public String getTitle(); public void setId(String id); public void setType(String type); public void setTitle(String title); }libjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/sosnoski/ws/library/jibx2wsdl/hd/0000755000175000017500000000000011300355502032447 5ustar twernertwerner././@LongLink0000000000000000000000000000015400000000000011565 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/sosnoski/ws/library/jibx2wsdl/hd/HdDvd.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/sosnoski/ws/library/jibx2wsdl/hd/HdD0000644000175000017500000000213511147013326033036 0ustar twernertwerner/* * Copyright 2007 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl.hd; /** * Information for an HD-DVD. */ public class HdDvd extends Dvd { private String m_studio; public HdDvd(String type, String barcode, String title, String studio, String director, String[] stars) { super(type, barcode, title, director, stars); m_studio = studio; } public String getStudio() { return m_studio; } public void setStudio(String studio) { m_studio = studio; } } ././@LongLink0000000000000000000000000000016000000000000011562 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/sosnoski/ws/library/jibx2wsdl/hd/BluRayDvd.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/sosnoski/ws/library/jibx2wsdl/hd/Blu0000644000175000017500000000230011147013326033113 0ustar twernertwerner/* * Copyright 2007 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl.hd; import com.sosnoski.ws.library.jibx2wsdl.Item; /** * Information for a BluRay DVD. */ public class BluRayDvd extends Dvd implements Item { private int m_releaseYear; public BluRayDvd(String type, String barcode, String title, int year, String director, String[] stars) { super(type, barcode, title, director, stars); m_releaseYear = year; } public int getReleaseYear() { return m_releaseYear; } public void setReleaseYear(int releaseYear) { m_releaseYear = releaseYear; } } ././@LongLink0000000000000000000000000000015200000000000011563 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/sosnoski/ws/library/jibx2wsdl/hd/Dvd.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/sosnoski/ws/library/jibx2wsdl/hd/Dvd0000644000175000017500000000445411147013326033122 0ustar twernertwerner/* * Copyright 2007 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl.hd; /** * Information for a high-definition DVD. */ public abstract class Dvd implements IDvd { private String m_barcode; private String m_type; private String m_title; private String m_director; private String[] m_stars; public Dvd(String type, String barcode, String title, String director, String[] stars) { m_barcode = barcode; m_type = type; m_title = title; m_director = director; m_stars = stars; } public String getId() { return m_barcode; } public String getType() { return m_type; } public String getTitle() { return m_title; } public String getDirector() { return m_director; } public String[] getStars() { return m_stars; } public void setId(String id) { m_barcode = id; } public void setDirector(String director) { m_director = director; } public void setStars(String[] stars) { m_stars = stars; } public void setTitle(String title) { m_title = title; } public void setType(String type) { m_type = type; } public static class FutureDvd extends Dvd { private String m_format; public FutureDvd(String type, String barcode, String title, String format, String director, String[] stars) { super(type, barcode, title, director, stars); m_format = format; } public String getFormat() { return m_format; } public void setFormat(String format) { m_format = format; } } }././@LongLink0000000000000000000000000000015300000000000011564 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/sosnoski/ws/library/jibx2wsdl/hd/IDvd.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/sosnoski/ws/library/jibx2wsdl/hd/IDv0000644000175000017500000000170011147013326033056 0ustar twernertwerner/* * Copyright 2007 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl.hd; import com.sosnoski.ws.library.jibx2wsdl.Item; /** * Information for a high-definition DVD. */ public interface IDvd extends Item { public String getDirector(); public String[] getStars(); public void setDirector(String director); public void setStars(String[] stars); }././@LongLink0000000000000000000000000000015000000000000011561 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/sosnoski/ws/library/jibx2wsdl/Book.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/sosnoski/ws/library/jibx2wsdl/Book.j0000644000175000017500000000362111147013326033127 0ustar twernertwerner/* * Copyright 2007 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl; /** * Information about a book. */ public class Book implements Item { public enum Format { HARDCOVER, TRADE_PAPERBACK, POCKET_PAPERBACK } private String m_isbn; private String m_type; private String m_title; private String[] m_authors; private Format m_format; public Book(String type, String isbn, Format format, String title, String[] authors) { m_isbn = isbn; m_title = title; m_type = type; m_format = format; m_authors = authors; } public String getId() { return m_isbn; } public String getType() { return m_type; } public String getTitle() { return m_title; } public String getIsbn() { return m_isbn; } public String[] getAuthors() { return m_authors; } public Format getFormat() { return m_format; } public void setAuthors(String[] authors) { m_authors = authors; } public void setFormat(Format format) { m_format = format; } public void setId(String id) { m_isbn = id; } public void setTitle(String title) { m_title = title; } public void setType(String type) { m_type = type; } }././@LongLink0000000000000000000000000000016200000000000011564 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/sosnoski/ws/library/jibx2wsdl/LibraryServer2.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/sosnoski/ws/library/jibx2wsdl/Librar0000644000175000017500000001451711147013326033226 0ustar twernertwerner/* * Copyright 2007 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import com.sosnoski.ws.library.jibx2wsdl.hd.BluRayDvd; import com.sosnoski.ws.library.jibx2wsdl.hd.HdDvd; /** * Library server class. This creates an initial library of books, DVDs, and CDs * when the class is loaded, then supports method calls to access the library * information (including adding new items). */ public class LibraryServer2 { private static final Type[] m_types = new Type[] { newType("fant", "Fantasy"), newType("java", "About Java"), newType("scifi", "Science fiction"), newType("xml", "About XML") }; private static final Map m_itemMap; private static final List m_itemList; static { m_itemMap = new HashMap(); m_itemList = new ArrayList(); internalAdd(newBook("java", "0136597238", Book.Format.TRADE_PAPERBACK, "Thinking in Java", new String[] { "Eckel, Bruce" })); internalAdd(newBook("xml", "0130655678", Book.Format.TRADE_PAPERBACK, "Definitive XML Schema", new String[] { "Walmsley, Priscilla" })); internalAdd(newBook("scifi", "0061020052", Book.Format.POCKET_PAPERBACK, "Infinity Beach", new String[] { "McDevitt, Jack" })); internalAdd(newBook("scifi", "0812514092", Book.Format.POCKET_PAPERBACK, "Aristoi", new String[] { "Williams, Walter Jon" })); internalAdd(newBook("java", "0201633612", Book.Format.HARDCOVER, "Design Patterns", new String[] { "Gamma, Erich", "Helm, Richard", "Johnson, Ralph", "Vlissides, John"})); internalAdd(newBook("scifi", "0345253884", Book.Format.POCKET_PAPERBACK, "Roadmarks", new String[] { "Zelazny, Roger" })); internalAdd(newBook("xml", "0596002521", Book.Format.TRADE_PAPERBACK, "XML Schema", new String[] { "van der Vlist, Eric" })); internalAdd(newBook("java", "0079132480", Book.Format.TRADE_PAPERBACK, "Inside the Java Virtual Machine", new String[] { "Venners, Bill" })); internalAdd(newDvd("fant", "0780638379", "Lord of the Rings: The Fellowship of the Ring", "Jackson, Peter", new String[] { "Appleby, Noel", "Astin, Sean", "Baker, Sala", "Bean, Sean", "Blanchett, Cate", "Bloom, Orlando", "McKellen, Ian", "Mortensen, Viggo", "Tyler, Liv", "Wood, Elijah"})); internalAdd(newDvd("fant", "794043692925", "Lord of the Rings: The Return of the King", "Jackson, Peter", new String[] { "Astin, Sean", "Rhys-Davies, John", "Dourif, Brad", "Holm, Ian", "Bloom, Orlando", "McKellen, Ian", "Mortensen, Viggo", "Tyler, Liv", "Wood, Elijah" })); internalAdd(newDvd("scifi", "786936185447", "Imposter", "Fleder, Gary", new String[] { "Sinise, Gary", "Stowe, Madeleine"})); internalAdd(newDvd("scifi", "0767821629", "The Thirteenth Floor", "Rusnak, Josef", new String[] { "Bierko, Craig", "Mueller-Stahl, Armin"})); internalAdd(new HdDvd("scifi", "025192784927", "Serenity", "Universal", "Wheden, Joss", new String[] { "Baccarin, Morena", "Baldwin, Adam", "Fillion, Nathan", "Torres, Gina", "Tudyk, Alan" })); internalAdd(new BluRayDvd("scifi", "012236191551", "Stargate", 2006, "Emmerich, Roland", new String[] { "Ackerman, Robert", "Allen, Rae", "Avari, Erick", "Cruz, Alexis", "Danziger, Kenneth" })); internalAdd(new com.sosnoski.ws.library.jibx2wsdl.hd.Dvd.FutureDvd ("scifi", "999999999", "Beyond Everything", "SuperDVD", "Determined, Tobe", new String[] { "Alda, Alan", "Pitt, Brad" })); } private static Type newType(String name, String desc) { return new Type(name, desc); } private static Book newBook(String type, String isbn, Book.Format format, String title, String[] authors) { return new Book(type, isbn, format, title, authors); } private static Dvd newDvd(String type, String barcode, String title, String director, String[] stars) { return new Dvd(type, barcode, title, director, stars); } private static boolean internalAdd(Item item) { if (m_itemMap.containsKey(item.getId())) { return false; } else { m_itemMap.put(item.getId(), item); m_itemList.add(item); for (int i = 0; i < m_types.length; i++) { Type type = m_types[i]; if (item.getType().equals(m_types[i].getName())) { type.setCount(type.getCount()+1); break; } } return true; } } public synchronized Item getItem(String isbn) { return m_itemMap.get(isbn); } public synchronized List getItemsByType(String type) { ArrayList matches = new ArrayList(); for (int i = 0; i < m_itemList.size(); i++) { Item item = m_itemList.get(i); if (type.equals(item.getType())) { matches.add(item); } } return matches; } public List getTypes() { ArrayList types = new ArrayList(); for (int i = 0; i < m_types.length; i++) { types.add(m_types[i]); } return types; } public synchronized void addItem(Item item) throws AddDuplicateException { Item prior = getItem(item.getId()); if (prior == null) { internalAdd(item); } else { throw new AddDuplicateException(prior); } } }././@LongLink0000000000000000000000000000015000000000000011561 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/sosnoski/ws/library/jibx2wsdl/Type.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/sosnoski/ws/library/jibx2wsdl/Type.j0000644000175000017500000000247711147013326033166 0ustar twernertwerner/* * Copyright 2007 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl; public class Type { private String m_name; private String m_description; private int m_count; public Type() {} public Type(String name, String description) { m_name = name; m_description = description; } public String getName() { return m_name; } public String getDescription() { return m_description; } public int getCount() { return m_count; } public void setCount(int count) { m_count = count; } public void setDescription(String desc) { m_description = desc; } public void setName(String name) { m_name = name; } }././@LongLink0000000000000000000000000000017100000000000011564 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/sosnoski/ws/library/jibx2wsdl/AddDuplicateException.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/sosnoski/ws/library/jibx2wsdl/AddDup0000644000175000017500000000204011147013326033140 0ustar twernertwerner/* * Copyright 2007 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl; public class AddDuplicateException extends Exception { private AddDuplicateData m_data; public AddDuplicateException() {} public AddDuplicateException(Item item) { m_data = new AddDuplicateData(item); } public void setData(AddDuplicateData data) { m_data = data; } public AddDuplicateData getData() { return m_data; } }././@LongLink0000000000000000000000000000014700000000000011567 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/sosnoski/ws/library/jibx2wsdl/Dvd.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/sosnoski/ws/library/jibx2wsdl/Dvd.ja0000644000175000017500000000337311147013326033117 0ustar twernertwerner/* * Copyright 2007 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl; public class Dvd implements Item { private String m_barcode; private String m_type; private String m_title; private String m_director; private String[] m_stars; public Dvd(String type, String barcode, String title, String director, String[] stars) { m_barcode = barcode; m_type = type; m_title = title; m_director = director; m_stars = stars; } public String getId() { return m_barcode; } public String getType() { return m_type; } public String getTitle() { return m_title; } public String getDirector() { return m_director; } public String[] getStars() { return m_stars; } public void setId(String id) { m_barcode = id; } public void setDirector(String director) { m_director = director; } public void setStars(String[] stars) { m_stars = stars; } public void setTitle(String title) { m_title = title; } public void setType(String type) { m_type = type; } }././@LongLink0000000000000000000000000000016400000000000011566 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/sosnoski/ws/library/jibx2wsdl/AddDuplicateData.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/start/src/com/sosnoski/ws/library/jibx2wsdl/AddDup0000644000175000017500000000170511147013326033147 0ustar twernertwerner/* * Copyright 2007 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl; public class AddDuplicateData { private Item m_item; public AddDuplicateData() {} public AddDuplicateData(Item item) { m_item = item; } public void setItem(Item item) { m_item = item; } public Item getItem() { return m_item; } }libjibx1.2-java-1.2.3/examples/jibx2wsdl/example4/sample2.xml0000644000175000017500000000505711147013326023575 0ustar twernertwerner Infinity Beach McDevitt, Jack POCKET_PAPERBACK Aristoi Williams, Walter Jon POCKET_PAPERBACK Roadmarks Zelazny, Roger POCKET_PAPERBACK Imposter The Thirteenth Floor Serenity Wheden, Joss Baccarin, Morena Baldwin, Adam Fillion, Nathan Torres, Gina Tudyk, Alan Stargate Emmerich, Roland Ackerman, Robert Allen, Rae Avari, Erick Cruz, Alexis Danziger, Kenneth 2006 Beyond Everything Determined, Tobe Alda, Alan Pitt, Brad SuperDVD The Dragon Never Sleeps Cook, Glen POCKET_PAPERBACK libjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/0000755000175000017500000000000011526304272021502 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/client/0000755000175000017500000000000011526304272022760 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/client/src/0000755000175000017500000000000011300355502023537 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/client/src/com/0000755000175000017500000000000011300355502024315 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/client/src/com/sosnoski/0000755000175000017500000000000011300355502026165 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/client/src/com/sosnoski/ws/0000755000175000017500000000000011300355502026616 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/client/src/com/sosnoski/ws/library/0000755000175000017500000000000011300355502030262 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/client/src/com/sosnoski/ws/library/jibx2wsdl/0000755000175000017500000000000011300355502032172 5ustar twernertwerner././@LongLink0000000000000000000000000000016500000000000011567 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/client/src/com/sosnoski/ws/library/jibx2wsdl/WebServiceClient.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/client/src/com/sosnoski/ws/library/jibx2wsdl/WebSe0000644000175000017500000001032011147012140033113 0ustar twernertwerner/* * Copyright 2007 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl; import java.util.List; /** * Web service client for book server. This runs through a test of the service * methods, first retrieving a book, then adding a book, and finally retrieving * all books of a particular type. */ public class WebServiceClient { public static void main(String[] args) throws Exception { // allow override of target address String host = args.length > 0 ? args[0] : "localhost"; String port = args.length > 1 ? args[1] : "8080"; String target = "http://" + host + ":" + port + "/axis2/services/BookServer1"; // create the server instance BookServer1Stub stub = new BookServer1Stub(target); // retrieve a book directly String isbn = "0061020052"; Book book = stub.getBook(isbn); if (book == null) { System.out.println("No book found with ISBN '" + isbn + '\''); } else { System.out.println("Retrieved '" + book.getTitle() + '\''); } // retrieve the list of types defined List types = stub.getTypes(); System.out.println("Retrieved " + types.size() + " types:"); for (int i = 0; i < types.size(); i++) { System.out.println(" '" + types.get(i).getName() + "' with " + types.get(i).getCount() + " books"); } // add a new book String title = "The Dragon Never Sleeps"; isbn = "0445203498"; try { book = new Book("scifi", isbn, title, new String[] { "Cook, Glen" }); stub.addBook(book); System.out.println("Added '" + title + '\''); title = "This Should Not Work"; book = new Book("xml", isbn, title, new String[] { "Nobody, Ima" }); stub.addBook(book); System.out.println("Added duplicate book - should not happen!"); } catch (AddDuplicateFault e) { System.out.println("Failed adding '" + title + "' with ISBN '" + isbn + "' - matches existing title '" + e.getFaultMessage().getBook().getTitle() + '\''); } // create a callback instance BooksByTypeCallback cb = new BooksByTypeCallback(); // retrieve all books of a type asynchronously stub.startgetBooksByType("scifi", cb); long start = System.currentTimeMillis(); synchronized (cb) { while (!cb.m_done) { try { cb.wait(100L); } catch (Exception e) {} } } List books = cb.m_books; System.out.println("Asynchronous operation took " + (System.currentTimeMillis()-start) + " millis"); if (cb.m_books != null) { System.out.println("Retrieved " + books.size() + " books of type 'scifi':"); for (int i = 0; i < books.size(); i++) { System.out.println(" '" + books.get(i).getTitle() + '\''); } } else { System.out.println("Returned exception:"); cb.m_exception.printStackTrace(System.out); } } public static class BooksByTypeCallback extends BookServer1CallbackHandler { private boolean m_done; private Exception m_exception; private List m_books; public void receiveResultgetBooksByType(List resp) { m_books = resp; m_done = true; } public synchronized void receiveErrorgetBooksByType(Exception e) { m_done = true; } }; }libjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/server/0000755000175000017500000000000011526304272023010 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/server/services.xml0000644000175000017500000000367111147013326025360 0ustar twernertwerner com.sosnoski.ws.library.jibx2wsdl.BookServer1Impl true true urn:getBook http://sosnoski.com/ws/library/jibx2wsdl/BookServer1/BookServer1PortType/getBookResponse urn:getBooksByType http://sosnoski.com/ws/library/jibx2wsdl/BookServer1/BookServer1PortType/getBooksByTypeResponse urn:getTypes http://sosnoski.com/ws/library/jibx2wsdl/BookServer1/BookServer1PortType/getTypesResponse urn:addBook http://sosnoski.com/ws/library/jibx2wsdl/BookServer1/BookServer1PortType/addBookResponse http://sosnoski.com/ws/library/jibx2wsdl/BookServer1/BookServer1PortType/addBook/Fault/addDuplicateFault file:///home/dennis/projects/jibx/jibx2wsdl/example1/gen/BookServer1.xsd libjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/server/src/0000755000175000017500000000000011300355502023567 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/server/src/com/0000755000175000017500000000000011300355502024345 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/server/src/com/sosnoski/0000755000175000017500000000000011300355502026215 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/server/src/com/sosnoski/ws/0000755000175000017500000000000011300355502026646 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/server/src/com/sosnoski/ws/library/0000755000175000017500000000000011300355502030312 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/server/src/com/sosnoski/ws/library/jibx2wsdl/0000755000175000017500000000000011300355502032222 5ustar twernertwerner././@LongLink0000000000000000000000000000016400000000000011566 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/server/src/com/sosnoski/ws/library/jibx2wsdl/BookServer1Impl.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/server/src/com/sosnoski/ws/library/jibx2wsdl/BookS0000644000175000017500000000366211147012140033166 0ustar twernertwerner/* * Copyright 2007 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl; import java.util.List; /** * Implementation class for service. This extends the generated skeleton code, * overriding the methods to call the actual service code. */ public class BookServer1Impl extends BookServer1Skeleton { private final BookServer1 m_server; public BookServer1Impl() { m_server = new BookServer1(); } /** * Auto generated method signature * * @param addBook * */ public void addBook(Book book) throws AddDuplicateFault { try { m_server.addBook(book); } catch (AddDuplicateException e) { AddDuplicateFault fault = new AddDuplicateFault(e.getMessage(), e); fault.setFaultMessage(e.getData()); throw fault; } } /** * Auto generated method signature * * @param getBook * */ public Book getBook(String isbn) { return m_server.getBook(isbn); } /** * Auto generated method signature * * @param getBooksByType * */ public List getBooksByType(String type) { return m_server.getBooksByType(type); } /** * Auto generated method signature * * */ public List getTypes() { return m_server.getTypes(); } }libjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/build.xml0000644000175000017500000002656711156001720023332 0ustar twernertwerner libjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/log4j.properties0000644000175000017500000000121711147012140024625 0ustar twernertwerner# direct log messages to stdout # log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender log4j.appender.CONSOLE.Target=System.out log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout log4j.appender.CONSOLE.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n # LOGFILE is set to be a File appender using a PatternLayout. log4j.appender.LOGFILE=org.apache.log4j.FileAppender log4j.appender.LOGFILE.File=jibx.log log4j.appender.LOGFILE.Append=false log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout log4j.appender.LOGFILE.layout.ConversionPattern=%-2p %c{2} %x - %m%n # change logging level here. log4j.rootLogger=ERROR, CONSOLE libjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/start/0000755000175000017500000000000011526304272022637 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/start/src/0000755000175000017500000000000011300355502023416 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/start/src/com/0000755000175000017500000000000011300355502024174 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/start/src/com/sosnoski/0000755000175000017500000000000011300355502026044 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/start/src/com/sosnoski/ws/0000755000175000017500000000000011300355502026475 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/start/src/com/sosnoski/ws/library/0000755000175000017500000000000011300355502030141 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/start/src/com/sosnoski/ws/library/jibx2wsdl/0000755000175000017500000000000011300355502032051 5ustar twernertwerner././@LongLink0000000000000000000000000000015700000000000011570 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/start/src/com/sosnoski/ws/library/jibx2wsdl/BookServer1.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/start/src/com/sosnoski/ws/library/jibx2wsdl/BookSe0000644000175000017500000001076011147012140033157 0ustar twernertwerner/* * Copyright 2006 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Book service implementation. This creates an initial library of books when * the class is loaded, then supports method calls to access the library * information (including adding new books). */ public class BookServer1 { private static final Type[] m_types = new Type[] { newType("java", "About Java"), newType("scifi", "Science fiction"), newType("xml", "About XML") }; private static final Map m_bookMap; private static final List m_bookList; static { m_bookMap = new HashMap(); m_bookList = new ArrayList(); internalAdd(newBook("java", "0136597238", "Thinking in Java", new String[] { "Eckel, Bruce" })); internalAdd(newBook("xml", "0130655678", "Definitive XML Schema", new String[] { "Walmsley, Priscilla" })); internalAdd(newBook("scifi", "0061020052", "Infinity Beach", new String[] { "McDevitt, Jack" })); internalAdd(newBook("scifi", "0812514092", "Aristoi", new String[] { "Williams, Walter Jon" })); internalAdd(newBook("java", "0201633612", "Design Patterns", new String[] { "Gamma, Erich", "Helm, Richard", "Johnson, Ralph", "Vlissides, John"})); internalAdd(newBook("scifi", "0345253884", "Roadmarks", new String[] { "Zelazny, Roger" })); internalAdd(newBook("xml", "0596002521", "XML Schema", new String[] { "van der Vlist, Eric" })); internalAdd(newBook("java", "0079132480", "Inside the Java Virtual Machine", new String[] { "Venners, Bill" })); } private static Type newType(String name, String desc) { return new Type(name, desc); } private static Book newBook(String type, String isbn, String title, String[] authors) { return new Book(type, isbn, title, authors); } private static boolean internalAdd(Book book) { if (m_bookMap.containsKey(book.getIsbn())) { return false; } else { m_bookMap.put(book.getIsbn(), book); m_bookList.add(book); for (int i = 0; i < m_types.length; i++) { Type type = m_types[i]; if (book.getType().equals(m_types[i].getName())) { type.setCount(type.getCount()+1); break; } } return true; } } /** * Get the book with a particular ISBN. * * @param isbn * @return book */ public synchronized Book getBook(String isbn) { return (Book)m_bookMap.get(isbn); } /** * Get all books of a particular type. * * @param type short name of type * @return books */ public synchronized List getBooksByType(String type) { ArrayList matches = new ArrayList(); for (int i = 0; i < m_bookList.size(); i++) { Book book = (Book)m_bookList.get(i); if (type.equals(book.getType())) { matches.add(book); } } return matches; } /** * Get information on all types. * * @return types */ public List getTypes() { ArrayList types = new ArrayList(); for (int i = 0; i < m_types.length; i++) { types.add(m_types[i]); } return types; } /** * Add a new book. * * @param book * @throws AddDuplicateException */ public synchronized void addBook(Book book) throws AddDuplicateException { Book prior = getBook(book.getIsbn()); if (prior == null) { internalAdd(book); } else { throw new AddDuplicateException(prior); } } }././@LongLink0000000000000000000000000000015000000000000011561 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/start/src/com/sosnoski/ws/library/jibx2wsdl/Book.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/start/src/com/sosnoski/ws/library/jibx2wsdl/Book.j0000644000175000017500000000245711147012140033123 0ustar twernertwerner/* * Copyright 2006 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl; /** * Book details. */ public class Book { /** Short name of type. */ private String m_type; private String m_isbn; private String m_title; private String[] m_authors; public Book() {} public Book(String type, String isbn, String title, String[] authors) { m_isbn = isbn; m_title = title; m_type = type; m_authors = authors; } public String getType() { return m_type; } public String getIsbn() { return m_isbn; } public String getTitle() { return m_title; } public String[] getAuthors() { return m_authors; } }././@LongLink0000000000000000000000000000015000000000000011561 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/start/src/com/sosnoski/ws/library/jibx2wsdl/Type.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/start/src/com/sosnoski/ws/library/jibx2wsdl/Type.j0000644000175000017500000000243711147012140033150 0ustar twernertwerner/* * Copyright 2006 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl; public class Type { /** Short name for type. */ private String m_name; /** Text description of type. */ private String m_description; /** Number of books of this type. */ private int m_count; public Type() {} public Type(String name, String description) { m_name = name; m_description = description; } public String getName() { return m_name; } public String getDescription() { return m_description; } public int getCount() { return m_count; } public void setCount(int count) { m_count = count; } }././@LongLink0000000000000000000000000000017100000000000011564 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/start/src/com/sosnoski/ws/library/jibx2wsdl/AddDuplicateException.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/start/src/com/sosnoski/ws/library/jibx2wsdl/AddDup0000644000175000017500000000204011147012140033126 0ustar twernertwerner/* * Copyright 2006 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl; public class AddDuplicateException extends Exception { private AddDuplicateData m_data; public AddDuplicateException() {} public AddDuplicateException(Book book) { m_data = new AddDuplicateData(book); } public void setData(AddDuplicateData data) { m_data = data; } public AddDuplicateData getData() { return m_data; } }././@LongLink0000000000000000000000000000016400000000000011566 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/start/src/com/sosnoski/ws/library/jibx2wsdl/AddDuplicateData.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example1/start/src/com/sosnoski/ws/library/jibx2wsdl/AddDup0000644000175000017500000000177411147012140033143 0ustar twernertwerner/* * Copyright 2006 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl; public class AddDuplicateData { /** Details for duplicate book already present. */ private Book m_book; public AddDuplicateData() {} public AddDuplicateData(Book book) { m_book = book; } public void setBook(Book book) { m_book = book; } public Book getBook() { return m_book; } }libjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/0000755000175000017500000000000011526304272021503 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/client/0000755000175000017500000000000011526304272022761 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/client/src/0000755000175000017500000000000011300355502023540 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/client/src/com/0000755000175000017500000000000011300355502024316 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/client/src/com/sosnoski/0000755000175000017500000000000011300355502026166 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/client/src/com/sosnoski/ws/0000755000175000017500000000000011300355502026617 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/client/src/com/sosnoski/ws/library/0000755000175000017500000000000011300355502030263 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/client/src/com/sosnoski/ws/library/jibx2wsdl/0000755000175000017500000000000011300355502032173 5ustar twernertwerner././@LongLink0000000000000000000000000000016500000000000011567 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/client/src/com/sosnoski/ws/library/jibx2wsdl/WebServiceClient.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/client/src/com/sosnoski/ws/library/jibx2wsdl/WebSe0000644000175000017500000001035311147013326033131 0ustar twernertwerner/* * Copyright 2006 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl; import java.util.List; import org.jibx.runtime.BindingDirectory; /** * Web service client for book server. This runs through a test of the service * methods, first retrieving a book, then adding a book, and finally retrieving * all books of a particular type. */ public class WebServiceClient { public static void main(String[] args) throws Exception { // allow override of target address String host = args.length > 0 ? args[0] : "localhost"; String port = args.length > 1 ? args[1] : "8080"; String target = "http://" + host + ":" + port + "/axis2/services/BookServer2"; // create the server instance BookServer2Stub stub = new BookServer2Stub(target); // retrieve a book directly String isbn = "0061020052"; Book book = stub.getBook(isbn); if (book == null) { System.out.println("No book found with ISBN '" + isbn + '\''); } else { System.out.println("Retrieved '" + book.getTitle() + '\''); } // retrieve the list of types defined Type[] types = stub.getTypes(); System.out.println("Retrieved " + types.length + " types:"); for (int i = 0; i < types.length; i++) { System.out.println(" '" + types[i].getName() + "' with " + types[i].getCount() + " books"); } // add a new book String title = "The Dragon Never Sleeps"; isbn = "0445203498"; try { book = new Book("scifi", isbn, title, new String[] { "Cook, Glen" }); stub.addBook(book); System.out.println("Added '" + title + '\''); title = "This Should Not Work"; book = new Book("xml", isbn, title, new String[] { "Nobody, Ima" }); stub.addBook(book); System.out.println("Added duplicate book - should not happen!"); } catch (AddDuplicateFault e) { System.out.println("Failed adding '" + title + "' with ISBN '" + isbn + "' - matches existing title '" + e.getFaultMessage().getBook().getTitle() + '\''); } // create a callback instance BooksByTypeCallback cb = new BooksByTypeCallback(); // retrieve all books of a type asynchronously stub.startgetBooksByType("scifi", cb); long start = System.currentTimeMillis(); synchronized (cb) { while (!cb.m_done) { try { cb.wait(100L); } catch (Exception e) {} } } Book[] books = cb.m_books; System.out.println("Asynchronous operation took " + (System.currentTimeMillis()-start) + " millis"); if (cb.m_books != null) { System.out.println("Retrieved " + books.length + " books of type 'scifi':"); for (int i = 0; i < books.length; i++) { System.out.println(" '" + books[i].getTitle() + '\''); } } else { System.out.println("Returned exception:"); cb.m_exception.printStackTrace(System.out); } } public static class BooksByTypeCallback extends BookServer2CallbackHandler { private boolean m_done; private Exception m_exception; private Book[] m_books; public void receiveResultgetBooksByType(Book[] resp) { m_books = resp; m_done = true; } public synchronized void receiveErrorgetBooksByType(Exception e) { m_done = true; } }; }libjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/server/0000755000175000017500000000000011526304272023011 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/server/services.xml0000644000175000017500000000367211147013326025362 0ustar twernertwerner com.sosnoski.ws.library.jibx2wsdl.BookServer2Impl true true urn:getBook http://sosnoski.com/ws/library/jibx2wsdl/BookServer2/BookServer2PortType/getBookResponse urn:getBooksByType http://sosnoski.com/ws/library/jibx2wsdl/BookServer2/BookServer2PortType/getBooksByTypeResponse urn:getTypes http://sosnoski.com/ws/library/jibx2wsdl/BookServer2/BookServer2PortType/getTypesResponse urn:addBook http://sosnoski.com/ws/library/jibx2wsdl/BookServer2/BookServer2PortType/addBookResponse http://sosnoski.com/ws/library/jibx2wsdl/BookServer2/BookServer2PortType/addBook/Fault/addDuplicateFault file:///home/dennis/projects/jibx/jibx2wsdl/example2/gen/BookServer2.xsd libjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/server/src/0000755000175000017500000000000011300355502023570 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/server/src/com/0000755000175000017500000000000011300355502024346 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/server/src/com/sosnoski/0000755000175000017500000000000011300355502026216 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/server/src/com/sosnoski/ws/0000755000175000017500000000000011300355502026647 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/server/src/com/sosnoski/ws/library/0000755000175000017500000000000011300355502030313 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/server/src/com/sosnoski/ws/library/jibx2wsdl/0000755000175000017500000000000011300355502032223 5ustar twernertwerner././@LongLink0000000000000000000000000000016400000000000011566 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/server/src/com/sosnoski/ws/library/jibx2wsdl/BookServer2Impl.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/server/src/com/sosnoski/ws/library/jibx2wsdl/BookS0000644000175000017500000000363611147013326033177 0ustar twernertwerner/* * Copyright 2007 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.sosnoski.ws.library.jibx2wsdl; /** * Implementation class for service. This extends the generated skeleton code, * overriding the methods to call the actual service code. */ public class BookServer2Impl extends BookServer2Skeleton { private final BookServer2 m_server; public BookServer2Impl() { m_server = new BookServer2(); } /** * Auto generated method signature * * @param addBook * */ public void addBook(Book book) throws AddDuplicateFault { try { m_server.addBook(book); } catch (AddDuplicateException e) { AddDuplicateFault fault = new AddDuplicateFault(e.getMessage(), e); fault.setFaultMessage(e.getData()); throw fault; } } /** * Auto generated method signature * * @param getBook * */ public Book getBook(String isbn) { return m_server.getBook(isbn); } /** * Auto generated method signature * * @param getBooksByType * */ public Book[] getBooksByType(String type) { return m_server.getBooksByType(type); } /** * Auto generated method signature * * */ public Type[] getTypes() { return m_server.getTypes(); } }libjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/custom.xml0000644000175000017500000000062511147013326023536 0ustar twernertwerner libjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/build.xml0000644000175000017500000002667011156001720023326 0ustar twernertwerner libjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/log4j.properties0000644000175000017500000000056211147013326024637 0ustar twernertwerner# simple log4j configutation for axis # # direct log messages to stdout # log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.Target=System.out log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n # change logging level here. log4j.rootLogger=error, stdout libjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/start/0000755000175000017500000000000011526304272022640 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/start/src/0000755000175000017500000000000011300355502023417 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/start/src/com/0000755000175000017500000000000011300355502024175 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/start/src/com/sosnoski/0000755000175000017500000000000011300355502026045 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/start/src/com/sosnoski/ws/0000755000175000017500000000000011300355502026476 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/start/src/com/sosnoski/ws/library/0000755000175000017500000000000011300355502030142 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/start/src/com/sosnoski/ws/library/jibx2wsdl/0000755000175000017500000000000011300355502032052 5ustar twernertwerner././@LongLink0000000000000000000000000000015000000000000011561 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/start/src/com/sosnoski/ws/library/jibx2wsdl/Book.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/start/src/com/sosnoski/ws/library/jibx2wsdl/Book.j0000644000175000017500000000421711147013326033127 0ustar twernertwerner/* Copyright (c) 2007, Dennis M. Sosnoski All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of JiBX nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ package com.sosnoski.ws.library.jibx2wsdl; /** * Library representation of a book. */ public class Book { private String m_type; private String m_isbn; private String m_title; private String[] m_authors; public Book() {} public Book(String type, String isbn, String title, String[] authors) { m_isbn = isbn; m_title = title; m_type = type; m_authors = authors; } public String getType() { return m_type; } public String getIsbn() { return m_isbn; } public String getTitle() { return m_title; } public String[] getAuthors() { return m_authors; } }././@LongLink0000000000000000000000000000015000000000000011561 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/start/src/com/sosnoski/ws/library/jibx2wsdl/Type.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/start/src/com/sosnoski/ws/library/jibx2wsdl/Type.j0000644000175000017500000000402211147013326033150 0ustar twernertwerner/* Copyright (c) 2007, Dennis M. Sosnoski All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of JiBX nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ package com.sosnoski.ws.library.jibx2wsdl; public class Type { private String m_name; private String m_description; private int m_count; public Type() {} public Type(String name, String description) { m_name = name; m_description = description; } public String getName() { return m_name; } public String getDescription() { return m_description; } public int getCount() { return m_count; } public void setCount(int count) { m_count = count; } }././@LongLink0000000000000000000000000000017100000000000011564 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/start/src/com/sosnoski/ws/library/jibx2wsdl/AddDuplicateException.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/start/src/com/sosnoski/ws/library/jibx2wsdl/AddDup0000644000175000017500000000361311147013326033145 0ustar twernertwerner/* Copyright (c) 2007, Dennis M. Sosnoski All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of JiBX nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ package com.sosnoski.ws.library.jibx2wsdl; public class AddDuplicateException extends Exception { private AddDuplicateData m_data; public AddDuplicateException() {} public AddDuplicateException(Book book) { m_data = new AddDuplicateData(book); } public void setData(AddDuplicateData data) { m_data = data; } public AddDuplicateData getData() { return m_data; } }././@LongLink0000000000000000000000000000015700000000000011570 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/start/src/com/sosnoski/ws/library/jibx2wsdl/BookServer2.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/start/src/com/sosnoski/ws/library/jibx2wsdl/BookSe0000644000175000017500000001146011147013326033165 0ustar twernertwerner/* Copyright (c) 2007, Dennis M. Sosnoski All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of JiBX nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ package com.sosnoski.ws.library.jibx2wsdl; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Book server class. This creates an initial library of books when the class is * loaded, then supports method calls to access the library information * (including adding new books). */ public class BookServer2 { private static final Type[] m_types = new Type[] { newType("java", "About Java"), newType("scifi", "Science fiction"), newType("xml", "About XML") }; private static final Map m_bookMap; private static final List m_bookList; static { m_bookMap = new HashMap(); m_bookList = new ArrayList(); internalAdd(newBook("java", "0136597238", "Thinking in Java", new String[] { "Eckel, Bruce" })); internalAdd(newBook("xml", "0130655678", "Definitive XML Schema", new String[] { "Walmsley, Priscilla" })); internalAdd(newBook("scifi", "0061020052", "Infinity Beach", new String[] { "McDevitt, Jack" })); internalAdd(newBook("scifi", "0812514092", "Aristoi", new String[] { "Williams, Walter Jon" })); internalAdd(newBook("java", "0201633612", "Design Patterns", new String[] { "Gamma, Erich", "Helm, Richard", "Johnson, Ralph", "Vlissides, John"})); internalAdd(newBook("scifi", "0345253884", "Roadmarks", new String[] { "Zelazny, Roger" })); internalAdd(newBook("xml", "0596002521", "XML Schema", new String[] { "van der Vlist, Eric" })); internalAdd(newBook("java", "0079132480", "Inside the Java Virtual Machine", new String[] { "Venners, Bill" })); } private static Type newType(String name, String desc) { return new Type(name, desc); } private static Book newBook(String type, String isbn, String title, String[] authors) { return new Book(type, isbn, title, authors); } private static boolean internalAdd(Book book) { if (m_bookMap.containsKey(book.getIsbn())) { return false; } else { m_bookMap.put(book.getIsbn(), book); m_bookList.add(book); for (int i = 0; i < m_types.length; i++) { Type type = m_types[i]; if (book.getType().equals(m_types[i].getName())) { type.setCount(type.getCount()+1); break; } } return true; } } public synchronized Book getBook(String isbn) { return (Book)m_bookMap.get(isbn); } public synchronized Book[] getBooksByType(String type) { ArrayList matches = new ArrayList(); for (int i = 0; i < m_bookList.size(); i++) { Book book = (Book)m_bookList.get(i); if (type.equals(book.getType())) { matches.add(book); } } return (Book[])matches.toArray(new Book[matches.size()]); } public Type[] getTypes() { return m_types; } public synchronized void addBook(Book book) throws AddDuplicateException { Book prior = getBook(book.getIsbn()); if (prior == null) { internalAdd(book); } else { throw new AddDuplicateException(prior); } } }././@LongLink0000000000000000000000000000016400000000000011566 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/start/src/com/sosnoski/ws/library/jibx2wsdl/AddDuplicateData.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/example2/start/src/com/sosnoski/ws/library/jibx2wsdl/AddDup0000644000175000017500000000346011147013326033145 0ustar twernertwerner/* Copyright (c) 2007, Dennis M. Sosnoski All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of JiBX nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ package com.sosnoski.ws.library.jibx2wsdl; public class AddDuplicateData { private Book m_book; public AddDuplicateData() {} public AddDuplicateData(Book book) { m_book = book; } public void setBook(Book book) { m_book = book; } public Book getBook() { return m_book; } }libjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/0000755000175000017500000000000011415065240022527 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/StoreService.aar0000644000175000017500000004241011415065240025632 0ustar twernertwernerPK ¢nç< META-INF/þÊPK ¡nçMo£ÔqÔ5ܳ™‚wƒ‰Ý“€JxÜ! '¸þ\IQÇQÌQ ênQxB'‰gÜ>MÞMÿœ à¯sù×i£þ¼,œØoú»…›“›£“Û+Ûÿ`Šó«©­£•“Ëp ø÷–Þœì^¾PMõz‹Ÿså{ ÐüÞI vµtsc³°7ssËÖrÐ • „îÇ<0S2ÿ„ŠÜîür0ŸŽÐœJìÓ¡y4ÍeˆŸW’ÅŠãÅ<°úXáív5¢Hž]KC¦âXFï|h‘½¡˜à@BåÀýâäÔýbèî좲%]L8©•µ„2«GËsÒ}&±mÍè1Úšx¿¢ m¯w pÊà,Ë$éªÍÞ5ç˜É¦:¥ç#R—‘ßJìBöfVé6éëû¬;+âYu6̩ÄÓrß Œ\Ñûl!Œh9džúѯe“,Åh“Ï%X [µ<‰DÕ5êZ ]ÏR VðN_õQ•æË`(A¯ã-ÙZ<&½zÏ0í'=É›—2nßÙŒè0‘_@î×4RÏ}ôÖßåÀiÚ߈ZD™êuË“ ° &séWTË$P9po)aë«a¥Ý>¢˜zRÐ=Ìh«ÄÈijèFyáøVø½6õüƒiì[Ù!¥[Bøq¹&‚9ÛG]‰Þ„I€Ýq¶ÜA/Ç!ÅÎ_£Ü˜$ìÃÀªZ_ØÞ [E5êB•òÍ—kcKˆÓÇH•¨B\O:ébB!T …'4“ÞìGŽÛ€m©yLdírtÙôŒ¨Œ®sVPíåËUãѼ8J„3‰X,±ˆd÷X¡0ÂÌõ$Y‚㉀Ï>‡#9×ó}^øvVÌ·’«¾\ ^Ú›-_¼ý <]"ÿ·b©=UbñþÕ=ßæ±e‰SC[Eú_æE˜R{zo[~;ô€ä_Ö>Øèm°.ÈÝpVÉ ñ€¬ß+[yÊKd8™j<_H[Ýœõ›ûš~öÃOÅ¢qƒÄÊ}_9ŽóºleðÙN%![ÏÉzùžÞý­ËQ ɨåR›wÒœP(œM°º?ûSÖUšo¢ç6m5#Hèu¬În뛼•ýÊY£¾~zÍ‹µ2Ü‚f•lw£š®3rÑ~Ó\·Ú ½¶½ÞG‰X5߮ӥ4ñ4ÿE¹o‰ì­ú¿Î!ôo¦^ giC2ç_+¿¸Œ'ÍËFÒ'ªXèy\µ/ê{vh—ueí.ü*ctÅðŽyÚPÃmŒãVÜÞ› Ä*"„ 1‰©@VBVú9üx[AÂ"?ï¸$9pöÞˆRMï üµ¾IX‰ÃìM´èø ɦñòžÖZ†¸OÄzø'è#BŒÌЉ™§4tù¸ùyWqxÑt0béàéÌôÂîb_‰²2qœ†9Â*H5!¤ŽÂ£ñRí9 Vhû;v—â÷§xÅô)í™—Éúø ºÑèQœaI\,¶ÉœSŠ„°\‚§×<³¥tõO¯Az®è?¢¶¬—e¨.±C–P~(¡v,„ä>YÖ¸N|»B×®¼Ãìš#›¤q…æ«q]>eCëôb5+v…¹pb5KJ__Ê$á©s_•¡I•êÓ_–ëK¸ tbï2°_‰!£.Wq™E¿~YÎöE«¸'4.÷Ú=ÒŸ“Ô!îŽ6 p€Pþ>Iɹ[:ü=CiÚjLªâ W>v˜ÔÍÇ`{MÂdË$í,õ8ï :òˆ¢¾¹O:ÝG9¼;¥ØB.u²ì£÷\÷ ½7sO¬ÒíDZ7ضZ½‡ï®¾}óP{Óå£p†³C$ÌùI;ÐcŸ£^bH¸ú*¿*qÄûxãnð(qj©Õ`¸ßnf*qnêzü°¢Hf1¿º¯ÉKÔ7GWšc^D⓱ñKI¦0ž±mlIÑ®|©qÝ*#×'IìU?'.¯Œ*Íè s!„¬I’b©×”ѵÄÇc‹iJ£ùÁÅ£ RDµýÖƒéÆ³ùÀ2¢opýy`vÐw– L’éŒóTé(2bÐDZbL u§T§£çøð˜¢eé‹63TgÄh÷J¨¦U¤>;…_‘hì¢í1I3&‡pñàKšÃŽ„•è@áÀ;‡°Ž·×vjHžb|i§Ó'%ÕÏB$X±Ä£³¾=(ü¾´Œo­€iÁ^¼Œ×vØ¥kû®q¯‰¤'Ú»€ò­•*BŒjM”ˆ¢êªRð*s>ÖšÖ}F§¢t¥©÷^®Gà-A#AÁÎ>rǪ™ÎsS·çl+5/û%±­e½ô&¿"zû¡¯·^H|°O#qíO)®K¿#wÏÔ»[¢¼&9à +'Ôie¬móáò•ÐZá¡Ã#y*Çdà‰¨Km Þšöa’)Ô !¢©(ƒ5pݪt?žÃ!_`ž ý±Ln˜õBCW²}®ûJê‡Oé] ÐݱTØ­¶:f"Ì °·PãÉ„%ÉþHBú53ðUè<Ä5NÖ/¬Òð)6(é)ÏQ0jËžkø£Uâü µ0óêý&±Ó£ —feFÞjFÃ.™¢Ûm*É×é+Ýäví×A¯D€Ó)‡ô—Ü BðhËyMž iÊÆÏöûË+êÑÄFŒ]™Beìå(,—`ʽ¦Åg–Qé@†›DÊñ4™+Óã7Bdð«Ð&u…›²²|N™¢åÓ×èo<ï ‡Ã§o·|ÚOµß¡h„®ÔÏM“ø>ÚäÕ¸ÄHβ'yôÖí=PCÕ㥫½dÄì<󿢻fi#y—Ê2y¿Íi'JÜ™m3Î)¸Û™‚Ðc«X‰Þ¦ç4¾Í¢‡?´™k±KRú#@c…f–›C8ÔvHõµ©D޶9ØÂBåfQ¦+c¬å&­QçvßÛ7¢† mC_š !¦Ïb¾ ?=HH¸&=¸ÓóOú¬Ã‡lRŠÉ×ev?-íøe}[œï ©<*¥):K¸ïÀ7þÊ|sUÁ0’à'»RÙþR€C°±û‰®‰yäʬÈ?×RïÎfE@ºÉZy­Ž m­Qßübç‚ yЋn½f ^%³÷FŽzi„O;O;þLýÖÌšž¯?©oòó'ŽÿŽúÒfîN®>ãü‚¶Bë>v£º¦^X$×D_ü:›[ý­³m¢únQX3¿‹X†"ˆË;v/´ÂTF³æ ÓÉ9ùdYbiºœBˆ '×ËwQ´›$2&œ=¶»@,Ô. ÌQÝߒಬX@wê 3õÄ!HÀÇx¥¶Þ±Ö‚‹©f³¹‚˜@—tÎ}ý¬ ËA˜¾§C–ޝ0TÌLVÀq˜¿j ‚¨xÏ|?kG˜Ч´IØCH7D¨|¼TÎͧºwÔ9Fát½»'Ff6ÏŸ§žf(Ÿ Ý*8r7q).Ñrä(§ì¾ ¬åBÌO·öf• þUÇcÉ©‚DºwRE~ʲ-Ö¦¶!òÃW8¾åúuŽÎ{Ø¡Þèóï‰G.a¯i²e'T’4ãÛiËâqÂ'o¢g«Æ>˜C)}êß²•½á0Ös/-ôÒöèÿr—Ýš gÐâ8ÓÊØŠ_‰Ž—F4Ú—²±–•ÒlsL+Çß@{ë¹Ê·çíBøaM‹„ÉØJõIÍ\g­¦!eçùs&Øó*tšèK—f‘nX\;hëÐýBö@.`*Õ~\€±6™‘Õ«©Š°´€“Cx8ìÐÒoT9B¢×•J{(#{¸¾ì[ß÷!7Yqyü4üøG&Þã)“ämÂMCê+ˆ¥Á½RÏDYg} h7GùdG¶¼4útÉöžRÏW‰LštM·„O e±tswš5nE?ð[ŒUoPoqf öyTMï„¢ æÉ´ßQ®•*ì] €Y xÆ3õrЖ"í­ËÛ~ï[dxaø1}%´R¹š/‘[Öߨ§à/‘Ùgbr‹ÄœkÛ0|@…±¢vÄ7‘KãŒsð™3Ôõc¤Y=›¥å'ÚPû~õP‚XÖÇàõŠHnì5wÝ~Ÿ‘nÂÚ768Møp¸c̃Ì×ÔCÃMf鄞Dídù.ëþã¤Ïû™Å"Ý)#`‘ö) ·Uq¢.®ø¾-žìroǃÁ c|lÈ9Ѳ±²Iy¥l%²È"c9jɹñSÜúYÚAŸÕÆ­†Í5ýFXbmÙ¦ë=ÚZÂIcN’­â#­çÏmý†§Ç& ¦Rëô|Q†.â·.X›é}g« |HúK‚ä0pN`±Òø¢ˆŠÎ=ÄÉÔÐ~¿Ðtˆð [c[>.8ß—wt¦»¶¾s8ëÞvYwÈ ‡PÇ×!éº"û|ßDrÜ¡¸v¬u±¿Á§XS$Z7Ó¬;i¾i'ü ÏvVøIv„¥Q+).è—šÝã‡â T ûÀóßå%GkK1°™³»¥ëß‹m -Ü@6$^šqùê ý›Zšd-ù÷ê¨ ªœ>±êš¥[ M b! ¿ý†þúñí*ÚM8´þ ×Èv´¨¼0‰ú3´!ÅsððÅÛ­·'oÝN.D;îc±`bÏ%]=xº?èáMÇ@-%~õÖ³‹²¬¯7 l¼“×o}nÄ\†ëäK´r* ,9µVcqa,‰¥ACgL ׫sÍE6HÎ|*-³xæC‰ ¥Éç¥Àüî¾;®íÈ<lˆ²§0Äý<,žhU±üåfžçJ_kýKèw%íÓR’7»v5`ƒ 5%2y×TÛ:Ê~&{×$¥D#šuÝ8“Ç4 @5E‚%k]Y0&yæÐœ£ž ß4¯Gƒ£\-{í¦æ™ŸvL‹q¸Î{°õ\}ÑLru&Žê~êdrór¶ d<‰ß´q¬¤9s–;ŒZ 1á ]ð-N¾ô¨Lôjª¦”üB8Â]8¯3 §UùØ;‚ÒÇ_ˆ˜MÊ™ˆ€ˆM«ÈÝqûÇɾ²Ù¢|ªÞà)Ìx51âˆí³½¼Úã5&ø^ö SÌGYTSðµ­"ý¤=fjfNš¨9j!°”ô9ã±§²«Î¦ÏÕŒ6‰Å˜–{7T~•aÑŠ!G}Ý#Õœeµ»izÛæ’#äÛåëwί΄4Ô›¡CœþÑ.ÅבTÁòp£ýþ6Éng8f?ÏÌ\6¬Vµ­e÷nþXKSôD}}Qµ]´W¥Q þ©š,ˆ®yaÒ„«r¨wlPAóü¬ÛÕŠ¨[n"¯ÉܰçÅ ”ŠÝ®MuFPºê×°‡üž>î€1ãÞ q»ÕÓ¼Á³–˜+)—ø8óGoB´-|LGÏïÝUÑhò•Φ’׊UÄÒhDu­î„K N•zÁŒqrà 1¥Lðœ@c¦èÙ&6ø•Ê“•krà ë½ÃÁn\HÓ©C@n¹“<Ô³ì&º|/òᆕ]ì|m¿/éµÇÙ3òl´+nù« š×3›Lß^z^¡M¶+RôU"~¤duwôÊÜ Úû°rv'¿ôNYÊ\0ú¶ˆ'–}Yw“Ì[Øj;¾Š¢Y\ûÚ$ ]LCÀhý÷ë&Ûw »ð­7æËÊÇ[_WÄLœVíᢋ]X{mJ‚r9ô¡&õ@*>yÑ$yÇ5ŒÄ¥ßÑ ™áãÆv„líûå›vœáð,¥«Y¶æ¤ÏdŠ^¦W½A?,êA²%hpEß?ZG“ÜfRUô¬ÑO6o9µ](˜—)òõN×læó™¦—ã7©"¬]cw»(#ö#%Jܼ:ÛÑnŽÔG6yöXE¢²Ú&gùá6‘X³u¥føOŠ Ö¼Æ8ôl ¼H:ƒÙ«Õê°ûð €Lë[¹aæñÅŸ“ÑÞés¶âŸ ý¿NF*®`K×ÿЩhÿ¥S IWO-xÃË:gGYg“ÇúÅÍ•.«8£yÖÈ“Ž8¶WtÕi9ÔŸ1o‹aI¨—bãhÄÝ6É»Üä|h¾i4{KÄm«²#èŽLΰ_¢y·A¡‡ ƒž¤žo „Ѷ¢ÝK î ð}Ž©Ð7ò­ì}ˆÑpAx)Rös´ vl¥¶‘½jkÿ6ÃîéߥVá!£µ‡PO‡ÑO•ûß6%t¢ÒMò‡pÃÓí0ú9L®â-!³P'7¯Ðˆi£-ؽj+m‡˜•zŸ`>5™ '®+žè|µ§T›E¸ƒJdªEÅ≾P²Ò~3®wÿEò¤ÚÏt‹|èl³2æG8ôÞ-J¬ÇaXñclã¾€¸ÏT|nÖ¤lH_{Y=æ3ƒŸ\I)TÖh-9Ži¶èóÄjì²%ļ«2b+J1>Ö„z3a«¿ÉzÔÚÏ‘ö¾•IF+·ƒÔ-*Fà-˜Ÿ'äƒ4F)á1ŠÌÓŠO!Øñ]DyŠÏ¤Š»æü÷žÂ5ƒ©ÇŽŸ!¨‘7;">}BؾíÔTŒã•,0^ZTZcaãxKšSæ 5lEÐ`Ÿi~½Ö‹‘¡ÙÁ®!ž/ÿ"V:x>.ZÐwg[x{8ŽÊ9 œ'WgH<ÏcÍzÕºÑ÷z’g`9àmz—¥ÿK(…qˆY° h¯Ð9o±áÞ¤ ­“j'0,ÎCŸÐÊ~:MYëHUêÉu Ûæ ÜÒ”[ä‚7‹)(Á2jÞ-±_F» c5SÇ9(§=^鿉~uÛ¬žý¾ØW2pár°à6z•}‘‘åu°§@Ž¢¾¨ŽE]ì¼ñiÊMÃ<<°S¬[¢± Zxs@‚ÓFH6VZ_º‚¥ƒÄ§1šyŠ-çkl•öpe×™b_<á¹u‘e'F—«Uí›CöŠ]ÿ^°9k)H¯8\‹ ç±¨7!Ú„¬a)Oeð* !Ìš¥Ç±·>jֿŤÇ*¹Œ& 7+Ì,Üt«Éã vÄ“>d/ÄÌLÝ¡Á’s oEf¦?ŸËà)cU÷zû"çc™~ÔK ÇJ×Ôû}XËõø·újw­ ú¨x„‚ë…ÿ€·Ø±{Ôªªˆ¥•údc<âî=œa*BÏÅ˜¸’H„²#ã箞ü¢×•¨ÈãÌ¡hmš;:±Ãr¯îÂÅûNµZ^Š€}¡õÔô#”†Ï,úQ·Ô\øë£ùzE!”w‰øIü/,Ö Ÿ7iº”ÔZ {uõEÔÑΞG‚K U ÏÒJëˆÜ\µ™uX¦Yˆ3õXðêàÚjì‚“¾ù/?r‚ `œßz8Ò?9úËŠ¤@öÕµ ©t1eååÕÁÃ4x~GkûUÚ¦A ü¬ÔÖë(É¥­+„–ìéÖÑCý!¹J5¼6}¥ÐP~g7ô'éû;„ärËjÑLº*Ÿuk_k«ƒ=(ð:šnª#å&’B"å gÅ0–%t s j·¥mgSWlÙlÕ€¶$ƇÆ5îÀšÌþÔz˜¤@œº`)Aì6înHÂF¸;˜³äùÈftâ«9m Eá•æÜBÆ2Ó”2 4WuÓµºo©ž6sŒ¥ìÜ­qm‡%¥©ÓFFbÆb|Ò‘Ñ\çøÑfM†yL%·LYÚcƒ-£sD:ì-zòË‹_wÓæ6Q1€šE熉ºƒü–ú±ï à*ï=àfçAröè%]Ò‘!wK³æ ôËËEPÎäKÍ•üÎqoI¯yr&å+ãŒy*v“sµÏDë8ÈßìžI¤¸ftµOøÉæž&ˆÐ:¿³Ý†±@]ß5çž?™Î ¨2W" õi['Þ ÉþÄåUÉUËs ð®]uÃHDÎÊúNœªÒÍ®^˜>’‡pE"Ó:²šŽd_aFflºA£…ŽÐòì{;ìce;:p×—CįAB£™Æyäú¦l{` ï™UÒ5RÇï‰%+^Ë ÑÈ£Û¥†eö—p ,¦ö¿»PÚ%Í¥|Â@ÀÑ|™´SæÆ—#®Ãr…”åF‰¸ëjjìIIDÎEéÖ·.d+‡xæÈZ¯ÒÞBý.¦¹®œ­›„,å[ex>Øi3CK¥ê©NAú†ç<íò˜zð¬'È-`5ƒ„Mætëaõ³ÙQן¯ùú… ÁÝ4[w˜¯Bî¡3Êì¶ eFï/QrÖ®Žd‚A ÈŸî2yH§+=Y?$x%SÚª~0BÞyè̴؃lpKPŽð}ržýÜ;uÀòHa'E"EÁDøÜwäã`é(Ó%‰ð®,gPç<µo¾¹)õ%&ó³XÞÀš‰²“ŠÅE²ï§žgçàªÉÇ_;Øßö¾µ ÜËß"ÿ8´ *Õ©ZNã¨hÀ²äÙ›²Ø–5 nD½§wfv|ÕÜ]ÕyæçìçœMÓÍ;W¸³¨3Ž]¢Ä‹ [õøL)]æíǘfØ*Œ»ÖB»J–)<Âs€þù *#q”l(D uÓ§"üÙ¯Z‹îç×R”HdãSè«F:XØêú‘7C»ùE·ßê)‹Oô;'êÝ…ƒoJ:œÉÊÐõ&E½ÕµªwæàÛÉœ.Hã>þaЦ¾%䫲ץ÷…u°3ÎØÂµg`ÜäBïμò j†K‰UO2W¹½tì,qÿšVz²£Èˆ¦Y±@SÛ‰óΜäÞ×/ŠrŠ„ûëÇsŠä¿óóÞêÛÕ8 ò_aj'Y¹C_.Œ:ÿ‡­R¶í>)]+ìk+L¾5ðѨ•÷MÏ-Ê÷³i?ê~áy-ÿ$3$á„uŽÜÍ#‡\ü "‘+î‰ûlКݚìÕq² Œ±c7†t¹µR(ShdXç3æÿ䑯¹ÐS22§¸ÏÖ`Š8™DÑáèú Ô²Õg‹e«)˺1®S•1Ô‚B­ûµ¥’¶.%ãIáæáþN à±zÍ<Í€Õœ[¯žd§ñƒ§í¶ïó¦Z&¦Ç¯ˆŸ®éÞ (5í”ç{ȹžX³ Ú´`]ïî×MceÂ+܉ϕßï$)W÷=¨kè0œÌ¿~^´æ2÷-a FIñ8m"0Á$î)2âM+1¼ãÓÊ!˜î9ÒbœÓúîÊ„F¬…ü㗃܅ÞÒŸO¤Hãï_ÖîN®––®ž¶–{g ? y‰õ`™/¤ ‡DÅ”ú‹´>쥸˜u¬PÌE‡@\(+íPUú]æ%×pxÑ¿áfã™ø²Ùz'ýe¯8“ò^&+e&ý©¤­¼Ã@›k'}çVø6†Kúw0«å™68eøŒ—.š•yÚ©O†ùöà)2íÇÕU9Ål…®ï‰Z=®=õ#x8t•Kî-´@èaäs.†!(65qbi佟ÿ å÷"—¿ ,Àžà_u,“¼üÃõß‹^þ1Š‚™#ù×àÿNªòGð† W~ïú“Çìÿ/dù½+Ο\Q‘~#lù=ÁŸxþ=Àß„.^´_¥.,šÝïAþ$|ùñ×sé?1þ§Ô¿Âýz¢ö\Ñ£ÿù|í× ¿îÝÿ$ôßÉÿý×]¿?ÐáØÿãà¯!~íåÿ¡Šÿ?vö¿†øµmø#„,ñÓDüŠ÷kfûïŒòÿçT<ü‹Û“Ÿ±Ÿ‹¼ö×¹ý?PK ¢nç<com/PK ¢nç< com/sosnoski/PK ¢nç<com/sosnoski/infoq/PK ¢nç<com/sosnoski/infoq/ex1/PK ¢nç<` ÛÎMETA-INF/services.xmlÍ•]kÛ0†ïû+ÎtµÁlÙ…ÅØ.ÙºÂJF“²kÍ>qÄlI“ä8ù÷•ê´Ž¡)Y)´¾1–ÎÇs^½Xéù¦©aÚp)2‡…,¹¨2r³ø|&çùIú.`±â–¼Fè˜ÖZT(P3‹%,µlà÷üâ'Á.þÏì aªXá_nNï;%‡ga ð¥åµ) Ya!ž|„Ó(šÀû8JÎ&IÁ·‹Å‡¾¦A½æþвUù ¸ç~ k0#s+5Îû%ÒGÜE5h «ð ä`ØzlTYY«J»® »O¡Ô†v¦¬)l-¢fÆd¤Mh¤Òüå!Kù/ÄMî³\\Š™Ë§{€ô0aª˜vÃYǵ²¯ùÕw'ùÝ/U§ô¡Ì¥[ƒ3Í+.Xí'%¹Õ-—Ú8Ç,·7î<¼~Im§e©Ñ#."•7³Ã®ˆF«9®D‰š{>×8álMœ@Túz}Ò‹Üá°Â³\1¥œùóV‹d”ÒqÀ8Ù¡¨ÖNGÿ‡3úð .¶ éáÚ *…qr>ÖnÏOÊ>¡¶ªfoFêæutú¿¨ÈÖoFå=œ×‘yà¹:§t÷×wWß ·PK ¢nç<)I:UL¾-com/sosnoski/infoq/ex1/StoreServiceImpl.class•T[SÓ@þ¶)¤„Åk”– Q¼ Þ-P‹ ¾…tÅ•4Á$0âøàÿðÍgPgtÆñÙßä8žMR@ð‚Ítsöì¹|çœoóíǧ/úðPC+Žj8³-8Þˆè“ËI¹œ’§54ጊ³Îἆ\š~i0 â¢ŠKšqTÅeWT\ehðü ÷K"²¥§Ö¼eÎ…Â1¥¦Ÿ¡~@¸"¼Ä ä ã éë^…34—„ËGæªSܳ¦Ò´–<ÛrÆ-_È}¢L‡ODÀP(Ù^Õ ¼Àõ‚a ÷±÷ÌäÏO˜åÐóy™ûóÂæÅê¬Cùm˵¹3*A1´åcDŽåN“µ/ÜéþÂ#†”¨È”›Îê„[áÏX‘a[9´ì™ak6£Í:–Í“Ð}ù?¡Š ú ¿îÅÎþîK©}N>|~]¶Í…ü+HfÀv’îkeoηù u´mìÛ1[ÇNìRqMÇuÜбm*nêÄ-·QÔ1„;:JÖ1‚Q‚ ž9æ +ä*î긇û2JYÇèÇCîo ¶¯1æªï[ 1‘º·8pc –åîðÐs:·`ÍвÖê¢òi‰33kù§íHEtiú•üDß@¼àóéT ¸,,_\ç<:õ”Ûá/TITdoU*rÕ̉À™Ð‹3K“âo¹¦Q¨ÉÅqj˜é>f×i‚W©z{Î÷¹މ*Ž#o •0Dõ䇤^ ,çN×( ]cBW™æá&h ~¢¯O+höô×$ÑèóTG2ñÖÝ´3éͤ¶g ì )졵>RjØK«`rôf؉ó+(ôGŒe¤Ò•‹¹×ÈåÞCYAšá ²$æØ êL¤ß*oÉR‰¢ï¤h ¯›Š,iAì"x2ÛÁ8b’MJí¤cdÛNåt¾ÎßwtIè]8œ Y ¨Ò× ´Æ êS˜¨aY†:lô~DÆøŒ†ÉehKhü½wqµàÒn*yÉ{)ý>Â$c’A º£.¶EàR$çÉ:†ñ’öÿjÊ ¶¥ðM‹lqµ)­HG¹T*sÚEÏÿ7$ƒžÕÙvÒ™ü5~Fóä² ¼‹&¸6a9[#jBïOPK ¢nç<´Â s„°1=com/sosnoski/infoq/ex1/StoreServiceMessageReceiverInOut.classZ |TÕÕ?g¶÷2óØBd‰"d ¡:ˆh4  € }Ì<’ÉL˜‚Vq¡›¨]Ժ׭Ôn"´H»a÷Z»i]ºÙÒÖî{û©ùþ÷Λ—Iò’Œþ„7÷Ýwî¹gùŸå^üæ›OÞ—‹™+T¾R]%lUù*ë*oS9"f£Âàbd¨¼]tz¹‹c ïðR§`3•wú8ÎÝâ‘P8é£8÷ˆÇ.§8-TÉ£gUÞ­ò…{½¼—¯öò5ü.•¯Uø:•÷ 5®Wø¦‰Ûb‰h,ѹFd’©½Lg5'S¡±m½¡T6‘‰u¡¦•Ch–1M5W­N¥’©#Ö; &ó}·Šë‰ÎP{&…ï -3I[õn#Ý£GŒ¦DÔè5ÒLŽË›˜f ÿ¼6elÉïS/·ãçÛšÙÛclM€~!“çüX"–¹€ÉYY+»“Q2©9–0Z³ÝÛŒÔz}[\Š–Œèñz*&ÞÍIW¦+†}ÎkŽ$»Céd:‘Lb‰íÉ]!£wöL¦Œv#µ;1L%×#¶ÛH5%Ú²aˆXbwr§±2›ÆŽéts²3aÚP)¨CŸ.#¤÷ÆÒõ¡H2‘1z3!“QcîuYÑ„B=grÛŽ¡fn۶ÈA\éFœ)XŒ.í 52É–©Fb·OöÀgEòÑ{Bím kW›TXáHö0ÕŽ;j¤#©XO&–L„0ÓÖc¤tñ†5Þn#Ó•Œ 31þ–¨°º7bôX„éNSa¦ª¢mÃ4!aìi)X;¡=£Gv¶è=ÒÕ…oTø&$>…÷+ün„’6´v”DZ‚“©²r$ôlÐXs ñë̦0rá NÓôh›÷Ó±á¸(´q>ºF’àO[Ëê¸Ñm$˜RØÈ¬¸c9U<=2  Ýö|ˆÏ+B ÐïIA#Å4w‘°Y"-Õ÷$Òb;X#‘N+tÓôN#ÓjìÙèÖSé.=ny¨ÅÆC¸VLD±îžxÈb‡ªƒp÷è)½;G2½y€½Ø“2ô¨Pu¶MöÛÔÒ¼N~Ù§[Ø$ÚØ‹G™ÖUŽ ÅQ´ÊÛu8¨ml¹[gÑ­>è!µ[¨"SY¹Ü-¦¦‚ÔÎt*’Oï#¹®Ò3z{2›ŠR7”qæ(Ħ…é¶§’Ým-Líã9´ÀVq=6'²™X<„`iìòšÈöLSF,F–‡ïRza|MÆy@˜$Ÿ´Q/îWÈ·’?‹ˆ#ÛeUw$‡(WVÂ׋JP¦³q„ʜфjKåPiãýKb+7fVÅÈ)¨ð{~¯l¤6£Mf¡E¤¥ ¶t'S2"†|¯G®Û‚ô Î _hÿ%cå7KÛª^rˆ (EL%)#“M%0§'¬ž!#ŠIâL+XœŸ]¦ðû~?üAg Q~ÖèÒt‹+m+Mi±AF›56‰;¢gÓÃ*Ùú®TrŒ6…oFyAg =?7{Ì’PU…ÍôŒšIÂg˜?s¨tç[*%–ï–Ô³1Rø€Bèܼ¹p]ñ?¼^¥Nˆ©Ñ»é=ß·2Õ¼ £xj|@ájü!þ0ÓÌÑÃt½UûËcéòD2SG÷•1¢µå±íå¢éóÑ$ “)OgöÆ Lå$Á†ÆõMm­åé®d6-O÷‘Øö˜-ßÓ-¢ò†ˆdžI–Ãfrz¾izm*¹;ÔBO¾U^ã;øN…?¢ñ]|·Â÷h|/ßHc©˜±Ûñ£ñýü€ÆåÑhü1þ¸Â5~ˆÖøüˆFߣgaíž8p˜[@/‹_DODŒ¸9õs15s ërqhAŽir® ’öØ?G5>ÄŸD iPåO!Y~jŠÇN=ÞêÌŠ0.à[6¼ü¯Ì"•ˆÐõZ±Y®ñ§ù3púàîå±D¹Ù{—Gc)C¦«rƒT·ž“á³|·Fï"œhü9~L£ëén$ôQïÕø0?Žl¢ñ>ªÑu´OãÏ󘪋¯¼LöÄ홆M¹šÛ‘kB4îãcLšÄˆÂËÇ5îç'4>Á_Dž»¢ÅZI-rå`ýlŸÔø)>©ñÓ6_ÒøËü¿Ê1‘Â_ÓøŒÁÏð×5:Nýƒ¿©ñ·`-þ¶ãÌ®L¦' íI×å¬ND›Ì¨˜Æ5þWãïñ³ŸDÉuð:RCöQ‹ÄNÏiôú¬Æ?àj<™¤Ñ~Ú'K„È–BäÛé?¤ hü~‰m¬b¢ð ÿ”_Ôø%~GAÔçeÒøþ™Æþ9:ô¼¢{öÔíY\'¶¯_¸pQ¡ØwëA”’Œh‚œ'ô‰ÅEQOeÁèüKÅ·# bip£3øU…­ñoø4ŠÁ`Þ¿XOw¡@hü[þò¾Æ¿çׄéÿ€¦iœ†Eã? 7ýIøõ}ÿ™ÿ¢ñ_ùo€G¶5m+Œ4èX9Æ1y89¸TM ¯bÇa>¨³Ûn¬£©ÍIZOq.”÷³+sêö†z»ã!«å ]&>ƒC`Ô¨à"ovÖê)<­²ÊîÊhÃ/å Ð\•»à¸>)&›¢ðh;€…vòÛmâ1veuÁ«ÔæPX…¦ÙWÐ4 ¾Ež „¡V&£âfnÌ%‚f™YF§@ ~kb©tf0nìø;”NĪ!ÔúVÐ\Ìuƒ/]hžŠâNRI·¾Ó°ëö»ñqº}è0QKÅøÚl¯Äù;“Ìgã &œó'¡ÒÊ*ÛÛË)¹JAEbºÈf[;AÆ?‹OŽ‘¸ž2 ˜¯íÀ;¸®Î3srÛ7qÕ•6w5M£\µ”ÃR¢?È€a·ÙãÅÐg3@óì!!-)CÃÖ€Ó¹•ãS´ã¶UÉH6å•cÞúÈÛ´Lr½Þ)¯™›˜VÛ-rÝ2þ%ºà*¬¼Í׎² ÙÚÒ쉅üM‰ŒÙþÀšèï¶Z™tAq ¡–Œ’š¡Ý4‘¨r‘_éQʯ•& [fÇ Jôµ£¡±àúÉ&Þ.‚s£ƒilr6JK¤ù•#®–l˯êYÿÒáJHà»b醌LVÅ0jÀäìn˜{¯—<Î-2úm’‰"­2¶‹46˜9;ŠâW|~4žªGóŸsGÍ*Éh.-×ÛæÒqî±î°»O}[ÚØ\ß7Ù$äâÂT {0›‰®à[íÆÊR?›êP¾%>e…µ¿\."ÍÚ"xºßZ=i̦Râ!•I­HüÂef1QWPg–Œj‘± p2&(l¯‰ ¼mËf°wWq»YÄÚItc(¹¸µÍžñ#\$zÌXrrÚHÅôxìjce27ô„à²ÅVâõŽÇWåÌ-ÌÃÓ+ /P­;PÈÖ¥§[¥l¨R[†wà JÀz­ùoB“ Û– ëÄ?cõd‡'¥‘˜ïjíØ«¢¦åîFˆ0؉*7¦Ç Z7~Ãòs®•ÃædîŸmCv*ø´Ì<qˆâ«ò·^¹än²­o5ƒîg—†¥:“2t ¹i¦¸^Ãh¦¸?“¿×Ó ò÷FºIþî—óˆÅÕ-žïÅ[¿,ÖW#~½OœœHïÇSËÐÍt¿L·Ð­ Âb~³*æž«®é#Gkðir†]vãÍÕGî°'ày†&œ Ïf¿rŒÔ“O•œ¢ûåoy“osX9EüZ@é£ ÷Й‚ÓÄ~šÄÔO“á —˜˜ÒGþ°û]éŸ:Ý4A·Ä_:ÝtAÑÊ6ûg£ÀÉÚ€»f¢’Öàqšuòq©ó×é[t9¥EZi*že°L9ƒ&ÑlšAsðœK4.Äóª¦. RŠÒi1ÝKKé8G_¦åàµÜ.¤oS}Ÿ¥e¯ ðû2ÝFÀ.}«>D.ðî§Óí°î :LwРZëTÀÁMwÑÝXË›^£{°ËÑ}9è~ŒÏ'u‚) = ÐGåŸú˜BWè Ñët¡BUT” €§Ó""Z©ÐÃnú8¸ÀÓC^qÿcBæn̉½ÃÎå³jž:H¥Õ5³ê¥µÝ³>³ßÁ‡^;A³7Ÿ 9›Ñ\y¼€¿þ³ðè£yÇèì“X³êtìK¨ ˆúÐiÏÄ.Â:å qÀŸ¤Gñ‹ýèSÀbôiгÔÐKÎ×ÉÁSþN^q±™“’'CÊ|ï8BóûiSØå\ê.u¡ È܈ŸRwÝROÀUê©+G¨²Ô]VkMÜhÁ€ŠÁ½4­¦: Ô~ªrÂ)ÕêØï††O!³Hé×aèæDœ¶röÜ¿‚‰¹Øn èææÀ¿UðØ"ølüÕËuÀj[‘\;é'ÔMÏS/½ˆÄü}œ^†G^ßWÁ嗀󯀄_K¿ì‡õîDl . î€-Û ;DžKN>“Jø,ìq6ùyø?“©Šƒ(Çu´‚R×Óå|Åx íâ0íãóé_@wðJº‹/¤{¸ä\‡Ø#}|ÀòñVŠØ`úxÒËé ÚG¥¦ï)ðñAËÇ-´||Ðòñƒ>>œc&‹$ÀqÝê@.ü•Y½E†Â,?Aˆý®–š~¨O­pÞ†¸ 0Ø)zŽxØU+üÓ-Zõ~Jˆ¶=éD`ü¤vXÇÁ—’ÊͰr ÍàVšÇm(ÿki_f•Äy°È«ˆQ4—[vXŽä|;Si ýFÂIèCNÓoÁý~yÞq¼A“úB¿¯Á××覟'Á«¥º§5xЦŠj—†à1ÚÕ‚ì‘Gõn)Xö¼‘ÜÜhl¢o¡ù|¥%èt™:þ$]Ra Z!«8£p˜_ÝtýÉ%'è,!h¶ø«ˆ3—tÈßú;&ðU¥äOyüˆ-jò¥ÜìOùÓS)ÓGÙã´ï8ô´ ¯kh®>JókŽRÏQjån­>E»ªÍæ9àzj©{¿{ Ô}Mõ_‰¾Ù]/;dú}÷RO©g©"¾yö+\ª|ÑÛRªd°û•3¤Î0tpŠtv¸ƒ‘µŒL޲·Øt9Åè¯+è ú\¡‡Gó¸›4µ€{7à±ò¬à¹Å„ç–nÀ36§tÍ<ËÉý‡PK ¢nç< íAMETA-INF/þÊPK ¡nç libjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/gen/data.xsd0000644000175000017500000000533211415065230024733 0ustar twernertwerner Order information. Customer name. Billing address information. Unique identifier for this order. This is added to the order information by the service. Shipping address information. If missing, the billing address is also used as the shipping address. Customer identifier code. Date order was placed with server. This is added to the order information by the service. Date order was shipped. This is added to the order information by the service. libjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/gen/StoreService.wsdl0000644000175000017500000001154611415065230026616 0ustar twernertwerner Interface for placing orders and checking status. Submit a new order. Retrieve order information. Cancel order. This can only be used for orders which have not been shipped. libjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/0000755000175000017500000000000011415065232024006 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/gen/0000755000175000017500000000000011415065232024557 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/gen/src/0000755000175000017500000000000011415065232025346 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/gen/src/com/0000755000175000017500000000000011415065232026124 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/gen/src/com/sosnoski/0000755000175000017500000000000011415065232027774 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/gen/src/com/sosnoski/infoq/0000755000175000017500000000000011415065232031110 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/gen/src/com/sosnoski/infoq/ex1/0000755000175000017500000000000011415065232031605 5ustar twernertwerner././@LongLink0000000000000000000000000000016300000000000011565 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/gen/src/com/sosnoski/infoq/ex1/StoreServiceStub.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/gen/src/com/sosnoski/infoq/ex1/StoreSe0000644000175000017500000012017611415065232033123 0ustar twernertwerner /** * StoreServiceStub.java * * This file was auto-generated from WSDL * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:00 EDT) */ package com.sosnoski.infoq.ex1; /* * StoreServiceStub java implementation */ public class StoreServiceStub extends org.apache.axis2.client.Stub implements StoreService{ protected org.apache.axis2.description.AxisOperation[] _operations; //hashmaps to keep the fault mapping private java.util.HashMap faultExceptionNameMap = new java.util.HashMap(); private java.util.HashMap faultExceptionClassNameMap = new java.util.HashMap(); private java.util.HashMap faultMessageMap = new java.util.HashMap(); private static int counter = 0; private static synchronized java.lang.String getUniqueSuffix(){ // reset the counter if it is greater than 99999 if (counter > 99999){ counter = 0; } counter = counter + 1; return java.lang.Long.toString(System.currentTimeMillis()) + "_" + counter; } private void populateAxisService() throws org.apache.axis2.AxisFault { //creating the Service with a unique name _service = new org.apache.axis2.description.AxisService("StoreService" + getUniqueSuffix()); addAnonymousOperations(); //creating the operations org.apache.axis2.description.AxisOperation __operation; _operations = new org.apache.axis2.description.AxisOperation[3]; __operation = new org.apache.axis2.description.OutInAxisOperation(); __operation.setName(new javax.xml.namespace.QName("http://ws.sosnoski.com/order/wsdl/StoreService", "retrieveOrder")); _service.addOperation(__operation); _operations[0]=__operation; __operation = new org.apache.axis2.description.OutInAxisOperation(); __operation.setName(new javax.xml.namespace.QName("http://ws.sosnoski.com/order/wsdl/StoreService", "placeOrder")); _service.addOperation(__operation); _operations[1]=__operation; __operation = new org.apache.axis2.description.OutInAxisOperation(); __operation.setName(new javax.xml.namespace.QName("http://ws.sosnoski.com/order/wsdl/StoreService", "cancelOrder")); _service.addOperation(__operation); _operations[2]=__operation; } //populates the faults private void populateFaults(){ } /** *Constructor that takes in a configContext */ public StoreServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext, java.lang.String targetEndpoint) throws org.apache.axis2.AxisFault { this(configurationContext,targetEndpoint,false); } /** * Constructor that takes in a configContext and useseperate listner */ public StoreServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext, java.lang.String targetEndpoint, boolean useSeparateListener) throws org.apache.axis2.AxisFault { //To populate AxisService populateAxisService(); populateFaults(); _serviceClient = new org.apache.axis2.client.ServiceClient(configurationContext,_service); _serviceClient.getOptions().setTo(new org.apache.axis2.addressing.EndpointReference( targetEndpoint)); _serviceClient.getOptions().setUseSeparateListener(useSeparateListener); } /** * Default Constructor */ public StoreServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext) throws org.apache.axis2.AxisFault { this(configurationContext,"http://localhost:8080/axis2/services/StoreService" ); } /** * Default Constructor */ public StoreServiceStub() throws org.apache.axis2.AxisFault { this("http://localhost:8080/axis2/services/StoreService" ); } /** * Constructor taking the target endpoint */ public StoreServiceStub(java.lang.String targetEndpoint) throws org.apache.axis2.AxisFault { this(null,targetEndpoint); } /** * A utility method that copies the namepaces from the SOAPEnvelope */ private java.util.Map getEnvelopeNamespaces(org.apache.axiom.soap.SOAPEnvelope env){ java.util.Map returnMap = new java.util.HashMap(); java.util.Iterator namespaceIterator = env.getAllDeclaredNamespaces(); while (namespaceIterator.hasNext()) { org.apache.axiom.om.OMNamespace ns = (org.apache.axiom.om.OMNamespace) namespaceIterator.next(); returnMap.put(ns.getPrefix(),ns.getNamespaceURI()); } return returnMap; } private javax.xml.namespace.QName[] opNameArray = null; private boolean optimizeContent(javax.xml.namespace.QName opName) { if (opNameArray == null) { return false; } for (int i = 0; i < opNameArray.length; i++) { if (opName.equals(opNameArray[i])) { return true; } } return false; } //http://localhost:8080/axis2/services/StoreService private static final org.jibx.runtime.IBindingFactory bindingFactory; private static final String bindingErrorMessage; private static final int[] bindingNamespaceIndexes; private static final String[] bindingNamespacePrefixes; private static final String _type_name0; static { org.jibx.runtime.IBindingFactory factory = null; String message = null; try { factory = org.jibx.runtime.BindingDirectory.getFactory("binding", "com.sosnoski.infoq.ex1", StoreServiceStub.class.getClassLoader()); message = null; } catch (Exception e) { message = e.getMessage(); } bindingFactory = factory; bindingErrorMessage = message; _type_name0 = "{http://ws.sosnoski.com/order/data}:order"; int[] indexes = null; String[] prefixes = null; if (factory != null) { // check for xsi namespace included String[] nsuris = factory.getNamespaces(); int xsiindex = nsuris.length; while (--xsiindex >= 0 && !"http://www.w3.org/2001/XMLSchema-instance".equals(nsuris[xsiindex])); // get actual size of index and prefix arrays to be allocated int nscount = 2; int usecount = nscount; if (xsiindex >= 0) { usecount++; } // allocate and initialize the arrays indexes = new int[usecount]; prefixes = new String[usecount]; indexes[0] = nsIndex("http://ws.sosnoski.com/order/data", nsuris); prefixes[0] = ""; indexes[1] = nsIndex("http://ws.sosnoski.com/order/wsdl", nsuris); prefixes[1] = "ns1"; if (xsiindex >= 0) { indexes[nscount] = xsiindex; prefixes[nscount] = "xsi"; } } bindingNamespaceIndexes = indexes; bindingNamespacePrefixes = prefixes; } private static int nsIndex(String uri, String[] uris) { for (int i = 0; i < uris.length; i++) { if (uri.equals(uris[i])) { return i; } } throw new IllegalArgumentException("Namespace " + uri + " not found in binding directory information"); } private static void addMappingNamespaces(org.apache.axiom.soap.SOAPFactory factory, org.apache.axiom.om.OMElement wrapper, String nsuri, String nspref) { String[] nss = bindingFactory.getNamespaces(); for (int i = 0; i < bindingNamespaceIndexes.length; i++) { int index = bindingNamespaceIndexes[i]; String uri = nss[index]; String prefix = bindingNamespacePrefixes[i]; if (!nsuri.equals(uri) || !nspref.equals(prefix)) { wrapper.declareNamespace(factory.createOMNamespace(uri, prefix)); } } } private static org.jibx.runtime.impl.UnmarshallingContext getNewUnmarshalContext(org.apache.axiom.om.OMElement param) throws org.jibx.runtime.JiBXException { if (bindingFactory == null) { throw new RuntimeException(bindingErrorMessage); } org.jibx.runtime.impl.UnmarshallingContext ctx = (org.jibx.runtime.impl.UnmarshallingContext)bindingFactory.createUnmarshallingContext(); org.jibx.runtime.IXMLReader reader = new org.jibx.runtime.impl.StAXReaderWrapper(param.getXMLStreamReaderWithoutCaching(), "SOAP-message", true); ctx.setDocument(reader); ctx.toTag(); return ctx; } private org.apache.axiom.om.OMElement mappedChild(Object value, org.apache.axiom.om.OMFactory factory) { org.jibx.runtime.IMarshallable mrshable = (org.jibx.runtime.IMarshallable)value; org.apache.axiom.om.OMDataSource src = new org.apache.axis2.jibx.JiBXDataSource(mrshable, bindingFactory); int index = bindingFactory.getClassIndexMap().get(mrshable.JiBX_getName()); org.apache.axiom.om.OMNamespace appns = factory.createOMNamespace(bindingFactory.getElementNamespaces()[index], ""); return factory.createOMElement(src, bindingFactory.getElementNames()[index], appns); } private static Object fromOM(org.apache.axiom.om.OMElement param, Class type, java.util.Map extraNamespaces) throws org.apache.axis2.AxisFault{ try { org.jibx.runtime.impl.UnmarshallingContext ctx = getNewUnmarshalContext(param); return ctx.unmarshalElement(type); } catch (Exception e) { throw new org.apache.axis2.AxisFault(e.getMessage()); } } /** * Auto generated synchronous call method * * @see com.sosnoski.infoq.ex1.StoreService#retrieveOrder * @param id */ public com.sosnoski.infoq.ex1.Order retrieveOrder( java.lang.String id ) throws java.rmi.RemoteException { try { int _opIndex = 0; javax.xml.namespace.QName opname = _operations[_opIndex].getName(); org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(opname); _operationClient.getOptions().setAction("urn:retrieveOrder"); _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); // create SOAP envelope with the payload org.apache.axiom.soap.SOAPEnvelope env = createEnvelope(_operationClient.getOptions()); org.apache.axiom.soap.SOAPFactory factory = getFactory(_operationClient.getOptions().getSoapVersionURI()); org.apache.axiom.om.OMElement wrapper = factory.createOMElement("retrieveOrder", "http://ws.sosnoski.com/order/wsdl", ""); wrapper.declareDefaultNamespace("http://ws.sosnoski.com/order/wsdl"); wrapper.declareNamespace(factory.createOMNamespace("http://ws.sosnoski.com/order/wsdl", "")); env.getBody().addChild(wrapper); org.apache.axiom.om.OMElement child; if (id == null) { // just skip optional element } else { child = factory.createOMElement("id", "http://ws.sosnoski.com/order/wsdl", ""); child.setText(id); wrapper.addChild(child); } // add SOAP headers _serviceClient.addHeadersToEnvelope(env); // create message context with that envelope org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext(); _messageContext.setEnvelope(env); // add the message context to the operation client _operationClient.addMessageContext(_messageContext); // execute the operation client _operationClient.execute(true); org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient .getMessageContext(org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE); org.apache.axiom.om.OMElement _response = _returnMessageContext.getEnvelope().getBody().getFirstElement(); if (_response != null && "retrieveOrderResponse".equals(_response.getLocalName()) && "http://ws.sosnoski.com/order/wsdl".equals(_response.getNamespace().getNamespaceURI())) { org.jibx.runtime.impl.UnmarshallingContext uctx = getNewUnmarshalContext(_response); uctx.parsePastStartTag("http://ws.sosnoski.com/order/wsdl", "retrieveOrderResponse"); int index; com.sosnoski.infoq.ex1.Order return0 = null; if (uctx.isAt("http://ws.sosnoski.com/order/wsdl", "return")) { return0 = (com.sosnoski.infoq.ex1.Order) uctx.getUnmarshaller(_type_name0).unmarshal(new com.sosnoski.infoq.ex1.Order(), uctx) ; uctx.parsePastCurrentEndTag("http://ws.sosnoski.com/order/wsdl", "return"); } return return0; } else { throw new org.apache.axis2.AxisFault("Missing expected return wrapper element {http://ws.sosnoski.com/order/wsdl}retrieveOrderResponse"); } } catch (Exception e) { Exception outex = convertException(e); // should never happen, but just in case throw new RuntimeException("Unexpected exception type: " + outex.getClass().getName(), outex); } } /** * Auto generated synchronous call method * * @see com.sosnoski.infoq.ex1.StoreService#placeOrder * @param order */ public java.lang.String placeOrder( com.sosnoski.infoq.ex1.Order order ) throws java.rmi.RemoteException { try { int _opIndex = 1; javax.xml.namespace.QName opname = _operations[_opIndex].getName(); org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(opname); _operationClient.getOptions().setAction("urn:placeOrder"); _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); // create SOAP envelope with the payload org.apache.axiom.soap.SOAPEnvelope env = createEnvelope(_operationClient.getOptions()); org.apache.axiom.soap.SOAPFactory factory = getFactory(_operationClient.getOptions().getSoapVersionURI()); org.apache.axiom.om.OMElement wrapper = factory.createOMElement("placeOrder", "http://ws.sosnoski.com/order/wsdl", "ns1"); addMappingNamespaces(factory, wrapper, "http://ws.sosnoski.com/order/wsdl", "ns1"); env.getBody().addChild(wrapper); org.apache.axiom.om.OMElement child; if (order == null) { // just skip optional element } else { if (bindingFactory == null) { throw new RuntimeException(bindingErrorMessage); } org.apache.axiom.om.OMDataSource src = new org.apache.axis2.jibx.JiBXDataSource(order, _type_name0, "order", "http://ws.sosnoski.com/order/wsdl", "ns1", bindingNamespaceIndexes, bindingNamespacePrefixes, bindingFactory); org.apache.axiom.om.OMNamespace appns = factory.createOMNamespace("http://ws.sosnoski.com/order/wsdl", ""); child = factory.createOMElement(src, "order", appns); wrapper.addChild(child); } // add SOAP headers _serviceClient.addHeadersToEnvelope(env); // create message context with that envelope org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext(); _messageContext.setEnvelope(env); // add the message context to the operation client _operationClient.addMessageContext(_messageContext); // execute the operation client _operationClient.execute(true); org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient .getMessageContext(org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE); org.apache.axiom.om.OMElement _response = _returnMessageContext.getEnvelope().getBody().getFirstElement(); if (_response != null && "placeOrderResponse".equals(_response.getLocalName()) && "http://ws.sosnoski.com/order/wsdl".equals(_response.getNamespace().getNamespaceURI())) { org.jibx.runtime.impl.UnmarshallingContext uctx = getNewUnmarshalContext(_response); uctx.parsePastStartTag("http://ws.sosnoski.com/order/wsdl", "placeOrderResponse"); int index; java.lang.String id = null; if (uctx.isAt("http://ws.sosnoski.com/order/wsdl", "id")) { id = (java.lang.String) uctx.parseElementText("http://ws.sosnoski.com/order/wsdl", "id") ; } return id; } else { throw new org.apache.axis2.AxisFault("Missing expected return wrapper element {http://ws.sosnoski.com/order/wsdl}placeOrderResponse"); } } catch (Exception e) { Exception outex = convertException(e); // should never happen, but just in case throw new RuntimeException("Unexpected exception type: " + outex.getClass().getName(), outex); } } /** * Auto generated synchronous call method * * @see com.sosnoski.infoq.ex1.StoreService#cancelOrder * @param id */ public boolean cancelOrder( java.lang.String id ) throws java.rmi.RemoteException { try { int _opIndex = 2; javax.xml.namespace.QName opname = _operations[_opIndex].getName(); org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(opname); _operationClient.getOptions().setAction("urn:cancelOrder"); _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); // create SOAP envelope with the payload org.apache.axiom.soap.SOAPEnvelope env = createEnvelope(_operationClient.getOptions()); org.apache.axiom.soap.SOAPFactory factory = getFactory(_operationClient.getOptions().getSoapVersionURI()); org.apache.axiom.om.OMElement wrapper = factory.createOMElement("cancelOrder", "http://ws.sosnoski.com/order/wsdl", ""); wrapper.declareDefaultNamespace("http://ws.sosnoski.com/order/wsdl"); wrapper.declareNamespace(factory.createOMNamespace("http://ws.sosnoski.com/order/wsdl", "")); env.getBody().addChild(wrapper); org.apache.axiom.om.OMElement child; if (id == null) { // just skip optional element } else { child = factory.createOMElement("id", "http://ws.sosnoski.com/order/wsdl", ""); child.setText(id); wrapper.addChild(child); } // add SOAP headers _serviceClient.addHeadersToEnvelope(env); // create message context with that envelope org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext(); _messageContext.setEnvelope(env); // add the message context to the operation client _operationClient.addMessageContext(_messageContext); // execute the operation client _operationClient.execute(true); org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient .getMessageContext(org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE); org.apache.axiom.om.OMElement _response = _returnMessageContext.getEnvelope().getBody().getFirstElement(); if (_response != null && "cancelOrderResponse".equals(_response.getLocalName()) && "http://ws.sosnoski.com/order/wsdl".equals(_response.getNamespace().getNamespaceURI())) { org.jibx.runtime.impl.UnmarshallingContext uctx = getNewUnmarshalContext(_response); uctx.parsePastStartTag("http://ws.sosnoski.com/order/wsdl", "cancelOrderResponse"); int index; boolean return0 = false; if (uctx.isAt("http://ws.sosnoski.com/order/wsdl", "return")) { return0 = (boolean)org.jibx.runtime.Utility.parseBoolean(uctx.parseElementText("http://ws.sosnoski.com/order/wsdl", "return")) ; } else { throw new org.apache.axis2.AxisFault("Missing required element {http://ws.sosnoski.com/order/wsdl}return"); } return return0; } else { throw new org.apache.axis2.AxisFault("Missing expected return wrapper element {http://ws.sosnoski.com/order/wsdl}cancelOrderResponse"); } } catch (Exception e) { Exception outex = convertException(e); // should never happen, but just in case throw new RuntimeException("Unexpected exception type: " + outex.getClass().getName(), outex); } } /** * Auto generated asynchronous call method * * @see com.sosnoski.infoq.ex1.StoreService#startretrieveOrder * @param id */ public void startretrieveOrder( java.lang.String id, final StoreServiceCallbackHandler _callback ) throws java.rmi.RemoteException { try { int _opIndex = 0; javax.xml.namespace.QName opname = _operations[_opIndex].getName(); org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(opname); _operationClient.getOptions().setAction("urn:retrieveOrder"); _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); // create SOAP envelope with the payload org.apache.axiom.soap.SOAPEnvelope env = createEnvelope(_operationClient.getOptions()); org.apache.axiom.soap.SOAPFactory factory = getFactory(_operationClient.getOptions().getSoapVersionURI()); org.apache.axiom.om.OMElement wrapper = factory.createOMElement("retrieveOrder", "http://ws.sosnoski.com/order/wsdl", ""); wrapper.declareDefaultNamespace("http://ws.sosnoski.com/order/wsdl"); wrapper.declareNamespace(factory.createOMNamespace("http://ws.sosnoski.com/order/wsdl", "")); env.getBody().addChild(wrapper); org.apache.axiom.om.OMElement child; if (id == null) { // just skip optional element } else { child = factory.createOMElement("id", "http://ws.sosnoski.com/order/wsdl", ""); child.setText(id); wrapper.addChild(child); } // add SOAP headers _serviceClient.addHeadersToEnvelope(env); // create message context with that envelope org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext(); _messageContext.setEnvelope(env); // add the message context to the operation client _operationClient.addMessageContext(_messageContext); _operationClient.setCallback(new org.apache.axis2.client.async.Callback() { public void onComplete(org.apache.axis2.client.async.AsyncResult async) { try { org.apache.axiom.om.OMElement result = async.getResponseEnvelope().getBody().getFirstElement(); if (result != null && "retrieveOrderResponse".equals(result.getLocalName()) && "http://ws.sosnoski.com/order/wsdl".equals(result.getNamespace().getNamespaceURI())) { org.jibx.runtime.impl.UnmarshallingContext uctx = getNewUnmarshalContext(result); uctx.parsePastStartTag("http://ws.sosnoski.com/order/wsdl", "retrieveOrderResponse"); int index; com.sosnoski.infoq.ex1.Order return0 = null; if (uctx.isAt("http://ws.sosnoski.com/order/wsdl", "return")) { return0 = (com.sosnoski.infoq.ex1.Order) uctx.getUnmarshaller(_type_name0).unmarshal(new com.sosnoski.infoq.ex1.Order(), uctx) ; uctx.parsePastCurrentEndTag("http://ws.sosnoski.com/order/wsdl", "return"); } _callback.receiveResultretrieveOrder(return0); } else { throw new org.apache.axis2.AxisFault("Missing expected result wrapper element {http://ws.sosnoski.com/order/wsdl}retrieveOrderResponse"); } } catch (Exception e) { onError(e); } } public void onError(Exception e) { _callback.receiveErrorretrieveOrder(e); } }); org.apache.axis2.util.CallbackReceiver _callbackReceiver = null; if ( _operations[_opIndex].getMessageReceiver() == null && _operationClient.getOptions().isUseSeparateListener()) { _callbackReceiver = new org.apache.axis2.util.CallbackReceiver(); _operations[_opIndex].setMessageReceiver(_callbackReceiver); } // execute the operation client _operationClient.execute(false); } catch (Exception e) { Exception outex = convertException(e); throw new RuntimeException("Unexpected exception type: " + outex.getClass().getName(), outex); } } /** * Auto generated asynchronous call method * * @see com.sosnoski.infoq.ex1.StoreService#startplaceOrder * @param order */ public void startplaceOrder( com.sosnoski.infoq.ex1.Order order, final StoreServiceCallbackHandler _callback ) throws java.rmi.RemoteException { try { int _opIndex = 1; javax.xml.namespace.QName opname = _operations[_opIndex].getName(); org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(opname); _operationClient.getOptions().setAction("urn:placeOrder"); _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); // create SOAP envelope with the payload org.apache.axiom.soap.SOAPEnvelope env = createEnvelope(_operationClient.getOptions()); org.apache.axiom.soap.SOAPFactory factory = getFactory(_operationClient.getOptions().getSoapVersionURI()); org.apache.axiom.om.OMElement wrapper = factory.createOMElement("placeOrder", "http://ws.sosnoski.com/order/wsdl", "ns1"); addMappingNamespaces(factory, wrapper, "http://ws.sosnoski.com/order/wsdl", "ns1"); env.getBody().addChild(wrapper); org.apache.axiom.om.OMElement child; if (order == null) { // just skip optional element } else { if (bindingFactory == null) { throw new RuntimeException(bindingErrorMessage); } org.apache.axiom.om.OMDataSource src = new org.apache.axis2.jibx.JiBXDataSource(order, _type_name0, "order", "http://ws.sosnoski.com/order/wsdl", "ns1", bindingNamespaceIndexes, bindingNamespacePrefixes, bindingFactory); org.apache.axiom.om.OMNamespace appns = factory.createOMNamespace("http://ws.sosnoski.com/order/wsdl", ""); child = factory.createOMElement(src, "order", appns); wrapper.addChild(child); } // add SOAP headers _serviceClient.addHeadersToEnvelope(env); // create message context with that envelope org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext(); _messageContext.setEnvelope(env); // add the message context to the operation client _operationClient.addMessageContext(_messageContext); _operationClient.setCallback(new org.apache.axis2.client.async.Callback() { public void onComplete(org.apache.axis2.client.async.AsyncResult async) { try { org.apache.axiom.om.OMElement result = async.getResponseEnvelope().getBody().getFirstElement(); if (result != null && "placeOrderResponse".equals(result.getLocalName()) && "http://ws.sosnoski.com/order/wsdl".equals(result.getNamespace().getNamespaceURI())) { org.jibx.runtime.impl.UnmarshallingContext uctx = getNewUnmarshalContext(result); uctx.parsePastStartTag("http://ws.sosnoski.com/order/wsdl", "placeOrderResponse"); int index; java.lang.String id = null; if (uctx.isAt("http://ws.sosnoski.com/order/wsdl", "id")) { id = (java.lang.String) uctx.parseElementText("http://ws.sosnoski.com/order/wsdl", "id") ; } _callback.receiveResultplaceOrder(id); } else { throw new org.apache.axis2.AxisFault("Missing expected result wrapper element {http://ws.sosnoski.com/order/wsdl}placeOrderResponse"); } } catch (Exception e) { onError(e); } } public void onError(Exception e) { _callback.receiveErrorplaceOrder(e); } }); org.apache.axis2.util.CallbackReceiver _callbackReceiver = null; if ( _operations[_opIndex].getMessageReceiver() == null && _operationClient.getOptions().isUseSeparateListener()) { _callbackReceiver = new org.apache.axis2.util.CallbackReceiver(); _operations[_opIndex].setMessageReceiver(_callbackReceiver); } // execute the operation client _operationClient.execute(false); } catch (Exception e) { Exception outex = convertException(e); throw new RuntimeException("Unexpected exception type: " + outex.getClass().getName(), outex); } } /** * Auto generated asynchronous call method * * @see com.sosnoski.infoq.ex1.StoreService#startcancelOrder * @param id */ public void startcancelOrder( java.lang.String id, final StoreServiceCallbackHandler _callback ) throws java.rmi.RemoteException { try { int _opIndex = 2; javax.xml.namespace.QName opname = _operations[_opIndex].getName(); org.apache.axis2.client.OperationClient _operationClient = _serviceClient.createClient(opname); _operationClient.getOptions().setAction("urn:cancelOrder"); _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true); // create SOAP envelope with the payload org.apache.axiom.soap.SOAPEnvelope env = createEnvelope(_operationClient.getOptions()); org.apache.axiom.soap.SOAPFactory factory = getFactory(_operationClient.getOptions().getSoapVersionURI()); org.apache.axiom.om.OMElement wrapper = factory.createOMElement("cancelOrder", "http://ws.sosnoski.com/order/wsdl", ""); wrapper.declareDefaultNamespace("http://ws.sosnoski.com/order/wsdl"); wrapper.declareNamespace(factory.createOMNamespace("http://ws.sosnoski.com/order/wsdl", "")); env.getBody().addChild(wrapper); org.apache.axiom.om.OMElement child; if (id == null) { // just skip optional element } else { child = factory.createOMElement("id", "http://ws.sosnoski.com/order/wsdl", ""); child.setText(id); wrapper.addChild(child); } // add SOAP headers _serviceClient.addHeadersToEnvelope(env); // create message context with that envelope org.apache.axis2.context.MessageContext _messageContext = new org.apache.axis2.context.MessageContext(); _messageContext.setEnvelope(env); // add the message context to the operation client _operationClient.addMessageContext(_messageContext); _operationClient.setCallback(new org.apache.axis2.client.async.Callback() { public void onComplete(org.apache.axis2.client.async.AsyncResult async) { try { org.apache.axiom.om.OMElement result = async.getResponseEnvelope().getBody().getFirstElement(); if (result != null && "cancelOrderResponse".equals(result.getLocalName()) && "http://ws.sosnoski.com/order/wsdl".equals(result.getNamespace().getNamespaceURI())) { org.jibx.runtime.impl.UnmarshallingContext uctx = getNewUnmarshalContext(result); uctx.parsePastStartTag("http://ws.sosnoski.com/order/wsdl", "cancelOrderResponse"); int index; boolean return0 = false; if (uctx.isAt("http://ws.sosnoski.com/order/wsdl", "return")) { return0 = (boolean)org.jibx.runtime.Utility.parseBoolean(uctx.parseElementText("http://ws.sosnoski.com/order/wsdl", "return")) ; } else { throw new org.apache.axis2.AxisFault("Missing required element {http://ws.sosnoski.com/order/wsdl}return"); } _callback.receiveResultcancelOrder(return0); } else { throw new org.apache.axis2.AxisFault("Missing expected result wrapper element {http://ws.sosnoski.com/order/wsdl}cancelOrderResponse"); } } catch (Exception e) { onError(e); } } public void onError(Exception e) { _callback.receiveErrorcancelOrder(e); } }); org.apache.axis2.util.CallbackReceiver _callbackReceiver = null; if ( _operations[_opIndex].getMessageReceiver() == null && _operationClient.getOptions().isUseSeparateListener()) { _callbackReceiver = new org.apache.axis2.util.CallbackReceiver(); _operations[_opIndex].setMessageReceiver(_callbackReceiver); } // execute the operation client _operationClient.execute(false); } catch (Exception e) { Exception outex = convertException(e); throw new RuntimeException("Unexpected exception type: " + outex.getClass().getName(), outex); } } private Exception convertException(Exception ex) throws java.rmi.RemoteException { if (ex instanceof org.apache.axis2.AxisFault) { org.apache.axis2.AxisFault f = (org.apache.axis2.AxisFault)ex; org.apache.axiom.om.OMElement faultElt = f.getDetail(); if (faultElt != null) { if (faultExceptionNameMap.containsKey(faultElt.getQName())) { try { // first create the actual exception String exceptionClassName = (String)faultExceptionClassNameMap.get(faultElt.getQName()); Class exceptionClass = Class.forName(exceptionClassName); Exception e = (Exception)exceptionClass.newInstance(); // build the message object from the details String messageClassName = (String)faultMessageMap.get(faultElt.getQName()); Class messageClass = Class.forName(messageClassName); Object messageObject = fromOM(faultElt, messageClass, null); java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage", new Class[] { messageClass }); m.invoke(e, new Object[] { messageObject }); return e; } catch (ClassCastException e) { // we cannot intantiate the class - throw the original // Axis fault throw f; } catch (ClassNotFoundException e) { // we cannot intantiate the class - throw the original // Axis fault throw f; } catch (NoSuchMethodException e) { // we cannot intantiate the class - throw the original // Axis fault throw f; } catch (java.lang.reflect.InvocationTargetException e) { // we cannot intantiate the class - throw the original // Axis fault throw f; } catch (IllegalAccessException e) { // we cannot intantiate the class - throw the original // Axis fault throw f; } catch (InstantiationException e) { // we cannot intantiate the class - throw the original // Axis fault throw f; } } else { throw f; } } else { throw f; } } else if (ex instanceof RuntimeException) { throw (RuntimeException)ex; } else if (ex instanceof java.rmi.RemoteException) { throw (java.rmi.RemoteException)ex; } else { throw org.apache.axis2.AxisFault.makeFault(ex); } } } ././@LongLink0000000000000000000000000000015700000000000011570 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/gen/src/com/sosnoski/infoq/ex1/StoreService.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/gen/src/com/sosnoski/infoq/ex1/StoreSe0000644000175000017500000000524411415065232033121 0ustar twernertwerner /** * StoreService.java * * This file was auto-generated from WSDL * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:00 EDT) */ package com.sosnoski.infoq.ex1; /* * StoreService java interface */ public interface StoreService { /** * Auto generated method signature * Retrieve order information. * @param retrieveOrder */ public com.sosnoski.infoq.ex1.Order retrieveOrder( java.lang.String id) throws java.rmi.RemoteException ; /** * Auto generated method signature for Asynchronous Invocations * Retrieve order information. * @param retrieveOrder */ public void startretrieveOrder( java.lang.String id, final com.sosnoski.infoq.ex1.StoreServiceCallbackHandler callback) throws java.rmi.RemoteException; /** * Auto generated method signature * Submit a new order. * @param placeOrder */ public java.lang.String placeOrder( com.sosnoski.infoq.ex1.Order order) throws java.rmi.RemoteException ; /** * Auto generated method signature for Asynchronous Invocations * Submit a new order. * @param placeOrder */ public void startplaceOrder( com.sosnoski.infoq.ex1.Order order, final com.sosnoski.infoq.ex1.StoreServiceCallbackHandler callback) throws java.rmi.RemoteException; /** * Auto generated method signature * Cancel order. This can only be used for orders which have not been shipped. * @param cancelOrder */ public boolean cancelOrder( java.lang.String id) throws java.rmi.RemoteException ; /** * Auto generated method signature for Asynchronous Invocations * Cancel order. This can only be used for orders which have not been shipped. * @param cancelOrder */ public void startcancelOrder( java.lang.String id, final com.sosnoski.infoq.ex1.StoreServiceCallbackHandler callback) throws java.rmi.RemoteException; // } ././@LongLink0000000000000000000000000000017600000000000011571 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/gen/src/com/sosnoski/infoq/ex1/StoreServiceCallbackHandler.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/gen/src/com/sosnoski/infoq/ex1/StoreSe0000644000175000017500000000570511415065232033123 0ustar twernertwerner /** * StoreServiceCallbackHandler.java * * This file was auto-generated from WSDL * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:00 EDT) */ package com.sosnoski.infoq.ex1; /** * StoreServiceCallbackHandler Callback class, Users can extend this class and implement * their own receiveResult and receiveError methods. */ public abstract class StoreServiceCallbackHandler{ protected Object clientData; /** * User can pass in any object that needs to be accessed once the NonBlocking * Web service call is finished and appropriate method of this CallBack is called. * @param clientData Object mechanism by which the user can pass in user data * that will be avilable at the time this callback is called. */ public StoreServiceCallbackHandler(Object clientData){ this.clientData = clientData; } /** * Please use this constructor if you don't want to set any clientData */ public StoreServiceCallbackHandler(){ this.clientData = null; } /** * Get the client data */ public Object getClientData() { return clientData; } /** * auto generated Axis2 call back method for retrieveOrder method * override this method for handling normal response from retrieveOrder operation */ public void receiveResultretrieveOrder( com.sosnoski.infoq.ex1.Order result ) { } /** * auto generated Axis2 Error handler * override this method for handling error response from retrieveOrder operation */ public void receiveErrorretrieveOrder(java.lang.Exception e) { } /** * auto generated Axis2 call back method for placeOrder method * override this method for handling normal response from placeOrder operation */ public void receiveResultplaceOrder( java.lang.String result ) { } /** * auto generated Axis2 Error handler * override this method for handling error response from placeOrder operation */ public void receiveErrorplaceOrder(java.lang.Exception e) { } /** * auto generated Axis2 call back method for cancelOrder method * override this method for handling normal response from cancelOrder operation */ public void receiveResultcancelOrder( boolean result ) { } /** * auto generated Axis2 Error handler * override this method for handling error response from cancelOrder operation */ public void receiveErrorcancelOrder(java.lang.Exception e) { } } libjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/gen/build.xml0000644000175000017500000001241511415065232026403 0ustar twernertwerner libjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/bin/0000755000175000017500000000000011415065234024560 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/bin/com/0000755000175000017500000000000011415065234025336 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/bin/com/sosnoski/0000755000175000017500000000000011415065234027206 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/bin/com/sosnoski/infoq/0000755000175000017500000000000011415065234030322 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/bin/com/sosnoski/infoq/ex1/0000755000175000017500000000000011415065234031017 5ustar twernertwerner././@LongLink0000000000000000000000000000016200000000000011564 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/bin/com/sosnoski/infoq/ex1/StoreServiceStub$2.classlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/bin/com/sosnoski/infoq/ex1/StoreServic0000644000175000017500000000556611415065234033226 0ustar twernertwernerÊþº¾2‡ B C D EF GH IJK LM NOP LQ RS @T UV, UW UX YZ[\ ]^ _ Y`ab val$_callback4Lcom/sosnoski/infoq/ex1/StoreServiceCallbackHandler;this$0)Lcom/sosnoski/infoq/ex1/StoreServiceStub;`(Lcom/sosnoski/infoq/ex1/StoreServiceStub;Lcom/sosnoski/infoq/ex1/StoreServiceCallbackHandler;)VCodeLineNumberTableLocalVariableTablethis InnerClasses+Lcom/sosnoski/infoq/ex1/StoreServiceStub$2; onComplete.(Lorg/apache/axis2/client/async/AsyncResult;)Vuctx,Lorg/jibx/runtime/impl/UnmarshallingContext;idLjava/lang/String;resultLorg/apache/axiom/om/OMElement;eLjava/lang/Exception;async+Lorg/apache/axis2/client/async/AsyncResult; StackMapTableacdef^onError(Ljava/lang/Exception;)V SourceFileStoreServiceStub.javaEnclosingMethodg hi   jc klm nop qrplaceOrderResponsed stf uv!http://ws.sosnoski.com/order/wsdl wxy zt {|e }~ € ‚ƒ „…org/apache/axis2/AxisFault]Missing expected result wrapper element {http://ws.sosnoski.com/order/wsdl}placeOrderResponse …java/lang/Exception ;< †<)com/sosnoski/infoq/ex1/StoreServiceStub$2&org/apache/axis2/client/async/Callback)org/apache/axis2/client/async/AsyncResultorg/apache/axiom/om/OMElement*org/jibx/runtime/impl/UnmarshallingContextjava/lang/String'com/sosnoski/infoq/ex1/StoreServiceStubstartplaceOrderU(Lcom/sosnoski/infoq/ex1/Order;Lcom/sosnoski/infoq/ex1/StoreServiceCallbackHandler;)V()VgetResponseEnvelope&()Lorg/apache/axiom/soap/SOAPEnvelope;"org/apache/axiom/soap/SOAPEnvelopegetBody"()Lorg/apache/axiom/soap/SOAPBody;org/apache/axiom/soap/SOAPBodygetFirstElement!()Lorg/apache/axiom/om/OMElement; getLocalName()Ljava/lang/String;equals(Ljava/lang/Object;)Z getNamespace#()Lorg/apache/axiom/om/OMNamespace;org/apache/axiom/om/OMNamespacegetNamespaceURI access$000M(Lorg/apache/axiom/om/OMElement;)Lorg/jibx/runtime/impl/UnmarshallingContext;parsePastStartTag'(Ljava/lang/String;Ljava/lang/String;)VisAt'(Ljava/lang/String;Ljava/lang/String;)ZparseElementText8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;2com/sosnoski/infoq/ex1/StoreServiceCallbackHandlerreceiveResultplaceOrder(Ljava/lang/String;)VreceiveErrorplaceOrder  !9*+µ*,µ*·±"ï# $'()!;y+¶¹¹M,ÆU,¹¶ ™G ,¹ ¹ ¶ ™4,¸ N- ¶:- ¶™ - ¶:*´¶§ »Y·¿§ M*,¶±or":òó4õ9öAøDúOûYbeorsx#>9)*+D,-`./s01y$'y234$ÿY56789ø ú B:;<!A *´+¶±"   # $' 01=>?@A& ././@LongLink0000000000000000000000000000015200000000000011563 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/bin/com/sosnoski/infoq/ex1/TestClient.classlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/bin/com/sosnoski/infoq/ex1/TestClient.0000644000175000017500000000375711415065234033112 0ustar twernertwernerÊþº¾2~ &DE F DG DH IJ KL MN OP DQ DR S?  T U VWXA%™šY D Z[ \] ^ _ `a `bcd()VCodeLineNumberTableLocalVariableTablethis#Lcom/sosnoski/infoq/ex1/TestClient;main([Ljava/lang/String;)Vclient%Lcom/sosnoski/infoq/ex1/StoreService;args[Ljava/lang/String;addr Lcom/sosnoski/infoq/ex1/Address;itemsLjava/util/List;itemLcom/sosnoski/infoq/ex1/Item;orderLcom/sosnoski/infoq/ex1/Order;idLjava/lang/String; StackMapTablee Exceptionsf SourceFileTestClient.java '('com/sosnoski/infoq/ex1/StoreServiceStub 'gcom/sosnoski/infoq/ex1/AddressRedmond hgWA ig13488 NE 187st St. jg98034 kgjava/util/ArrayListcom/sosnoski/infoq/ex1/Item ACN399393 lg mn opq rs UHX831348com/sosnoski/infoq/ex1/Order tuA10101 vgDennis Sosnoski wg xye z{ |}!com/sosnoski/infoq/ex1/TestClientjava/lang/Object#com/sosnoski/infoq/ex1/StoreServicejava/lang/Exception(Ljava/lang/String;)VsetCitysetState setStreet1setZipsetIdsetPrice(F)V setQuantity(I)Vjava/util/Listadd(Ljava/lang/Object;)Z setBillTo#(Lcom/sosnoski/infoq/ex1/Address;)V setCustomerIdsetCustomerNamesetItems(Ljava/util/List;)V placeOrder2(Lcom/sosnoski/infoq/ex1/Order;)Ljava/lang/String; retrieveOrder2(Ljava/lang/String;)Lcom/sosnoski/infoq/ex1/Order;!%&'()/*·±*+ ,- ./)®Ç*¾ž»Y*2·L§ »Y·L»Y·M,¶, ¶ , ¶ , ¶»Y·N»Y·:¶¶¶-¹W»Y·:¶¶¶-¹W»Y·:,¶¶ ¶!-¶"+¹#:+¹$:±*n #)/5;CLSZ`iry€ †!"˜#ž$¥%¬&²'¼(Æ)+R01Ç23¬01#¤45C„67L{89˜/:;¼ <=> ü?@ABC././@LongLink0000000000000000000000000000015400000000000011565 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/bin/com/sosnoski/infoq/ex1/StoreService.classlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/bin/com/sosnoski/infoq/ex1/StoreServic0000644000175000017500000000124211415065234033211 0ustar twernertwernerÊþº¾2 retrieveOrder2(Ljava/lang/String;)Lcom/sosnoski/infoq/ex1/Order; ExceptionsstartretrieveOrderI(Ljava/lang/String;Lcom/sosnoski/infoq/ex1/StoreServiceCallbackHandler;)V placeOrder2(Lcom/sosnoski/infoq/ex1/Order;)Ljava/lang/String;startplaceOrderU(Lcom/sosnoski/infoq/ex1/Order;Lcom/sosnoski/infoq/ex1/StoreServiceCallbackHandler;)V cancelOrder(Ljava/lang/String;)ZstartcancelOrder SourceFileStoreService.java#com/sosnoski/infoq/ex1/StoreServicejava/lang/Objectjava/rmi/RemoteException   ././@LongLink0000000000000000000000000000017300000000000011566 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/bin/com/sosnoski/infoq/ex1/StoreServiceCallbackHandler.classlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/bin/com/sosnoski/infoq/ex1/StoreServic0000644000175000017500000000254111415065234033214 0ustar twernertwernerÊþº¾2' # $%& clientDataLjava/lang/Object;(Ljava/lang/Object;)VCodeLineNumberTableLocalVariableTablethis4Lcom/sosnoski/infoq/ex1/StoreServiceCallbackHandler;()V getClientData()Ljava/lang/Object;receiveResultretrieveOrder!(Lcom/sosnoski/infoq/ex1/Order;)VresultLcom/sosnoski/infoq/ex1/Order;receiveErrorretrieveOrder(Ljava/lang/Exception;)VeLjava/lang/Exception;receiveResultplaceOrder(Ljava/lang/String;)VLjava/lang/String;receiveErrorplaceOrderreceiveResultcancelOrder(Z)VZreceiveErrorcancelOrder SourceFile StoreServiceCallbackHandler.java  2com/sosnoski/infoq/ex1/StoreServiceCallbackHandlerjava/lang/Object!  F *·*+µ±     < *·*µ± "# $   /*´° +   5± 6   5± =   5± F   5± M   5± V    5± ]  !"././@LongLink0000000000000000000000000000016200000000000011564 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/bin/com/sosnoski/infoq/ex1/StoreServiceStub$3.classlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/bin/com/sosnoski/infoq/ex1/StoreServic0000644000175000017500000000603211415065234033213 0ustar twernertwernerÊþº¾2 C D E FG HI JKL MN OPQ MR ST AU VWX VY VZ [\]^ _ `abc d `efg val$_callback4Lcom/sosnoski/infoq/ex1/StoreServiceCallbackHandler;this$0)Lcom/sosnoski/infoq/ex1/StoreServiceStub;`(Lcom/sosnoski/infoq/ex1/StoreServiceStub;Lcom/sosnoski/infoq/ex1/StoreServiceCallbackHandler;)VCodeLineNumberTableLocalVariableTablethis InnerClasses+Lcom/sosnoski/infoq/ex1/StoreServiceStub$3; onComplete.(Lorg/apache/axis2/client/async/AsyncResult;)Vuctx,Lorg/jibx/runtime/impl/UnmarshallingContext;return0ZresultLorg/apache/axiom/om/OMElement;eLjava/lang/Exception;async+Lorg/apache/axis2/client/async/AsyncResult; StackMapTablefhijconError(Ljava/lang/Exception;)V SourceFileStoreServiceStub.javaEnclosingMethodk lm   !nh opq rst uvcancelOrderResponsei wxy z{!http://ws.sosnoski.com/order/wsdl |}~ x €j ‚ƒreturn „… †‡ˆ ‰Šorg/apache/axis2/AxisFaultBMissing required element {http://ws.sosnoski.com/order/wsdl}return !‹Œ Ž^Missing expected result wrapper element {http://ws.sosnoski.com/order/wsdl}cancelOrderResponsejava/lang/Exception <= =)com/sosnoski/infoq/ex1/StoreServiceStub$3&org/apache/axis2/client/async/Callback)org/apache/axis2/client/async/AsyncResultorg/apache/axiom/om/OMElement*org/jibx/runtime/impl/UnmarshallingContext'com/sosnoski/infoq/ex1/StoreServiceStubstartcancelOrderI(Ljava/lang/String;Lcom/sosnoski/infoq/ex1/StoreServiceCallbackHandler;)V()VgetResponseEnvelope&()Lorg/apache/axiom/soap/SOAPEnvelope;"org/apache/axiom/soap/SOAPEnvelopegetBody"()Lorg/apache/axiom/soap/SOAPBody;org/apache/axiom/soap/SOAPBodygetFirstElement!()Lorg/apache/axiom/om/OMElement; getLocalName()Ljava/lang/String;java/lang/Stringequals(Ljava/lang/Object;)Z getNamespace#()Lorg/apache/axiom/om/OMNamespace;org/apache/axiom/om/OMNamespacegetNamespaceURI access$000M(Lorg/apache/axiom/om/OMElement;)Lorg/jibx/runtime/impl/UnmarshallingContext;parsePastStartTag'(Ljava/lang/String;Ljava/lang/String;)VisAt'(Ljava/lang/String;Ljava/lang/String;)ZparseElementText8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;org/jibx/runtime/Utility parseBoolean(Ljava/lang/String;)Z(Ljava/lang/String;)V2com/sosnoski/infoq/ex1/StoreServiceCallbackHandlerreceiveResultcancelOrder(Z)VreceiveErrorcancelOrder  !"#9*+µ*,µ*·±$Z% &)*+#N‰+¶¹¹M,Æe,¹¶ ™W ,¹ ¹ ¶ ™D,¸ N- ¶6- ¶™- ¶¸6§ »Y·¿*´¶§ »Y·¿§ M*,¶±‚$>]^4`9aAcDeOf_jimrnuos‚qƒrˆt%>99,-D../p01ƒ23‰&)‰456#ÿ_789: ø ú B;<=#A *´+¶±$ wx% &) 23>?@AB( ././@LongLink0000000000000000000000000000016000000000000011562 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/bin/com/sosnoski/infoq/ex1/StoreServiceStub.classlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/bin/com/sosnoski/infoq/ex1/StoreServic0000644000175000017500000005076011415065234033222 0ustar twernertwernerÊþº¾2á ¿ƒ ¿„ ¿…†Ÿ† ‡ ˆ‰ Š‹ Œ Ž ‘ ¿’ “ ¿” ¿•– ¿—˜ ‡™š0 › œ IL ¿ž LJŸ !‡ ¿  ¿¡ ¿¢ ¿£ ¿¤ ¿¥¦ )§ ¿¨ )©ª -“ «¬ «­® ¿¯ ¿“ °± ²³ ²´µ 7¶ 7· ¸¹ º ¬º»¼½ =“ ¿¾ ¿À ¿Á ¿ ÃÄ ÅÆÇ ¿È G“ ¿ÉÊË ÅÌÍ LÎ KÏ KÐÑÒ SÓ ¿Ô RÕ Ö× ¿ØÙ ÚÄ ¿Û ÚÜ KÝÞß ^à _“ á )â ã©ä «å «æ ¿ç «è ¿éê Ãë Åì °í îï? Åð Åï )ñò t‡ tó ãô ãõö ã÷ tø îùú Åû Åü Kýþ Kÿ K „‡  K ¿ ³ ± G   ¿ K S ÃÜ K  œ ã  « ¡‡  ¤! ¦ _" Å# !$ !%& ±' ±( ¿)*+ ±,- ./0123456 _789: ±; <=>?@ ¿ABCD _operations-[Lorg/apache/axis2/description/AxisOperation;faultExceptionNameMapLjava/util/HashMap;faultExceptionClassNameMapfaultMessageMapcounterI opNameArray[Ljavax/xml/namespace/QName;bindingFactory"Lorg/jibx/runtime/IBindingFactory;bindingErrorMessageLjava/lang/String;bindingNamespaceIndexes[IbindingNamespacePrefixes[Ljava/lang/String; _type_name0getUniqueSuffix()Ljava/lang/String;CodeLineNumberTable StackMapTablepopulateAxisService()VLocalVariableTablethis)Lcom/sosnoski/infoq/ex1/StoreServiceStub; __operation,Lorg/apache/axis2/description/AxisOperation; ExceptionspopulateFaultsD(Lorg/apache/axis2/context/ConfigurationContext;Ljava/lang/String;)VconfigurationContext/Lorg/apache/axis2/context/ConfigurationContext;targetEndpointE(Lorg/apache/axis2/context/ConfigurationContext;Ljava/lang/String;Z)VuseSeparateListenerZ2(Lorg/apache/axis2/context/ConfigurationContext;)V(Ljava/lang/String;)VgetEnvelopeNamespaces5(Lorg/apache/axiom/soap/SOAPEnvelope;)Ljava/util/Map;ns!Lorg/apache/axiom/om/OMNamespace;env$Lorg/apache/axiom/soap/SOAPEnvelope; returnMapLjava/util/Map;namespaceIteratorLjava/util/Iterator;EFoptimizeContent(Ljavax/xml/namespace/QName;)ZiopNameLjavax/xml/namespace/QName;nsIndex((Ljava/lang/String;[Ljava/lang/String;)IuriurisaddMappingNamespacesi(Lorg/apache/axiom/soap/SOAPFactory;Lorg/apache/axiom/om/OMElement;Ljava/lang/String;Ljava/lang/String;)Vindexprefixfactory#Lorg/apache/axiom/soap/SOAPFactory;wrapperLorg/apache/axiom/om/OMElement;nsurinsprefnssÚ&getNewUnmarshalContextM(Lorg/apache/axiom/om/OMElement;)Lorg/jibx/runtime/impl/UnmarshallingContext;paramctx,Lorg/jibx/runtime/impl/UnmarshallingContext;readerLorg/jibx/runtime/IXMLReader;G mappedChildR(Ljava/lang/Object;Lorg/apache/axiom/om/OMFactory;)Lorg/apache/axiom/om/OMElement;valueLjava/lang/Object;Lorg/apache/axiom/om/OMFactory;mrshable Lorg/jibx/runtime/IMarshallable;src"Lorg/apache/axiom/om/OMDataSource;appnsfromOMS(Lorg/apache/axiom/om/OMElement;Ljava/lang/Class;Ljava/util/Map;)Ljava/lang/Object;eLjava/lang/Exception;typeLjava/lang/Class;extraNamespacesÞ retrieveOrder2(Ljava/lang/String;)Lcom/sosnoski/infoq/ex1/Order;chilductxreturn0Lcom/sosnoski/infoq/ex1/Order;_opIndexopname_operationClient)Lorg/apache/axis2/client/OperationClient;_messageContext)Lorg/apache/axis2/context/MessageContext;_returnMessageContext _responseoutexid:™HIJKòÊ placeOrder2(Lcom/sosnoski/infoq/ex1/Order;)Ljava/lang/String;order cancelOrder(Ljava/lang/String;)ZstartretrieveOrderI(Ljava/lang/String;Lcom/sosnoski/infoq/ex1/StoreServiceCallbackHandler;)V_callbackReceiver(Lorg/apache/axis2/util/CallbackReceiver; _callback4Lcom/sosnoski/infoq/ex1/StoreServiceCallbackHandler;LstartplaceOrderU(Lcom/sosnoski/infoq/ex1/Order;Lcom/sosnoski/infoq/ex1/StoreServiceCallbackHandler;)VstartcancelOrderconvertException,(Ljava/lang/Exception;)Ljava/lang/Exception;exceptionClassNameexceptionClassmessageClassName messageClass messageObjectmLjava/lang/reflect/Method;Ljava/lang/ClassCastException;"Ljava/lang/ClassNotFoundException;!Ljava/lang/NoSuchMethodException;-Ljava/lang/reflect/InvocationTargetException;"Ljava/lang/IllegalAccessException;"Ljava/lang/InstantiationException;fLorg/apache/axis2/AxisFault;faultEltexÞß012345 access$000x0 access$100nsurisxsiindexnscountusecountmessageindexesprefixesMØ SourceFileStoreServiceStub.java ÛÖ  ÏÐjava/lang/StringBuilder êâN OPQ RS TU_ TV RÝ(org/apache/axis2/description/AxisService StoreService ÜÝ êó WX Yâ*org/apache/axis2/description/AxisOperation ÉÊ/org/apache/axis2/description/OutInAxisOperationjavax/xml/namespace/QName.http://ws.sosnoski.com/order/wsdl/StoreService êZ [\ ]^ êïjava/util/HashMap ËÌ ÍÌ ÎÌ ÑÒ áâ éâ%org/apache/axis2/client/ServiceClient ê_ `a bc-org/apache/axis2/addressing/EndpointReferenced ef gh1http://localhost:8080/axis2/services/StoreService êëI ijF kl mnorg/apache/axiom/om/OMNamespace oÝ pÝE qr st"java/lang/IllegalArgumentException Namespace + not found in binding directory information ÓÔM uv ר ÙÚJ wxK yzjava/lang/RuntimeException ÕÖ {|*org/jibx/runtime/impl/UnmarshallingContext'org/jibx/runtime/impl/StAXReaderWrapper }~ SOAP-message ê € ‚ƒorg/jibx/runtime/IMarshallable$org/apache/axis2/jibx/JiBXDataSource ê„ …† ‡Ýˆ ‰Š ‹vŒ v Ž ‘java/lang/Exceptionorg/apache/axis2/AxisFault ’Ý “” •–Hurn:retrieveOrder —ó ˜h ™š ›Ý œ!http://ws.sosnoski.com/order/wsdl Žž Ÿ  ¡¢£ ¤¥ ¦ó §¨'org/apache/axis2/context/MessageContext ©¨ ª« ¬hIn ­® ¯° ±²retrieveOrderResponse ³Ý ´µ ¶Zreturn ·¸ ¹ºcom/sosnoski/infoq/ex1/Order» ¼½ ¾Z`Missing expected return wrapper element {http://ws.sosnoski.com/order/wsdl}retrieveOrderResponse YZUnexpected exception type: ¿À “Ý êÁurn:placeOrderns1   êÂplaceOrderResponse ÃÄ]Missing expected return wrapper element {http://ws.sosnoski.com/order/wsdl}placeOrderResponseurn:cancelOrdercancelOrderResponseÅ ÆMBMissing required element {http://ws.sosnoski.com/order/wsdl}return^Missing expected return wrapper element {http://ws.sosnoski.com/order/wsdl}cancelOrderResponse)com/sosnoski/infoq/ex1/StoreServiceStub$1 InnerClasses êÇ ÈÉ ÊË Ìl&org/apache/axis2/util/CallbackReceiver ÍÎ)com/sosnoski/infoq/ex1/StoreServiceStub$2)com/sosnoski/infoq/ex1/StoreServiceStub$3 ϲ Д Ñt ‰Òjava/lang/String ÓÔ Õn ()setFaultMessagejava/lang/Class Ö×java/lang/ObjectØ ÙÚjava/lang/ClassCastException java/lang/ClassNotFoundExceptionjava/lang/NoSuchMethodException+java/lang/reflect/InvocationTargetException java/lang/IllegalAccessException java/lang/InstantiationExceptionjava/rmi/RemoteException ÛÜbindingcom.sosnoski.infoq.ex1'com/sosnoski/infoq/ex1/StoreServiceStub ÝÞß œà){http://ws.sosnoski.com/order/data}:order)http://www.w3.org/2001/XMLSchema-instance!http://ws.sosnoski.com/order/data xsiorg/apache/axis2/client/Stub#com/sosnoski/infoq/ex1/StoreService java/util/Mapjava/util/Iteratororg/jibx/runtime/JiBXException'org/apache/axis2/client/OperationClient"org/apache/axiom/soap/SOAPEnvelope!org/apache/axiom/soap/SOAPFactoryorg/apache/axiom/om/OMElement2com/sosnoski/infoq/ex1/StoreServiceCallbackHandler org/jibx/runtime/IBindingFactoryjava/lang/SystemcurrentTimeMillis()Jjava/lang/LongtoString(J)Ljava/lang/String;append-(Ljava/lang/String;)Ljava/lang/StringBuilder;(I)Ljava/lang/StringBuilder;_service*Lorg/apache/axis2/description/AxisService;addAnonymousOperations'(Ljava/lang/String;Ljava/lang/String;)VsetName(Ljavax/xml/namespace/QName;)V addOperation/(Lorg/apache/axis2/description/AxisOperation;)V\(Lorg/apache/axis2/context/ConfigurationContext;Lorg/apache/axis2/description/AxisService;)V_serviceClient'Lorg/apache/axis2/client/ServiceClient; getOptions#()Lorg/apache/axis2/client/Options;org/apache/axis2/client/OptionssetTo2(Lorg/apache/axis2/addressing/EndpointReference;)VsetUseSeparateListener(Z)VgetAllDeclaredNamespaces()Ljava/util/Iterator;hasNext()Znext()Ljava/lang/Object; getPrefixgetNamespaceURIput8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;equals(Ljava/lang/Object;)Z getNamespaces()[Ljava/lang/String;createOMNamespaceG(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/axiom/om/OMNamespace;declareNamespaceD(Lorg/apache/axiom/om/OMNamespace;)Lorg/apache/axiom/om/OMNamespace;createUnmarshallingContext*()Lorg/jibx/runtime/IUnmarshallingContext; getXMLStreamReaderWithoutCaching$()Ljavax/xml/stream/XMLStreamReader;8(Ljavax/xml/stream/XMLStreamReader;Ljava/lang/String;Z)V setDocument (Lorg/jibx/runtime/IXMLReader;)VtoTag()IE(Lorg/jibx/runtime/IMarshallable;Lorg/jibx/runtime/IBindingFactory;)VgetClassIndexMap*()Lorg/jibx/runtime/impl/StringIntHashMap; JiBX_getName&org/jibx/runtime/impl/StringIntHashMapget(Ljava/lang/String;)IgetElementNamespacesorg/apache/axiom/om/OMFactorygetElementNamescreateOMElement}(Lorg/apache/axiom/om/OMDataSource;Ljava/lang/String;Lorg/apache/axiom/om/OMNamespace;)Lorg/apache/axiom/om/OMSourcedElement;unmarshalElement%(Ljava/lang/Class;)Ljava/lang/Object; getMessagegetName()Ljavax/xml/namespace/QName; createClientF(Ljavax/xml/namespace/QName;)Lorg/apache/axis2/client/OperationClient; setAction!setExceptionToBeThrownOnSOAPFaultcreateEnvelopeG(Lorg/apache/axis2/client/Options;)Lorg/apache/axiom/soap/SOAPEnvelope;getSoapVersionURI getFactory7(Ljava/lang/String;)Lorg/apache/axiom/soap/SOAPFactory;W(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/axiom/om/OMElement;declareDefaultNamespace5(Ljava/lang/String;)Lorg/apache/axiom/om/OMNamespace;getBody"()Lorg/apache/axiom/soap/SOAPBody;org/apache/axiom/soap/SOAPBodyaddChild(Lorg/apache/axiom/om/OMNode;)VsetTextaddHeadersToEnvelope'(Lorg/apache/axiom/soap/SOAPEnvelope;)V setEnvelopeaddMessageContext,(Lorg/apache/axis2/context/MessageContext;)VexecutegetMessageContext=(Ljava/lang/String;)Lorg/apache/axis2/context/MessageContext; getEnvelope&()Lorg/apache/axiom/soap/SOAPEnvelope;getFirstElement!()Lorg/apache/axiom/om/OMElement; getLocalName getNamespace#()Lorg/apache/axiom/om/OMNamespace;parsePastStartTagisAt'(Ljava/lang/String;Ljava/lang/String;)ZgetUnmarshaller4(Ljava/lang/String;)Lorg/jibx/runtime/IUnmarshaller;org/jibx/runtime/IUnmarshaller unmarshalN(Ljava/lang/Object;Lorg/jibx/runtime/IUnmarshallingContext;)Ljava/lang/Object;parsePastCurrentEndTaggetClass()Ljava/lang/Class;*(Ljava/lang/String;Ljava/lang/Throwable;)V”(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[I[Ljava/lang/String;Lorg/jibx/runtime/IBindingFactory;)VparseElementText8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;org/jibx/runtime/Utility parseBoolean`(Lcom/sosnoski/infoq/ex1/StoreServiceStub;Lcom/sosnoski/infoq/ex1/StoreServiceCallbackHandler;)V setCallback+(Lorg/apache/axis2/client/async/Callback;)VgetMessageReceiver+()Lorg/apache/axis2/engine/MessageReceiver;isUseSeparateListenersetMessageReceiver,(Lorg/apache/axis2/engine/MessageReceiver;)V getDetailgetQName containsKey&(Ljava/lang/Object;)Ljava/lang/Object;forName%(Ljava/lang/String;)Ljava/lang/Class; newInstance getMethod@(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;java/lang/reflect/Methodinvoke9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; makeFault3(Ljava/lang/Throwable;)Lorg/apache/axis2/AxisFault;getClassLoader()Ljava/lang/ClassLoader;!org/jibx/runtime/BindingDirectory_(Ljava/lang/String;Ljava/lang/String;Ljava/lang/ClassLoader;)Lorg/jibx/runtime/IBindingFactory;!¿ÇÈ ÉÊËÌÍÌÎÌ ÏÐÑÒÓÔÕÖרÙÚÛÖ*ÜÝÞ`3²¤³²`³»Y·¸¸¶  ¶ ²¶ ¶ °ß !"à áâÞŸ*» Y»Y·¶ ¸¶ ¶ ·µ*¶*½µ»Y·L+»Y·¶*´+¶*´+S»Y·L+»Y·¶*´+¶*´+S»Y·L+»Y·¶*´+¶*´+S±ßB) *$/,144C5K:R=Z@iAqFxI€LM—RžUãŸäå4kæçè_éâÞ+±ß\ã äåêëÞJ*+,·±ß efã äåìíîÖè_êïÞÐ`*· *»!Y·"µ#*»!Y·"µ$*»!Y·"µ%*µ&*·'*·(*»)Y+*´·*µ+*´+¶,»-Y,·.¶/*´+¶,¶0±ß. n%ª*p.q2sBvTx_{ã*`äå`ìí`îÖ`ðñè_êòÞ@*+1·2±ß ‚„ãäåìíè_êâÞ5*1·3±ß ‹ã äåè_êóÞ?*+·2±ß “”ãäåîÖè_ôõÞ¹=»!Y·"M+¹4N-¹5™&-¹6À7:,¹8¹9¹:W§ÿ×,°ßŸ ¡¢#£8¤;¥ã4#ö÷=äå=øù5úû.üýà ýþÿ+Þ’+*´&Ǭ=*´&¾¢+*´&2¶;™¬„§ÿå¬ß®¯ ±²!³#±)¶ã  Ð+äå+à  üú Þ˜:=+¾¢*+2¶<™¬„§ÿë»=Y»Y·>¶ *¶ ?¶ ¶ ·@¿ßõö÷õúã Ð:Ö:Úà üú   Þ W²A¹B:6²C¾¢C²C.62:²D2:,¶<™ -¶<š+*¹E¹FW„§ÿº±ß& þ ÿ%-?PÿVã\ 2 Ð%+Ö-# Ö IÐW WWÖWÖ MÚàý þ1øú Þ™:²AÇ»GY²H·I¿²A¹JÀKL»LY*¹MN·OM+,¶P+¶QW+°ß  .38ã :. àèÞÆP+ÀRN»SY-²A·T:²A¹U-¹V¶W6,²A¹X2Y¹Z:,²A¹[2¹\°ß%:ãHPäåP !P "K#$>%&%+ Ð:'÷ ()ÞŠ*¸N-+¶]°N»_Y-¶`·a¿ ^ß"# $ %ã4 *+,-.ûàK/è_01Þ=‚=*´2¶bN*´+-¶c:¶de¶f¶d¶g¶d¸h:¶d¶i¸j:kY¹l:k¹mWkY¹E¹FW¹n¹o+ǧ#pkY¹l:+¹q¹r*´+¶s»tY·u:  ¶v ¶w¶xy¶z:  ¶{¹n¹|:  Æl} ¹~¶<™]k ¹¹9¶<™I ¸:  k}¶€: k¶‚™' ²¶ƒ»„Y·… ¹†À„: k¶‡°»_Yˆ·a¿M*,·‰N»GY»Y·ж -¶‹¶Œ¶ ¶ -·¿NY^OYY^ߊ"89 :; <)?3@@AOCYElGzJPQ˜S¡Yª\³]º`ÁdÇgÐiáj lmoq(rCvLzO|YZ€`ƒã¢2?3 345W6Ð M7C893&øù@ O ³¦:; Љ<; áx= `">+Z(*+‚äå‚?Öàaÿ@ABCDEÿª@ABCDEFFEGHøÿ @/è»IJÞ_ ‰=*´2¶bN*´+-¶c:¶d޶f¶d¶g¶d¸h:¶d¶i¸j:k¹l:k¸¹n¹o+ǧU²AÇ»GY²H·I¿»SY+²‘k²C²D²A·’: kY¹E:  ‘ ¹“:¹r*´+¶s»tY·u:  ¶v ¶w¶xy¶z:  ¶{¹n¹|:  ÆS” ¹~¶<™Dk ¹¹9¶<™0 ¸:  k”¶€: kp¶‚™ kp¶•:°»_Y–·a¿M*,·‰N»GY»Y·ж -¶‹¶Œ¶ ¶ -·¿U`^V``^ߎ#—˜ ™š ›)ž3Ÿ@ O¢Z¤h§o­u®€°œ±©²¸´ÁºÊ½Ó¾ÚÁáÅçÈðÊË)Í0Î9Ð<ÒHÓSÙVÛ`Þaßgâã¶œ%%& ©'÷ ¸ 20&3 <?Ö^6Ð T7J893-øù@  OÓ:; ðp<; _= g">+a(*+‰äå‰K5àdÿo@HABCDEû@ÿ‘@HABCDEFFEGøÿ @H/è»LMÞ3y=*´2¶bN*´+-¶c:¶d—¶f¶d¶g¶d¸h:¶d¶i¸j:kY¹l:k¹mWkY¹E¹FW¹n¹o+ǧ#pkY¹l:+¹q¹r*´+¶s»tY·u:  ¶v ¶w¶xy¶z:  ¶{¹n¹|:  Æc˜ ¹~¶<™Tk ¹¹9¶<™@ ¸:  k˜¶€6 k¶‚™ k¶•¸™6§ »_Yš·a¿¬»_Y›·a¿M*,·‰N»GY»Y·ж -¶‹¶Œ¶ ¶ -·¿EP^FPP^ߊ"ö÷ øù ú)ý3þ@ÿOYlz˜¡ª³ºÁ"Ç%Ð'á( *+-/(094C7F9P<Q=W@ã¢263 *4ñN6Ð D7:893øù@ O³:; Ѐ<; áo= W">+Q(*+yäåy?Öà`ÿ@ABCDEÿ—@ABCDEFFEG øÿ @/è»NOÞ¤ 5>*´2¶b:*´+¶c:¶de¶f¶d¶g¶d¸h:¶d¶i¸j:kY¹l:k¹mWkY¹E¹FW¹n¹o+ǧ#pkY¹l:  +¹q ¹r*´+¶s»tY·u:  ¶v ¶w»œY*,·¶ž: *´2¶ŸÇ"¶d¶ ™»¡Y·¢: *´2 ¶£¶x§/N*-·‰:»GY»Y·ж ¶‹¶Œ¶ ¶ ·¿±^ßzUV WX"Y+\5]B^Q`[bnd|gƒm’nšp£v¬yµz¼}ÀѢԣë¤ô¥ÿ©¯« ¬­4°ãŽ’2 6Ð ø7í895ÐøùBà Q´µP:; Ô1PQ $>+ +*+5äå5?Ö5RSàAÿƒ @TABCDEþ[FUÿ@T/+è»VWÞã U>*´2¶b:*´+¶c:¶d޶f¶d¶g¶d¸h:¶d¶i¸j:k¹l:k¸¹n¹o+ǧU²AÇ»GY²H·I¿»SY+²‘k²C²D²A·’: kY¹E:  ‘ ¹“:  ¹r*´+¶s»tY·u:  ¶v ¶w»¤Y*,·¥¶ž: *´2¶ŸÇ"¶d¶ ™»¡Y·¢: *´2 ¶£¶x§/N*-·‰:»GY»Y·ж ¶‹¶Œ¶ ¶ ·¿±%(^ß‚ Âà ÄÅ"Æ+É5ÊBËQÍ\ÏjÒqØwق۞ܫݺßÃåÌèÕéÜìãïñô %()0T㢞%%& «'÷ º 2 #6Ð 7 895ðøùBã QÔÕP:; ô1PQ 0$>+)+*+UäåUK5URSàDÿq @HTABCDEû@þ[FUÿ@HT/+è»XOÞ¤ 5>*´2¶b:*´+¶c:¶d—¶f¶d¶g¶d¸h:¶d¶i¸j:kY¹l:k¹mWkY¹E¹FW¹n¹o+ǧ#pkY¹l:  +¹q ¹r*´+¶s»tY·u:  ¶v ¶w»¦Y*,·§¶ž: *´2¶ŸÇ"¶d¶ ™»¡Y·¢: *´2 ¶£¶x§/N*-·‰:»GY»Y·ж ¶‹¶Œ¶ ¶ ·¿±^ßz/0 12"3+657B8Q:[<n>|AƒG’HšJ£P¬SµT¼WÃZÑ{Ô|ë}ô~ÿ‚ˆ„ …†4‰ãŽ’2 6Ð ø7í895ÐøùBà Q´µP:; Ô1PQ $>+ +*+5äå5?Ö5RSàAÿƒ @TABCDEþ[FUÿ@T/+è»YZÞ| É+Á_™¨+À_M,¶¨N-Ƙ*´#-¹©¶ª™†*´$-¹©¶«À¬:¸­:¶®À^:*´%-¹©¶«À¬:¸­:-¸¯: °½±YS¶²:  ½³Y S¶´W°:,¿:,¿:,¿:,¿:,¿:,¿,¿,¿+ÁG™+ÀG¿+Á»™+À»¿+¸¼¿%µ%”¶%˜·%œ¸% ¹%¤º߆!Ž ‘%•7–>—HšZ›aœj|Ÿ ¢’¥”¦–©˜ªš­œ®ž± ²¢µ¤¶¦¹¨¼ª¿¬³øÄ¿ÅÄÇã¬7Y[Ö>R\-HH*+Z6]Öa/^-j&_! |`a ’*b–*cš*dž*e¢*f¦*g  hi›jÉäåÉk+à3 ÿ@lmEnCoCpCqCrCsù è»tÞ/*¸°ßã uèvÝÞ²°ßwâÞô­³KL½¾¿¶À¸ÁKL§ M,¶`L*³A+³H³MN*Æq*¹B:¾6„ÿ›Ã2¶<š§ÿë66›„¼ M½¬N,ĸÅO-YS,k¸ÅO-S›,O-ÆS,³C-³D±^ß‚ ÁÂÅÇÈ!É%Ê)Ì.Ï0Ð2Ñ6Ô>ÕCÖX×[Ú^ÛbÜgÝjáoâuäå„çŽè“ê˜ëžì¤ð¨ñ¬òã\ *+>fxÚCayÐ^FzÐbB{Ц Ô¤|Ö0|}Ø2z~ÚàCÿ/ÿ!€ýÿ9€‚œ¤¦././@LongLink0000000000000000000000000000016200000000000011564 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/bin/com/sosnoski/infoq/ex1/StoreServiceStub$1.classlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/bin/com/sosnoski/infoq/ex1/StoreServic0000644000175000017500000000627111415065234033220 0ustar twernertwernerÊþº¾2˜ G H I JK LM NOP QR STU QV WX EY Z[\ Z] E^ Z_` I ab Zc defg hi j dklm val$_callback4Lcom/sosnoski/infoq/ex1/StoreServiceCallbackHandler;this$0)Lcom/sosnoski/infoq/ex1/StoreServiceStub;`(Lcom/sosnoski/infoq/ex1/StoreServiceStub;Lcom/sosnoski/infoq/ex1/StoreServiceCallbackHandler;)VCodeLineNumberTableLocalVariableTablethis InnerClasses+Lcom/sosnoski/infoq/ex1/StoreServiceStub$1; onComplete.(Lorg/apache/axis2/client/async/AsyncResult;)Vuctx,Lorg/jibx/runtime/impl/UnmarshallingContext;return0Lcom/sosnoski/infoq/ex1/Order;resultLorg/apache/axiom/om/OMElement;eLjava/lang/Exception;async+Lorg/apache/axis2/client/async/AsyncResult; StackMapTablelnop`ionError(Ljava/lang/Exception;)V SourceFileStoreServiceStub.javaEnclosingMethodq rs "# ! $tn uvw xyz {|retrieveOrderResponseo }~ €!http://ws.sosnoski.com/order/wsdl ‚ƒ„ …~ †‡p ˆ‰return Š‹ Œ~ Žcom/sosnoski/infoq/ex1/Order ‘ ’‰“ ”•org/apache/axis2/AxisFault`Missing expected result wrapper element {http://ws.sosnoski.com/order/wsdl}retrieveOrderResponse $–java/lang/Exception @A —A)com/sosnoski/infoq/ex1/StoreServiceStub$1&org/apache/axis2/client/async/Callback)org/apache/axis2/client/async/AsyncResultorg/apache/axiom/om/OMElement*org/jibx/runtime/impl/UnmarshallingContext'com/sosnoski/infoq/ex1/StoreServiceStubstartretrieveOrderI(Ljava/lang/String;Lcom/sosnoski/infoq/ex1/StoreServiceCallbackHandler;)V()VgetResponseEnvelope&()Lorg/apache/axiom/soap/SOAPEnvelope;"org/apache/axiom/soap/SOAPEnvelopegetBody"()Lorg/apache/axiom/soap/SOAPBody;org/apache/axiom/soap/SOAPBodygetFirstElement!()Lorg/apache/axiom/om/OMElement; getLocalName()Ljava/lang/String;java/lang/Stringequals(Ljava/lang/Object;)Z getNamespace#()Lorg/apache/axiom/om/OMNamespace;org/apache/axiom/om/OMNamespacegetNamespaceURI access$000M(Lorg/apache/axiom/om/OMElement;)Lorg/jibx/runtime/impl/UnmarshallingContext;parsePastStartTag'(Ljava/lang/String;Ljava/lang/String;)VisAt'(Ljava/lang/String;Ljava/lang/String;)Z access$100getUnmarshaller4(Ljava/lang/String;)Lorg/jibx/runtime/IUnmarshaller;org/jibx/runtime/IUnmarshaller unmarshalN(Ljava/lang/Object;Lorg/jibx/runtime/IUnmarshallingContext;)Ljava/lang/Object;parsePastCurrentEndTag2com/sosnoski/infoq/ex1/StoreServiceCallbackHandlerreceiveResultretrieveOrder!(Lcom/sosnoski/infoq/ex1/Order;)V(Ljava/lang/String;)VreceiveErrorretrieveOrder  !"#$%&9*+µ*,µ*·±'€( ),-.&V+¶¹¹M,Æl,¹¶ ™^ ,¹ ¹ ¶ ™K,¸ N- ¶:- ¶™$-¸¶»Y·-¹À:- ¶*´¶§ »Y·¿§ M*,¶±†‰'>ƒ„4†9‡A‰D‹OŒhp”y•|–†š‰˜Š™›(>9@/0D512w34Š56),789$ÿp:;<=>ø ú B?@A&A *´+¶±' žŸ( ), 56BCDEF+ libjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/bin/log4j.properties0000644000175000017500000000056211415065234027720 0ustar twernertwerner# simple log4j configutation for axis # # direct log messages to stdout # log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.Target=System.out log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n # change logging level here. log4j.rootLogger=error, stdout libjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/src/0000755000175000017500000000000011300355502024570 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/src/com/0000755000175000017500000000000011300355502025346 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/src/com/sosnoski/0000755000175000017500000000000011300355502027216 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/src/com/sosnoski/infoq/0000755000175000017500000000000011300355502030332 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/src/com/sosnoski/infoq/ex1/0000755000175000017500000000000011300355502031027 5ustar twernertwerner././@LongLink0000000000000000000000000000015100000000000011562 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/src/com/sosnoski/infoq/ex1/TestClient.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/src/com/sosnoski/infoq/ex1/TestClient.0000644000175000017500000000223711147013326033116 0ustar twernertwernerpackage com.sosnoski.infoq.ex1; import java.util.ArrayList; import java.util.List; public class TestClient { /** * @param args */ public static void main(String[] args) throws Exception { StoreService client; if (args.length > 0) { client = new StoreServiceStub(args[0]); } else { client = new StoreServiceStub(); } Address addr = new Address(); addr.setCity("Redmond"); addr.setState("WA"); addr.setStreet1("13488 NE 187st St."); addr.setZip("98034"); List items = new ArrayList(); Item item = new Item(); item.setId("ACN399393"); item.setPrice(1.25f); item.setQuantity(5); items.add(item); item = new Item(); item.setId("UHX831348"); item.setPrice(10.35f); item.setQuantity(3); items.add(item); Order order = new Order(); order.setBillTo(addr); order.setCustomerId("A10101"); order.setCustomerName("Dennis Sosnoski"); order.setItems(items); String id = client.placeOrder(order); order = client.retrieveOrder(id); } } libjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/client/lib/0000755000175000017500000000000011415065230024552 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/0000755000175000017500000000000011415065240024035 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/gen/0000755000175000017500000000000011415065236024613 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/gen/src/0000755000175000017500000000000011415065236025402 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/gen/src/com/0000755000175000017500000000000011415065236026160 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/gen/src/com/sosnoski/0000755000175000017500000000000011415065236030030 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/gen/src/com/sosnoski/infoq/0000755000175000017500000000000011415065236031144 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/gen/src/com/sosnoski/infoq/ex1/0000755000175000017500000000000011415065236031641 5ustar twernertwerner././@LongLink0000000000000000000000000000016700000000000011571 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/gen/src/com/sosnoski/infoq/ex1/StoreServiceSkeleton.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/gen/src/com/sosnoski/infoq/ex1/StoreSe0000644000175000017500000000373311415065236033156 0ustar twernertwerner /** * StoreServiceSkeleton.java * * This file was auto-generated from WSDL * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:00 EDT) */ package com.sosnoski.infoq.ex1; /** * StoreServiceSkeleton java skeleton for the axisService */ public class StoreServiceSkeleton{ /** * Auto generated method signature * Retrieve order information. * @param id */ public com.sosnoski.infoq.ex1.Order retrieveOrder ( java.lang.String id ) { //TODO : fill this with the necessary business logic throw new java.lang.UnsupportedOperationException("Please implement " + this.getClass().getName() + "#retrieveOrder"); } /** * Auto generated method signature * Submit a new order. * @param order */ public java.lang.String placeOrder ( com.sosnoski.infoq.ex1.Order order ) { //TODO : fill this with the necessary business logic throw new java.lang.UnsupportedOperationException("Please implement " + this.getClass().getName() + "#placeOrder"); } /** * Auto generated method signature * Cancel order. This can only be used for orders which have not been shipped. * @param id */ public boolean cancelOrder ( java.lang.String id ) { //TODO : fill this with the necessary business logic throw new java.lang.UnsupportedOperationException("Please implement " + this.getClass().getName() + "#cancelOrder"); } } ././@LongLink0000000000000000000000000000020300000000000011560 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/gen/src/com/sosnoski/infoq/ex1/StoreServiceMessageReceiverInOut.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/gen/src/com/sosnoski/infoq/ex1/StoreSe0000644000175000017500000003375611415065236033166 0ustar twernertwerner /** * StoreServiceMessageReceiverInOut.java * * This file was auto-generated from WSDL * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:00 EDT) */ package com.sosnoski.infoq.ex1; /** * StoreServiceMessageReceiverInOut message receiver */ public class StoreServiceMessageReceiverInOut extends org.apache.axis2.receivers.AbstractInOutMessageReceiver{ public void invokeBusinessLogic(org.apache.axis2.context.MessageContext msgContext, org.apache.axis2.context.MessageContext newMsgContext) throws org.apache.axis2.AxisFault{ try { // get the implementation class for the Web Service Object obj = getTheImplementationObject(msgContext); StoreServiceSkeleton skel = (StoreServiceSkeleton)obj; //Out Envelop org.apache.axiom.soap.SOAPEnvelope envelope = null; //Find the axisOperation that has been set by the Dispatch phase. org.apache.axis2.description.AxisOperation op = msgContext.getOperationContext().getAxisOperation(); if (op == null) { throw new org.apache.axis2.AxisFault("Operation is not located, if this is doclit style the SOAP-ACTION should specified via the SOAP Action to use the RawXMLProvider"); } java.lang.String methodName; if((op.getName() != null) && ((methodName = org.apache.axis2.util.JavaUtils.xmlNameToJavaIdentifier(op.getName().getLocalPart())) != null)){ if("retrieveOrder".equals(methodName)){ envelope = jibxReceiver0(msgContext.getEnvelope().getBody().getFirstElement(), skel, getSOAPFactory(msgContext)); } else if("placeOrder".equals(methodName)){ envelope = jibxReceiver1(msgContext.getEnvelope().getBody().getFirstElement(), skel, getSOAPFactory(msgContext)); } else if("cancelOrder".equals(methodName)){ envelope = jibxReceiver2(msgContext.getEnvelope().getBody().getFirstElement(), skel, getSOAPFactory(msgContext)); } else { throw new java.lang.RuntimeException("method not found"); } newMsgContext.setEnvelope(envelope); } } catch (java.lang.Exception e) { throw org.apache.axis2.AxisFault.makeFault(e); } } // private static final org.jibx.runtime.IBindingFactory bindingFactory; private static final String bindingErrorMessage; private static final int[] bindingNamespaceIndexes; private static final String[] bindingNamespacePrefixes; private static final String _type_name0; static { org.jibx.runtime.IBindingFactory factory = null; String message = null; try { factory = org.jibx.runtime.BindingDirectory.getFactory("binding", "com.sosnoski.infoq.ex1", StoreServiceMessageReceiverInOut.class.getClassLoader()); message = null; } catch (Exception e) { message = e.getMessage(); } bindingFactory = factory; bindingErrorMessage = message; _type_name0 = "{http://ws.sosnoski.com/order/data}:order"; int[] indexes = null; String[] prefixes = null; if (factory != null) { // check for xsi namespace included String[] nsuris = factory.getNamespaces(); int xsiindex = nsuris.length; while (--xsiindex >= 0 && !"http://www.w3.org/2001/XMLSchema-instance".equals(nsuris[xsiindex])); // get actual size of index and prefix arrays to be allocated int nscount = 2; int usecount = nscount; if (xsiindex >= 0) { usecount++; } // allocate and initialize the arrays indexes = new int[usecount]; prefixes = new String[usecount]; indexes[0] = nsIndex("http://ws.sosnoski.com/order/data", nsuris); prefixes[0] = ""; indexes[1] = nsIndex("http://ws.sosnoski.com/order/wsdl", nsuris); prefixes[1] = "ns1"; if (xsiindex >= 0) { indexes[nscount] = xsiindex; prefixes[nscount] = "xsi"; } } bindingNamespaceIndexes = indexes; bindingNamespacePrefixes = prefixes; } private static int nsIndex(String uri, String[] uris) { for (int i = 0; i < uris.length; i++) { if (uri.equals(uris[i])) { return i; } } throw new IllegalArgumentException("Namespace " + uri + " not found in binding directory information"); } private static void addMappingNamespaces(org.apache.axiom.soap.SOAPFactory factory, org.apache.axiom.om.OMElement wrapper, String nsuri, String nspref) { String[] nss = bindingFactory.getNamespaces(); for (int i = 0; i < bindingNamespaceIndexes.length; i++) { int index = bindingNamespaceIndexes[i]; String uri = nss[index]; String prefix = bindingNamespacePrefixes[i]; if (!nsuri.equals(uri) || !nspref.equals(prefix)) { wrapper.declareNamespace(factory.createOMNamespace(uri, prefix)); } } } private static org.jibx.runtime.impl.UnmarshallingContext getNewUnmarshalContext(org.apache.axiom.om.OMElement param) throws org.jibx.runtime.JiBXException { if (bindingFactory == null) { throw new RuntimeException(bindingErrorMessage); } org.jibx.runtime.impl.UnmarshallingContext ctx = (org.jibx.runtime.impl.UnmarshallingContext)bindingFactory.createUnmarshallingContext(); org.jibx.runtime.IXMLReader reader = new org.jibx.runtime.impl.StAXReaderWrapper(param.getXMLStreamReaderWithoutCaching(), "SOAP-message", true); ctx.setDocument(reader); ctx.toTag(); return ctx; } private org.apache.axiom.om.OMElement mappedChild(Object value, org.apache.axiom.om.OMFactory factory) { org.jibx.runtime.IMarshallable mrshable = (org.jibx.runtime.IMarshallable)value; org.apache.axiom.om.OMDataSource src = new org.apache.axis2.jibx.JiBXDataSource(mrshable, bindingFactory); int index = bindingFactory.getClassIndexMap().get(mrshable.JiBX_getName()); org.apache.axiom.om.OMNamespace appns = factory.createOMNamespace(bindingFactory.getElementNamespaces()[index], ""); return factory.createOMElement(src, bindingFactory.getElementNames()[index], appns); } private static Object fromOM(org.apache.axiom.om.OMElement param, Class type, java.util.Map extraNamespaces) throws org.apache.axis2.AxisFault{ try { org.jibx.runtime.impl.UnmarshallingContext ctx = getNewUnmarshalContext(param); return ctx.unmarshalElement(type); } catch (Exception e) { throw new org.apache.axis2.AxisFault(e.getMessage()); } } public org.apache.axiom.soap.SOAPEnvelope jibxReceiver0(org.apache.axiom.om.OMElement element, StoreServiceSkeleton skel, org.apache.axiom.soap.SOAPFactory factory) throws org.apache.axis2.AxisFault { org.apache.axiom.soap.SOAPEnvelope envelope = null; try { org.jibx.runtime.impl.UnmarshallingContext uctx = getNewUnmarshalContext(element); uctx.next(); int index; java.lang.String id = null; if (uctx.isAt("http://ws.sosnoski.com/order/wsdl", "id")) { id = (java.lang.String) uctx.parseElementText("http://ws.sosnoski.com/order/wsdl", "id") ; } envelope = factory.getDefaultEnvelope(); org.apache.axiom.om.OMElement wrapper = factory.createOMElement("retrieveOrderResponse", "http://ws.sosnoski.com/order/wsdl", "ns1"); addMappingNamespaces(factory, wrapper, "http://ws.sosnoski.com/order/wsdl", "ns1"); envelope.getBody().addChild(wrapper); com.sosnoski.infoq.ex1.Order result = skel.retrieveOrder( id ) ; if (result == null) { // just skip optional element } else { if (bindingFactory == null) { throw new RuntimeException(bindingErrorMessage); } org.apache.axiom.om.OMDataSource src = new org.apache.axis2.jibx.JiBXDataSource(result, _type_name0, "return", "http://ws.sosnoski.com/order/wsdl", "ns1", bindingNamespaceIndexes, bindingNamespacePrefixes, bindingFactory); org.apache.axiom.om.OMNamespace appns = factory.createOMNamespace("http://ws.sosnoski.com/order/wsdl", ""); org.apache.axiom.om.OMElement child = factory.createOMElement(src, "return", appns); wrapper.addChild(child); } } catch (org.jibx.runtime.JiBXException e) { throw org.apache.axis2.AxisFault.makeFault(e); } return envelope; } public org.apache.axiom.soap.SOAPEnvelope jibxReceiver1(org.apache.axiom.om.OMElement element, StoreServiceSkeleton skel, org.apache.axiom.soap.SOAPFactory factory) throws org.apache.axis2.AxisFault { org.apache.axiom.soap.SOAPEnvelope envelope = null; try { org.jibx.runtime.impl.UnmarshallingContext uctx = getNewUnmarshalContext(element); uctx.next(); int index; com.sosnoski.infoq.ex1.Order order = null; if (uctx.isAt("http://ws.sosnoski.com/order/wsdl", "order")) { order = (com.sosnoski.infoq.ex1.Order) uctx.getUnmarshaller(_type_name0).unmarshal(new com.sosnoski.infoq.ex1.Order(), uctx) ; uctx.parsePastCurrentEndTag("http://ws.sosnoski.com/order/wsdl", "order"); } envelope = factory.getDefaultEnvelope(); org.apache.axiom.om.OMElement wrapper = factory.createOMElement("placeOrderResponse", "http://ws.sosnoski.com/order/wsdl", ""); wrapper.declareDefaultNamespace("http://ws.sosnoski.com/order/wsdl"); wrapper.declareNamespace(factory.createOMNamespace("http://ws.sosnoski.com/order/wsdl", "")); envelope.getBody().addChild(wrapper); java.lang.String result = skel.placeOrder( order ) ; org.apache.axiom.om.OMElement child = factory.createOMElement("id", "http://ws.sosnoski.com/order/wsdl", ""); if (result == null) { org.apache.axiom.om.OMNamespace xsins = factory.createOMNamespace("http://www.w3.org/2001/XMLSchema-instance", "xsi"); child.declareNamespace(xsins); child.addAttribute("nil", "true", xsins); } else { child.setText(result.toString()); } wrapper.addChild(child); } catch (org.jibx.runtime.JiBXException e) { throw org.apache.axis2.AxisFault.makeFault(e); } return envelope; } public org.apache.axiom.soap.SOAPEnvelope jibxReceiver2(org.apache.axiom.om.OMElement element, StoreServiceSkeleton skel, org.apache.axiom.soap.SOAPFactory factory) throws org.apache.axis2.AxisFault { org.apache.axiom.soap.SOAPEnvelope envelope = null; try { org.jibx.runtime.impl.UnmarshallingContext uctx = getNewUnmarshalContext(element); uctx.next(); int index; java.lang.String id = null; if (uctx.isAt("http://ws.sosnoski.com/order/wsdl", "id")) { id = (java.lang.String) uctx.parseElementText("http://ws.sosnoski.com/order/wsdl", "id") ; } envelope = factory.getDefaultEnvelope(); org.apache.axiom.om.OMElement wrapper = factory.createOMElement("cancelOrderResponse", "http://ws.sosnoski.com/order/wsdl", ""); wrapper.declareDefaultNamespace("http://ws.sosnoski.com/order/wsdl"); wrapper.declareNamespace(factory.createOMNamespace("http://ws.sosnoski.com/order/wsdl", "")); envelope.getBody().addChild(wrapper); boolean result = skel.cancelOrder( id ) ; org.apache.axiom.om.OMElement child = factory.createOMElement("return", "http://ws.sosnoski.com/order/wsdl", ""); child.setText(org.jibx.runtime.Utility.serializeBoolean(result)); wrapper.addChild(child); } catch (org.jibx.runtime.JiBXException e) { throw org.apache.axis2.AxisFault.makeFault(e); } return envelope; } /** * A utility method that copies the namepaces from the SOAPEnvelope */ private java.util.Map getEnvelopeNamespaces(org.apache.axiom.soap.SOAPEnvelope env){ java.util.Map returnMap = new java.util.HashMap(); java.util.Iterator namespaceIterator = env.getAllDeclaredNamespaces(); while (namespaceIterator.hasNext()) { org.apache.axiom.om.OMNamespace ns = (org.apache.axiom.om.OMNamespace) namespaceIterator.next(); returnMap.put(ns.getPrefix(),ns.getNamespaceURI()); } return returnMap; } private org.apache.axis2.AxisFault createAxisFault(java.lang.Exception e) { org.apache.axis2.AxisFault f; Throwable cause = e.getCause(); if (cause != null) { f = new org.apache.axis2.AxisFault(e.getMessage(), cause); } else { f = new org.apache.axis2.AxisFault(e.getMessage()); } return f; } }//end of class libjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/gen/resources/0000755000175000017500000000000011415065240026620 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/gen/resources/services.xml0000644000175000017500000000331611415065240031170 0ustar twernertwerner com.sosnoski.infoq.ex1.StoreServiceImpl true true urn:retrieveOrder http://ws.sosnoski.com/order/wsdl/StoreService/StoreServicePortType/retrieveOrderResponse urn:placeOrder http://ws.sosnoski.com/order/wsdl/StoreService/StoreServicePortType/placeOrderResponse urn:cancelOrder http://ws.sosnoski.com/order/wsdl/StoreService/StoreServicePortType/cancelOrderResponse libjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/gen/resources/data.xsd0000644000175000017500000000622511415065236030263 0ustar twernertwerner Order information. Customer name. Billing address information. Unique identifier for this order. This is added to the order information by the service. Shipping address information. If missing, the billing address is also used as the shipping address. Customer identifier code. Date order was placed with server. This is added to the order information by the service. Date order was shipped. This is added to the order information by the service. libjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/gen/resources/StoreService.wsdl0000644000175000017500000001210111415065236032130 0ustar twernertwerner Interface for placing orders and checking status. Submit a new order. Retrieve order information. Cancel order. This can only be used for orders which have not been shipped. libjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/gen/build.xml0000644000175000017500000001241511415065240026432 0ustar twernertwerner libjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/bin/0000755000175000017500000000000011415065240024605 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/bin/com/0000755000175000017500000000000011415065240025363 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/bin/com/sosnoski/0000755000175000017500000000000011415065240027233 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/bin/com/sosnoski/infoq/0000755000175000017500000000000011415065240030347 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/bin/com/sosnoski/infoq/ex1/0000755000175000017500000000000011415065240031044 5ustar twernertwerner././@LongLink0000000000000000000000000000020000000000000011555 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/bin/com/sosnoski/infoq/ex1/StoreServiceMessageReceiverInOut.classlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/bin/com/sosnoski/infoq/ex1/StoreServic0000644000175000017500000003066011415065240033244 0ustar twernertwernerÊþº¾2ú { t         x    t t t t   !"# $ %& '  t( )* t+ t, -. /0 t1 )234 /56 .7 -8 -9:; 5< )= 4> ?@ )AB C. )D CE tF -G H -IJÓ -K -L -MNO -P tQ R S tTU 5V -E /RWß -XY V Z[ -\] /^ _`abc /d x' /ef g hij g k lm lno lp lq rs t uvwx yz {|}~ t€bindingFactory"Lorg/jibx/runtime/IBindingFactory;bindingErrorMessageLjava/lang/String;bindingNamespaceIndexes[IbindingNamespacePrefixes[Ljava/lang/String; _type_name0()VCodeLineNumberTableLocalVariableTablethis9Lcom/sosnoski/infoq/ex1/StoreServiceMessageReceiverInOut;invokeBusinessLogicU(Lorg/apache/axis2/context/MessageContext;Lorg/apache/axis2/context/MessageContext;)VobjLjava/lang/Object;skel-Lcom/sosnoski/infoq/ex1/StoreServiceSkeleton;envelope$Lorg/apache/axiom/soap/SOAPEnvelope;op,Lorg/apache/axis2/description/AxisOperation; methodNameeLjava/lang/Exception; msgContext)Lorg/apache/axis2/context/MessageContext; newMsgContext StackMapTablex‚ƒ„…~  ExceptionsnsIndex((Ljava/lang/String;[Ljava/lang/String;)IiIuriurisaddMappingNamespacesi(Lorg/apache/axiom/soap/SOAPFactory;Lorg/apache/axiom/om/OMElement;Ljava/lang/String;Ljava/lang/String;)Vindexprefixfactory#Lorg/apache/axiom/soap/SOAPFactory;wrapperLorg/apache/axiom/om/OMElement;nsurinsprefnssƒgetNewUnmarshalContextM(Lorg/apache/axiom/om/OMElement;)Lorg/jibx/runtime/impl/UnmarshallingContext;paramctx,Lorg/jibx/runtime/impl/UnmarshallingContext;readerLorg/jibx/runtime/IXMLReader; mappedChildR(Ljava/lang/Object;Lorg/apache/axiom/om/OMFactory;)Lorg/apache/axiom/om/OMElement;valueLorg/apache/axiom/om/OMFactory;mrshable Lorg/jibx/runtime/IMarshallable;src"Lorg/apache/axiom/om/OMDataSource;appns!Lorg/apache/axiom/om/OMNamespace;fromOMS(Lorg/apache/axiom/om/OMElement;Ljava/lang/Class;Ljava/util/Map;)Ljava/lang/Object;typeLjava/lang/Class;extraNamespacesLjava/util/Map; jibxReceiver0•(Lorg/apache/axiom/om/OMElement;Lcom/sosnoski/infoq/ex1/StoreServiceSkeleton;Lorg/apache/axiom/soap/SOAPFactory;)Lorg/apache/axiom/soap/SOAPEnvelope;chilductxidresultLcom/sosnoski/infoq/ex1/Order; Lorg/jibx/runtime/JiBXException;element†‡3YW jibxReceiver1xsinsorder jibxReceiver2ZgetEnvelopeNamespaces5(Lorg/apache/axiom/soap/SOAPEnvelope;)Ljava/util/Map;nsenv returnMapnamespaceIteratorLjava/util/Iterator;ˆ‰createAxisFault3(Ljava/lang/Exception;)Lorg/apache/axis2/AxisFault;fLorg/apache/axis2/AxisFault;causeLjava/lang/Throwable;Š nsurisxsiindexnscountusecountmessageindexesprefixes‹ SourceFile%StoreServiceMessageReceiverInOut.java …† Œ+com/sosnoski/infoq/ex1/StoreServiceSkeleton‚ Ž ‘’org/apache/axis2/AxisFault€Operation is not located, if this is doclit style the SOAP-ACTION should specified via the SOAP Action to use the RawXMLProvider …“… ”•– —˜™ š› retrieveOrder œ žŸ„  ¡¢ £¤ ¥¦ ÏÐ placeOrder ÝÐ cancelOrder àÐjava/lang/RuntimeExceptionmethod not found §¨java/lang/Exception ©ª"java/lang/IllegalArgumentExceptionjava/lang/StringBuilder Namespace «¬+ not found in binding directory information ­˜ |}‹ ®¯ € ‚ƒ‡ °±† ²³ ~ ´µ*org/jibx/runtime/impl/UnmarshallingContext'org/jibx/runtime/impl/StAXReaderWrapper ¶· SOAP-message …¸ ¹º »¼org/jibx/runtime/IMarshallable$org/apache/axis2/jibx/JiBXDataSource …½ ¾¿ À˜Á Âà įŠƯ ÇÈ ¸¹ ÉÊ Ë˜ ̼!http://ws.sosnoski.com/order/wsdl ÍÎ ÏÐ ÑŸretrieveOrderResponsens1 ÇÒ ¬­ ÓÔ Õ „return …Öorg/jibx/runtime/JiBXException רcom/sosnoski/infoq/ex1/OrderÙ ÚÛ ÜÝplaceOrderResponse Þß à)http://www.w3.org/2001/XMLSchema-instancexsiniltrue áâ ã“cancelOrderResponse äå æçjava/util/HashMap èé‰ êë Ììorg/apache/axiom/om/OMNamespace í˜ î˜ˆ ïð ñò …óbindingcom.sosnoski.infoq.ex17com/sosnoski/infoq/ex1/StoreServiceMessageReceiverInOutô õö÷ øù){http://ws.sosnoski.com/order/data}:orderjava/lang/String!http://ws.sosnoski.com/order/data ¦§7org/apache/axis2/receivers/AbstractInOutMessageReceiver'org/apache/axis2/context/MessageContextjava/lang/Object"org/apache/axiom/soap/SOAPEnvelope*org/apache/axis2/description/AxisOperationorg/apache/axiom/om/OMElement!org/apache/axiom/soap/SOAPFactory java/util/Mapjava/util/Iteratorjava/lang/Throwable org/jibx/runtime/IBindingFactorygetTheImplementationObject=(Lorg/apache/axis2/context/MessageContext;)Ljava/lang/Object;getOperationContext-()Lorg/apache/axis2/context/OperationContext;)org/apache/axis2/context/OperationContextgetAxisOperation.()Lorg/apache/axis2/description/AxisOperation;(Ljava/lang/String;)VgetName()Ljavax/xml/namespace/QName;javax/xml/namespace/QName getLocalPart()Ljava/lang/String;org/apache/axis2/util/JavaUtilsxmlNameToJavaIdentifier&(Ljava/lang/String;)Ljava/lang/String;equals(Ljava/lang/Object;)Z getEnvelope&()Lorg/apache/axiom/soap/SOAPEnvelope;getBody"()Lorg/apache/axiom/soap/SOAPBody;org/apache/axiom/soap/SOAPBodygetFirstElement!()Lorg/apache/axiom/om/OMElement;getSOAPFactoryN(Lorg/apache/axis2/context/MessageContext;)Lorg/apache/axiom/soap/SOAPFactory; setEnvelope'(Lorg/apache/axiom/soap/SOAPEnvelope;)V makeFault3(Ljava/lang/Throwable;)Lorg/apache/axis2/AxisFault;append-(Ljava/lang/String;)Ljava/lang/StringBuilder;toString getNamespaces()[Ljava/lang/String;createOMNamespaceG(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/axiom/om/OMNamespace;declareNamespaceD(Lorg/apache/axiom/om/OMNamespace;)Lorg/apache/axiom/om/OMNamespace;createUnmarshallingContext*()Lorg/jibx/runtime/IUnmarshallingContext; getXMLStreamReaderWithoutCaching$()Ljavax/xml/stream/XMLStreamReader;8(Ljavax/xml/stream/XMLStreamReader;Ljava/lang/String;Z)V setDocument (Lorg/jibx/runtime/IXMLReader;)VtoTag()IE(Lorg/jibx/runtime/IMarshallable;Lorg/jibx/runtime/IBindingFactory;)VgetClassIndexMap*()Lorg/jibx/runtime/impl/StringIntHashMap; JiBX_getName&org/jibx/runtime/impl/StringIntHashMapget(Ljava/lang/String;)IgetElementNamespacesorg/apache/axiom/om/OMFactorygetElementNamescreateOMElement}(Lorg/apache/axiom/om/OMDataSource;Ljava/lang/String;Lorg/apache/axiom/om/OMNamespace;)Lorg/apache/axiom/om/OMSourcedElement;unmarshalElement%(Ljava/lang/Class;)Ljava/lang/Object; getMessagenextisAt'(Ljava/lang/String;Ljava/lang/String;)ZparseElementText8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;getDefaultEnvelopeW(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/apache/axiom/om/OMElement;addChild(Lorg/apache/axiom/om/OMNode;)V2(Ljava/lang/String;)Lcom/sosnoski/infoq/ex1/Order;”(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[I[Ljava/lang/String;Lorg/jibx/runtime/IBindingFactory;)VgetUnmarshaller4(Ljava/lang/String;)Lorg/jibx/runtime/IUnmarshaller;org/jibx/runtime/IUnmarshaller unmarshalN(Ljava/lang/Object;Lorg/jibx/runtime/IUnmarshallingContext;)Ljava/lang/Object;parsePastCurrentEndTag'(Ljava/lang/String;Ljava/lang/String;)VdeclareDefaultNamespace5(Ljava/lang/String;)Lorg/apache/axiom/om/OMNamespace;2(Lcom/sosnoski/infoq/ex1/Order;)Ljava/lang/String; addAttributeh(Ljava/lang/String;Ljava/lang/String;Lorg/apache/axiom/om/OMNamespace;)Lorg/apache/axiom/om/OMAttribute;setText(Ljava/lang/String;)Zorg/jibx/runtime/UtilityserializeBoolean(Z)Ljava/lang/String;getAllDeclaredNamespaces()Ljava/util/Iterator;hasNext()Z()Ljava/lang/Object; getPrefixgetNamespaceURIput8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;getCause()Ljava/lang/Throwable;*(Ljava/lang/String;Ljava/lang/Throwable;)Vjava/lang/ClassgetClassLoader()Ljava/lang/ClassLoader;!org/jibx/runtime/BindingDirectory getFactory_(Ljava/lang/String;Ljava/lang/String;Ljava/lang/ClassLoader;)Lorg/jibx/runtime/IBindingFactory;!t{|}~€‚ƒ„ …†‡/*·±ˆ‰ Š‹Œ‡ÞÒ*+¶N-À::+¶¶:Ç »Y·¿¶ Æœ¶ ¶ ¸ Y:Æ‹ ¶ ™!*+¶¹¹*+¶¶:§]¶ ™!*+¶¹¹*+¶¶:§5¶ ™!*+¶¹¹*+¶¶:§ »Y·¿,¶§ N-¸¿±ÈˈN '#@'J*h-r03š6¸9Â=ÈBË@ÌAÑC‰\ ÂŽ ¼‘¹’“°”•=‹–Ì—˜ÒŠ‹Ò™šÒ›šœ<ÿ'žžŸ ¡¢ü@£'' ÿžžB¤¥ ¦§‡˜:=+¾¢*+2¶ ™¬„§ÿë»Y»Y· ¶!*¶!"¶!¶#·$¿ˆ‚ƒ„‚‡‰ ¨©:ª:«ƒœ üú ¬­‡ W²%¹&:6²'¾¢C²'.62:²(2:,¶ ™ -¶ š+*¹)¹*W„§ÿº±ˆ& ‹ ŒŽ%-?‘PŒV”‰\ 2®©%+ª-#¯ I¨©W°±W²³W´Wµ M¶ƒœý ·þ1££øú ¸¹‡™:²%Ç»Y²+·¿²%¹,À-L».Y*¹/0·1M+,¶2+¶3W+°ˆ˜™›.ž3Ÿ8 ‰ :º³»¼. ½¾œ¥S¿À‡ÆP+À4N»5Y-²%·6:²%¹7-¹8¶96,²%¹:2;¹<:,²%¹=2¹>°ˆ¤¥¦%§:¨‰HPŠ‹PÁP°ÂKÃÄ>ÅÆ%+®©:ÇÈ ÉʇŠ*¸?N-+¶@°N»Y-¶A·¿ ˆ¯° ± ²‰4»¼ —˜º³ËÌÍΜK¤¥ÏЇ Æ:+¸?:¶BW:CD¶E™CD¶F:-¹G:-HCI¹J:-CI¸K¹¹L,¶M:  ǧT²%Ç»Y²+·¿»5Y ²NOCI²'²(²%·P: -C;¹): - O ¹Q:  ¹R§ :¸¿°¸»SˆZ¹» ¼¾ÀÁ)Ç1È?ÊIÌWÍ_Òg×mØxەܡݯ޸ä»â½ãÃ剄 •#ÅÆ ¡ÇÈ ¯ ѳ ¯Ò¼¦Ó?y²³_YÔÕ ½—ÖÆŠ‹Æ×³Æ‘ư±Ã’“œDÿ)ؠ١ڣý=ØÛÿ?ؠ١BÜ¥ÝЇ3 ç:+¸?:¶BW:CT¶E™'²N¶U»VY·W¹XÀV:CT¶Y-¹G:-ZC;¹J:C¹[W-C;¹)¹*W¹¹L,¶\: -DC;¹J:  Ç*-]^¹):   ¹*W _` ¹aW§  ¶b¹c ¹R§ :¸¿°ÙÜSˆfëí îðòó9÷BûJüXþbt‚Š˜  © ³ ÁÄÐÙÜÞä‰z ©ÞÈ ÐÒ¼ÇßÕX²³ŠOÔ ˜Aѳ Þ—Ö犋ç׳ç‘簱䒓œFÿBؠ١ÚÛþØ£Ø ÿ ؠ١ܥàЇ¿ ¢:+¸?:¶BW:CD¶E™CD¶F:-¹G:-dC;¹J:C¹[W-C;¹)¹*W¹¹L,¶e6 -OC;¹J:   ¸f¹c ¹R§ :¸¿°”—SˆN! "$&')-1.?0I2[4i5q:<‹>”B—@™AŸC‰p ‹Ò¼‚Ó?U²³q#Ôá ѳ ™—֢Ћ¢×³¢‘¢°±Ÿ’“œ9ÿ)ؠ١ڣÿmؠ١ܥâㇹ=»gY·hM+¹iN-¹j™&-¹kÀl:,¹m¹n¹oW§ÿ×,°ˆKLMN#O8P;Q‰4#äÈ=Š‹=å“5æÎ.çèœ ýéê+ë쇫'+¶pN-Æ»Y+¶A-·qM§»Y+¶A·M,°ˆVW XZ%]‰4íî'Š‹'—˜%íî"ïðœýñÿ òóñô†‡ì©KLrst¶u¸vKL§ M,¶AL*³%+³+w³NMN*Æq*¹&:¾6„ÿ›]2¶ š§ÿë66›„¼ M½xN,y¸zO-;S,C¸zO-IS›,O-^S,³'-³(±ˆ~NORTUV!W%Y*\,].^2a:b?cTdWgZh^icjfnkoqq{r€tŠuw”xšy }¤~¨‰\ —˜:fõƒ?aö©ZF÷©^Bø©¦°}¤ù,|ú.zûƒœCÿü£¤ÿ!ü£ý··ýÿ9ü£ý·þÿ././@LongLink0000000000000000000000000000016400000000000011566 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/bin/com/sosnoski/infoq/ex1/StoreServiceSkeleton.classlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/bin/com/sosnoski/infoq/ex1/StoreServic0000644000175000017500000000236511415065240033245 0ustar twernertwernerÊþº¾2; #$% #& ' ( )*+ , -./01()VCodeLineNumberTableLocalVariableTablethis-Lcom/sosnoski/infoq/ex1/StoreServiceSkeleton; retrieveOrder2(Ljava/lang/String;)Lcom/sosnoski/infoq/ex1/Order;idLjava/lang/String; placeOrder2(Lcom/sosnoski/infoq/ex1/Order;)Ljava/lang/String;orderLcom/sosnoski/infoq/ex1/Order; cancelOrder(Ljava/lang/String;)Z SourceFileStoreServiceSkeleton.java 'java/lang/UnsupportedOperationExceptionjava/lang/StringBuilderPlease implement 23 456 78#retrieveOrder 98 : #placeOrder #cancelOrder+com/sosnoski/infoq/ex1/StoreServiceSkeletonjava/lang/Objectappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;getClass()Ljava/lang/Class;java/lang/ClassgetName()Ljava/lang/String;toString(Ljava/lang/String;)V!/*·±  Z&»Y»Y·¶*¶¶¶ ¶¶ · ¿&&Z&»Y»Y·¶*¶¶¶ ¶¶ · ¿+&& Z&»Y»Y·¶*¶¶¶ ¶¶ · ¿;&&!"././@LongLink0000000000000000000000000000016000000000000011562 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/bin/com/sosnoski/infoq/ex1/StoreServiceImpl.classlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/bin/com/sosnoski/infoq/ex1/StoreServic0000644000175000017500000000327611415065240033247 0ustar twernertwernerÊþº¾2X - ./ 0 12 13 14 .5 67 89 : ; 1<=> -?@A orderListLjava/util/List;()VCodeLineNumberTableLocalVariableTablethis)Lcom/sosnoski/infoq/ex1/StoreServiceImpl; cancelOrder(Ljava/lang/String;)ZidLjava/lang/String;indexI StackMapTable placeOrder2(Lcom/sosnoski/infoq/ex1/Order;)Ljava/lang/String;orderLcom/sosnoski/infoq/ex1/Order; retrieveOrder2(Ljava/lang/String;)Lcom/sosnoski/infoq/ex1/Order; SourceFileStoreServiceImpl.java B CD E FG HI JK LM NO java/sql/DateP QR S TU VWcom/sosnoski/infoq/ex1/Orderjava/util/ArrayList'com/sosnoski/infoq/ex1/StoreServiceImpl+com/sosnoski/infoq/ex1/StoreServiceSkeleton#com/sosnoski/infoq/ex1/StoreServicejava/lang/IntegerparseInt(Ljava/lang/String;)Ijava/util/Listsize()Iset'(ILjava/lang/Object;)Ljava/lang/Object;add(Ljava/lang/Object;)ZtoString(I)Ljava/lang/String; setOrderId(Ljava/lang/String;)Vjava/lang/SystemcurrentTimeMillis()J(J)V setOrderDate(Ljava/sql/Date;)Vget(I)Ljava/lang/Object;! /*·±  €&+¸d=›²¹¢²¹W¬¬"$ && !"#ü$$%y+²+¹W²¹¸M+,¶+» Y¸ · ¶ ,° ) ++&' ()|&+¸d=›²¹¢²¹ À°° !"$$ && !"#ü$*# »Y·³± +,libjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/src/0000755000175000017500000000000011300355502024620 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/src/com/0000755000175000017500000000000011300355502025376 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/src/com/sosnoski/0000755000175000017500000000000011300355502027246 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/src/com/sosnoski/infoq/0000755000175000017500000000000011300355502030362 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/src/com/sosnoski/infoq/ex1/0000755000175000017500000000000011300355502031057 5ustar twernertwerner././@LongLink0000000000000000000000000000015700000000000011570 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/src/com/sosnoski/infoq/ex1/StoreServiceImpl.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/src/com/sosnoski/infoq/ex1/StoreServic0000644000175000017500000000200211147013326033250 0ustar twernertwernerpackage com.sosnoski.infoq.ex1; import java.util.ArrayList; import java.sql.Date; import java.util.List; /** * Simple service implementation for testing. */ public class StoreServiceImpl extends StoreServiceSkeleton implements StoreService { private static List orderList = new ArrayList(); public boolean cancelOrder(String id) { int index = Integer.parseInt(id)-1; if (index >= 0 && index < orderList.size()) { orderList.set(index, null); return true; } return false; } public String placeOrder(Order order) { orderList.add(order); String id = Integer.toString(orderList.size()); order.setOrderId(id); order.setOrderDate(new Date(System.currentTimeMillis())); return id; } public Order retrieveOrder(String id) { int index = Integer.parseInt(id)-1; if (index >= 0 && index < orderList.size()) { return (Order)orderList.get(index); } return null; } }libjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/server/lib/0000755000175000017500000000000011415065230024602 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/custom.xml0000644000175000017500000000114111147013326024560 0ustar twernertwerner libjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/build.xml0000644000175000017500000002445411156001720024354 0ustar twernertwerner libjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/log4j.properties0000644000175000017500000000056211147013326025667 0ustar twernertwerner# simple log4j configutation for axis # # direct log messages to stdout # log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.Target=System.out log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n # change logging level here. log4j.rootLogger=error, stdout libjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/0000755000175000017500000000000011415065230023663 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/bin/0000755000175000017500000000000011415065230024433 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/bin/com/0000755000175000017500000000000011415065230025211 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/bin/com/sosnoski/0000755000175000017500000000000011415065230027061 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/bin/com/sosnoski/infoq/0000755000175000017500000000000011415065230030175 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/bin/com/sosnoski/infoq/ex1/0000755000175000017500000000000011415065230030672 5ustar twernertwerner././@LongLink0000000000000000000000000000016700000000000011571 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/bin/com/sosnoski/infoq/ex1/JiBX_bindingOrder_access.classlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/bin/com/sosnoski/infoq/ex1/JiBX_binding0000644000175000017500000000414411415065230033106 0ustar twernertwernerÊþº¾-X SourceFile/com/sosnoski/infoq/ex1/JiBX_bindingOrder_accessjava/lang/Object Synthetic()V   this1Lcom/sosnoski/infoq/ex1/JiBX_bindingOrder_access;LocalVariableTableCode isPresent+(Lorg/jibx/runtime/IUnmarshallingContext;)Zarg1(Lorg/jibx/runtime/IUnmarshallingContext;org/jibx/runtime/JiBXException ExceptionsXAbstract mapping requires instance to be supplied for class com.sosnoski.infoq.ex1.Order(Ljava/lang/String;)V  com/sosnoski/infoq/ex1/Order*org/jibx/runtime/impl/UnmarshallingContextJiBX_binding_unmarshalAttr_1_0j(Lcom/sosnoski/infoq/ex1/Order;Lorg/jibx/runtime/impl/UnmarshallingContext;)Lcom/sosnoski/infoq/ex1/Order; ! "next()I $% &JiBX_binding_unmarshal_1_0 (! ) unmarshalN(Ljava/lang/Object;Lorg/jibx/runtime/IUnmarshallingContext;)Ljava/lang/Object;Ljava/lang/Object;arg2*com.sosnoski.infoq.ex1.JiBX_bindingFactory/$org/jibx/runtime/IMarshallingContext1pushNamespaces 3 24(org/jibx/runtime/impl/MarshallingContext6JiBX_binding_marshalAttr_1_0K(Lcom/sosnoski/infoq/ex1/Order;Lorg/jibx/runtime/impl/MarshallingContext;)V 89 :closeStartContent,()Lorg/jibx/runtime/impl/MarshallingContext; <= 7>JiBX_binding_marshal_1_0 @9 A popNamespaces C 2Dmarshal;(Ljava/lang/Object;Lorg/jibx/runtime/IMarshallingContext;)V&Lorg/jibx/runtime/IMarshallingContext;){http://ws.sosnoski.com/order/data}:orderIequals(Ljava/lang/Object;)Z KLjava/lang/StringN OM isExtension(Ljava/lang/String;)ZLjava/lang/String;org/jibx/runtime/IUnmarshallerTorg/jibx/runtime/IMarshallerVUW #*· ±  *¬ +,[)+Ç »Y·¿+À,À¸#,À¶'W,À¸*° ) )-).FG\*,0¹5+ÀY,À7¸;,À7¶?W,À7¸B,¹E± * *-*.HQR5 +J¶P𬬠S././@LongLink0000000000000000000000000000014600000000000011566 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/bin/com/sosnoski/infoq/ex1/Address.classlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/bin/com/sosnoski/infoq/ex1/Address.clas0000644000175000017500000000546711415065230033137 0ustar twernertwernerÊþº¾2m    ! " #$%street1Ljava/lang/String;street2citystatezip()VCode getStreet1()Ljava/lang/String; setStreet1(Ljava/lang/String;)V getStreet2 setStreet2getCitysetCitygetStatesetStategetZipsetZip   com/sosnoski/infoq/ex1/Addressjava/lang/Object JiBX_binding_newinstance_1_0n(Lcom/sosnoski/infoq/ex1/Address;Lorg/jibx/runtime/impl/UnmarshallingContext;)Lcom/sosnoski/infoq/ex1/Address;arg1 Lcom/sosnoski/infoq/ex1/Address;arg2,Lorg/jibx/runtime/impl/UnmarshallingContext;LocalVariableTableorg/jibx/runtime/JiBXException. ExceptionspushTrackedObject(Ljava/lang/Object;)V 12*org/jibx/runtime/impl/UnmarshallingContext4 53  attributeText8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; 89 5: popObject = 5>JiBX_binding_unmarshalAttr_1_0 pushObject A2 5B!http://ws.sosnoski.com/order/dataD parseElementText G9 5H  J(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; GL 5MJiBX_binding_unmarshal_1_0(org/jibx/runtime/impl/MarshallingContextP QB attributeQ(ILjava/lang/String;Ljava/lang/String;)Lorg/jibx/runtime/impl/MarshallingContext; ST QU Q>JiBX_binding_marshalAttr_1_0M(Lcom/sosnoski/infoq/ex1/Address;Lorg/jibx/runtime/impl/MarshallingContext;)V*Lorg/jibx/runtime/impl/MarshallingContext;element [T Q\JiBX_binding_marshal_1_0 hasAttribute'(Ljava/lang/String;Ljava/lang/String;)Z _` 5aJiBX_binding_attrTest_1_0/(Lorg/jibx/runtime/impl/UnmarshallingContext;)ZisAt e` 5fJiBX_binding_test_1_0JiBX_bindingList,|com.sosnoski.infoq.ex1.JiBX_bindingFactory|j ConstantValue!     i lk*·±*´°*+µ±*´°*+µ±*´°*+µ±*´°*+µ±*´°*+µ± '(6*Ç »Y·&K*°-)*+,0/ @(J"+*¶6**+7¶;µ*+<¶;µ+¶?*°-")*"+,0/ O(Y1+*¶C**+EF¶Iµ*+EJ¶Iµ*+EK¶Nµ+¶?*°-1)*1+,0/ XYG+*¶R+7*´¶V<*´¶V+¶W±-)*+Z0/ ^YX0+*¶R+F*´¶]J*´¶]*´Æ K*´¶]+¶W±-0)*0+Z0/ cd8*7¶bš*<¶bš§¬- ),0/ hdE'*EF¶gš*EJ¶gš*EK¶gš§¬- '),0/././@LongLink0000000000000000000000000000016700000000000011571 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/bin/com/sosnoski/infoq/ex1/JiBX_bindingMungeAdapter.classlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/bin/com/sosnoski/infoq/ex1/JiBX_binding0000644000175000017500000000470411415065230033110 0ustar twernertwernerÊþº¾-t SourceFile/com/sosnoski/infoq/ex1/JiBX_bindingMungeAdapterjava/lang/Object Synthetic()V   this1Lcom/sosnoski/infoq/ex1/JiBX_bindingMungeAdapter;LocalVariableTableCodejava/util/ArrayList  java/util/ListJiBX_binding_newinstance_1_0N(Ljava/util/List;Lorg/jibx/runtime/impl/UnmarshallingContext;)Ljava/util/List;arg1Ljava/util/List;arg2,Lorg/jibx/runtime/impl/UnmarshallingContext;org/jibx/runtime/JiBXException ExceptionspushTrackedObject(Ljava/lang/Object;)V *org/jibx/runtime/impl/UnmarshallingContext! " !http://ws.sosnoski.com/order/data$item&&org/jibx/runtime/IUnmarshallingContext(isAt'(Ljava/lang/String;Ljava/lang/String;)Z *+ ),parseToStartTag'(Ljava/lang/String;Ljava/lang/String;)V ./ "0h(Lcom/sosnoski/infoq/ex1/Item;Lorg/jibx/runtime/impl/UnmarshallingContext;)Lcom/sosnoski/infoq/ex1/Item; 2com/sosnoski/infoq/ex1/Item4 53JiBX_binding_unmarshalAttr_1_0 72 58parsePastStartTag :/ ";parsePastCurrentEndTag =/ ">add(Ljava/lang/Object;)Z @A B popObject D "EJiBX_binding_unmarshal_1_0 pushObject H(org/jibx/runtime/impl/MarshallingContextJ KIiterator()Ljava/util/Iterator; MN Ojava/util/IteratorQhasNext()Z ST RUnext()Ljava/lang/Object; WX RYjava/lang/String[ns1^startTagNamespacesT(ILjava/lang/String;[I[Ljava/lang/String;)Lorg/jibx/runtime/impl/MarshallingContext; `a KbJiBX_binding_marshalAttr_1_0J(Lcom/sosnoski/infoq/ex1/Item;Lorg/jibx/runtime/impl/MarshallingContext;)V de 5fcloseStartEmpty,()Lorg/jibx/runtime/impl/MarshallingContext; hi Kj KEJiBX_binding_marshal_1_0=(Ljava/util/List;Lorg/jibx/runtime/impl/MarshallingContext;)V*Lorg/jibx/runtime/impl/MarshallingContext;var0Ljava/util/Iterator;JiBX_binding_test_1_0/(Lorg/jibx/runtime/impl/UnmarshallingContext;)Z #*· ±   9*Ç»Y·ÀK*° GqI+*¶#*+%'¹-™2+%'¶1+¸6+¸9+%'¶<+%'¶?À*_¹CW§ÿÆ+¶F*°II mn„ R+*¶L+*¹PM,¹V™9,¹ZÀ5+'¼ YOYO½\Y]SY_S¶cW+¸g+¶kW§ÿÃ+¶l± RRoFpq rs) *%'¹-¬  libjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/bin/com/sosnoski/infoq/ex1/Order.class0000644000175000017500000001167311415065230033004 0ustar twernertwernerÊþº¾2Ï 3 4 5 6 7 8 9 : ;<=orderIdLjava/lang/String; customerId customerNamebillTo Lcom/sosnoski/infoq/ex1/Address;shipToitemsLjava/util/List; orderDateLjava/sql/Date;shipDate()VCode getOrderId()Ljava/lang/String; setOrderId(Ljava/lang/String;)V getCustomerId setCustomerIdgetCustomerNamesetCustomerName getBillTo"()Lcom/sosnoski/infoq/ex1/Address; setBillTo#(Lcom/sosnoski/infoq/ex1/Address;)V getShipTo setShipTogetItems()Ljava/util/List;setItems(Ljava/util/List;)V getOrderDate()Ljava/sql/Date; setOrderDate(Ljava/sql/Date;)V getShipDate setShipDate        com/sosnoski/infoq/ex1/Orderjava/lang/ObjectpushTrackedObject(Ljava/lang/Object;)V >?*org/jibx/runtime/impl/UnmarshallingContextA B@ attributeText8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; EF BGJ(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; EJ BKdeserializeSqlDate#(Ljava/lang/String;)Ljava/sql/Date; MNorg/jibx/runtime/UtilityP QO popObject T BUJiBX_binding_unmarshalAttr_1_0j(Lcom/sosnoski/infoq/ex1/Order;Lorg/jibx/runtime/impl/UnmarshallingContext;)Lcom/sosnoski/infoq/ex1/Order;arg1Lcom/sosnoski/infoq/ex1/Order;arg2,Lorg/jibx/runtime/impl/UnmarshallingContext;LocalVariableTableorg/jibx/runtime/JiBXException^ Exceptions pushObject a? Bb!http://ws.sosnoski.com/order/datadparseElementText gF BhparseToStartTag'(Ljava/lang/String;Ljava/lang/String;)V kl BmJiBX_binding_newinstance_1_0n(Lcom/sosnoski/infoq/ex1/Address;Lorg/jibx/runtime/impl/UnmarshallingContext;)Lcom/sosnoski/infoq/ex1/Address; opcom/sosnoski/infoq/ex1/Addressr sq Wp suparsePastStartTag wl BxJiBX_binding_unmarshal_1_0 zp s{parsePastCurrentEndTag }l B~N(Ljava/util/List;Lorg/jibx/runtime/impl/UnmarshallingContext;)Ljava/util/List; o€/com/sosnoski/infoq/ex1/JiBX_bindingMungeAdapter‚ ƒ z€ ƒ… gJ Bˆ&org/jibx/runtime/IUnmarshallingContext‹isAt'(Ljava/lang/String;Ljava/lang/String;)Z Ž Œ(org/jibx/runtime/impl/MarshallingContext‘ ’b attributeQ(ILjava/lang/String;Ljava/lang/String;)Lorg/jibx/runtime/impl/MarshallingContext; ”• ’–serializeSqlDate#(Ljava/sql/Date;)Ljava/lang/String; ˜™ Qš ’UJiBX_binding_marshalAttr_1_0K(Lcom/sosnoski/infoq/ex1/Order;Lorg/jibx/runtime/impl/MarshallingContext;)V*Lorg/jibx/runtime/impl/MarshallingContext;element  • ’¡java/lang/String£¥ns1§startTagNamespacesT(ILjava/lang/String;[I[Ljava/lang/String;)Lorg/jibx/runtime/impl/MarshallingContext; ©ª ’«M(Lcom/sosnoski/infoq/ex1/Address;Lorg/jibx/runtime/impl/MarshallingContext;)V ­ s®closeStartContent,()Lorg/jibx/runtime/impl/MarshallingContext; °± ’²JiBX_binding_marshal_1_0 ´­ sµendTag?(ILjava/lang/String;)Lorg/jibx/runtime/impl/MarshallingContext; ·¸ ’¹=(Ljava/util/List;Lorg/jibx/runtime/impl/MarshallingContext;)V ´» ƒ¼startTagAttributes ¾¸ ’¿ 3 hasAttribute ÂŽ BÃJiBX_binding_attrTest_1_0/(Lorg/jibx/runtime/impl/UnmarshallingContext;)Z BJiBX_binding_test_1_0 ÈÆ ƒÉJiBX_bindingList,|com.sosnoski.infoq.ex1.JiBX_bindingFactory|Ì ConstantValue!    Ë ÎÍ*·±*´°*+µ±*´° *+µ±!*´°"*+µ±#$*´°%&*+µ±'$*´°(&*+µ±)**´°+,*+µ±-.*´°/0*+µ±1.*´ °20*+µ ± WXoG+*¶C**+D¶Hµ*+I¶LYÇW§¸Rµ*+S¶LYÇW§¸Rµ +¶V*°]GYZG[\`_ zXÞ¶+*¶c**+ef¶iµ+ej¶n**´+¸t+¸vµ+ej¶y**´+¸|µ+ej¶**´+¸„+¸†µ*+e‡¶‰µ+eй™:+eжn**´+¸t+¸vµ+eжy**´+¸|µ+eж§ *Àsµ+¶V*°]¶YZ¶[\`_ že=+*¶“+D*´¶—*´ÆI*´¸›¶—*´ ÆS*´ ¸›¶—+¶œ±]=YZ=[Ÿ`_ ´ž¹ ‘+*¶“+f*´¶¢+j¼ YOYO½¤Y¦SY¨S¶¬*´+¸¯¶³*´+¸¶j¶ºW*´+¸½*´Æ ‡*´¶¢*´Æ%*´Y+жÀW+¸¯+¶³W+¸¶+жºW+¶œ±]‘YZ‘[Ÿ`_ oX6*Ç » Y·ÁK*°]YZ[\`_ ÅÆB$*D¶Äš*I¶Äš*S¶Äš§¬] $Y\`_ ÈÆ[=*ef¶Çš3*ej¹š&*¸Êš*e‡¶Çš*eйš§¬] =Y\`_././@LongLink0000000000000000000000000000017100000000000011564 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/bin/com/sosnoski/infoq/ex1/JiBX_bindingAddress_access.classlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/bin/com/sosnoski/infoq/ex1/JiBX_binding0000644000175000017500000000416411415065230033110 0ustar twernertwernerÊþº¾-X SourceFile1com/sosnoski/infoq/ex1/JiBX_bindingAddress_accessjava/lang/Object Synthetic()V   this3Lcom/sosnoski/infoq/ex1/JiBX_bindingAddress_access;LocalVariableTableCode isPresent+(Lorg/jibx/runtime/IUnmarshallingContext;)Zarg1(Lorg/jibx/runtime/IUnmarshallingContext;org/jibx/runtime/JiBXException ExceptionsZAbstract mapping requires instance to be supplied for class com.sosnoski.infoq.ex1.Address(Ljava/lang/String;)V  com/sosnoski/infoq/ex1/Address*org/jibx/runtime/impl/UnmarshallingContextJiBX_binding_unmarshalAttr_1_0n(Lcom/sosnoski/infoq/ex1/Address;Lorg/jibx/runtime/impl/UnmarshallingContext;)Lcom/sosnoski/infoq/ex1/Address; ! "next()I $% &JiBX_binding_unmarshal_1_0 (! ) unmarshalN(Ljava/lang/Object;Lorg/jibx/runtime/IUnmarshallingContext;)Ljava/lang/Object;Ljava/lang/Object;arg2*com.sosnoski.infoq.ex1.JiBX_bindingFactory/$org/jibx/runtime/IMarshallingContext1pushNamespaces 3 24(org/jibx/runtime/impl/MarshallingContext6JiBX_binding_marshalAttr_1_0M(Lcom/sosnoski/infoq/ex1/Address;Lorg/jibx/runtime/impl/MarshallingContext;)V 89 :closeStartContent,()Lorg/jibx/runtime/impl/MarshallingContext; <= 7>JiBX_binding_marshal_1_0 @9 A popNamespaces C 2Dmarshal;(Ljava/lang/Object;Lorg/jibx/runtime/IMarshallingContext;)V&Lorg/jibx/runtime/IMarshallingContext;+{http://ws.sosnoski.com/order/data}:addressIequals(Ljava/lang/Object;)Z KLjava/lang/StringN OM isExtension(Ljava/lang/String;)ZLjava/lang/String;org/jibx/runtime/IUnmarshallerTorg/jibx/runtime/IMarshallerVUW #*· ±  *¬ +,[)+Ç »Y·¿+À,À¸#,À¶'W,À¸*° ) )-).FG\*,0¹5+ÀY,À7¸;,À7¶?W,À7¸B,¹E± * *-*.HQR5 +J¶P𬬠S././@LongLink0000000000000000000000000000015300000000000011564 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/bin/com/sosnoski/infoq/ex1/StoreService.classlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/bin/com/sosnoski/infoq/ex1/StoreService0000644000175000017500000000043411415065230033233 0ustar twernertwernerÊþº¾2    placeOrder2(Lcom/sosnoski/infoq/ex1/Order;)Ljava/lang/String; retrieveOrder2(Ljava/lang/String;)Lcom/sosnoski/infoq/ex1/Order; cancelOrder(Ljava/lang/String;)Z#com/sosnoski/infoq/ex1/StoreServicejava/lang/Objectlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/bin/com/sosnoski/infoq/ex1/Item.class0000644000175000017500000000375711415065230032633 0ustar twernertwernerÊþº¾2]     !idLjava/lang/String;quantityIpriceF()VCodegetId()Ljava/lang/String;setId(Ljava/lang/String;)V getQuantity()I setQuantity(I)VgetPrice()FsetPrice(F)V   com/sosnoski/infoq/ex1/Itemjava/lang/Object JiBX_binding_newinstance_1_0h(Lcom/sosnoski/infoq/ex1/Item;Lorg/jibx/runtime/impl/UnmarshallingContext;)Lcom/sosnoski/infoq/ex1/Item;arg1Lcom/sosnoski/infoq/ex1/Item;arg2,Lorg/jibx/runtime/impl/UnmarshallingContext;LocalVariableTableorg/jibx/runtime/JiBXException* ExceptionspushTrackedObject(Ljava/lang/Object;)V -.*org/jibx/runtime/impl/UnmarshallingContext0 1/ attributeText8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; 45 16  attributeInt'(Ljava/lang/String;Ljava/lang/String;)I 9: 1; attributeFloat'(Ljava/lang/String;Ljava/lang/String;)F >? 1@ popObject B 1CJiBX_binding_unmarshalAttr_1_0 pushObject F.(org/jibx/runtime/impl/MarshallingContextH IG attributeQ(ILjava/lang/String;Ljava/lang/String;)Lorg/jibx/runtime/impl/MarshallingContext; KL IM serializeInt(I)Ljava/lang/String; OPorg/jibx/runtime/UtilityR SQserializeFloat(F)Ljava/lang/String; UV SW ICJiBX_binding_marshalAttr_1_0J(Lcom/sosnoski/infoq/ex1/Item;Lorg/jibx/runtime/impl/MarshallingContext;)V*Lorg/jibx/runtime/impl/MarshallingContext;!   *·±*´°*+µ±*´¬*µ±*´®*#µ± #$6*Ç »Y·"K*°)%&'(,+ E$U-+*¶2**+3¶7µ*+8¶<µ*+=¶Aµ+¶D*°)-%&-'(,+ Z[W/+*¶J+3*´¶N8*´¸T¶N=*´¸X¶N+¶Y±)/%&/'\,+././@LongLink0000000000000000000000000000016200000000000011564 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/bin/com/sosnoski/infoq/ex1/JiBX_bindingFactory.classlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/bin/com/sosnoski/infoq/ex1/JiBX_binding0000644000175000017500000000513711415065230033111 0ustar twernertwernerÊþº¾-R SourceFile*com/sosnoski/infoq/ex1/JiBX_bindingFactory(org/jibx/runtime/impl/BindingFactoryBase Syntheticm_inst"Lorg/jibx/runtime/IBindingFactory; getClassList()Ljava/lang/String;Codebinding C{http://ws.sosnoski.com/order/data}:order|..com/order/data}:addressNcom.sosnoski.infoq.ex1.JiBX_bindingOrder_access|....JiBX_bindingAddress_accessjava/lang/String$http://www.w3.org/XML/1998/namespace)http://www.w3.org/2001/XMLSchema-instance!http://ws.sosnoski.com/order/data!http://ws.sosnoski.com/order/wsdlxml xsi"ns1$|&(a{http://ws.sosnoski.com/order/data}:order|com.sosnoski.infoq.ex1.Order|....Order.JiBX_binding_newinstance_1_0|||.....JiBX_binding_attrTest_1_0|.....JiBX_binding_unmarshalAttr_1_0|.....JiBX_binding_marshalAttr_1_0|.....JiBX_binding_test_1_0|.....JiBX_binding_unmarshal_1_0|.....JiBX_binding_marshal_1_0|{http://ws.sosnoski.com/order/data}:address|com.sosnoski.infoq.ex1.Address|....Address.JiBX_binding_newinstance_1_0|||.....JiBX_binding_attrTest_1_0|.....JiBX_binding_unmarshalAttr_1_0|.....JiBX_binding_marshalAttr_1_0|.....JiBX_binding_test_1_0|.....JiBX_binding_unmarshal_1_0|.....JiBX_binding_marshal_1_0*,)(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V ./ 0()Vthis,Lcom/sosnoski/infoq/ex1/JiBX_bindingFactory;LocalVariableTablegetCompilerVersion()Ijibx_1_2_3_SNAPSHOT9getCompilerDistribution){http://ws.sosnoski.com/order/data}:order<equals(Ljava/lang/Object;)Z >? @+{http://ws.sosnoski.com/order/data}:addressB getTypeIndex(Ljava/lang/String;)Iarg1Ljava/lang/String;  H .2 J getInstance$()Lorg/jibx/runtime/IBindingFactory; org/jibx/runtime/IBindingFactoryN¢com.sosnoski.infoq.ex1.Address|....Item|....JiBX_bindingAddress_access|....JiBX_bindingFactory|....JiBX_bindingMungeAdapter|....JiBX_bindingOrder_access|....OrderPO  .2 |^*¸½YSYSYSYSYS½YSY!SY#SYSY%S')+-½·1±5 ^3478 !6¬5 34;  !:°5 34DE @+=¶A™¬+C¶A™¬¬534FG LM ²IÇ »Y·K³I²I°  Q°libjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/src/0000755000175000017500000000000011300355502024447 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/src/com/0000755000175000017500000000000011300355502025225 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/src/com/sosnoski/0000755000175000017500000000000011300355502027075 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/src/com/sosnoski/infoq/0000755000175000017500000000000011300355502030211 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/src/com/sosnoski/infoq/ex1/0000755000175000017500000000000011300355502030706 5ustar twernertwerner././@LongLink0000000000000000000000000000014500000000000011565 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/src/com/sosnoski/infoq/ex1/Address.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/src/com/sosnoski/infoq/ex1/Address.java0000644000175000017500000000247211147013326033147 0ustar twernertwernerpackage com.sosnoski.infoq.ex1; public class Address { private String street1; private String street2; private String city; private String state; private String zip; /** * @return the street1 */ public String getStreet1() { return street1; } /** * @param street1 the street1 to set */ public void setStreet1(String street1) { this.street1 = street1; } /** * @return the street2 */ public String getStreet2() { return street2; } /** * @param street2 the street2 to set */ public void setStreet2(String street2) { this.street2 = street2; } /** * @return the city */ public String getCity() { return city; } /** * @param city the city to set */ public void setCity(String city) { this.city = city; } /** * @return the state */ public String getState() { return state; } /** * @param state the state to set */ public void setState(String state) { this.state = state; } /** * @return the zip */ public String getZip() { return zip; } /** * @param zip the zip to set */ public void setZip(String zip) { this.zip = zip; } } libjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/src/com/sosnoski/infoq/ex1/Item.java0000644000175000017500000000144511147013326032457 0ustar twernertwernerpackage com.sosnoski.infoq.ex1; public class Item { private String id; private int quantity; private float price; /** * @return the id */ public String getId() { return id; } /** * @param id the id to set */ public void setId(String id) { this.id = id; } /** * @return the quantity */ public int getQuantity() { return quantity; } /** * @param quantity the quantity to set */ public void setQuantity(int quantity) { this.quantity = quantity; } /** * @return the price */ public float getPrice() { return price; } /** * @param price the price to set */ public void setPrice(float price) { this.price = price; } } ././@LongLink0000000000000000000000000000015200000000000011563 Lustar rootrootlibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/src/com/sosnoski/infoq/ex1/StoreService.javalibjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/src/com/sosnoski/infoq/ex1/StoreService0000644000175000017500000000131111147013326033246 0ustar twernertwernerpackage com.sosnoski.infoq.ex1; /** * Interface for placing orders and checking status. */ public interface StoreService { /** * Submit a new order. * * @param order * @return id */ public String placeOrder(Order order); /** * Retrieve order information. * * @param id order identifier * @return order information */ public Order retrieveOrder(String id); /** * Cancel order. This can only be used for orders which have not been shipped. * * @param id order identifier * @return true if order cancelled, false if alread shipped */ public boolean cancelOrder(String id); } libjibx1.2-java-1.2.3/examples/jibx2wsdl/infoq-example/start/src/com/sosnoski/infoq/ex1/Order.java0000644000175000017500000000563111147013326032635 0ustar twernertwernerpackage com.sosnoski.infoq.ex1; import java.sql.Date; import java.util.List; /** * Order information. */ public class Order { /** Unique identifier for this order. This is added to the order information by the service. */ private String orderId; /** Customer identifier code. */ private String customerId; /** Customer name. */ private String customerName; /** Billing address information. */ private Address billTo; /** Shipping address information. If missing, the billing address is also used as the shipping address. */ private Address shipTo; /** Line items in order. */ private List items; /** Date order was placed with server. This is added to the order information by the service. */ private Date orderDate; /** Date order was shipped. This is added to the order information by the service. */ private Date shipDate; /** * @return the orderId */ public String getOrderId() { return orderId; } /** * @param orderId the orderId to set */ public void setOrderId(String orderId) { this.orderId = orderId; } /** * @return the customerId */ public String getCustomerId() { return customerId; } /** * @param customerId the customerId to set */ public void setCustomerId(String customerId) { this.customerId = customerId; } /** * @return the customerName */ public String getCustomerName() { return customerName; } /** * @param customerName the customerName to set */ public void setCustomerName(String customerName) { this.customerName = customerName; } /** * @return the billTo */ public Address getBillTo() { return billTo; } /** * @param billTo the billTo to set */ public void setBillTo(Address billTo) { this.billTo = billTo; } /** * @return the shipTo */ public Address getShipTo() { return shipTo; } /** * @param shipTo the shipTo to set */ public void setShipTo(Address shipTo) { this.shipTo = shipTo; } /** * @return the items */ public List getItems() { return items; } /** * @param items the items to set */ public void setItems(List items) { this.items = items; } /** * @return the orderDate */ public Date getOrderDate() { return orderDate; } /** * @param orderDate the orderDate to set */ public void setOrderDate(Date orderDate) { this.orderDate = orderDate; } /** * @return the shipDate */ public Date getShipDate() { return shipDate; } /** * @param shipDate the shipDate to set */ public void setShipDate(Date shipDate) { this.shipDate = shipDate; } }libjibx1.2-java-1.2.3/examples/jibx2wsdl/build.properties0000644000175000017500000000023711526055274023212 0ustar twernertwerneraxis-home=PATH_TO_AXIS2_INSTALLATION # set jibx-home directory relative to the example directories (the child # directories, not this one) jibx-home=../../.. libjibx1.2-java-1.2.3/examples/starter/0000755000175000017500000000000011526304206017537 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/starter/build-binding.xml0000644000175000017500000000606611147013326022777 0ustar twernertwerner JiBX home directory not found - define JIBX_HOME system property or set path directly in build.xml file. Required JiBX runtime jar jibx-run.jar was not found in JiBX home lib directory (${jibx-home}/lib) Required JiBX binding jar jibx-bind.jar or bcel.jar was not found in JiBX home lib directory (${jibx-home}/lib) libjibx1.2-java-1.2.3/examples/starter/index.html0000644000175000017500000001100711147013326021532 0ustar twernertwerner JiBX Starter Code

Starter Code

This directory contains a sample "starter" JiBX project, based on the first example from the binding tutorial. This starter project uses an Ant build.xml with several targets: build to clean and build the code, roundtrip to run a roundtrip test of the binding (unmarshal a document, marshal the object back out, and compare the documents) using code from jibx-extras.jar, and run to just unmarshal a document and then marshal it out to a separate file, using the test code provided as part of the project. The build.xml automatically finds the JiBX libraries when run in place, or looks for a JIBX_HOME environmental variable definition if run elsewhere. There's also a build-binding.xml Ant buld file with a single target, useful when developing in an IDE.

Disclaimer

This code gives a sample of working with JiBX data binding. It may be reused and redistributed without restriction, but is supplied subject to the following disclaimer. If you do not accept the terms of the disclaimer, do not use this code.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


libjibx1.2-java-1.2.3/examples/starter/data.xml0000644000175000017500000000042211147013326021167 0ustar twernertwerner 123456789 John Smith 12345 Happy Lane Plunk WA 98059 888.555.1234 libjibx1.2-java-1.2.3/examples/starter/src/0000755000175000017500000000000011300355502020321 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/starter/src/org/0000755000175000017500000000000011300355502021110 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/starter/src/org/jibx/0000755000175000017500000000000011300355502022044 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/starter/src/org/jibx/starter/0000755000175000017500000000000011300355502023530 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/starter/src/org/jibx/starter/Person.java0000644000175000017500000000021411147013326025642 0ustar twernertwerner package org.jibx.starter; public class Person { public int customerNumber; public String firstName; public String lastName; } libjibx1.2-java-1.2.3/examples/starter/src/org/jibx/starter/Customer.java0000644000175000017500000000031411147013326026176 0ustar twernertwerner package org.jibx.starter; public class Customer { public Person person; public String street; public String city; public String state; public Integer zip; public String phone; } libjibx1.2-java-1.2.3/examples/starter/src/org/jibx/starter/Test.java0000644000175000017500000000347211147013326025324 0ustar twernertwerner package org.jibx.starter; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import org.jibx.runtime.BindingDirectory; import org.jibx.runtime.IBindingFactory; import org.jibx.runtime.IMarshallingContext; import org.jibx.runtime.IUnmarshallingContext; import org.jibx.runtime.JiBXException; public class Test { /** * Unmarshal the sample document from a file, then marshal it back out to * another file. */ public static void main(String[] args) { if (args.length < 2) { System.out.println("Usage: java -cp ... " + "org.jibx.starter.Test in-file out-file"); System.exit(0); } try { // note that you can use multiple bindings with the same class, in // which case you need to use the getFactory() call that takes the // binding name as the first parameter IBindingFactory bfact = BindingDirectory.getFactory(Customer.class); // unmarshal customer information from file IUnmarshallingContext uctx = bfact.createUnmarshallingContext(); FileInputStream in = new FileInputStream(args[0]); Customer customer = (Customer)uctx.unmarshalDocument(in, null); // you can add code here to alter the unmarshalled customer // marshal object back out to file (with nice indentation, as UTF-8) IMarshallingContext mctx = bfact.createMarshallingContext(); mctx.setIndent(2); FileOutputStream out = new FileOutputStream(args[1]); mctx.marshalDocument(customer, "UTF-8", null, out); } catch (FileNotFoundException e) { e.printStackTrace(); System.exit(1); } catch (JiBXException e) { e.printStackTrace(); System.exit(1); } } }libjibx1.2-java-1.2.3/examples/starter/binding.xml0000644000175000017500000000077411147013326021702 0ustar twernertwerner libjibx1.2-java-1.2.3/examples/starter/build.xml0000644000175000017500000001237011147013326021362 0ustar twernertwerner JiBX home directory not found - define JIBX_HOME system property or set path directly in build.xml file. Required JiBX runtime jar jibx-run.jar was not found in JiBX home lib directory (${jibx-home}/lib) Required JiBX extras jar jibx-extras.jar was not found in JiBX home lib directory (${jibx-home}/lib) Required JiBX binding jar jibx-bind.jar or bcel.jar was not found in JiBX home lib directory (${jibx-home}/lib) libjibx1.2-java-1.2.3/examples/bindgen/0000755000175000017500000000000011526304216017462 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/bindgen/custom1.xml0000644000175000017500000000072411147013326021600 0ustar twernertwerner libjibx1.2-java-1.2.3/examples/bindgen/src/0000755000175000017500000000000011300355476020255 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/bindgen/src/org/0000755000175000017500000000000011300355476021044 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/bindgen/src/org/jibx/0000755000175000017500000000000011300355476022000 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/bindgen/src/org/jibx/starter1/0000755000175000017500000000000011300355476023545 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/bindgen/src/org/jibx/starter1/Address.java0000644000175000017500000000271111147013326025770 0ustar twernertwernerpackage org.jibx.starter1; /** * Address information. */ public class Address { /** First line of street information (required). */ private String street1; /** Second line of street information (optional). */ private String street2; private String city; /** State abbreviation (required for the U.S. and Canada, optional otherwise). */ private String state; /** Postal code (required for the U.S. and Canada, optional otherwise). */ private String postCode; /** Country name (optional, U.S. assumed if not supplied). */ private String country; public String getStreet1() { return street1; } public void setStreet1(String street1) { this.street1 = street1; } public String getStreet2() { return street2; } public void setStreet2(String street2) { this.street2 = street2; } public String getCity() { return city; } public void setCity(String city) { this.city = city; } public String getState() { return state; } public void setState(String state) { this.state = state; } public String getPostCode() { return postCode; } public void setPostCode(String postCode) { this.postCode = postCode; } public String getCountry() { return country; } public void setCountry(String country) { this.country = country; } }libjibx1.2-java-1.2.3/examples/bindgen/src/org/jibx/starter1/Item.java0000644000175000017500000000200611147013326025276 0ustar twernertwernerpackage org.jibx.starter1; /** * Order line item information. */ public class Item { /** Stock identifier. This is expected to be 12 characters in length, with two leading alpha characters followed by ten decimal digits. */ private String id; /** Text description of item. */ private String description; /** Number of units ordered. */ private int quantity; /** Price per unit. */ private float price; public String getId() { return id; } public void setId(String id) { this.id = id; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public int getQuantity() { return quantity; } public void setQuantity(int quantity) { this.quantity = quantity; } public float getPrice() { return price; } public void setPrice(float price) { this.price = price; } }libjibx1.2-java-1.2.3/examples/bindgen/src/org/jibx/starter1/Customer.java0000644000175000017500000000215711147013326026210 0ustar twernertwerner package org.jibx.starter1; import java.util.List; /** * Customer information. */ public class Customer { private long customerNumber; /** Personal name. */ private String firstName; /** Family name. */ private String lastName; /** Middle name(s), if any. */ private List middleNames; private transient String a; private static String b; private final String c = "C"; public long getCustomerNumber() { return customerNumber; } public void setCustomerNumber(long customerId) { this.customerNumber = customerId; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String getLastName() { return lastName; } public void setLastName(String lastName) { this.lastName = lastName; } public List getMiddleNames() { return middleNames; } public void setMiddleNames(List middleNames) { this.middleNames = middleNames; } }libjibx1.2-java-1.2.3/examples/bindgen/src/org/jibx/starter1/Shipping.java0000644000175000017500000000053511147013326026166 0ustar twernertwernerpackage org.jibx.starter1; /** * Supported shipment methods. The "INTERNATIONAL" shipment methods can only be used for * orders with shipping addresses outside the U.S., and one of these methods is required * in this case. */ public enum Shipping { STANDARD_MAIL, PRIORITY_MAIL, INTERNATIONAL_MAIL, DOMESTIC_EXPRESS, INTERNATIONAL_EXPRESS }libjibx1.2-java-1.2.3/examples/bindgen/src/org/jibx/starter1/Order.java0000644000175000017500000000403711147013326025461 0ustar twernertwernerpackage org.jibx.starter1; import java.sql.Date; import java.util.List; /** * Order information. */ public class Order { private long orderNumber; private Customer customer; /** Billing address information. */ private Address billTo; private Shipping shipping; /** Shipping address information. If missing, the billing address is also used as the shipping address. */ private Address shipTo; private List items; /** Date order was placed with server. */ private Date orderDate; /** Date order was shipped. This will be null if the order has not yet shipped. */ private Date shipDate; private Float total; public long getOrderNumber() { return orderNumber; } public void setOrderNumber(long orderId) { this.orderNumber = orderId; } public Customer getCustomer() { return customer; } public void setCustomer(Customer customer) { this.customer = customer; } public Address getBillTo() { return billTo; } public void setBillTo(Address billTo) { this.billTo = billTo; } public Shipping getShipping() { return shipping; } public void setShipping(Shipping shipping) { this.shipping = shipping; } public Address getShipTo() { return shipTo; } public void setShipTo(Address shipTo) { this.shipTo = shipTo; } public List getItems() { return items; } public void setItems(List items) { this.items = items; } public Date getOrderDate() { return orderDate; } public void setOrderDate(Date orderDate) { this.orderDate = orderDate; } public Date getShipDate() { return shipDate; } public void setShipDate(Date shipDate) { this.shipDate = shipDate; } public Float getTotal() { return total; } public void setTotal(Float total) { this.total = total; } }libjibx1.2-java-1.2.3/examples/bindgen/src/org/jibx/starter1/Test.java0000644000175000017500000000404611147013326025325 0ustar twernertwerner package org.jibx.starter1; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.util.Iterator; import org.jibx.runtime.BindingDirectory; import org.jibx.runtime.IBindingFactory; import org.jibx.runtime.IMarshallingContext; import org.jibx.runtime.IUnmarshallingContext; import org.jibx.runtime.JiBXException; public class Test { /** * Unmarshal the sample document from a file, then marshal it back out to * another file. * * @param args */ public static void main(String[] args) { if (args.length < 2) { System.out.println("Usage: java -cp ... " + "org.jibx.starter1.Test in-file out-file"); System.exit(0); } try { // unmarshal customer information from file IBindingFactory bfact = BindingDirectory.getFactory(Order.class); IUnmarshallingContext uctx = bfact.createUnmarshallingContext(); FileInputStream in = new FileInputStream(args[0]); Order order = (Order)uctx.unmarshalDocument(in, null); // compute the total amount of the order float total = 0.0f; for (Iterator iter = order.getItems().iterator(); iter.hasNext();) { Item item = iter.next(); total += item.getPrice() * item.getQuantity(); } order.setTotal(new Float(total)); // marshal object back out to file (with nice indentation, as UTF-8) IMarshallingContext mctx = bfact.createMarshallingContext(); mctx.setIndent(2); FileOutputStream out = new FileOutputStream(args[1]); mctx.setOutput(out, null); mctx.marshalDocument(order); System.out.println("Unmarshalled and marshalled order with " + order.getItems().size() + " items and total value " + total); } catch (FileNotFoundException e) { e.printStackTrace(); System.exit(1); } catch (JiBXException e) { e.printStackTrace(); System.exit(1); } } }libjibx1.2-java-1.2.3/examples/bindgen/src/org/jibx/starter2/0000755000175000017500000000000011300355476023546 5ustar twernertwernerlibjibx1.2-java-1.2.3/examples/bindgen/src/org/jibx/starter2/Address.java0000644000175000017500000000271711147013326025777 0ustar twernertwernerpackage org.jibx.starter2; /** * Address information. */ public class Address { /** First line of street information (required). */ private String m_street1; /** Second line of street information (optional). */ private String m_street2; private String m_city; /** State abbreviation (required for the U.S. and Canada, optional otherwise). */ private String m_state; /** Postal code (required for the U.S. and Canada, optional otherwise). */ private String m_postCode; /** Country name (optional, U.S. assumed if not supplied). */ private String m_country; public String getStreet1() { return m_street1; } public void setStreet1(String street1) { m_street1 = street1; } public String getStreet2() { return m_street2; } public void setStreet2(String street2) { m_street2 = street2; } public String getCity() { return m_city; } public void setCity(String city) { m_city = city; } public String getState() { return m_state; } public void setState(String state) { m_state = state; } public String getPostCode() { return m_postCode; } public void setPostCode(String postCode) { m_postCode = postCode; } public String getCountry() { return m_country; } public void setCountry(String country) { m_country = country; } }libjibx1.2-java-1.2.3/examples/bindgen/src/org/jibx/starter2/Item.java0000644000175000017500000000201211147013326025274 0ustar twernertwernerpackage org.jibx.starter2; /** * Order line item information. */ public class Item { /** Stock identifier. This is expected to be 12 characters in length, with two leading alpha characters followed by ten decimal digits. */ private String m_id; /** Text description of item. */ private String m_description; /** Number of units ordered. */ private int m_quantity; /** Price per unit. */ private float m_price; public String getId() { return m_id; } public void setId(String id) { m_id = id; } public String getDescription() { return m_description; } public void setDescription(String description) { m_description = description; } public int getQuantity() { return m_quantity; } public void setQuantity(int quantity) { m_quantity = quantity; } public float getPrice() { return m_price; } public void setPrice(float price) { m_price = price; } }libjibx1.2-java-1.2.3/examples/bindgen/src/org/jibx/starter2/Customer.java0000644000175000017500000000175511147013326026214 0ustar twernertwerner package org.jibx.starter2; import java.util.List; /** * Customer information. */ public class Customer { private long m_customerNumber; /** Personal name. */ private String m_firstName; /** Family name. */ private String m_lastName; /** Middle name(s), if any. */ private List m_middleNames; public long getCustomerNumber() { return m_customerNumber; } public void setCustomerNumber(long customerId) { m_customerNumber = customerId; } public String getFirstName() { return m_firstName; } public void setFirstName(String firstName) { m_firstName = firstName; } public String getLastName() { return m_lastName; } public void setLastName(String lastName) { m_lastName = lastName; } public List getMiddleNames() { return m_middleNames; } public void setMiddleNames(List middleNames) { m_middleNames = middleNames; } }libjibx1.2-java-1.2.3/examples/bindgen/src/org/jibx/starter2/Shipping.java0000644000175000017500000000254611147013326026173 0ustar twernertwernerpackage org.jibx.starter2; import java.util.ArrayList; import java.util.Iterator; import java.util.List; /** * Supported shipment methods. The "INTERNATIONAL" shipment methods can only be used for * orders with shipping addresses outside the U.S., and one of these methods is required * in this case. */ public class Shipping { private static final List values = new ArrayList(); public static final Shipping STANDARD_MAIL = new Shipping("STANDARD_MAIL"); public static final Shipping PRIORITY_MAIL = new Shipping("PRIORITY_MAIL"); public static final Shipping INTERNATIONAL_MAIL = new Shipping("INTERNATIONAL_MAIL"); public static final Shipping DOMESTIC_EXPRESS = new Shipping("DOMESTIC_EXPRESS"); public static final Shipping INTERNATIONAL_EXPRESS = new Shipping("INTERNATIONAL_EXPRESS"); private String text; private Shipping(String text) { this.text = text; values.add(this); } public static Shipping fromString(String text) { for (Iterator iter = values.iterator(); iter.hasNext();) { Shipping value = (Shipping)iter.next(); if (value.text.equals(text)) { return value; } } throw new IllegalArgumentException("'" + text + " is not a legal value"); } public String toString() { return text; } }libjibx1.2-java-1.2.3/examples/bindgen/src/org/jibx/starter2/Order.java0000644000175000017500000000402011147013326025452 0ustar twernertwernerpackage org.jibx.starter2; import java.sql.Date; import java.util.List; /** * Order information. */ public class Order { private long m_orderNumber; private Customer m_customer; /** Billing address information. */ private Address m_billTo; private Shipping m_shipping; /** Shipping address information. If missing, the billing address is also used as the shipping address. */ private Address m_shipTo; private List m_items; /** Date order was placed with server. */ private Date m_orderDate; /** Date order was shipped. This will be null if the order has not yet shipped. */ private Date m_shipDate; private Float total; public long getOrderNumber() { return m_orderNumber; } public void setOrderNumber(long orderId) { m_orderNumber = orderId; } public Customer getCustomer() { return m_customer; } public void setCustomer(Customer customer) { m_customer = customer; } public Address getBillTo() { return m_billTo; } public void setBillTo(Address billTo) { m_billTo = billTo; } public Shipping getShipping() { return m_shipping; } public void setShipping(Shipping shipping) { m_shipping = shipping; } public Address getShipTo() { return m_shipTo; } public void setShipTo(Address shipTo) { m_shipTo = shipTo; } public List getItems() { return m_items; } public void setItems(List items) { m_items = items; } public Date getOrderDate() { return m_orderDate; } public void setOrderDate(Date orderDate) { m_orderDate = orderDate; } public Date getShipDate() { return m_shipDate; } public void setShipDate(Date shipDate) { m_shipDate = shipDate; } public Float getTotal() { return total; } public void setTotal(Float total) { total = total; } }libjibx1.2-java-1.2.3/examples/bindgen/src/org/jibx/starter2/Test.java0000644000175000017500000000404611147013326025326 0ustar twernertwerner package org.jibx.starter2; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.util.Iterator; import org.jibx.runtime.BindingDirectory; import org.jibx.runtime.IBindingFactory; import org.jibx.runtime.IMarshallingContext; import org.jibx.runtime.IUnmarshallingContext; import org.jibx.runtime.JiBXException; public class Test { /** * Unmarshal the sample document from a file, then marshal it back out to * another file. * * @param args */ public static void main(String[] args) { if (args.length < 2) { System.out.println("Usage: java -cp ... " + "org.jibx.starter2.Test in-file out-file"); System.exit(0); } try { // unmarshal customer information from file IBindingFactory bfact = BindingDirectory.getFactory(Order.class); IUnmarshallingContext uctx = bfact.createUnmarshallingContext(); FileInputStream in = new FileInputStream(args[0]); Order order = (Order)uctx.unmarshalDocument(in, null); // compute the total amount of the order float total = 0.0f; for (Iterator iter = order.getItems().iterator(); iter.hasNext();) { Item item = (Item)iter.next(); total += item.getPrice() * item.getQuantity(); } order.setTotal(new Float(total)); // marshal object back out to file (with nice indentation, as UTF-8) IMarshallingContext mctx = bfact.createMarshallingContext(); mctx.setIndent(2); FileOutputStream out = new FileOutputStream(args[1]); mctx.setOutput(out, null); mctx.marshalDocument(order); System.out.println("Unmarshalled and marshalled order with " + order.getItems().size() + " items and total value " + total); } catch (FileNotFoundException e) { e.printStackTrace(); System.exit(1); } catch (JiBXException e) { e.printStackTrace(); System.exit(1); } } }libjibx1.2-java-1.2.3/examples/bindgen/build.xml0000644000175000017500000002012411147013326021300 0ustar twernertwerner JiBX home directory not found - define JIBX_HOME system property or set path directly in build.xml file. Required JiBX runtime jar jibx-run.jar was not found in JiBX home lib directory (${jibx-home}/lib) Required JiBX extras jar jibx-extras.jar was not found in JiBX home lib directory (${jibx-home}/lib) Required JiBX binding jar jibx-bind.jar or bcel.jar was not found in JiBX home lib directory (${jibx-home}/lib) libjibx1.2-java-1.2.3/examples/bindgen/custom2.xml0000644000175000017500000000100711147013326021574 0ustar twernertwerner libjibx1.2-java-1.2.3/examples/bindgen/data1.xml0000644000175000017500000000145711147013326021203 0ustar twernertwerner John Smith 12345 Happy Lane Plunk WA 98059 USA PRIORITY_MAIL 333 River Avenue Kirkland WA 98034 USA FA9498349851 GC1234905049 AX9300048820 libjibx1.2-java-1.2.3/examples/bindgen/custom3.xml0000644000175000017500000000164211147013326021602 0ustar twernertwerner libjibx1.2-java-1.2.3/examples/bindgen/data2.xml0000644000175000017500000000140211147013326021172 0ustar twernertwerner Smith John 5678 12345 Happy Lane Plunk WA 98059 USA PRIORITY_MAIL 333 River Avenue Kirkland WA 98034 libjibx1.2-java-1.2.3/build/0000755000175000017500000000000011526304170015334 5ustar twernertwernerlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/0000755000175000017500000000000011525226314020672 5ustar twernertwernerlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/jibx.sh0000644000175000017500000000025610670443120022161 0ustar twernertwerner#!/bin/sh CONTACTS="jerome bernard " MODE=rsync_ssh FROM=mavensync@shell.sourceforge.net:/home/groups/j/ji/jibx/htdocs/maven2 GROUP_DIR=org/jibx/ libjibx1.2-java-1.2.3/build/maven-jibx-plugin/pom.xml0000644000175000017500000001453411523436476022230 0ustar twernertwerner 4.0.0 oss-parent org.sonatype.oss 6 org.jibx maven-jibx-plugin 1.2.2 maven-plugin Maven JiBX Plugin 1.2.2 JiBX Project http://jibx.sf.net/ 2005 BSD License http://jibx.sf.net/LICENSE.txt http://jibx.sf.net/maven-jibx-plugin/ A plugin for Maven 2 to run the JiBX binding compiler, or generate Java sources from XSD schemas. doncorley Don Corley don@tourgeek.com http://www.tourgeek.com/ -8 Frank Mena frankm.os@gmail.com -08 Jerome Bernard jerome.bernard@gmail.com +1 Andreas Brenk mail@andreasbrenk.com http://andreasbrenk.com/ +01 org.apache.maven maven-plugin-api 2.2.1 org.apache.maven maven-project 2.2.1 ${project.groupId} jibx-tools ${jibx-version} ${project.groupId} jibx-bind ${jibx-version} ${project.groupId} jibx-extras ${jibx-version} ${project.groupId} jibx-run ${jibx-version} org.codehaus.plexus plexus-utils 2.0.5 xpp3 xpp3 1.1.3.4.O com.thoughtworks.qdox qdox 1.6.2 commons-io commons-io 1.1 org.eclipse.jdt core 3.3.0-v_771 org.eclipse.equinox common org.eclipse.equinox app org.eclipse.equinox common 3.3.0-v20070426 log4j log4j 1.2.15 javax.jms jms com.sun.jmx jmxri com.sun.jdmk jmxtools sourceforge.net scp://shell.sourceforge.net/home/groups/j/ji/jibx/htdocs/maven2 sourceforge.net scp://shell.sourceforge.net/home/groups/j/ji/jibx/htdocs/maven-jibx-plugin jira http://jira.codehaus.org/browse/JIBX org.apache.maven.plugins maven-plugin-plugin 2.6 jibx.sf.net JiBX repository http://jibx.sf.net/maven2 never false scm:cvs:pserver:anonymous@cvs.sourceforge.net:/cvsroot/jibx:maven-jibx-plugin scm:cvs:ext:developername@cvs.sourceforge.net:/cvsroot/jibx:maven-jibx-plugin http://jibx.cvs.sourceforge.net/viewvc/jibx/maven-jibx-plugin libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/0000755000175000017500000000000011525230224022153 5ustar twernertwernerlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/0000755000175000017500000000000011525226316023126 5ustar twernertwernerlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/project-info.html0000644000175000017500000002111711524737636026430 0ustar twernertwerner JiBX - Project Information

Project Information

This document provides an overview of the various documents and links that are part of this project's general information. All of this content is automatically generated by Maven on behalf of the project.

Overview

Document Description
Continuous Integration This is a link to the definitions of all continuous integration processes that builds and tests code on a frequent, regular basis.
Dependencies This document lists the project's dependencies and provides information on each dependency.
Issue Tracking This is a link to the issue management system for this project. Issues (bugs, features, change requests) can be created and queried using this link.
Mailing Lists This document provides subscription and archive information for this project's mailing lists.
Plugin Management This document lists the plugins that are defined through pluginManagement.
Project License This is a link to the definitions of project licenses.
Project Plugins This document lists the build plugins and the report plugins used by this project.
Project Summary This document lists other related information of this project
Project Team This document provides information on the members of this project. These are the individuals who have contributed to the project in one form or another.
Source Repository This is a link to the online source repository that can be viewed via a web browser.

libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/project-reports.html0000644000175000017500000001336011524737534027171 0ustar twernertwerner JiBX - Generated Reports

Generated Reports

This document provides an overview of the various reports that are automatically generated by Maven Each report is briefly described below.

Overview

Document Description
Plugin Documentation This report provides goals and parameters documentation of a plugin.

libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/css/0000755000175000017500000000000011524031506023710 5ustar twernertwernerlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/css/site.css0000644000175000017500000000000011523610770025361 0ustar twernertwernerlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/css/print.css0000644000175000017500000000033611523610770025565 0ustar twernertwerner#banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks, #leftColumn, #navColumn { display: none !important; } #bodyColumn, body.docs div.docs { margin: 0 !important; border: none !important } libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/css/maven-theme.css0000644000175000017500000000536111523610770026642 0ustar twernertwernerbody { padding: 0px 0px 10px 0px; } body, td, select, input, li{ font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 13px; } code{ font-family: Courier, monospace; font-size: 13px; } a { text-decoration: none; } a:link { color:#36a; } a:visited { color:#47a; } a:active, a:hover { color:#69c; } #legend li.externalLink { background: url(../images/external.png) left top no-repeat; padding-left: 18px; } a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover { background: url(../images/external.png) right center no-repeat; padding-right: 18px; } #legend li.newWindow { background: url(../images/newwindow.png) left top no-repeat; padding-left: 18px; } a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover { background: url(../images/newwindow.png) right center no-repeat; padding-right: 18px; } h2 { padding: 4px 4px 4px 6px; border: 1px solid #999; color: #900; background-color: #ddd; font-weight:900; font-size: x-large; } h3 { padding: 4px 4px 4px 6px; border: 1px solid #aaa; color: #900; background-color: #eee; font-weight: normal; font-size: large; } h4 { padding: 4px 4px 4px 6px; border: 1px solid #bbb; color: #900; background-color: #fff; font-weight: normal; font-size: large; } h5 { padding: 4px 4px 4px 6px; color: #900; font-size: normal; } p { line-height: 1.3em; font-size: small; } #breadcrumbs { border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background-color: #ccc; } #leftColumn { margin: 10px 0 0 5px; border: 1px solid #999; background-color: #eee; } #navcolumn h5 { font-size: smaller; border-bottom: 1px solid #aaaaaa; padding-top: 2px; color: #000; } table.bodyTable th { color: white; background-color: #bbb; text-align: left; font-weight: bold; } table.bodyTable th, table.bodyTable td { font-size: 1em; } table.bodyTable tr.a { background-color: #ddd; } table.bodyTable tr.b { background-color: #eee; } .source { border: 1px solid #999; } dl { padding: 4px 4px 4px 6px; border: 1px solid #aaa; background-color: #ffc; } dt { color: #900; } #organizationLogo img, #projectLogo img, #projectLogo span{ margin: 8px; } #banner { border-bottom: 1px solid #fff; } .errormark, .warningmark, .donemark, .infomark { background: url(../images/icon_error_sml.gif) no-repeat; } .warningmark { background-image: url(../images/icon_warning_sml.gif); } .donemark { background-image: url(../images/icon_success_sml.gif); } .infomark { background-image: url(../images/icon_info_sml.gif); } libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/css/maven-base.css0000644000175000017500000000437111523610770026452 0ustar twernertwernerbody { margin: 0px; padding: 0px; } img { border:none; } table { padding:0px; width: 100%; margin-left: -2px; margin-right: -2px; } acronym { cursor: help; border-bottom: 1px dotted #feb; } table.bodyTable th, table.bodyTable td { padding: 2px 4px 2px 4px; vertical-align: top; } div.clear{ clear:both; visibility: hidden; } div.clear hr{ display: none; } #bannerLeft, #bannerRight { font-size: xx-large; font-weight: bold; } #bannerLeft img, #bannerRight img { margin: 0px; } .xleft, #bannerLeft img { float:left; } .xright, #bannerRight { float:right; } #banner { padding: 0px; } #banner img { border: none; } #breadcrumbs { padding: 3px 10px 3px 10px; } #leftColumn { width: 170px; float:left; overflow: auto; } #bodyColumn { margin-right: 1.5em; margin-left: 197px; } #legend { padding: 8px 0 8px 0; } #navcolumn { padding: 8px 4px 0 8px; } #navcolumn h5 { margin: 0; padding: 0; font-size: small; } #navcolumn ul { margin: 0; padding: 0; font-size: small; } #navcolumn li { list-style-type: none; background-image: none; background-repeat: no-repeat; background-position: 0 0.4em; padding-left: 16px; list-style-position: outside; line-height: 1.2em; font-size: smaller; } #navcolumn li.expanded { background-image: url(../images/expanded.gif); } #navcolumn li.collapsed { background-image: url(../images/collapsed.gif); } #poweredBy { text-align: center; } #navcolumn img { margin-top: 10px; margin-bottom: 3px; } #poweredBy img { display:block; margin: 20px 0 20px 17px; } #search img { margin: 0px; display: block; } #search #q, #search #btnG { border: 1px solid #999; margin-bottom:10px; } #search form { margin: 0px; } #lastPublished { font-size: x-small; } .navSection { margin-bottom: 2px; padding: 8px; } .navSectionHead { font-weight: bold; font-size: x-small; } .section { padding: 4px; } #footer { padding: 3px 10px 3px 10px; font-size: x-small; } #breadcrumbs { font-size: x-small; margin: 0pt; } .source { padding: 12px; margin: 1em 7px 1em 7px; } .source pre { margin: 0px; padding: 0px; } libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/compare.html0000644000175000017500000003071711524737636025465 0ustar twernertwerner JiBX -

Comparing XML documents using JiBX utilities

Compare two XML document with JiBX .

Here is a sample pom.xml:

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <artifactId>jibx-ota-test</artifactId>
    <groupId>org.jibx.ota.osgi</groupId>
    <version>1.2.3</version>
  </parent>

  <artifactId>jibx-ota-test-compare-docs</artifactId>
  <name>jibx-ota-test-compare-docs (Compare two documents)</name>
  <packaging>jar</packaging>

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>

  <build>
    <plugins>
      <plugin>
          <groupId>org.jibx</groupId>
          <artifactId>maven-jibx-plugin</artifactId>
          <version>1.2.2</version>
          <configuration>
              <inFile>src/test/resources/data.xml</inFile>
              <outFile>src/test/resources/data2.xml</outFile>
          </configuration>
          <executions>
              <execution>
                  <id>compare-jibx-docs</id>
                  <phase>test</phase>
                  <goals>
                      <goal>document-compare</goal>
                  </goals>
              </execution>
          </executions>
      </plugin>
    </plugins>
  </build>

  <dependencies>
    <dependency>
      <groupId>org.jibx</groupId>
      <artifactId>jibx-run</artifactId>
      <version>1.2.2</version>
    </dependency>
    <dependency>
      <groupId>org.jibx</groupId>
      <artifactId>jibx-extras</artifactId>
      <version>1.2.2</version>
    </dependency>
    <dependency>  <!-- Why isn't this a jibx dependency? -->
      <groupId>joda-time</groupId>
      <artifactId>joda-time</artifactId>
      <version>${joda-time-version}</version>
    </dependency>

    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
</project>

Note that the data.xml and data2.xml are the files being compared.

You can roundtrip an XML document through a JiBX class and compare it with the original document.

Here is a sample pom.xml:

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <artifactId>jibx-ota-test</artifactId>
    <groupId>org.jibx.ota.osgi</groupId>
    <version>1.2.3</version>
  </parent>

  <artifactId>jibx-ota-test-gen-compare</artifactId>
  <name>jibx-ota-test-gen-compare (Roundtrip document and compare)</name>
  <packaging>jar</packaging>

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>

  <build>
    <plugins>
    
      <plugin>
        <groupId>org.jibx</groupId>
        <artifactId>maven-jibx-plugin</artifactId>
        <version>1.2.2</version>

        <executions>
          <execution>
            <id>generate-java-code-from-schema</id>
              <phase>generate-test-sources</phase>
            <goals>
              <goal>test-schema-codegen</goal>
            </goals>
          </execution>
          <execution>
              <id>compile-binding</id>
            <phase>process-test-classes</phase>
              <goals>
                  <goal>test-bind</goal>
              </goals>
              <configuration>
                  <directory>target/generated-test-sources</directory>
              </configuration>
          </execution>
          <execution>
              <id>compare-jibx-docs</id>
              <phase>test</phase>
              <goals>
                  <goal>document-compare</goal>
              </goals>
              <configuration>
                  <mappedClass>org.opentravel.ota.OTAAirLowFareSearchRQ</mappedClass>
                  <inFile>src/test/resources/OTA_AirLowFareSearchRQ2.xml</inFile>
              </configuration>
          </execution>
        </executions>
      </plugin>
      
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.3</version>
            <configuration>
            <fork>true</fork>
              <source>1.5</source>
              <target>1.5</target>
            </configuration>
      </plugin>
      
     <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>add-test-source</id>
            <phase>generate-sources</phase>
            <goals>
              <goal>add-test-source</goal>
            </goals>
            <configuration>
              <sources>
                <source>${basedir}/target/generated-test-sources</source>
              </sources>
            </configuration>
          </execution>
        </executions>
      </plugin>

    </plugins>
  </build>

  <dependencies>
    <dependency>
      <groupId>org.jibx</groupId>
      <artifactId>jibx-run</artifactId>
      <version>1.2.2</version>
    </dependency>
    <dependency>
      <groupId>org.jibx</groupId>
      <artifactId>jibx-extras</artifactId>
      <version>1.2.2</version>
    </dependency>

    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
</project>

This org.opentravel.ota.OTAAirLowFareSearchRQ is the class that the OTA_AirLowFareSearchRQ2.xml will be marshalled to and unmarshalled before being compared with the original (OTA_AirLowFareSearchRQ2.xml) document.

Note the use of the build-helper-maven-plugin to add the generated-test-sources directory to the source path.


libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/index.html0000644000175000017500000001570511524737534025143 0ustar twernertwerner JiBX -

Maven JiBX Plugin

A plugin for Maven 2 to run the JiBX binding compiler, or generate Java sources from XSD schemas.

Goals Overview

The JiBX Maven Plugin has these goals:

Usage

General instructions on how to use the Maven JiBX Plugin can be found on the usage page. Some more specific use cases are described in the examples given below.


libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/plugin-management.html0000644000175000017500000002366111524737534027444 0ustar twernertwerner JiBX - Project Plugin Management

Project Plugin Management

GroupId ArtifactId Version
org.apache.maven.plugins maven-antrun-plugin 1.3
org.apache.maven.plugins maven-assembly-plugin 2.2-beta-2
org.apache.maven.plugins maven-clean-plugin 2.2
org.apache.maven.plugins maven-compiler-plugin 2.0.2
org.apache.maven.plugins maven-dependency-plugin 2.0
org.apache.maven.plugins maven-deploy-plugin 2.4
org.apache.maven.plugins maven-ear-plugin 2.3.1
org.apache.maven.plugins maven-ejb-plugin 2.1
org.apache.maven.plugins maven-install-plugin 2.2
org.apache.maven.plugins maven-jar-plugin 2.2
org.apache.maven.plugins maven-javadoc-plugin 2.5
org.apache.maven.plugins maven-plugin-plugin 2.4.3
org.apache.maven.plugins maven-rar-plugin 2.2
org.apache.maven.plugins maven-release-plugin 2.0
org.apache.maven.plugins maven-resources-plugin 2.3
org.apache.maven.plugins maven-site-plugin 2.0-beta-7
org.apache.maven.plugins maven-source-plugin 2.0.4
org.apache.maven.plugins maven-surefire-plugin 2.4.3
org.apache.maven.plugins maven-war-plugin 2.1-alpha-2

libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/test-schema-codegen-mojo.html0000644000175000017500000003355711524737636030625 0ustar twernertwerner JiBX - jibx:test-schema-codegen

jibx:test-schema-codegen

Full name:

org.jibx:maven-jibx-plugin:1.2.2:test-schema-codegen

Description:

Generates Java test sources from XSD schemas.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: test-compile.
  • Binds by default to the lifecycle phase: generate-test-sources.

Required Parameters

Name Type Since Description
directory String - The directory which contains XSD files.
Default value is: ${basedir}/src/test/config.
verbose boolean - Control flag for verbose processing reports.
Default value is: false.

Optional Parameters

Name Type Since Description
customizations ArrayList - Include pattern for customization files.
defaultNamespace String - Namespace applied in code generation when no-namespaced schema definitions are found (to generate no-namespaced schemas as though they were included in a particular namespace)
defaultPackage String - Default package for code generated from schema definitions with no namespace.
excludes ArrayList - Exclude pattern for binding files.
includeBindings ArrayList - Include existing bindings and use mappings from the bindings for matching schema global definitions. (this is the basis for modular code generation) Include base bindings as follows:
<includeBindings>
<includeBinding>base-binding.xml</includeBinding>
</includeBindings>
Note: Relative paths start at ${basedir}.
includes ArrayList - Include pattern for schema files.
Note: Uses the standard filter format described in the plexus DirectoryScanner.
Defaults value is: *.xsd.
options Map - Extra options to be given for customization via CLI.

Enter extra customizations or other command-line options.
The extra customizations are described on the CodeGen customizations page
The single character CodeGen commands may also be supplied here.
For example, to include a base binding file (-i) and prefer-inline code, supply the following options:
<options>
  <i>base-binding.xml</i>
  <prefer-inline>true</prefer-inline>
</options>

targetDirectory String - Target directory where to generate Java source files.
Default value is: ${basedir}/target/generated-test-sources.

Parameter Details

customizations:

Include pattern for customization files.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${customizations}

defaultNamespace:

Namespace applied in code generation when no-namespaced schema definitions are found (to generate no-namespaced schemas as though they were included in a particular namespace)
  • Type: java.lang.String
  • Required: No

defaultPackage:

Default package for code generated from schema definitions with no namespace.
  • Type: java.lang.String
  • Required: No

directory:

The directory which contains XSD files.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${directory}
  • Default: ${basedir}/src/test/config

excludes:

Exclude pattern for binding files.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${excludes}

includeBindings:

Include existing bindings and use mappings from the bindings for matching schema global definitions. (this is the basis for modular code generation) Include base bindings as follows:
<includeBindings>
<includeBinding>base-binding.xml</includeBinding>
</includeBindings>
Note: Relative paths start at ${basedir}.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${includeBindings}

includes:

Include pattern for schema files.
Note: Uses the standard filter format described in the plexus DirectoryScanner.
Defaults value is: *.xsd.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${includes}

options:

Extra options to be given for customization via CLI.

Enter extra customizations or other command-line options.
The extra customizations are described on the CodeGen customizations page
The single character CodeGen commands may also be supplied here.
For example, to include a base binding file (-i) and prefer-inline code, supply the following options:
<options>
  <i>base-binding.xml</i>
  <prefer-inline>true</prefer-inline>
</options>
  • Type: java.util.Map
  • Required: No

targetDirectory:

Target directory where to generate Java source files.
  • Type: java.lang.String
  • Required: No
  • Expression: ${targetDirectory}
  • Default: ${basedir}/target/generated-test-sources

verbose:

Control flag for verbose processing reports.
  • Type: boolean
  • Required: Yes
  • Expression: ${verbose}
  • Default: false

libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/project-summary.html0000644000175000017500000001705011524737532027166 0ustar twernertwerner JiBX - Project Summary

Project Summary

Project Information

Field Value
Name Maven JiBX Plugin
Description A plugin for Maven 2 to run the JiBX binding compiler, or generate Java sources from XSD schemas.
Homepage http://jibx.sf.net/maven-jibx-plugin/

Project Organization

Field Value
Name JiBX Project
URL http://jibx.sf.net/

Build Information

Field Value
GroupId org.jibx
ArtifactId maven-jibx-plugin
Version 1.2.2
Type maven-plugin

libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/schema-codegen.html0000644000175000017500000001755411524737534026702 0ustar twernertwerner JiBX -

Generate Java Sources from Schemas

Java Sources from XSD Schemas

Here is a sample plugin section:

    <plugin>
        <groupId>org.jibx</groupId>
        <artifactId>maven-jibx-plugin</artifactId>
        <version>1.2.2</version>
        <configuration>
            <directory>src/main/conf</directory>
            <includes>
                <include>myschema.xsd</include>
            </includes>
            <options>
                <package>my.package</package>
            </options>
        </configuration>
        <executions>
            <execution>
                <goals>
                    <goal>schema-codegen</goal>
                </goals>
            </execution>
        </executions>
    </plugin>

Generate Java Sources from Schemas and Compile Binding

Java Sources from XSD Schemas

Here is below a sample usage:

        <plugin>
            <groupId>org.jibx</groupId>
            <artifactId>maven-jibx-plugin</artifactId>
            <version>1.2.2</version>
            <executions>
                <execution>
                    <id>generate-java-code-from-schema</id>
                    <goals>
                        <goal>schema-codegen</goal>
                    </goals>
                    <configuration>
                        <directory>src/main/conf</directory>
                        <includes>
                            <include>myschema.xsd</include>
                        </includes>
                        <options>
                            <package>my.package</package>
                        </options>
                    </configuration>
                </execution>
                <execution>
                    <id>compile-binding</id>
                    <goals>
                        <goal>bind</goal>
                    </goals>
                    <configuration>
                        <directory>target/generated-sources</directory>
                        <load>true</load>
                        <validate>true</validate>
                        <!--<verbose>true</verbose>-->
                        <verify>true</verify>
                    </configuration>
                </execution>
            </executions>
        </plugin>

libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/plugins.html0000644000175000017500000001604211524737636025513 0ustar twernertwerner JiBX - Project Build Plugins

Project Build Plugins

GroupId ArtifactId Version
org.apache.maven.plugins maven-enforcer-plugin 1.0-beta-1

Project Report Plugins

GroupId ArtifactId Version
org.apache.maven.plugins maven-plugin-plugin 2.6

libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/modular-codegen.html0000644000175000017500000003257111524737636027104 0ustar twernertwerner JiBX -

Generate Modular Code from Schemas

If your XSD Schema lends itself to modularization, the JiBX code generator offers the most flexible code generation that you will find.

Since JiBX allows generation of code into different java packages, JiBX is the best choice if you want to split a large schema into smaller OSGi modules.

The following samples are taken from the jibx-ota-osgi sub-project. This project breaks the travel industry's opentravel schema is modules based on industry segment. Each module is a maven project as well as an osgi module. This insures the correct modules are includes in a project and only the needed modules will be loaded at runtime.

This is a sample pom.xml file from the base module:

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <groupId>org.jibx.ota.osgi</groupId>
  <artifactId>jibx-ota-osgi-base</artifactId>
  <version>1.2.2</version>
  <packaging>bundle</packaging>
  <name>jibx-ota-osgi-base (opentravel OSGI base bundle)</name>

  <build>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>

      <plugin>
        <groupId>org.jibx</groupId>
        <artifactId>maven-jibx-plugin</artifactId>
        <version>1.2.2</version>
        
        <executions>
          <execution>
            <id>generate-java-code-from-schema</id>
            <goals>
              <goal>schema-codegen</goal>
            </goals>
                <configuration>
                        <directory>${schemaDirectory}</directory>
                    <customizations>
                        <customization>${basedir}/custom-modular-base.xml</customization>
                    </customizations>
                    <includes>
                        <include>OTA_Common*.xsd</include>
                        <include>OTA_SimpleTypes.xsd</include>
                    </includes>
                <defaultNamespace>http://www.opentravel.org/OTA/2003/05</defaultNamespace>
                </configuration>
          </execution>
                <execution>
                    <id>compile-binding</id>
                    <goals>
                        <goal>bind</goal>
                    </goals>
                    <configuration>
                        <directory>target/generated-sources</directory>
                        <includes>
                          <include>base-binding.xml</include>
                        </includes>
                    </configuration>
                </execution>
        </executions>
          </plugin>

      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
          <instructions>
            <Export-Package>org.jibx.ota.base.*</Export-Package>
            <Import-Package>org.jibx.ota.*,
                *;resolution:=optional</Import-Package>
            <!-- Even though it is not necessary to include the binding files in the module, it is a good practice so any extension modules can find this resource -->
            <Include-Resource>META-INF/base-binding.xml=${basedir}/target/generated-sources/base-binding.xml</Include-Resource>
          </instructions>
        </configuration>
      </plugin>

    </plugins>
  </build>
 
  <dependencies>
        <dependency>
          <groupId>org.jibx</groupId>
          <artifactId>jibx-run</artifactId>
          <version>1.2.2</version>
        </dependency>
        <dependency>
          <groupId>org.jibx</groupId>
          <artifactId>jibx-extras</artifactId>
          <version>1.2.2</version>
        </dependency>
        <dependency>
          <groupId>joda-time</groupId>
          <artifactId>joda-time</artifactId>
          <version>1.6</version>
        </dependency>
  </dependencies>

</project>

JiBX Module using the base module in the previous example.

Here is the sample:

<project>
  <modelVersion>4.0.0</modelVersion>

  <groupId>org.jibx.ota.osgi</groupId>
  <artifactId>jibx-ota-osgi-air</artifactId>
  <version>1.2.3</version>
  <packaging>bundle</packaging>

  <name>jibx-ota-osgi-air (opentravel OSGI air bundle)</name>

  <build>
    <!-- This is a standard configuration, move it up -->
    <plugins>

      <plugin>
        <groupId>org.jibx</groupId>
        <artifactId>maven-jibx-plugin</artifactId>
        <version>1.2.2</version>

        <executions>
          <execution>
            <id>generate-java-code-from-schema</id>
            <goals>
              <goal>schema-codegen</goal>
            </goals>
                <configuration>
                        <directory>${schemaDirectory}</directory>
                    <customizations>
                        <customization>${basedir}/custom-modular-air.xml</customization>
                    </customizations>
                    <includes>
                        <include>OTA_Air*RS.xsd</include>
                        <include>OTA_Air*RQ.xsd</include>
                    </includes>
                <includeBindings>
                  <includeBinding>${basedir}/../jibx-ota-osgi-base/target/generated-sources/base-binding.xml</includeBinding>
                </includeBindings>
                </configuration>
          </execution>
          <execution>
              <id>compile-binding</id>
              <goals>
                  <goal>bind</goal>
              </goals>
              <configuration>
                  <directory>target/generated-sources</directory>
                  <includes>
                    <include>air-binding.xml</include>
                  </includes>
              </configuration>
          </execution>
        </executions>
          </plugin>

      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
          <instructions>
            <Export-Package>org.jibx.ota.air.*</Export-Package>
            <Import-Package>org.jibx.ota.*,
                *;resolution:=optional</Import-Package>
            <!-- Even though it is not necessary to include the binding files in the module, it is a good practice so any extension modules can find this resource -->
            <Include-Resource>META-INF/air-binding.xml=${basedir}/target/generated-sources/base-binding.xml</Include-Resource>
          </instructions>
        </configuration>
      </plugin>

    </plugins>
  </build>
 
  <dependencies>
    <dependency>
      <groupId>org.jibx.ota.osgi</groupId>
      <artifactId>jibx-ota-osgi-base</artifactId>
      <version>1.2.2</version>
    </dependency>
  </dependencies>

</project>

Note: This module includes the base module as a dependency AND the schema-codegen goal points to the base binding file.


libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/issue-tracking.html0000644000175000017500000001553011524737532026756 0ustar twernertwerner JiBX - Issue Tracking

Overview

This project uses JIRA a J2EE-based, issue tracking and project management application.

Issue Tracking

Issues, bugs, and feature requests should be submitted to the following issue tracking system for this project.


libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/modes.html0000644000175000017500000001625311524737636025145 0ustar twernertwerner JiBX -

Modes

The plugin supports three different usage modes: single-module, multi-module and restricted multi-module.

Single-module mode

The single-module mode is the default.

It searches for binding definition files in the current project and compiles them using the project's classpath.

Multi-module mode

In its multi-module mode the plugin searches for binding definition files in the current and all referenced projects and runs the binding compiler with an aggregated classpath.

Just set the multi-module flag to true:

<configuration>
  <multi-module>true</multi-module>
</configuration>

Note: See multi-module note below.

Restricted multi-module mode

The restricted multi-module mode is basically the same as above but does not include all referenced projects but only those specified in the plugin's configuration.

The plugin automatically switches to its restricted multi-module mode if you specify a list of modules in its configuration section. The multi-module flag is optional:

<configuration>
  <modules>
    <module>com.example:example1</module>
    <module>com.example:example2</module>
  </modules>
</configuration>

Note: When you specify multi-module mode, all of the modules must be included in the maven build.

For example if the project in our example was structured as follows:

- parentModule
  - example1
  - example2
  - multiModuleProject

You must build the parentModule for the multiModuleProject to build correctly. If you build the multiModuleProject by itself the build will not be able to find resources in the example1 and example2 projects.


libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/images/0000755000175000017500000000000011524031506024365 5ustar twernertwernerlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/images/external.png0000644000175000017500000000034611523610770026725 0ustar twernertwerner‰PNG  IHDR Óº&gAMA¯È7ŠétEXtSoftwareAdobe ImageReadyqÉe< PLTEuuuÿÿÿ™ÿÿÿÑðPtRNSÿÿÿ@*©ôPIDATxÚb`&& @ P6#@ `ÀÄÄäX˜Ć2™Ê« ›‰d@AÔ3ƒ (± *‡½ÜtIEND®B`‚libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/images/expanded.gif0000644000175000017500000000006411523610770026651 0ustar twernertwernerGIF89a€!ù , „j œ´Î;libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/images/icon_success_sml.gif0000644000175000017500000000173611523610770030423 0ustar twernertwernerGIF89a÷ÿÿÿ„™º¦¶Î§·Î¼ÈÚÇÑà¿ÈÕc~¢¡±Çßåíw¬™´¦¸Ë—®¿³Ã©½ËSq‚*/‚¡­%(#8='*!37,/(CH'AF&>B/2*,)FI"!Prkœ¼´¢À¸j•†„¬œtœ‹¢Å²FcOƒ­7G;ÅÖÈÈ£¬Ö©·Û´¸ß²2B.²á¥³â¦·ã«¸ä¬¸ä­ºå¯¼å±Â€¶ã©²à¢²à£œÎˆ¬Þ˜«Ü™©Ù—«Û—]•BÎ…¢Ô‹©Û‘Í„­Õ—]”>¡Ô„çñሻf“Çr¿mˆ¶jÐæÂøûöbœ7Jw*U‡0WŠ2•ÑiÔäÈmª;Ag$r³?o¬=ež8fž8b›7ZŽ2YŠ1S‚.Jt)Qy1‰ËW…½Yu¤Qe‹FcˆE—¹{›½{“h­Î×Çîóê„ÊGv·@uµ?k¥:hž7`’3Jr(ÃE^‘3Q|,S~-Dh%}¼DEi&‹ÎQ²Å¢ÖàÍÏ×ÈãëÜIm&Qx+Ot)Mo(êïåLl&Ig%Gc$õ÷òþþþûûû÷÷÷ÿÿÿ!ù‹,» H° A!,X E aCF5pAÆ *01#†"NT0è‡A˜ ¡ =†Y²&€ NR¤I’1ÅÁbà€JðÃ'À:oŒ8bŠ˜3‡ˆ-ÃeË“‹„у™>Ô|‰Â¥ (ØÌq£Å‹•4häÔ±(Ћm®TÉ"Jž;*d(Å"4l¨p ,Pø°( ;libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/images/close.gif0000644000175000017500000000042711523610652026170 0ustar twernertwernerGIF89a¥ÿÿÿðððïïïàààßßßÐÐÐÏÏÏÀÀÀ¿¿¿°°°¯¯¯   ŸŸŸ€€€pppooo```___PPPOOO@@@???000/// ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ,<@€pH,Šˆ¤r©„™Ð¤™‰–VéS™EtS¦õ Þb¯Ë𙬮¢¿mr·mšëZdÏï÷Ç€A;libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/images/icon_error_sml.gif0000644000175000017500000000176211523610770030103 0ustar twernertwernerGIF89a÷ÿÿÿ ²±«£ q x v m¸;@’GJf46éÒÓ_ Á· œ › ‚ i [ ¾½¹·«¦ ˜ — – “ Š ˆ ~ } s q p n X V L ž  … ƒ  v l ¾~ ®Â"±",¢9?‚6;{6:Ždfå³¶ðàáÂ$¿'¿)©OWͱ³ÞÐÑÅ-Å/«*Ç"4À"3Øs}ôÖÙñÕØðÖÙúðñûòóÇ%8Ç&:È(=È*@È+AÃ*?É5H½=MÀM\ùñòÄ+BÉ.FÉ/GÉ0IË2MË3OÈ2NÇ%9J.F¯p«±r®N3O²v´³x·µ{»@-EL6RO8V08G3O1:bGm3=4>7 C5AgOx?2ME7TmW†|d™}gŽu²š„Á^Vƒøððèààöððýýýûûûúúúôôôÿÿÿ!ù,Ï; H° AJýéÃg’ÁN’Þ´YcŒ—* FrÃM™/]¨HI‚h $5iÎŒ³å “%B€øéTÉ ™0P8ÁÒ$À“2,Êã…‹•,Z(µ¤D‡ŒðL‰¢É¥¨@¡€¢;GŒÉák$<Hd‡ >`ê'‘!\2ƒ†?v°hp‰‡  uÚ@‹ .¨Xñà = q˜0 )f$Tp„"F¼ˆQƒ´ÁGrểCÇÁ€;libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/images/icon_warning_sml.gif0000644000175000017500000000110011523610770030401 0ustar twernertwernerGIF89aæÿÿÿ¸œ§º¡«b`awr}“ޤ˜ º¡¨¿¬²Æ~ް„’²j| £¯ÇfsŠ„™º§·Î·Ä×ÄÏßËÔ⣴ÌÜãì[M@Kƒ? àk®T£N ”G J$ùwñsïrêpÛi×fÖfÔeÎcÍbÇ_¿[¼Z°T©Q¤OšJ E D E ƒ? i2 çnämÃ]¹X·WµV•H ‰A €= h2 ]-Ëbùzù{ìz&«Z¿i&×iù(Ëj&ùƒ1ùƒ2ú†7Ìm-D2%Ìp4úŠBúŽIØ|DÌu@ú”Yú˜aæ\Ì}R׈[¦v[úmI:2̓`û¡vû¤û§ƒÙ‘s=.()ûª‹+*û­‘ç ….!Ó—<,&é¤5&!:*%²‡y*Švp묜*,-¨‡‚š~zÇŸžÿÿÿ!ùv,€v‚ƒ„…† †…oae‹ƒd][s’v iT ‹u^PW†\Z¥MI…gXU¥GAD„SRQ¥?4ƒVONK¥)#C‚nJHFE0=7'6*v B@%¥+8, l !5"9¥.:/Lt"$&(-3:øc‡ Yìø‚f3càÄ‘#¦ ;;libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/images/logos/0000755000175000017500000000000011524031506025510 5ustar twernertwernerlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/images/logos/maven-feather.png0000644000175000017500000000640211523610770030747 0ustar twernertwerner‰PNG  IHDRZ#ž/ pHYs.#.#x¥?vgAMA±Ž|ûQ“ cHRMz%€ƒùÿ€éu0ê`:˜o’_ÅF xIDATxÚb`H €øÿÿÿ£ FF€blnÚ³gÏ÷ïß!ìß¿?xüä8û÷ïߟ?´¶ €XˆQtãÆ®®.[LL,##CAAMÍû÷ï'Ož\WW7eÊooo g„„„ ²oß¾1cFuu5A»øøøBCCýýý£££&ì=q†ñߟß7¿j›%ôó7£™»¾º€¾§²<· Õƒ €ˆJÏŸ?¿yófZZZJJ ''gpp0¦666mmm cß¾}oÞ¼Ù°aCoo/\öÛ·oÀh'Æ.33³ ­366^½zõ›W¯ž<{sbá‘['>>¿ðú׌}ßÒ'|vJzdt9&çî’Ÿ^=§bp±™E@@ÀÂÂÂÊÊ*;;ûÉ“'@‘Ù³g_¿~ȸzõêÂ… 1y÷î]ˆâ>½´uëÖcÇŽÁMøóçO}}½¯¯ïâÅ‹¥Õ¤I“._¾ ÿüùsUUÕß¿ÉçÖ­[@`Ê&F ™Ë–-›ÒѼ}ãªÝOžïgU:̪¾•Mú›øÍŸ"oo3².?ÚÕþÌ)ôJzÖU ßݽýÿÿ? ƒ €XˆTwçÎÖÖV £8P^^2”••555¡søða`d–••¥xyy½¼¼€Ztuuá&œ>}:77˜¢¢¢ää䘘˜€îééÙµk׳gϘ™™ /Ô²&&&ÁÑ «7lxóàÉž›[ÿ1òK3+J2‰>eggaýÿAýï3ÁŸœ|×~‹Þ9ùgñÑÇš3«©ý7Va××ááã–•eçæáæ$)8ˆØààááQWW:èî9sæ$&&âQ T#** Ì2Àp XXÔ ÊÔÔT`vww¯[·...( ,¸b`¨\¸|åç¿á1Ñúg]¾±ã*ËŸÓ ïþy|÷?';#?ûFAvVN=–Ï\JýýÌzñŸäõK_÷ß`ý¸ö×ï÷r|ÿy9ÿëè y™0É*°rˆ ÉK±rpã÷&@!!!ö‰'Ž= ¯¡á~ÀÁÁa°²²«4)))`šÌ2ööö˜õ¿ž¶–¢œÜ?†ÿ?ï­ÿs;èày>•Íìò/~ýþø÷Å“ßOÖÿ}ÉÈÀ´•]މ_ŒEÒœé;ëqÖ,² _¾~ù÷å:»ÜïZGÜÙpùàY¡GLºÂL"¼R&¬œŒŒX €"68~þüùâÅ X@= ¥¥Œy`VúdóæÍ@ïaÖá?~ü@9wî܃€¡T_\\ ‰ŒŒ,**rtt„„° QUU&+¨ËXX@V%=ú÷yúµgO}þ{ýãï;v¡ïìo¾ÿþ÷öü¿ï/þ¾½ÿëìq†?ŒŒ‚BŒüŒlߘ$¤™lÙYßþ[÷ÞÀéïÃ{ßEïüÐT8÷ºðÒu/NWÍÿ‚*†üÒpGQÁô9°ÀÖŠX•*))S{zzúòåËXÁXŽ nnnSSÓ &ìܹÓÝÝRïkßœœ`1±³³  æ©S§Bl™?~rr2<8à€]>5ó½¯çûƒ[¥Vï×:rùínŽ_ìŸþ³²³ü÷bz΢øŸUæ1Ãÿwÿ¾?ÿÿëÝ`ûäþ­¿ÿÿÿõ‘‘Møÿ¡Íÿ¿=þ%æËðòòC.‘»¿¬Å?2~øûñÍ3Öoûï=ãc°“SòçÚ@µJ%+¤¤À* l71‚²°~ „ ` L˜‰ »uÿþ}ýòñãÝóßoÿ³ü—ãï½ïØt˜þúýå?#+'3Ã'&.&¶L,Ϲÿ1ü8Ä .Êð‘õß÷Ûÿ9˜þ}øÏ$ðë,»fì.qfIvvF†ÿ~þäÒõŠ™t@ X#}÷îÝ………ÀšÅÃÃT½¿ÿüùöéãßï~ðëùß½çî¾öÿÝŽŸ‹ýá~ø‡…õϯŸ9¿ü}ÃÆñô¿€îï·¹9Y¿þüÍÎÅõó÷/A®2Ìì‘L?M¹þ}aüøƒ]XÂÅÒ!DQp Q`ÛÀÖ'<†õ%° ä ó?.½ÿÀ"ÐñÀTóû÷/†ÿÿ|ÿñíÝ›¿?~þ{ûö˯ÿ‡nþåÿ÷—‡ùïN%A†/Œllßò‰sÈÊ1üøóçý‡?ÊÜl¼¼\\<À4t3@AM$¬]»V€M/`› X.BÊ`kXpþúõkÞ¼yÀR– €íË{÷îý:è€"!8€Å¼Ö¶AÐb Ø6sssC+€u3†1ÿþÿüöÿû§ÿ~QâtHüøñ#0‰áW ,à€õAeà bƒh0¶‘ZÀÊ…‹‹ ­r•••6çá"À–„£‹þNôÿS£û§TñO‰üŸr•?]ÎÿÌþÿ÷PöñãÇÀXm»ºº;8pKm6{0X±bDغ ¶ƒ€õ°ÊFLKK °‘&R`T4 Xµ—””ÈËËkC 2`O08ˆØàƼ‰ t1°Å¬#+ }@.0Ò^¾| ¸ Úíþäc¢‡æ"›,M€Íˆ–7BÌv  €"ÀôÀ†2<Ülˆ`›˜O!Í|`á…[ÀîË—/øƒ €ˆ `Kn.ЕÁGÁkY`×¥2üüü`‰ûÇß™1ÿÎù÷ðÂÿ×÷ÿÝ>ò·Ó eC”Û`]§N‚Ä3°‚øØŠ,]ºâUH:tØ*ŠÓ)$¼€KxÛ×Çǧ¡¡ÁÚÚž¢Ý(üÁ@ÄÇĉá«§OŸB‘ûì[¶l[ðö80£æã?ÿ?¿ý÷øò¿«{þÎŽƒÇ–6ˆ$0‘CtmذÈ9s&„ ¬‰A ÌAÀÄŸÀüò A÷jRRDWcc#ÄXHÒKxÿþ=þà bë9`ŒAÀt+&&owÃK `3¾rå ¼ydxÿ”).ï`xó€áïo”GÁ€§ 'Q ì@CülÝÍ?{ö,d˜ÆÂ0Œ€YjðT iø°' ϹÈåV@,D¶>®°ŒŒà…“'OBÀâ Fð€VÀ Ô÷è¿é _ÞƒAVQÎ[èÿÞ) ~10³2Ê@Ô«©©Á[«“&MæD Ø©Ôb± –Öð€ƒ`¹ôêóçÏU;$tàAvæÌÃÒÒ’ Oˆ¨à¦±Û·oÃG«àÍ­óçÏ£ "‡¢¢"$Œþ¯¯…0!xW2¹002ýxþÿ®~"E^Q´ÔôÄ '+**àÖAÀ‚cÙ²eh-1HRº’0õôô€õDöøñãÄ@5Lî ²Ï5ÈÇ ‡ÑϯÿŸ_Gä `·Øâ8µ‚ìFED² t·k×.`3° ¯Îà#IÀÖàÂ… !Þæ©U«V ËàáeøàÜçÀçÒ¥K¶••AŸQ©XtAœœœpg!‡‘¹¹9„LáÀ¤Ž,l ì< _߃æs¥´þ¿ºÃðù-4€”Á!##4Ød‚D5°dõ÷÷‡Ë=ì »ÈÀ¶oBB°ï TüõëW bqqq`:ÂÀòõõë×@°dgF< €ˆJ@C¹Á˜á¥Ñ…  ‚‚‚‚@qˆ 0*€…DF̬L>• lœàNΧÿÏ®3ZÅ3Ë2°°ƒ¢rqt1;Í& Hµ ¯&-±ÔÔTHsÀF0Ûcyyy„póæM ^ àÁÌwÀ" (hkkKL¿ €ˆêÂ}úô 'ÒØÂƒ]I±@GÃ'€:`ŒÁ›=ÿ¼{üÿé`Tprò3|~É, |â H®¶»íKHÐ`|ÀÕ\»v H= ,Võ¤^V+*HA<ÿ € `ôðóóœv ÑY8”à ¦ÑP@4ŠP@€„Z¤':ævrIEND®B`‚libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/images/logos/build-by-maven-white.png0000644000175000017500000000432411523610770032157 0ustar twernertwerner‰PNG  IHDRZ#ž/ pHYs.#.#x¥?vtIME×5B­a³sIDATXÃíY}LS[Ÿ{¡_”b¡‹6(_iø¸º _Ú Aõ+ ¸D³+*Æ5âžÙˆpÝ d…¬QyFC$¸üXˆkX\*R>  VD„Oj© ´½÷ìG>»’ø|aÒ?æÎ™3÷ÎïÌ™™sJ!„`&‰^€`Ž/ƒãùóç&)--­»»{¶ŽÑhÌÈÈ€üüüW¯^1 óîÝ;2j0²²²~!pô÷÷wtt>|øÐ¡C"‘h÷îݳuø|~`` |8::ZRR‚•%É–-[ÂÃÃW¬XA,hµÚÀÀÀœœœÜÜÜššš¦‹ŠŠ ªªJ¯×ÛÙÙY­Ö¯^ææ ‡£££R©ô÷÷ß°aÃ¥K—ŒFãg”íìì\]]¥R©D"!ÂÕ«WÇÇÇûùù%&&VWWïÚµëîÝ»¡[·n%$$À±cÇ”Jå×…Ã~Žzr¹<66óuuuµµµ€slll.„B!fx<EQnnnµµµ­­­*•êËØ€€‰DÒÙÙi³Ù***fëS5>>>]ÒÔÔÔÝÝm±X***Ö­[ )))ÑÑÑ)FóöíÛo‰DÂ0L\\\\\ÜÙ³góóó ERRRaaáúõë—.]êééÉãñüýýÀÇÇG,‡„„ÔÔÔTVV’º£V«=„áØ¹sg{{û¾}û°Î•+WH2þj„¾€l6›Ífû±Q–e9Ž›!™˜˜ }}}aaa3t¾.Á×zqUUU``à½{÷Ðω¨/©mcccÃÃÃ|>ßÅÅ…¢(,´Z­ƒ¢(™Lfoÿ£©šã8Žã>£ðsß,¥¥¥A“ÔÖÖ–žžîææ†óÂÞ½{ÇÇÇ-ËåË—hš¦i:44´«« }Sô?À‘œœLªÆì!55uãÆ$F0ÅÆÆÎ2á 3{l–/ùnƒ&“é'S˲ ÃÌ1CÍŽãBCC§7Z …ÂÁÁaFquww—J¥Dâáá1e¡ö{6w‡íO+lô¶ð´¥úÚþº«.@¬ !ôæÍ›èèh•Jc6›ÉKU*•J¥*..ÆB­V»gϹ\.‹%‰R©ÌÌÌ$z||\­V«Tªèè覦¦'Nxzz:99)•ÊŠŠŠyƒÃd2‘3&&w†„ƒR©Ôh4V«upp âëë;U†þ¼ÎvT6ûÇÕN·oooßÝݧ”——cû^^^&“ !tîÜ9‡¡wtt$¸9rOimm¥ihš–ÉdÓWËÅÅeddd~ਫ«#vËË˱°§§ÇÎÎ O:E–çؾ}ûdp³÷qÿ¾Ä½~‚Þ¾â^ü‡ýËz û}2VY¾|9žU__×9(({^RR‚º~ý:v5** CVSS#ÀÁÁãUPP@zß­[·ž>}:22’D´N§›8rss?ôm4Ý×ׇ…ÓÏì·o߯B½^OúñÌÌÌ÷± 1îM+×vŸ-øÝ8nŸÅƒjµÏ*++C]¼x?nÞ¼™ã8³ÙìããƒýÔjµ}“„¡'®8pÏ:sæ 6‹Ïø”`4?ïæ\ë\}}=f¼¼¼/^Lún’5BBB0ÿôéSÒž!{¹šBÔúOêÖúQÆñú fHtôõõ™L&|]$ ÏŸ?OQTcc#îY­Vë”ÙIâñx2™Œã8Ÿñ€¡¡!²s§çµÿÿDzlcc#æW­ZEš…ÇcÆÓÓ“`D€ãóù+W®Ôó„ûûoad( ܃)_ƒØý+l°ãQ+±¾ŸŸfôz}^^^OO¤¤¤à*†ïVÀÝÝGH¡PH¥Òþþþ®®.Œ¬¡¡3áááós¢5/^¼À<©/V«µ¹¹y†p:ÞÞÞ#ôS02”ú;z〢ÑëfTõ7€_yƒÄuFt444`# …"--¼3QQQ7nܘÝ:@ss3Ìàà`±XŒG=z4w8æt„klldYv†çƒƒƒ¯_¿þiŒ&FQÿ³©}AÑ`³ úb@(ï©°÷ññÁqWUUe4)ŠÊÎÎ&åŒÜ$•––a·M&ÓÍ›7###ñõ-¹|#ž›Íæ––ÌGDDÌOthµZ̈D"òYÓ1Z³f fzzzôzýGpØóAà£Fà ÷Snè0†)¦àX¶l™H$b/µZ­Þ±cˆˆØ´iSee¥ÅbÙ¿ÿÁƒE"Ñèè(BhÉ’% …â“pèt:|i “ÉÈfüÒèÐétb±X,“lôäÉ,tvvÆÂ––¡Pˆå0²ãÑ[¿¾`ì=Ò?£"~2w°€½¼C§§C???@ œ³³³qY%e²¸¸8)) ·,ËŽŒŒP%—Ë?Ž¡££C …BGCCŸÏk×®Ñ1’æt„{ÿþ½ÅbÁÙÑÉÉ GFFpÄÒ4íââBu£££¤í™òçÝÔ÷x"Êc%ˆóÞ,à´¦}¥Á`˜˜˜Àиºº~òc C{{»Á`îîî¾¾¾¸®s700€Ëœ\.ÇÎ3 Ã0 ˆÅâE‹Í ;-À±@ÿ§wýí¿ƒIEND®B`‚libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/images/logos/build-by-maven-black.png0000644000175000017500000000436611523610770032121 0ustar twernertwerner‰PNG  IHDRZ#ž/ pHYs.#.#x¥?vtIME×úļ•IDATXÃíXiLTY>ï½* ( ±J¶BZ@–€Š›ˆ†%‚‡?hÆ?"jb‚Qd~(„d\ÆA $ &Œ2™¸1 ›€ »‘"R`UJ-¼Zîü8Ìm„žîÎ4É´NêÇ©sÏ}ïÞï~ïœsÀš¬É𬒤¦¦ÖÔÔÔÔÔTWWzxx¬ôQ(‡bY¶¤¤ÄÕÕU&“‰Å⥣¹¹¹ßÄfÙ_ôغu+!¤ªªª¶¶6<<¼¼¼|¥ÏÜÜÜøø8˲™™™NNNçÎKMM¥£~~~1118`rrR©T¶¶¶ÖÔÔ@II‰D"€ôôô¤¤$www???tÞ¶m[JJJ^^µÀúõë¯_¿^__Ÿ””ÄqÜ… eáááÇ …çÏŸ_J¨ß5‰‰‰gÏž---­¨¨(++€ýû÷;;;@TTTxxx@@Àž={Ðùýû÷ÝÝݳ³³K¿¸ºººòòòêêjOOOooï´´4ÈÍÍ%„0 # ¿vhµÚáááööö“'Or÷3Î&“É`0LOOó>þÕ«W‹¥¹¹ùÒ¥K·oߎãöíÛçääô °czz:;;;>>¦¦¦<¸°°PQQQUU¥ÑhZ[[ggg ÃÄÄ!dppÐn·777·µµ€Á`P*•>ôðð¸|ùòÔÔܽ{÷ðáà  :;;—~_ߘ–ý¯äZ9Äqœ@ð#úiii•••ke@~~~___ppðïma̯ôsvvvssC]¯×B‚‚‚<==­Vëàààüü<ùøø2 £R©&''†Y‡Ãáp|«çyæÌÜ€ÕjÝ»wï³gÏìv;!„2<<ìçç'•J¯^½j2™Ðh2™²²²þ°ônllÄ}Z­V£ÑH¾–G-3~;ðue·H¹/A„”“:3Ëø‚‚ù{‘º CíK7lسk×®àààeC,Ë¢?G®®®[¶l‰ˆˆXÍ´%ÆÇÇé>5MSSÓ‡–nÞh4>}ú´»»›ZL&“H$Â'ämsžøóúù<©-_fË—Yóe†¤ÿø^âïÆâz{{µZ­V«MNN¦ï½xñ"ëëë¦ÈÈÈÐó°ÙlCCCééétJQQN¹víÚéÓ§ÕjµÃá°ÛíoÞ¼ùî»ïV???‡Ã+¸qã^.ÂÂÂèÎ{{{7n܈)“ÒD§ÓÑüÒô½X8*CthnnÆYGŽAKPPÐüü~ü6›Íf³¡q``€Ë·ZûÁ~ñ­Ö‰þ¦õ¼¡«z»X¤†x,Öû£££¨ÈårTŠ‹‹÷ÊÊʾ¾¾ºº:±X<33£P(¶o߈e‹H$ÊÎÎÆr122§÷ôô;vìèÑ£´hÆ[…"=..³Ùüöí[Ô#""¨CWW½¹Ò‹,5Àé—&r1»}ƒ@.f‹à¾7Ø…B‘““ƒE`II œ:uÊÝÝjkkœœ°c€F ‘Éd Óéñ0ÒÓÓ322@¥R­2£££z½uÚ „tww£Fó1…Ãß=©pÉ ròwc™¯3{‡Æ¶–eKKK1øÎÍ͉D"Ú@)(((((X¶BäæÎ;‘Å”˜¾¾¾¨tvv® ÃÄÆÆRÒ×PŒT*ÕÌÌÌ2#…#̃{šå.³Ð3ck›²M|¶ĸø¸² üccc‡ƒeY¹\¾{÷n<Ï—/_ÖÕÕ€D"Á]Y,–'OžB–-òñãÇþU*•”­´Ø£Æß$¡¡¡4åååÑ\£R©ÐØÐÐ@oݺ…F­V‹ukŸFÍ¿'‰9`ƒ3cøAŠaUâÄÐuùò…¢V«ÛÚÚ!<ÏÓíyyya™c4×­[·l…Ø+á8n``ßN/– 42 ³ ¡tåcõéïᅩ„ÇEGG£Ž—e Æk‘€½Ÿìv, ‰… ¼ÓÚ¾ð„¶±]äë뛀1‚ž§^¯Ÿ˜˜À:¢²²™Â²lllìµk×JKKÀÓÓsóæÍØCèééÁ‰;vì ÔXɩ߇^¯Y™k(F2™ D„€~aq‰®ÿÚï>œëñ×Ý‹M@ú¥, 0;;[TTDÿò<_VV†ûÉÉÉQ«ÕƒÁb±tuuåååõ÷÷c,Ãp344DåW{{ûêô; Ïó<Ï¿{÷îóçÏhŒŽŽFãüüüëׯi——Îó ‚FØ`\- 5Z=97‚D`] I' 1ì30‚@KICA@,¨"‹éøcÇ $X ñA‚ ?tàÀrå…Š!8h 2è† @ Pa†b ;libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/images/collapsed.gif0000644000175000017500000000006511523610770027030 0ustar twernertwernerGIF89a€!ù , DŽ`ºçžcŠ5 ;libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/images/newwindow.png0000644000175000017500000000033411523610770027121 0ustar twernertwerner‰PNG  IHDR Óº&gAMA¯È7ŠétEXtSoftwareAdobe ImageReadyqÉe< PLTEuuu™ÿÿÿÿÿÿ€8ÉÙtRNSÿÿÿ@*©ôFIDATxÚb`fff„f€b±™@€‘ €€Æ „8@!³™ @`6Ô€±L€Ø& ±´Â^IEND®B`‚libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/basic.html0000644000175000017500000002750111524737532025110 0ustar twernertwerner JiBX -

Basic Binding Compilation

If you've never used a Maven plugin before please take a look at Maven's Getting Started Guide.

To use the plugin in your project you have to add it to the plugins section of your POM.

<plugin>
  <groupId>org.jibx</groupId>
  <artifactId>maven-jibx-plugin</artifactId>
  <version>1.2.2</version>
  <executions>
    <execution>
      <goals>
        <goal>bind</goal>
      </goals>
    </execution>
  </executions>
</plugin>

The project also needs to include jibx-run and optionally jibx-extras in its dependencies.

<dependency>
  <groupId>org.jibx</groupId>
  <artifactId>jibx-run</artifactId>
  <version>1.2.2</version>
</dependency>
<dependency>
  <groupId>org.jibx</groupId>
  <artifactId>jibx-extras</artifactId>
  <version>1.2.2</version>
</dependency>

Configuration

The plugin supports the following configuration options.

option default description
directory src/main/config In which directory to search for binding definitions.
includes binding.xml Which files in the configuration directory to include as binding definitions.
excludes none Which files in the configuration directory that will be matched by one the include patterns to exclude.
multi-module false Control flag to enable multi-module mode. (See modes.html#Multi-module mode)
modules none Which modules to include in multi-module mode. (See modes.html#Restricted multi-module mode)
load false Control flag for test loading generated/modified classes.
validate true Control flag for binding definition validation.
verbose false Control flag for verbose processing reports.
verify false Control flag for verifying generated/modified classes with BCEL.

Example

This example would include all files ending in -binding.xml except template-binding.xml in the src/main/jibx directory and output verbose messages during binding compilation:

<plugin>
  <groupId>org.jibx</groupId>
  <artifactId>maven-jibx-plugin</artifactId>
  <version>1.2.2</version>
  <configuration>
    <directory>src/main/jibx</directory>
    <includes>
      <include>*-binding.xml</include>
    </includes>
    <excludes>
      <exclude>template-binding.xml</exclude>
    </excludes>
    <verbose>true</verbose>
  </configuration>
  <executions>
    <execution>
      <goals>
        <goal>bind</goal>
      </goals>
    </execution>
  </executions>
</plugin>

Download

If you want the plugin and libraries to be automatically downloaded then include the respective repositories in your POM.

<repositories>
  <repository>
    <id>jibx.sf.net</id>
    <name>JiBX repository</name>
    <url>http://jibx.sf.net/maven2</url>
    <releases>
      <updatePolicy>never</updatePolicy>
    </releases>
    <snapshots>
      <enabled>false</enabled>
    </snapshots>
  </repository>
</repositories>
<pluginRepositories>
  <pluginRepository>
    <id>jibx.sf.net</id>
    <name>JiBX repository</name>
    <url>http://jibx.sf.net/maven2</url>
    <releases>
      <updatePolicy>never</updatePolicy>
    </releases>
    <snapshots>
      <enabled>false</enabled>
    </snapshots>
  </pluginRepository>
</pluginRepositories>

Example

Here is a complete sample pom file.

<project>
  <modelVersion>4.0.0</modelVersion>

  <groupId>org.mycompany</groupId>
  <artifactId>my-artifact-id</artifactId>
  <version>3.4.5</version>

  <build>
    <plugins>
      <plugin>
        <groupId>org.jibx</groupId>
        <artifactId>maven-jibx-plugin</artifactId>
        <version>1.2.2</version>
        <configuration>
        <directory>src/main/resources</directory>
        <includes><include>*-binding.xml</include></includes>
        <verbose>true</verbose>
        </configuration>
        <executions>
          <execution><goals><goal>bind</goal></goals></execution>
        </executions>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>

    </plugins>
  </build>

  <dependencies>
    <dependency>
      <groupId>org.jibx</groupId>
      <artifactId>jibx-run</artifactId>
      <version>1.2.2</version>
    </dependency>
    <dependency>
      <groupId>org.jibx</groupId>
      <artifactId>jibx-extras</artifactId>
      <version>1.2.2</version>
    </dependency>
  </dependencies>

</project>

libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/team-list.html0000644000175000017500000002217711524737636025737 0ustar twernertwerner JiBX - Team list

The Team

A successful project requires many people to play many roles. Some members write code or documentation, while others are valuable as testers, submitting patches and suggestions.

The team is comprised of Members and Contributors. Members have direct access to the source of a project and actively evolve the code-base. Contributors improve the project through submission of patches and suggestions to the Members. The number of Contributors to the project is unbounded. Get involved today. All contributions to the project are greatly appreciated.

Members

The following is a list of developers with commit privileges that have directly contributed to the project in one way or another.

Id Name Email URL Time Zone Actual Time (GMT)
doncorley Don Corley don@tourgeek.com http://www.tourgeek.com/ -8 -8

Contributors

The following additional people have contributed to this project through the way of suggestions, patches or documentation.

Name Email URL Time Zone Actual Time (GMT)
Frank Mena frankm.os@gmail.com - -08 -08
Jerome Bernard jerome.bernard@gmail.com - +1 +1
Andreas Brenk mail@andreasbrenk.com http://andreasbrenk.com/ +01 +01

libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/dependencies.html0000644000175000017500000031165311524737636026466 0ustar twernertwerner JiBX - Project Dependencies

Project Dependencies

compile

The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:

GroupId ArtifactId Version Type
com.thoughtworks.qdox qdox 1.6.2 jar
commons-io commons-io 1.1 jar
log4j log4j 1.2.15 jar
org.apache.maven maven-plugin-api 2.2.1 jar
org.apache.maven maven-project 2.2.1 jar
org.codehaus.plexus plexus-utils 2.0.5 jar
org.eclipse.equinox common 3.3.0-v20070426 jar
org.eclipse.jdt core 3.3.0-v_771 jar
org.jibx jibx-bind 1.2.2 jar
org.jibx jibx-extras 1.2.2 jar
org.jibx jibx-run 1.2.2 jar
org.jibx jibx-tools 1.2.2 jar
xpp3 xpp3 1.1.3.4.O jar

Project Transitive Dependencies

The following is a list of transitive dependencies for this project. Transitive dependencies are the dependencies of the project dependencies.

compile

The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:

GroupId ArtifactId Version Type
ant ant 1.5.1 jar
backport-util-concurrent backport-util-concurrent 3.1 jar
bcel bcel 5.1 jar
classworlds classworlds 1.1-alpha-2 jar
javax.activation activation 1.1 jar
javax.mail mail 1.4 jar
jmock jmock 1.0.0 jar
junit junit 3.8.1 jar
org.apache.maven maven-artifact 2.2.1 jar
org.apache.maven maven-artifact-manager 2.2.1 jar
org.apache.maven maven-model 2.2.1 jar
org.apache.maven maven-plugin-registry 2.2.1 jar
org.apache.maven maven-profile 2.2.1 jar
org.apache.maven maven-repository-metadata 2.2.1 jar
org.apache.maven maven-settings 2.2.1 jar
org.apache.maven.wagon wagon-provider-api 1.0-beta-6 jar
org.codehaus.plexus plexus-container-default 1.0-alpha-9-stable-1 jar
org.codehaus.plexus plexus-interpolation 1.11 jar
org.codehaus.woodstox wstx-asl 3.2.1 jar
org.eclipse osgi 3.3.0-v20070530 jar
org.eclipse text 3.3.0-v20070606-0010 jar
org.eclipse.core commands 3.3.0-I20070605-0010 jar
org.eclipse.core contenttype 3.2.100-v20070319 jar
org.eclipse.core expressions 3.3.0-v20070606-0010 jar
org.eclipse.core filesystem 1.1.0-v20070606 jar
org.eclipse.core jobs 3.3.0-v20070423 jar
org.eclipse.core resources 3.3.0-v20070604 jar
org.eclipse.core runtime 3.3.100-v20070530 jar
org.eclipse.equinox preferences 3.2.100-v20070522 jar
org.eclipse.equinox registry 3.3.0-v20070522 jar
org.jibx jibx-schema 1.2.2 jar
stax stax-api 1.0.1 jar

Project Dependency Graph

Dependency Tree

  • org.jibx:maven-jibx-plugin:maven-plugin:1.2.2 Information
    • org.apache.maven:maven-plugin-api:jar:2.2.1 (compile) Information
    • org.apache.maven:maven-project:jar:2.2.1 (compile) Information
      • org.apache.maven:maven-settings:jar:2.2.1 (compile) Information
      • org.apache.maven:maven-profile:jar:2.2.1 (compile) Information
      • org.apache.maven:maven-model:jar:2.2.1 (compile) Information
      • org.apache.maven:maven-artifact-manager:jar:2.2.1 (compile) Information
        • org.apache.maven:maven-repository-metadata:jar:2.2.1 (compile) Information
        • org.apache.maven:maven-artifact:jar:2.2.1 (compile) Information
        • org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1 (compile) Information
        • org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6 (compile) Information
        • backport-util-concurrent:backport-util-concurrent:jar:3.1 (compile) Information
      • org.apache.maven:maven-plugin-registry:jar:2.2.1 (compile) Information
        • org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1 (compile) Information
      • org.codehaus.plexus:plexus-interpolation:jar:1.11 (compile) Information
      • org.apache.maven:maven-artifact:jar:2.2.1 (compile) Information
      • org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1 (compile) Information
        • junit:junit:jar:3.8.1 (compile) Information
        • classworlds:classworlds:jar:1.1-alpha-2 (compile) Information
    • org.jibx:jibx-tools:jar:1.2.2 (compile) Information
      • org.jibx:jibx-schema:jar:1.2.2 (compile) Information
        • org.jibx:jibx-run:jar:1.2.2 (compile) Information
        • bcel:bcel:jar:5.1 (compile) Information
      • org.jibx:jibx-bind:jar:1.2.2 (compile) Information
      • org.jibx:jibx-run:jar:1.2.2 (compile) Information
      • bcel:bcel:jar:5.1 (compile) Information
    • org.jibx:jibx-bind:jar:1.2.2 (compile) Information
      • org.jibx:jibx-run:jar:1.2.2 (compile) Information
      • bcel:bcel:jar:5.1 (compile) Information
    • org.jibx:jibx-extras:jar:1.2.2 (compile) Information
    • org.jibx:jibx-run:jar:1.2.2 (compile) Information
    • org.codehaus.plexus:plexus-utils:jar:2.0.5 (compile) Information
    • xpp3:xpp3:jar:1.1.3.4.O (compile) Information
    • com.thoughtworks.qdox:qdox:jar:1.6.2 (compile) Information
      • ant:ant:jar:1.5.1 (compile) Information
      • junit:junit:jar:3.8.1 (compile) Information
      • jmock:jmock:jar:1.0.0 (compile) Information
    • commons-io:commons-io:jar:1.1 (compile) Information
    • org.eclipse.jdt:core:jar:3.3.0-v_771 (compile) Information
      • org.eclipse.core:resources:jar:3.3.0-v20070604 (compile) Information
        • org.eclipse.core:expressions:jar:3.3.0-v20070606-0010 (compile) Information
          • org.eclipse.core:runtime:jar:3.3.100-v20070530 (compile) Information
        • org.eclipse.core:filesystem:jar:1.1.0-v20070606 (compile) Information
        • org.eclipse.core:runtime:jar:3.3.100-v20070530 (compile) Information
      • org.eclipse.core:runtime:jar:3.3.100-v20070530 (compile) Information
        • org.eclipse:osgi:jar:3.3.0-v20070530 (compile) Information
        • org.eclipse.core:jobs:jar:3.3.0-v20070423 (compile) Information
        • org.eclipse.equinox:registry:jar:3.3.0-v20070522 (compile) Information
        • org.eclipse.equinox:preferences:jar:3.2.100-v20070522 (compile) Information
        • org.eclipse.core:contenttype:jar:3.2.100-v20070319 (compile) Information
          • org.eclipse.equinox:preferences:jar:3.2.100-v20070522 (compile) Information
          • org.eclipse.equinox:registry:jar:3.3.0-v20070522 (compile) Information
      • org.eclipse.core:filesystem:jar:1.1.0-v20070606 (compile) Information
        • org.eclipse.equinox:registry:jar:3.3.0-v20070522 (compile) Information
        • org.eclipse:osgi:jar:3.3.0-v20070530 (compile) Information
      • org.eclipse:text:jar:3.3.0-v20070606-0010 (compile) Information
        • org.eclipse.core:commands:jar:3.3.0-I20070605-0010 (compile) Information
    • org.eclipse.equinox:common:jar:3.3.0-v20070426 (compile) Information
    • log4j:log4j:jar:1.2.15 (compile) Information
      • javax.mail:mail:jar:1.4 (compile) Information
        • javax.activation:activation:jar:1.1 (compile) Information

Licenses

BSD: jibx-bind, jibx-extras, jibx-run, jibx-schema, jibx-tools

Unknown: Default Plexus Container, QDox, Unnamed - ant:ant:jar:1.5.1, Unnamed - bcel:bcel:jar:5.1, Unnamed - javax.mail:mail:jar:1.4, Unnamed - jmock:jmock:jar:1.0.0, Unnamed - xpp3:xpp3:jar:1.1.3.4.O, classworlds

BSD License: Maven JiBX Plugin

The Apache Software License, Version 2.0: Apache Log4j, IO, Maven Artifact, Maven Artifact Manager, Maven Local Settings Model, Maven Model, Maven Plugin API, Maven Plugin Registry Model, Maven Profile Model, Maven Project Builder, Maven Repository Metadata Model, Maven Wagon API, Plexus Common Utilities, Plexus Interpolation API, StAX API, Woodstox

Common Development and Distribution License (CDDL) v1.0: JavaBeans Activation Framework (JAF)

Eclipse Public License - v 1.0: %systemBundle, Commands, Common Eclipse Runtime, Core File Systems, Core Resource Management, Core Runtime, Eclipse Content Mechanism, Eclipse Jobs Mechanism, Eclipse Preferences Mechanism, Expression Language, Extension Registry Support, Java Development Tools Core, Text

Public Domain: Backport of JSR 166

Common Public License Version 1.0: JUnit

Dependency File Details

Filename Size Entries Classes Packages JDK Rev Debug
ant-1.5.1.jar 700.85 kB 435 401 21 1.1 debug
backport-util-concurrent-3.1.jar 323.94 kB 251 239 5 1.4 debug
bcel-5.1.jar 503.83 kB 386 373 8 1.2 debug
classworlds-1.1-alpha-2.jar 36.64 kB 32 22 3 1.1 debug
qdox-1.6.2.jar 100.63 kB 72 53 10 1.1 debug
commons-io-1.1.jar 60.12 kB 52 41 4 1.1 debug
activation-1.1.jar 61.51 kB 50 38 3 1.4 debug
mail-1.4.jar 379.71 kB 273 250 12 1.4 debug
jmock-1.0.0.jar 67.63 kB 106 94 8 1.2 release
junit-3.8.1.jar 118.23 kB 119 100 6 1.1 debug
log4j-1.2.15.jar 382.65 kB 296 259 19 1.1 debug
maven-artifact-2.2.1.jar 78.44 kB 94 64 15 1.5 debug
maven-artifact-manager-2.2.1.jar 65.99 kB 52 29 7 1.5 debug
maven-model-2.2.1.jar 85.54 kB 61 45 2 1.5 debug
maven-plugin-api-2.2.1.jar 12.08 kB 23 8 2 1.5 debug
maven-plugin-registry-2.2.1.jar 29.01 kB 28 9 2 1.5 debug
maven-profile-2.2.1.jar 34.53 kB 33 15 2 1.5 debug
maven-project-2.2.1.jar 152.62 kB 98 72 10 1.5 debug
maven-repository-metadata-2.2.1.jar 25.05 kB 24 6 2 1.5 debug
maven-settings-2.2.1.jar 47.89 kB 38 20 2 1.5 debug
wagon-provider-api-1.0-beta-6.jar 51.94 kB 62 41 8 1.4 debug
plexus-container-default-1.0-alpha-9-stable-1.jar 189.63 kB 215 175 28 1.1 debug
plexus-interpolation-1.11.jar 49.74 kB 55 40 5 1.4 debug
plexus-utils-2.0.5.jar 217.94 kB 120 95 9 1.3 debug
wstx-asl-3.2.1.jar 493.97 kB 257 247 19 1.2 debug
osgi-3.3.0-v20070530.jar 905.75 kB 525 435 44 1.2 debug
text-3.3.0-v20070606-0010.jar 228.01 kB 183 162 7 1.2 debug
commands-3.3.0-I20070605-0010.jar 100.96 kB 102 83 7 1.1 debug
contenttype-3.2.100-v20070319.jar 80.79 kB 66 49 2 1.2 debug
expressions-3.3.0-v20070606-0010.jar 79.88 kB 69 51 4 1.2 debug
filesystem-1.1.0-v20070606.jar 42.12 kB 40 23 4 1.2 debug
jobs-3.3.0-v20070423.jar 79.81 kB 60 44 2 1.1 debug
resources-3.3.0-v20070604.jar 662.75 kB 360 330 14 1.2 debug
runtime-3.3.100-v20070530.jar 71.58 kB 50 32 3 1.1 debug
common-3.3.0-v20070426.jar 90.56 kB 70 55 3 1.1 debug
preferences-3.2.100-v20070522.jar 101.02 kB 79 56 4 1.1 debug
registry-3.3.0-v20070522.jar 157.11 kB 106 84 6 1.2 debug
core-3.3.0-v_771.jar 3.93 MB 1,474 1,380 43 1.2 debug
jibx-bind-1.2.2.jar 425.00 kB 186 175 7 1.3 debug
jibx-extras-1.2.2.jar 48.06 kB 27 22 1 1.3 debug
jibx-run-1.2.2.jar 132.79 kB 80 74 2 1.3 debug
jibx-schema-1.2.2.jar 264.34 kB 166 156 6 1.3 debug
jibx-tools-1.2.2.jar 458.52 kB 240 221 11 1.3 debug
stax-api-1.0.1.jar 25.89 kB 48 40 5 1.2 debug
xpp3-1.1.3.4.O.jar 117.08 kB 78 56 13 1.2 debug
Total Size Entries Classes Packages JDK Rev Debug
45 12.08 MB 7,241 6,264 400 1.5 44
compile: 45 compile: 12.08 MB compile: 7,241 compile: 6,264 compile: 400 - compile: 44

Dependency Repository Locations

Repo ID URL Release Snapshot Blacklisted
sonatype-nexus-snapshots https://oss.sonatype.org/content/repositories/snapshots - Yes -
central http://repo1.maven.org/maven2 Yes - -
jibx.sourceforge.net http://jibx.sourceforge.net/maven2 Yes - -
java.net https://maven-repository.dev.java.net/nonav/repository Yes Yes Yes
apache.snapshots http://repository.apache.org/snapshots - Yes -
snapshots http://snapshots.maven.codehaus.org/maven2 - Yes Yes
jibx.sf.net http://jibx.sf.net/maven2 Yes - -

Repository locations for each of the Dependencies.

Artifact sonatype-nexus-snapshots central jibx.sourceforge.net apache.snapshots jibx.sf.net
ant:ant:jar:1.5.1 - Found at http://repo1.maven.org/maven2 - - -
backport-util-concurrent:backport-util-concurrent:jar:3.1 - Found at http://repo1.maven.org/maven2 - - -
bcel:bcel:jar:5.1 - Found at http://repo1.maven.org/maven2 - - -
classworlds:classworlds:jar:1.1-alpha-2 - Found at http://repo1.maven.org/maven2 - - -
com.thoughtworks.qdox:qdox:jar:1.6.2 - Found at http://repo1.maven.org/maven2 - - -
commons-io:commons-io:jar:1.1 - Found at http://repo1.maven.org/maven2 - - -
javax.activation:activation:jar:1.1 - Found at http://repo1.maven.org/maven2 - - -
javax.mail:mail:jar:1.4 - Found at http://repo1.maven.org/maven2 - - -
jmock:jmock:jar:1.0.0 - Found at http://repo1.maven.org/maven2 - - -
junit:junit:jar:3.8.1 - Found at http://repo1.maven.org/maven2 - - -
log4j:log4j:jar:1.2.15 - Found at http://repo1.maven.org/maven2 - - -
org.apache.maven:maven-artifact:jar:2.2.1 - Found at http://repo1.maven.org/maven2 - - -
org.apache.maven:maven-artifact-manager:jar:2.2.1 - Found at http://repo1.maven.org/maven2 - - -
org.apache.maven:maven-model:jar:2.2.1 - Found at http://repo1.maven.org/maven2 - - -
org.apache.maven:maven-plugin-api:jar:2.2.1 - Found at http://repo1.maven.org/maven2 - - -
org.apache.maven:maven-plugin-registry:jar:2.2.1 - Found at http://repo1.maven.org/maven2 - - -
org.apache.maven:maven-profile:jar:2.2.1 - Found at http://repo1.maven.org/maven2 - - -
org.apache.maven:maven-project:jar:2.2.1 - Found at http://repo1.maven.org/maven2 - - -
org.apache.maven:maven-repository-metadata:jar:2.2.1 - Found at http://repo1.maven.org/maven2 - - -
org.apache.maven:maven-settings:jar:2.2.1 - Found at http://repo1.maven.org/maven2 - - -
org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6 - Found at http://repo1.maven.org/maven2 - - -
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1 - Found at http://repo1.maven.org/maven2 - - -
org.codehaus.plexus:plexus-interpolation:jar:1.11 - Found at http://repo1.maven.org/maven2 - - -
org.codehaus.plexus:plexus-utils:jar:2.0.5 - Found at http://repo1.maven.org/maven2 - - -
org.codehaus.woodstox:wstx-asl:jar:3.2.1 - Found at http://repo1.maven.org/maven2 - - -
org.eclipse:osgi:jar:3.3.0-v20070530 - Found at http://repo1.maven.org/maven2 - - -
org.eclipse:text:jar:3.3.0-v20070606-0010 - Found at http://repo1.maven.org/maven2 - - -
org.eclipse.core:commands:jar:3.3.0-I20070605-0010 - Found at http://repo1.maven.org/maven2 - - -
org.eclipse.core:contenttype:jar:3.2.100-v20070319 - Found at http://repo1.maven.org/maven2 - - -
org.eclipse.core:expressions:jar:3.3.0-v20070606-0010 - Found at http://repo1.maven.org/maven2 - - -
org.eclipse.core:filesystem:jar:1.1.0-v20070606 - Found at http://repo1.maven.org/maven2 - - -
org.eclipse.core:jobs:jar:3.3.0-v20070423 - Found at http://repo1.maven.org/maven2 - - -
org.eclipse.core:resources:jar:3.3.0-v20070604 - Found at http://repo1.maven.org/maven2 - - -
org.eclipse.core:runtime:jar:3.3.100-v20070530 - Found at http://repo1.maven.org/maven2 - - -
org.eclipse.equinox:common:jar:3.3.0-v20070426 - Found at http://repo1.maven.org/maven2 - - -
org.eclipse.equinox:preferences:jar:3.2.100-v20070522 - Found at http://repo1.maven.org/maven2 - - -
org.eclipse.equinox:registry:jar:3.3.0-v20070522 - Found at http://repo1.maven.org/maven2 - - -
org.eclipse.jdt:core:jar:3.3.0-v_771 - Found at http://repo1.maven.org/maven2 - - -
org.jibx:jibx-bind:jar:1.2.2 - Found at http://repo1.maven.org/maven2 Found at http://jibx.sourceforge.net/maven2 - Found at http://jibx.sf.net/maven2
org.jibx:jibx-extras:jar:1.2.2 - Found at http://repo1.maven.org/maven2 Found at http://jibx.sourceforge.net/maven2 - Found at http://jibx.sf.net/maven2
org.jibx:jibx-run:jar:1.2.2 - Found at http://repo1.maven.org/maven2 Found at http://jibx.sourceforge.net/maven2 - Found at http://jibx.sf.net/maven2
org.jibx:jibx-schema:jar:1.2.2 - Found at http://repo1.maven.org/maven2 Found at http://jibx.sourceforge.net/maven2 - Found at http://jibx.sf.net/maven2
org.jibx:jibx-tools:jar:1.2.2 - Found at http://repo1.maven.org/maven2 Found at http://jibx.sourceforge.net/maven2 - Found at http://jibx.sf.net/maven2
stax:stax-api:jar:1.0.1 - Found at http://repo1.maven.org/maven2 - - -
xpp3:xpp3:jar:1.1.3.4.O - Found at http://repo1.maven.org/maven2 - - -
Total sonatype-nexus-snapshots central jibx.sourceforge.net apache.snapshots jibx.sf.net
45 (compile: 45) 0 45 5 0 5

libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/mail-lists.html0000644000175000017500000001473311524737534026112 0ustar twernertwerner JiBX - Project Mailing Lists

Project Mailing Lists

There are no mailing lists currently associated with this project.


libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/plugin-info.html0000644000175000017500000002033111524737532026250 0ustar twernertwerner JiBX - Plugin Documentation

Plugin Documentation

Goals available for this plugin:

Goal Description
jibx:bind Runs the JiBX binding compiler.
jibx:document-compare Compares two schemas or roundtrips a schema through a JiBX class and compares the results. If a mapped class is supplied, then the inFile is marshalled into the supplied class and then unmarshalled in the outFile (defaults to temp.xml) and compared with the original xml document. If no class is supplied, then the inFile is compared to the outFile XML files. Note: This mojo only runs in test scope.
jibx:jibx2wsdl Generates WSDL from java code.
jibx:schema-codegen Generates Java sources from XSD schemas.
jibx:test-bind Runs the JiBX binding compiler on the test classes.
jibx:test-jibx2wsdl Generates WSDL from java code.
jibx:test-schema-codegen Generates Java test sources from XSD schemas.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven 2.0
JDK 1.1
Memory No minimum requirement.
Disk Space No minimum requirement.

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.jibx</groupId>
          <artifactId>maven-jibx-plugin</artifactId>
          <version>1.2.2</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.jibx</groupId>
        <artifactId>maven-jibx-plugin</artifactId>
        <version>1.2.2</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"


libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/advanced.html0000644000175000017500000001437611524737534025604 0ustar twernertwerner JiBX -

Advanced Binding Compilation

Profile based activation

If you don't want to execute the plugin on every Maven run you can define a profile for it. The following example only executes the plugin if you run Maven with a -Djibx=true option.

  <profiles>
    <profile>
      <id>jibx</id>
      <activation>
        <activeByDefault>false</activeByDefault>
        <property>
          <name>jibx</name>
          <value>true</value>
        </property>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>org.jibx</groupId>
            <artifactId>maven-jibx-plugin</artifactId>
            <version>1.2.2</version>
            <executions>
              <execution>
                <goals>
                  <goal>bind</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>

libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/testing.html0000644000175000017500000002236711524737636025516 0ustar twernertwerner JiBX -

Using JiBX with test cases

Generate code and bind schema in test cases with JiBX .

The code generation module needs to be bound to the process-test-classes phase and the binding module need to be bound to the process-test-classes phase.

Remember to include the generated test sources in your test compiler source classpath.

Here is a sample pom.xml that runs the code generator and the binding compiler in the testing phase: (Note the use of the build-helper-maven-plugin to add the generated sources to the classpath)

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

    <groupId>org.jibx.ota.osgi</groupId>
    <artifactId>jibx-ota-test-gen</artifactId>
    <version>1.2.3</version>
    <packaging>jar</packaging>

  <name>jibx-ota-test-gen (Gen and bind test case)</name>

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>

  <build>
    <plugins>
    
      <plugin>
        <groupId>org.jibx</groupId>
        <artifactId>maven-jibx-plugin</artifactId>
        <version>1.2.2</version>

        <executions>
          <execution>
            <id>generate-java-code-from-schema</id>
              <phase>generate-test-sources</phase>
            <goals>
              <goal>test-schema-codegen</goal>
            </goals>
          </execution>
          <execution>
            <id>compile-binding</id>
            <phase>process-test-classes</phase>
              <goals>
                  <goal>test-bind</goal>
              </goals>
              <configuration>
                  <directory>target/generated-test-sources</directory>
              </configuration>
          </execution>
        </executions>
      </plugin>
      
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.3</version>
            <configuration>
            <fork>true</fork>
              <source>1.5</source>
              <target>1.5</target>
            </configuration>
      </plugin>
      
     <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>add-test-source</id>
            <phase>generate-sources</phase>
            <goals>
              <goal>add-test-source</goal>
            </goals>
            <configuration>
              <sources>
                <source>${basedir}/target/generated-test-sources</source>
              </sources>
            </configuration>
          </execution>
        </executions>
      </plugin>

    </plugins>
  </build>

  <dependencies>
    <dependency>
      <groupId>org.jibx</groupId>
      <artifactId>jibx-run</artifactId>
      <version>1.2.2</version>
    </dependency>
    <dependency>
      <groupId>org.jibx</groupId>
      <artifactId>jibx-extras</artifactId>
      <version>1.2.2</version>
    </dependency>

    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
</project>

Note the use of the build-helper-maven-plugin to add the generated-test-sources directory to the source path.


libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/license.html0000644000175000017500000001527211524737636025460 0ustar twernertwerner JiBX - Project License

Overview

Typically the licenses listed for the project are that of the project itself, and not of dependencies.

Project License

BSD License

Can't read the url [http://jibx.sf.net/LICENSE.txt] : http://jibx.sourceforge.net/LICENSE.txt


libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/jibx2wsdl-mojo.html0000644000175000017500000004320111524737636026701 0ustar twernertwerner JiBX - jibx:jibx2wsdl

jibx:jibx2wsdl

Full name:

org.jibx:maven-jibx-plugin:1.2.2:jibx2wsdl

Description:

Generates WSDL from java code.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: compile.
  • Binds by default to the lifecycle phase: process-classes.

Required Parameters

Name Type Since Description
directory String - The directory which contains binding files.
Default value is: src/main/config.
interfaceClassNames ArrayList - The full class names of the service interface. Note: Classes should be in target/classes (which is where they should be after compiling).
load boolean - Control flag for test loading generated/modified classes.
Default value is: false.
multimodule boolean - Control flag multi-module mode.
Default value is: false.
outputDirectory String - Target directory path for generated output (default is current directory). Note: If you want the wsdl and schema included in your distribution, remember to include it in the <resources> section of your pom file.
Default value is: ${project.build.directory}/schema.
validate boolean - Control flag for test loading generated/modified classes.
Default value is: true.
verbose boolean - Control flag for verbose processing reports.
Default value is: false.
verify boolean - Control flag for verifying generated/modified classes with BCEL.
Default value is: false.

Optional Parameters

Name Type Since Description
customizations ArrayList - Include pattern for customization files.
excludes ArrayList - Exclude pattern for binding files.
includes ArrayList - Include pattern for binding files.
Note: Uses the standard filter format described in the plexus DirectoryScanner.
Defaults value is: binding.xml.
modules HashSet - A list of modules to search for binding files in the format: groupID:artifactID
options Map - Extra options to be given for customization via CLI.

Enter extra customizations or other command-line options.
The extra customizations are described on the JiBX2WSDL customizations page
The single character JiBX2WSDL commands may also be supplied here.
For example, to include Names of extra classes (-x) and Sets the base address used for the service endpoint address specified in the WSDL, supply the following options:
<options>
  <x>com.company.pacakge.ClassName</x>
  <service-base>http://localhost:8080/axis2/services</service-base>
</options>

sourceDirectories ArrayList - The source directories. Note: The source directory defaults to: <sourceDirectories>
  <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
</sourceDirectories>
If you are using the code-gen plugin, you may want to specify the generated sources directory: <sourceDirectories>
  <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
  <sourceDirectory>${project.build.directory}/generated-source</sourceDirectory>
</sourceDirectories>
If you don't want sources include, you will have to explicitly delare an empty list: <sourceDirectories>
  <sourceDirectory></sourceDirectory>
</sourceDirectories>

Parameter Details

customizations:

Include pattern for customization files.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${customizations}

directory:

The directory which contains binding files.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${directory}
  • Default: src/main/config

excludes:

Exclude pattern for binding files.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${excludes}

includes:

Include pattern for binding files.
Note: Uses the standard filter format described in the plexus DirectoryScanner.
Defaults value is: binding.xml.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${includes}

interfaceClassNames:

The full class names of the service interface. Note: Classes should be in target/classes (which is where they should be after compiling).
  • Type: java.util.ArrayList
  • Required: Yes
  • Expression: ${interfaceClassNames}

load:

Control flag for test loading generated/modified classes.
  • Type: boolean
  • Required: Yes
  • Expression: ${load}
  • Default: false

modules:

A list of modules to search for binding files in the format: groupID:artifactID
  • Type: java.util.HashSet
  • Required: No
  • Expression: ${modules}

multimodule:

Control flag multi-module mode.
  • Type: boolean
  • Required: Yes
  • Expression: ${multi-module}
  • Default: false

options:

Extra options to be given for customization via CLI.

Enter extra customizations or other command-line options.
The extra customizations are described on the JiBX2WSDL customizations page
The single character JiBX2WSDL commands may also be supplied here.
For example, to include Names of extra classes (-x) and Sets the base address used for the service endpoint address specified in the WSDL, supply the following options:
<options>
  <x>com.company.pacakge.ClassName</x>
  <service-base>http://localhost:8080/axis2/services</service-base>
</options>
  • Type: java.util.Map
  • Required: No

outputDirectory:

Target directory path for generated output (default is current directory). Note: If you want the wsdl and schema included in your distribution, remember to include it in the <resources> section of your pom file.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${outputDirectory}
  • Default: ${project.build.directory}/schema

sourceDirectories:

The source directories. Note: The source directory defaults to: <sourceDirectories>
  <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
</sourceDirectories>
If you are using the code-gen plugin, you may want to specify the generated sources directory: <sourceDirectories>
  <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
  <sourceDirectory>${project.build.directory}/generated-source</sourceDirectory>
</sourceDirectories>
If you don't want sources include, you will have to explicitly delare an empty list: <sourceDirectories>
  <sourceDirectory></sourceDirectory>
</sourceDirectories>
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${sourceDirectories}

validate:

Control flag for test loading generated/modified classes.
  • Type: boolean
  • Required: Yes
  • Expression: ${validate}
  • Default: true

verbose:

Control flag for verbose processing reports.
  • Type: boolean
  • Required: Yes
  • Expression: ${verbose}
  • Default: false

verify:

Control flag for verifying generated/modified classes with BCEL.
  • Type: boolean
  • Required: Yes
  • Expression: ${verify}
  • Default: false

libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/document-compare-mojo.html0000644000175000017500000002016511524737636030237 0ustar twernertwerner JiBX - jibx:document-compare

jibx:document-compare

Full name:

org.jibx:maven-jibx-plugin:1.2.2:document-compare

Description:

Compares two schemas or roundtrips a schema through a JiBX class and compares the results. If a mapped class is supplied, then the inFile is marshalled into the supplied class and then unmarshalled in the outFile (defaults to temp.xml) and compared with the original xml document. If no class is supplied, then the inFile is compared to the outFile XML files. Note: This mojo only runs in test scope.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Binds by default to the lifecycle phase: test.

Required Parameters

Name Type Since Description
inFile String - The path to the source XML document to compare. NOTE: Relative paths start at ${basedir}.

Optional Parameters

Name Type Since Description
mappedClass String - Root class name to use to round-trip the document.
outFile String - The path to the destination XML document to compare. NOTE: Relative paths start at ${basedir}; If this path is a filename, the directory is the same as inFile.

Parameter Details

inFile:

The path to the source XML document to compare. NOTE: Relative paths start at ${basedir}.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${inFile}

mappedClass:

Root class name to use to round-trip the document.
  • Type: java.lang.String
  • Required: No
  • Expression: ${mappedClass}

outFile:

The path to the destination XML document to compare. NOTE: Relative paths start at ${basedir}; If this path is a filename, the directory is the same as inFile.
  • Type: java.lang.String
  • Required: No
  • Expression: ${outFile}

libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/schema-codegen-mojo.html0000644000175000017500000003350211524737636027636 0ustar twernertwerner JiBX - jibx:schema-codegen

jibx:schema-codegen

Full name:

org.jibx:maven-jibx-plugin:1.2.2:schema-codegen

Description:

Generates Java sources from XSD schemas.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: compile.
  • Binds by default to the lifecycle phase: generate-sources.

Required Parameters

Name Type Since Description
directory String - The directory which contains XSD files.
Default value is: ${basedir}/src/main/config.
verbose boolean - Control flag for verbose processing reports.
Default value is: false.

Optional Parameters

Name Type Since Description
customizations ArrayList - Include pattern for customization files.
defaultNamespace String - Namespace applied in code generation when no-namespaced schema definitions are found (to generate no-namespaced schemas as though they were included in a particular namespace)
defaultPackage String - Default package for code generated from schema definitions with no namespace.
excludes ArrayList - Exclude pattern for binding files.
includeBindings ArrayList - Include existing bindings and use mappings from the bindings for matching schema global definitions. (this is the basis for modular code generation) Include base bindings as follows:
<includeBindings>
<includeBinding>base-binding.xml</includeBinding>
</includeBindings>
Note: Relative paths start at ${basedir}.
includes ArrayList - Include pattern for schema files.
Note: Uses the standard filter format described in the plexus DirectoryScanner.
Defaults value is: *.xsd.
options Map - Extra options to be given for customization via CLI.

Enter extra customizations or other command-line options.
The extra customizations are described on the CodeGen customizations page
The single character CodeGen commands may also be supplied here.
For example, to include a base binding file (-i) and prefer-inline code, supply the following options:
<options>
  <i>base-binding.xml</i>
  <prefer-inline>true</prefer-inline>
</options>

targetDirectory String - Target directory where to generate Java source files.
Default value is: ${basedir}/target/generated-sources.

Parameter Details

customizations:

Include pattern for customization files.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${customizations}

defaultNamespace:

Namespace applied in code generation when no-namespaced schema definitions are found (to generate no-namespaced schemas as though they were included in a particular namespace)
  • Type: java.lang.String
  • Required: No

defaultPackage:

Default package for code generated from schema definitions with no namespace.
  • Type: java.lang.String
  • Required: No

directory:

The directory which contains XSD files.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${directory}
  • Default: ${basedir}/src/main/config

excludes:

Exclude pattern for binding files.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${excludes}

includeBindings:

Include existing bindings and use mappings from the bindings for matching schema global definitions. (this is the basis for modular code generation) Include base bindings as follows:
<includeBindings>
<includeBinding>base-binding.xml</includeBinding>
</includeBindings>
Note: Relative paths start at ${basedir}.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${includeBindings}

includes:

Include pattern for schema files.
Note: Uses the standard filter format described in the plexus DirectoryScanner.
Defaults value is: *.xsd.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${includes}

options:

Extra options to be given for customization via CLI.

Enter extra customizations or other command-line options.
The extra customizations are described on the CodeGen customizations page
The single character CodeGen commands may also be supplied here.
For example, to include a base binding file (-i) and prefer-inline code, supply the following options:
<options>
  <i>base-binding.xml</i>
  <prefer-inline>true</prefer-inline>
</options>
  • Type: java.util.Map
  • Required: No

targetDirectory:

Target directory where to generate Java source files.
  • Type: java.lang.String
  • Required: No
  • Expression: ${targetDirectory}
  • Default: ${basedir}/target/generated-sources

verbose:

Control flag for verbose processing reports.
  • Type: boolean
  • Required: Yes
  • Expression: ${verbose}
  • Default: false

libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/integration.html0000644000175000017500000001476411524737534026363 0ustar twernertwerner JiBX - Continuous Integration

Continuous Integration

No continuous integration management system is defined. Please check back at a later date.


libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/source-repository.html0000644000175000017500000001772311524737534027553 0ustar twernertwerner JiBX - Source Repository

Overview

This project uses Concurrent Versions System to manage its source code. Instructions on CVS use can be found at http://cvsbook.red-bean.com/.

Web Access

The following is a link to the online source repository.

Anonymous access

This project's CVS repository can be checked out through anonymous CVS with the following instruction set. When prompted for a password for anonymous, simply press the Enter key.

$ cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/jibx login
$ cvs -z3 -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/jibx co maven-jibx-plugin

Developer access

Only project developers can access the CVS tree via this method. Substitute username with the proper value.

$ cvs -d :ext:username@cvs.sourceforge.net:/cvsroot/jibx login
$ cvs -z3 -d :ext:username@cvs.sourceforge.net:/cvsroot/jibx co maven-jibx-plugin

Access from behind a firewall

For those developers who are stuck behind a corporate firewall, CVSGrab can use the viewcvs web interface to checkout the source code.

libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/usage.html0000644000175000017500000002406711524737534025141 0ustar twernertwerner JiBX -

Usage

If you've never used a Maven plugin before please take a look at Maven's Getting Started Guide.

To use the plugin in your project you have to add it to the plugins section of your POM.

<plugin>
  <groupId>org.jibx</groupId>
  <artifactId>maven-jibx-plugin</artifactId>
  <version>1.2.2</version>
  <executions>
    <execution>
      <goals>
        <goal>bind</goal>
      </goals>
    </execution>
  </executions>
</plugin>

The project also needs to include jibx-run and optionally jibx-extras in its dependencies.

<dependency>
  <groupId>org.jibx</groupId>
  <artifactId>jibx-run</artifactId>
  <version>1.2.2</version>
</dependency>
<dependency>
  <groupId>org.jibx</groupId>
  <artifactId>jibx-extras</artifactId>
  <version>1.2.2</version>
</dependency>

Configuration

The plugin supports the following configuration options.

option default description
directory src/main/config In which directory to search for binding definitions.
includes binding.xml Which files in the configuration directory to include as binding definitions.
excludes none Which files in the configuration directory that will be matched by one the include patterns to exclude.
multi-module false Control flag to enable multi-module mode. (See modes.html#Multi-module mode)
modules none Which modules to include in multi-module mode. (See modes.html#Restricted multi-module mode)
load false Control flag for test loading generated/modified classes.
validate true Control flag for binding definition validation.
verbose false Control flag for verbose processing reports.
verify false Control flag for verifying generated/modified classes with BCEL.

Example

This example would include all files ending in -binding.xml except template-binding.xml in the src/main/jibx directory and output verbose messages during binding compilation:

<plugin>
  <groupId>org.jibx</groupId>
  <artifactId>maven-jibx-plugin</artifactId>
  <version>1.2.2</version>
  <configuration>
    <directory>src/main/jibx</directory>
    <includes>
      <includes>*-binding.xml</includes>
    </includes>
    <excludes>
      <exclude>template-binding.xml</exclude>
    </excludes>
    <verbose>true</verbose>
  </configuration>
  <executions>
    <execution>
      <goals>
        <goal>bind</goal>
      </goals>
    </execution>
  </executions>
</plugin>

Download

If you want the plugin and libraries to be automatically downloaded then include the respective repositories in your POM.

<repositories>
  <repository>
    <id>jibx.sf.net</id>
    <name>JiBX repository</name>
    <url>http://jibx.sf.net/maven2</url>
    <releases>
      <updatePolicy>never</updatePolicy>
    </releases>
    <snapshots>
      <enabled>false</enabled>
    </snapshots>
  </repository>
</repositories>
<pluginRepositories>
  <pluginRepository>
    <id>jibx.sf.net</id>
    <name>JiBX repository</name>
    <url>http://jibx.sf.net/maven2</url>
    <releases>
      <updatePolicy>never</updatePolicy>
    </releases>
    <snapshots>
      <enabled>false</enabled>
    </snapshots>
  </pluginRepository>
</pluginRepositories>

libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/test-jibx2wsdl-mojo.html0000644000175000017500000004323711524737636027667 0ustar twernertwerner JiBX - jibx:test-jibx2wsdl

jibx:test-jibx2wsdl

Full name:

org.jibx:maven-jibx-plugin:1.2.2:test-jibx2wsdl

Description:

Generates WSDL from java code.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: test-compile.
  • Binds by default to the lifecycle phase: process-test-classes.

Required Parameters

Name Type Since Description
directory String - The directory which contains binding files.
Default value is: src/main/config.
interfaceClassNames ArrayList - The full class names of the service interface. Note: Classes should be in target/classes (which is where they should be after compiling).
load boolean - Control flag for test loading generated/modified classes.
Default value is: false.
multimodule boolean - Control flag multi-module mode.
Default value is: false.
outputDirectory String - Target directory path for generated output (default is current directory). Note: If you want the wsdl and schema included in your distribution, remember to include it in the <resources> section of your pom file.
Default value is: ${project.build.directory}/schema.
validate boolean - Control flag for test loading generated/modified classes.
Default value is: true.
verbose boolean - Control flag for verbose processing reports.
Default value is: false.
verify boolean - Control flag for verifying generated/modified classes with BCEL.
Default value is: false.

Optional Parameters

Name Type Since Description
customizations ArrayList - Include pattern for customization files.
excludes ArrayList - Exclude pattern for binding files.
includes ArrayList - Include pattern for binding files.
Note: Uses the standard filter format described in the plexus DirectoryScanner.
Defaults value is: binding.xml.
modules HashSet - A list of modules to search for binding files in the format: groupID:artifactID
options Map - Extra options to be given for customization via CLI.

Enter extra customizations or other command-line options.
The extra customizations are described on the JiBX2WSDL customizations page
The single character JiBX2WSDL commands may also be supplied here.
For example, to include Names of extra classes (-x) and Sets the base address used for the service endpoint address specified in the WSDL, supply the following options:
<options>
  <x>com.company.pacakge.ClassName</x>
  <service-base>http://localhost:8080/axis2/services</service-base>
</options>

sourceDirectories ArrayList - The source directories. Note: The source directory defaults to: <sourceDirectories>
  <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
</sourceDirectories>
If you are using the code-gen plugin, you may want to specify the generated sources directory: <sourceDirectories>
  <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
  <sourceDirectory>${project.build.directory}/generated-source</sourceDirectory>
</sourceDirectories>
If you don't want sources include, you will have to explicitly delare an empty list: <sourceDirectories>
  <sourceDirectory></sourceDirectory>
</sourceDirectories>

Parameter Details

customizations:

Include pattern for customization files.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${customizations}

directory:

The directory which contains binding files.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${directory}
  • Default: src/main/config

excludes:

Exclude pattern for binding files.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${excludes}

includes:

Include pattern for binding files.
Note: Uses the standard filter format described in the plexus DirectoryScanner.
Defaults value is: binding.xml.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${includes}

interfaceClassNames:

The full class names of the service interface. Note: Classes should be in target/classes (which is where they should be after compiling).
  • Type: java.util.ArrayList
  • Required: Yes
  • Expression: ${interfaceClassNames}

load:

Control flag for test loading generated/modified classes.
  • Type: boolean
  • Required: Yes
  • Expression: ${load}
  • Default: false

modules:

A list of modules to search for binding files in the format: groupID:artifactID
  • Type: java.util.HashSet
  • Required: No
  • Expression: ${modules}

multimodule:

Control flag multi-module mode.
  • Type: boolean
  • Required: Yes
  • Expression: ${multi-module}
  • Default: false

options:

Extra options to be given for customization via CLI.

Enter extra customizations or other command-line options.
The extra customizations are described on the JiBX2WSDL customizations page
The single character JiBX2WSDL commands may also be supplied here.
For example, to include Names of extra classes (-x) and Sets the base address used for the service endpoint address specified in the WSDL, supply the following options:
<options>
  <x>com.company.pacakge.ClassName</x>
  <service-base>http://localhost:8080/axis2/services</service-base>
</options>
  • Type: java.util.Map
  • Required: No

outputDirectory:

Target directory path for generated output (default is current directory). Note: If you want the wsdl and schema included in your distribution, remember to include it in the <resources> section of your pom file.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${outputDirectory}
  • Default: ${project.build.directory}/schema

sourceDirectories:

The source directories. Note: The source directory defaults to: <sourceDirectories>
  <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
</sourceDirectories>
If you are using the code-gen plugin, you may want to specify the generated sources directory: <sourceDirectories>
  <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
  <sourceDirectory>${project.build.directory}/generated-source</sourceDirectory>
</sourceDirectories>
If you don't want sources include, you will have to explicitly delare an empty list: <sourceDirectories>
  <sourceDirectory></sourceDirectory>
</sourceDirectories>
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${sourceDirectories}

validate:

Control flag for test loading generated/modified classes.
  • Type: boolean
  • Required: Yes
  • Expression: ${validate}
  • Default: true

verbose:

Control flag for verbose processing reports.
  • Type: boolean
  • Required: Yes
  • Expression: ${verbose}
  • Default: false

verify:

Control flag for verifying generated/modified classes with BCEL.
  • Type: boolean
  • Required: Yes
  • Expression: ${verify}
  • Default: false

libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/jibx2wsdl.html0000644000175000017500000002352711524737532025743 0ustar twernertwerner JiBX -

Generate WSDL from Java classes.

WSDL from Java classes

Here is a sample plugin section:

      <plugin>
          <groupId>org.jibx</groupId>
          <artifactId>maven-jibx-plugin</artifactId>
          <version>1.2.2</version>
          <executions>
              <execution>
                  <id>jibx-2-wsdl</id>
                  <phase>process-classes</phase>
                  <goals>
                      <goal>jibx2wsdl</goal>
                  </goals>
              </execution>
          </executions>
          <configuration>
            <interfaceClassNames>
              <interfaceClassName>com.sosnoski.ws.library.jibx2wsdl.BookServer1</interfaceClassName>
            </interfaceClassNames>
          </configuration>
      </plugin>

If you want to include your generated wsdl files in your distribution (jar) file, the easiest way is to change the output directory in your configuration section:

          <configuration>
            <interfaceClassNames>
              <interfaceClassName>com.sosnoski.ws.library.jibx2wsdl.BookServer1</interfaceClassName>
            </interfaceClassNames>
            <outputDirectory>/secure/dennis/projects/jibx/core/build/maven-jibx-plugin/target/classes/META-INF/schema</outputDirectory>
          </configuration>

Here the complete pom file used in the jibx test suite:

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <artifactId>jibx-ota-test</artifactId>
    <groupId>org.jibx.ota.test</groupId>
    <version>1.2.3</version>
  </parent>

  <artifactId>jibx-ota-test-jibx2wsdl</artifactId>
  <name>jibx-ota-test-jibx2wsdl</name>

  <packaging>jar</packaging>

  <build>
    <plugins>
      <plugin>
          <groupId>org.jibx</groupId>
          <artifactId>maven-jibx-plugin</artifactId>
          <version>1.2.2</version>
          <executions>
              <execution>
                  <id>jibx-2-wsdl</id>
                  <phase>process-classes</phase>
                  <goals>
                      <goal>jibx2wsdl</goal>
                  </goals>
              </execution>
          </executions>
          <configuration>
            <interfaceClassNames>
              <interfaceClassName>com.sosnoski.ws.library.jibx2wsdl.BookServer1</interfaceClassName>
            </interfaceClassNames>
            <outputDirectory>/secure/dennis/projects/jibx/core/build/maven-jibx-plugin/target/classes/META-INF/schema</outputDirectory>
          </configuration>
      </plugin>
    </plugins>
  </build>

  <dependencies>
      <dependency>
          <groupId>org.jibx</groupId>
          <artifactId>jibx-run</artifactId>
          <version>1.2.2</version>
      </dependency>
      <dependency>
          <groupId>org.jibx</groupId>
          <artifactId>jibx-tools</artifactId>
          <version>1.2.2</version>
          <scope>compile</scope>
      </dependency>
      <dependency>
          <groupId>org.jibx</groupId>
          <artifactId>jibx-bind</artifactId>
          <version>1.2.2</version>
          <scope>compile</scope>
      </dependency>
      <dependency>
          <groupId>org.jibx</groupId>
          <artifactId>jibx-extras</artifactId>
          <version>1.2.2</version>
          <scope>compile</scope>
      </dependency>
      <dependency>
          <groupId>org.jibx</groupId>
          <artifactId>jibx-schema</artifactId>
          <version>1.2.2</version>
          <scope>compile</scope>
      </dependency>

    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
</project>

libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/test-bind-mojo.html0000644000175000017500000002725711524737636026677 0ustar twernertwerner JiBX - jibx:test-bind

jibx:test-bind

Full name:

org.jibx:maven-jibx-plugin:1.2.2:test-bind

Description:

Runs the JiBX binding compiler on the test classes.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: test-compile.
  • Binds by default to the lifecycle phase: process-test-classes.

Required Parameters

Name Type Since Description
directory String - The directory which contains binding files.
Default value is: src/test/config.
load boolean - Control flag for test loading generated/modified classes.
Default value is: false.
multimodule boolean - Control flag multi-module mode.
Default value is: false.
validate boolean - Control flag for test loading generated/modified classes.
Default value is: true.
verbose boolean - Control flag for verbose processing reports.
Default value is: false.
verify boolean - Control flag for verifying generated/modified classes with BCEL.
Default value is: false.

Optional Parameters

Name Type Since Description
excludes ArrayList - Exclude pattern for binding files.
includes ArrayList - Include pattern for binding files.
Note: Uses the standard filter format described in the plexus DirectoryScanner.
Defaults value is: binding.xml.
modules HashSet - A list of modules to search for binding files in the format: groupID:artifactID

Parameter Details

directory:

The directory which contains binding files.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${directory}
  • Default: src/test/config

excludes:

Exclude pattern for binding files.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${excludes}

includes:

Include pattern for binding files.
Note: Uses the standard filter format described in the plexus DirectoryScanner.
Defaults value is: binding.xml.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${includes}

load:

Control flag for test loading generated/modified classes.
  • Type: boolean
  • Required: Yes
  • Expression: ${load}
  • Default: false

modules:

A list of modules to search for binding files in the format: groupID:artifactID
  • Type: java.util.HashSet
  • Required: No
  • Expression: ${modules}

multimodule:

Control flag multi-module mode.
  • Type: boolean
  • Required: Yes
  • Expression: ${multi-module}
  • Default: false

validate:

Control flag for test loading generated/modified classes.
  • Type: boolean
  • Required: Yes
  • Expression: ${validate}
  • Default: true

verbose:

Control flag for verbose processing reports.
  • Type: boolean
  • Required: Yes
  • Expression: ${verbose}
  • Default: false

verify:

Control flag for verifying generated/modified classes with BCEL.
  • Type: boolean
  • Required: Yes
  • Expression: ${verify}
  • Default: false

libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/site/bind-mojo.html0000644000175000017500000002717511524737636025721 0ustar twernertwerner JiBX - jibx:bind

jibx:bind

Full name:

org.jibx:maven-jibx-plugin:1.2.2:bind

Description:

Runs the JiBX binding compiler.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: compile.
  • Binds by default to the lifecycle phase: process-classes.

Required Parameters

Name Type Since Description
directory String - The directory which contains binding files.
Default value is: src/main/config.
load boolean - Control flag for test loading generated/modified classes.
Default value is: false.
multimodule boolean - Control flag multi-module mode.
Default value is: false.
validate boolean - Control flag for test loading generated/modified classes.
Default value is: true.
verbose boolean - Control flag for verbose processing reports.
Default value is: false.
verify boolean - Control flag for verifying generated/modified classes with BCEL.
Default value is: false.

Optional Parameters

Name Type Since Description
excludes ArrayList - Exclude pattern for binding files.
includes ArrayList - Include pattern for binding files.
Note: Uses the standard filter format described in the plexus DirectoryScanner.
Defaults value is: binding.xml.
modules HashSet - A list of modules to search for binding files in the format: groupID:artifactID

Parameter Details

directory:

The directory which contains binding files.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${directory}
  • Default: src/main/config

excludes:

Exclude pattern for binding files.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${excludes}

includes:

Include pattern for binding files.
Note: Uses the standard filter format described in the plexus DirectoryScanner.
Defaults value is: binding.xml.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${includes}

load:

Control flag for test loading generated/modified classes.
  • Type: boolean
  • Required: Yes
  • Expression: ${load}
  • Default: false

modules:

A list of modules to search for binding files in the format: groupID:artifactID
  • Type: java.util.HashSet
  • Required: No
  • Expression: ${modules}

multimodule:

Control flag multi-module mode.
  • Type: boolean
  • Required: Yes
  • Expression: ${multi-module}
  • Default: false

validate:

Control flag for test loading generated/modified classes.
  • Type: boolean
  • Required: Yes
  • Expression: ${validate}
  • Default: true

verbose:

Control flag for verbose processing reports.
  • Type: boolean
  • Required: Yes
  • Expression: ${verbose}
  • Default: false

verify:

Control flag for verifying generated/modified classes with BCEL.
  • Type: boolean
  • Required: Yes
  • Expression: ${verify}
  • Default: false

libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/generated-site/0000755000175000017500000000000011524031504025052 5ustar twernertwernerlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/generated-site/xdoc/0000755000175000017500000000000011524031506026011 5ustar twernertwerner././@LongLink0000000000000000000000000000014600000000000011566 Lustar rootrootlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/generated-site/xdoc/test-schema-codegen-mojo.xmllibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/generated-site/xdoc/test-schema-codegen-mojo.xm0000644000175000017500000002444711523610644033160 0ustar twernertwerner jibx:test-schema-codegen

Full name:

org.jibx:maven-jibx-plugin:1.2.2:test-schema-codegen

Description:

Generates Java test sources from XSD schemas.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: test-compile.
  • Binds by default to the lifecycle phase: generate-test-sources.
Name Type Since Description
directory String - The directory which contains XSD files.
Default value is: ${basedir}/src/test/config.
verbose boolean - Control flag for verbose processing reports.
Default value is: false.
Name Type Since Description
customizations ArrayList - Include pattern for customization files.
defaultNamespace String - Namespace applied in code generation when no-namespaced schema definitions are found (to generate no-namespaced schemas as though they were included in a particular namespace)
defaultPackage String - Default package for code generated from schema definitions with no namespace.
excludes ArrayList - Exclude pattern for binding files.
includeBindings ArrayList - Include existing bindings and use mappings from the bindings for matching schema global definitions. (this is the basis for modular code generation) Include base bindings as follows:
<includeBindings>
<includeBinding>base-binding.xml</includeBinding>
</includeBindings>
Note: Relative paths start at ${basedir}.
includes ArrayList - Include pattern for schema files.
Note: Uses the standard filter format described in the plexus DirectoryScanner.
Defaults value is: *.xsd.
options Map - Extra options to be given for customization via CLI.

Enter extra customizations or other command-line options.
The extra customizations are described on the CodeGen customizations page
The single character CodeGen commands may also be supplied here.
For example, to include a base binding file (-i) and prefer-inline code, supply the following options:
<options>
  <i>base-binding.xml</i>
  <prefer-inline>true</prefer-inline>
</options>

targetDirectory String - Target directory where to generate Java source files.
Default value is: ${basedir}/target/generated-test-sources.

customizations:

Include pattern for customization files.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${customizations}

defaultNamespace:

Namespace applied in code generation when no-namespaced schema definitions are found (to generate no-namespaced schemas as though they were included in a particular namespace)
  • Type: java.lang.String
  • Required: No

defaultPackage:

Default package for code generated from schema definitions with no namespace.
  • Type: java.lang.String
  • Required: No

directory:

The directory which contains XSD files.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${directory}
  • Default: ${basedir}/src/test/config

excludes:

Exclude pattern for binding files.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${excludes}

includeBindings:

Include existing bindings and use mappings from the bindings for matching schema global definitions. (this is the basis for modular code generation) Include base bindings as follows:
<includeBindings>
<includeBinding>base-binding.xml</includeBinding>
</includeBindings>
Note: Relative paths start at ${basedir}.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${includeBindings}

includes:

Include pattern for schema files.
Note: Uses the standard filter format described in the plexus DirectoryScanner.
Defaults value is: *.xsd.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${includes}

options:

Extra options to be given for customization via CLI.

Enter extra customizations or other command-line options.
The extra customizations are described on the CodeGen customizations page
The single character CodeGen commands may also be supplied here.
For example, to include a base binding file (-i) and prefer-inline code, supply the following options:
<options>
  <i>base-binding.xml</i>
  <prefer-inline>true</prefer-inline>
</options>

  • Type: java.util.Map
  • Required: No

targetDirectory:

Target directory where to generate Java source files.
  • Type: java.lang.String
  • Required: No
  • Expression: ${targetDirectory}
  • Default: ${basedir}/target/generated-test-sources

verbose:

Control flag for verbose processing reports.
  • Type: boolean
  • Required: Yes
  • Expression: ${verbose}
  • Default: false
libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/generated-site/xdoc/schema-codegen-mojo.xml0000644000175000017500000002437711523610644032361 0ustar twernertwerner jibx:schema-codegen

Full name:

org.jibx:maven-jibx-plugin:1.2.2:schema-codegen

Description:

Generates Java sources from XSD schemas.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: compile.
  • Binds by default to the lifecycle phase: generate-sources.
Name Type Since Description
directory String - The directory which contains XSD files.
Default value is: ${basedir}/src/main/config.
verbose boolean - Control flag for verbose processing reports.
Default value is: false.
Name Type Since Description
customizations ArrayList - Include pattern for customization files.
defaultNamespace String - Namespace applied in code generation when no-namespaced schema definitions are found (to generate no-namespaced schemas as though they were included in a particular namespace)
defaultPackage String - Default package for code generated from schema definitions with no namespace.
excludes ArrayList - Exclude pattern for binding files.
includeBindings ArrayList - Include existing bindings and use mappings from the bindings for matching schema global definitions. (this is the basis for modular code generation) Include base bindings as follows:
<includeBindings>
<includeBinding>base-binding.xml</includeBinding>
</includeBindings>
Note: Relative paths start at ${basedir}.
includes ArrayList - Include pattern for schema files.
Note: Uses the standard filter format described in the plexus DirectoryScanner.
Defaults value is: *.xsd.
options Map - Extra options to be given for customization via CLI.

Enter extra customizations or other command-line options.
The extra customizations are described on the CodeGen customizations page
The single character CodeGen commands may also be supplied here.
For example, to include a base binding file (-i) and prefer-inline code, supply the following options:
<options>
  <i>base-binding.xml</i>
  <prefer-inline>true</prefer-inline>
</options>

targetDirectory String - Target directory where to generate Java source files.
Default value is: ${basedir}/target/generated-sources.

customizations:

Include pattern for customization files.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${customizations}

defaultNamespace:

Namespace applied in code generation when no-namespaced schema definitions are found (to generate no-namespaced schemas as though they were included in a particular namespace)
  • Type: java.lang.String
  • Required: No

defaultPackage:

Default package for code generated from schema definitions with no namespace.
  • Type: java.lang.String
  • Required: No

directory:

The directory which contains XSD files.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${directory}
  • Default: ${basedir}/src/main/config

excludes:

Exclude pattern for binding files.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${excludes}

includeBindings:

Include existing bindings and use mappings from the bindings for matching schema global definitions. (this is the basis for modular code generation) Include base bindings as follows:
<includeBindings>
<includeBinding>base-binding.xml</includeBinding>
</includeBindings>
Note: Relative paths start at ${basedir}.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${includeBindings}

includes:

Include pattern for schema files.
Note: Uses the standard filter format described in the plexus DirectoryScanner.
Defaults value is: *.xsd.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${includes}

options:

Extra options to be given for customization via CLI.

Enter extra customizations or other command-line options.
The extra customizations are described on the CodeGen customizations page
The single character CodeGen commands may also be supplied here.
For example, to include a base binding file (-i) and prefer-inline code, supply the following options:
<options>
  <i>base-binding.xml</i>
  <prefer-inline>true</prefer-inline>
</options>

  • Type: java.util.Map
  • Required: No

targetDirectory:

Target directory where to generate Java source files.
  • Type: java.lang.String
  • Required: No
  • Expression: ${targetDirectory}
  • Default: ${basedir}/target/generated-sources

verbose:

Control flag for verbose processing reports.
  • Type: boolean
  • Required: Yes
  • Expression: ${verbose}
  • Default: false
libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/generated-site/xdoc/jibx2wsdl-mojo.xml0000644000175000017500000003507711523610644031426 0ustar twernertwerner jibx:jibx2wsdl

Full name:

org.jibx:maven-jibx-plugin:1.2.2:jibx2wsdl

Description:

Generates WSDL from java code.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: compile.
  • Binds by default to the lifecycle phase: process-classes.
Name Type Since Description
directory String - The directory which contains binding files.
Default value is: src/main/config.
interfaceClassNames ArrayList - The full class names of the service interface. Note: Classes should be in target/classes (which is where they should be after compiling).
load boolean - Control flag for test loading generated/modified classes.
Default value is: false.
multimodule boolean - Control flag multi-module mode.
Default value is: false.
outputDirectory String - Target directory path for generated output (default is current directory). Note: If you want the wsdl and schema included in your distribution, remember to include it in the <resources> section of your pom file.
Default value is: ${project.build.directory}/schema.
validate boolean - Control flag for test loading generated/modified classes.
Default value is: true.
verbose boolean - Control flag for verbose processing reports.
Default value is: false.
verify boolean - Control flag for verifying generated/modified classes with BCEL.
Default value is: false.
Name Type Since Description
customizations ArrayList - Include pattern for customization files.
excludes ArrayList - Exclude pattern for binding files.
includes ArrayList - Include pattern for binding files.
Note: Uses the standard filter format described in the plexus DirectoryScanner.
Defaults value is: binding.xml.
modules HashSet - A list of modules to search for binding files in the format: groupID:artifactID
options Map - Extra options to be given for customization via CLI.

Enter extra customizations or other command-line options.
The extra customizations are described on the JiBX2WSDL customizations page
The single character JiBX2WSDL commands may also be supplied here.
For example, to include Names of extra classes (-x) and Sets the base address used for the service endpoint address specified in the WSDL, supply the following options:
<options>
  <x>com.company.pacakge.ClassName</x>
  <service-base>http://localhost:8080/axis2/services</service-base>
</options>

sourceDirectories ArrayList - The source directories. Note: The source directory defaults to: <sourceDirectories>
  <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
</sourceDirectories>
If you are using the code-gen plugin, you may want to specify the generated sources directory: <sourceDirectories>
  <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
  <sourceDirectory>${project.build.directory}/generated-source</sourceDirectory>
</sourceDirectories>
If you don't want sources include, you will have to explicitly delare an empty list: <sourceDirectories>
  <sourceDirectory></sourceDirectory>
</sourceDirectories>

customizations:

Include pattern for customization files.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${customizations}

directory:

The directory which contains binding files.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${directory}
  • Default: src/main/config

excludes:

Exclude pattern for binding files.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${excludes}

includes:

Include pattern for binding files.
Note: Uses the standard filter format described in the plexus DirectoryScanner.
Defaults value is: binding.xml.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${includes}

interfaceClassNames:

The full class names of the service interface. Note: Classes should be in target/classes (which is where they should be after compiling).
  • Type: java.util.ArrayList
  • Required: Yes
  • Expression: ${interfaceClassNames}

load:

Control flag for test loading generated/modified classes.
  • Type: boolean
  • Required: Yes
  • Expression: ${load}
  • Default: false

modules:

A list of modules to search for binding files in the format: groupID:artifactID
  • Type: java.util.HashSet
  • Required: No
  • Expression: ${modules}

multimodule:

Control flag multi-module mode.
  • Type: boolean
  • Required: Yes
  • Expression: ${multi-module}
  • Default: false

options:

Extra options to be given for customization via CLI.

Enter extra customizations or other command-line options.
The extra customizations are described on the JiBX2WSDL customizations page
The single character JiBX2WSDL commands may also be supplied here.
For example, to include Names of extra classes (-x) and Sets the base address used for the service endpoint address specified in the WSDL, supply the following options:
<options>
  <x>com.company.pacakge.ClassName</x>
  <service-base>http://localhost:8080/axis2/services</service-base>
</options>

  • Type: java.util.Map
  • Required: No

outputDirectory:

Target directory path for generated output (default is current directory). Note: If you want the wsdl and schema included in your distribution, remember to include it in the <resources> section of your pom file.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${outputDirectory}
  • Default: ${project.build.directory}/schema

sourceDirectories:

The source directories. Note: The source directory defaults to: <sourceDirectories>
  <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
</sourceDirectories>
If you are using the code-gen plugin, you may want to specify the generated sources directory: <sourceDirectories>
  <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
  <sourceDirectory>${project.build.directory}/generated-source</sourceDirectory>
</sourceDirectories>
If you don't want sources include, you will have to explicitly delare an empty list: <sourceDirectories>
  <sourceDirectory></sourceDirectory>
</sourceDirectories>
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${sourceDirectories}

validate:

Control flag for test loading generated/modified classes.
  • Type: boolean
  • Required: Yes
  • Expression: ${validate}
  • Default: true

verbose:

Control flag for verbose processing reports.
  • Type: boolean
  • Required: Yes
  • Expression: ${verbose}
  • Default: false

verify:

Control flag for verifying generated/modified classes with BCEL.
  • Type: boolean
  • Required: Yes
  • Expression: ${verify}
  • Default: false
libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/generated-site/xdoc/test-jibx2wsdl-mojo.xml0000644000175000017500000003513011523610644032371 0ustar twernertwerner jibx:test-jibx2wsdl

Full name:

org.jibx:maven-jibx-plugin:1.2.2:test-jibx2wsdl

Description:

Generates WSDL from java code.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: test-compile.
  • Binds by default to the lifecycle phase: process-test-classes.
Name Type Since Description
directory String - The directory which contains binding files.
Default value is: src/main/config.
interfaceClassNames ArrayList - The full class names of the service interface. Note: Classes should be in target/classes (which is where they should be after compiling).
load boolean - Control flag for test loading generated/modified classes.
Default value is: false.
multimodule boolean - Control flag multi-module mode.
Default value is: false.
outputDirectory String - Target directory path for generated output (default is current directory). Note: If you want the wsdl and schema included in your distribution, remember to include it in the <resources> section of your pom file.
Default value is: ${project.build.directory}/schema.
validate boolean - Control flag for test loading generated/modified classes.
Default value is: true.
verbose boolean - Control flag for verbose processing reports.
Default value is: false.
verify boolean - Control flag for verifying generated/modified classes with BCEL.
Default value is: false.
Name Type Since Description
customizations ArrayList - Include pattern for customization files.
excludes ArrayList - Exclude pattern for binding files.
includes ArrayList - Include pattern for binding files.
Note: Uses the standard filter format described in the plexus DirectoryScanner.
Defaults value is: binding.xml.
modules HashSet - A list of modules to search for binding files in the format: groupID:artifactID
options Map - Extra options to be given for customization via CLI.

Enter extra customizations or other command-line options.
The extra customizations are described on the JiBX2WSDL customizations page
The single character JiBX2WSDL commands may also be supplied here.
For example, to include Names of extra classes (-x) and Sets the base address used for the service endpoint address specified in the WSDL, supply the following options:
<options>
  <x>com.company.pacakge.ClassName</x>
  <service-base>http://localhost:8080/axis2/services</service-base>
</options>

sourceDirectories ArrayList - The source directories. Note: The source directory defaults to: <sourceDirectories>
  <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
</sourceDirectories>
If you are using the code-gen plugin, you may want to specify the generated sources directory: <sourceDirectories>
  <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
  <sourceDirectory>${project.build.directory}/generated-source</sourceDirectory>
</sourceDirectories>
If you don't want sources include, you will have to explicitly delare an empty list: <sourceDirectories>
  <sourceDirectory></sourceDirectory>
</sourceDirectories>

customizations:

Include pattern for customization files.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${customizations}

directory:

The directory which contains binding files.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${directory}
  • Default: src/main/config

excludes:

Exclude pattern for binding files.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${excludes}

includes:

Include pattern for binding files.
Note: Uses the standard filter format described in the plexus DirectoryScanner.
Defaults value is: binding.xml.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${includes}

interfaceClassNames:

The full class names of the service interface. Note: Classes should be in target/classes (which is where they should be after compiling).
  • Type: java.util.ArrayList
  • Required: Yes
  • Expression: ${interfaceClassNames}

load:

Control flag for test loading generated/modified classes.
  • Type: boolean
  • Required: Yes
  • Expression: ${load}
  • Default: false

modules:

A list of modules to search for binding files in the format: groupID:artifactID
  • Type: java.util.HashSet
  • Required: No
  • Expression: ${modules}

multimodule:

Control flag multi-module mode.
  • Type: boolean
  • Required: Yes
  • Expression: ${multi-module}
  • Default: false

options:

Extra options to be given for customization via CLI.

Enter extra customizations or other command-line options.
The extra customizations are described on the JiBX2WSDL customizations page
The single character JiBX2WSDL commands may also be supplied here.
For example, to include Names of extra classes (-x) and Sets the base address used for the service endpoint address specified in the WSDL, supply the following options:
<options>
  <x>com.company.pacakge.ClassName</x>
  <service-base>http://localhost:8080/axis2/services</service-base>
</options>

  • Type: java.util.Map
  • Required: No

outputDirectory:

Target directory path for generated output (default is current directory). Note: If you want the wsdl and schema included in your distribution, remember to include it in the <resources> section of your pom file.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${outputDirectory}
  • Default: ${project.build.directory}/schema

sourceDirectories:

The source directories. Note: The source directory defaults to: <sourceDirectories>
  <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
</sourceDirectories>
If you are using the code-gen plugin, you may want to specify the generated sources directory: <sourceDirectories>
  <sourceDirectory>${basedir}/src/main/java</sourceDirectory>
  <sourceDirectory>${project.build.directory}/generated-source</sourceDirectory>
</sourceDirectories>
If you don't want sources include, you will have to explicitly delare an empty list: <sourceDirectories>
  <sourceDirectory></sourceDirectory>
</sourceDirectories>
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${sourceDirectories}

validate:

Control flag for test loading generated/modified classes.
  • Type: boolean
  • Required: Yes
  • Expression: ${validate}
  • Default: true

verbose:

Control flag for verbose processing reports.
  • Type: boolean
  • Required: Yes
  • Expression: ${verbose}
  • Default: false

verify:

Control flag for verifying generated/modified classes with BCEL.
  • Type: boolean
  • Required: Yes
  • Expression: ${verify}
  • Default: false
libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/generated-site/xdoc/test-bind-mojo.xml0000644000175000017500000002011711523610644031374 0ustar twernertwerner jibx:test-bind

Full name:

org.jibx:maven-jibx-plugin:1.2.2:test-bind

Description:

Runs the JiBX binding compiler on the test classes.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: test-compile.
  • Binds by default to the lifecycle phase: process-test-classes.
Name Type Since Description
directory String - The directory which contains binding files.
Default value is: src/test/config.
load boolean - Control flag for test loading generated/modified classes.
Default value is: false.
multimodule boolean - Control flag multi-module mode.
Default value is: false.
validate boolean - Control flag for test loading generated/modified classes.
Default value is: true.
verbose boolean - Control flag for verbose processing reports.
Default value is: false.
verify boolean - Control flag for verifying generated/modified classes with BCEL.
Default value is: false.
Name Type Since Description
excludes ArrayList - Exclude pattern for binding files.
includes ArrayList - Include pattern for binding files.
Note: Uses the standard filter format described in the plexus DirectoryScanner.
Defaults value is: binding.xml.
modules HashSet - A list of modules to search for binding files in the format: groupID:artifactID

directory:

The directory which contains binding files.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${directory}
  • Default: src/test/config

excludes:

Exclude pattern for binding files.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${excludes}

includes:

Include pattern for binding files.
Note: Uses the standard filter format described in the plexus DirectoryScanner.
Defaults value is: binding.xml.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${includes}

load:

Control flag for test loading generated/modified classes.
  • Type: boolean
  • Required: Yes
  • Expression: ${load}
  • Default: false

modules:

A list of modules to search for binding files in the format: groupID:artifactID
  • Type: java.util.HashSet
  • Required: No
  • Expression: ${modules}

multimodule:

Control flag multi-module mode.
  • Type: boolean
  • Required: Yes
  • Expression: ${multi-module}
  • Default: false

validate:

Control flag for test loading generated/modified classes.
  • Type: boolean
  • Required: Yes
  • Expression: ${validate}
  • Default: true

verbose:

Control flag for verbose processing reports.
  • Type: boolean
  • Required: Yes
  • Expression: ${verbose}
  • Default: false

verify:

Control flag for verifying generated/modified classes with BCEL.
  • Type: boolean
  • Required: Yes
  • Expression: ${verify}
  • Default: false
libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/generated-site/xdoc/document-compare-mojo.xml0000644000175000017500000000754011523610644032752 0ustar twernertwerner jibx:document-compare

Full name:

org.jibx:maven-jibx-plugin:1.2.2:document-compare

Description:

Compares two schemas or roundtrips a schema through a JiBX class and compares the results. If a mapped class is supplied, then the inFile is marshalled into the supplied class and then unmarshalled in the outFile (defaults to temp.xml) and compared with the original xml document. If no class is supplied, then the inFile is compared to the outFile XML files. Note: This mojo only runs in test scope.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Binds by default to the lifecycle phase: test.
Name Type Since Description
inFile String - The path to the source XML document to compare. NOTE: Relative paths start at ${basedir}.
Name Type Since Description
mappedClass String - Root class name to use to round-trip the document.
outFile String - The path to the destination XML document to compare. NOTE: Relative paths start at ${basedir}; If this path is a filename, the directory is the same as inFile.

inFile:

The path to the source XML document to compare. NOTE: Relative paths start at ${basedir}.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${inFile}

mappedClass:

Root class name to use to round-trip the document.
  • Type: java.lang.String
  • Required: No
  • Expression: ${mappedClass}

outFile:

The path to the destination XML document to compare. NOTE: Relative paths start at ${basedir}; If this path is a filename, the directory is the same as inFile.
  • Type: java.lang.String
  • Required: No
  • Expression: ${outFile}
libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/generated-site/xdoc/bind-mojo.xml0000644000175000017500000002004211523610644030414 0ustar twernertwerner jibx:bind

Full name:

org.jibx:maven-jibx-plugin:1.2.2:bind

Description:

Runs the JiBX binding compiler.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: compile.
  • Binds by default to the lifecycle phase: process-classes.
Name Type Since Description
directory String - The directory which contains binding files.
Default value is: src/main/config.
load boolean - Control flag for test loading generated/modified classes.
Default value is: false.
multimodule boolean - Control flag multi-module mode.
Default value is: false.
validate boolean - Control flag for test loading generated/modified classes.
Default value is: true.
verbose boolean - Control flag for verbose processing reports.
Default value is: false.
verify boolean - Control flag for verifying generated/modified classes with BCEL.
Default value is: false.
Name Type Since Description
excludes ArrayList - Exclude pattern for binding files.
includes ArrayList - Include pattern for binding files.
Note: Uses the standard filter format described in the plexus DirectoryScanner.
Defaults value is: binding.xml.
modules HashSet - A list of modules to search for binding files in the format: groupID:artifactID

directory:

The directory which contains binding files.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${directory}
  • Default: src/main/config

excludes:

Exclude pattern for binding files.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${excludes}

includes:

Include pattern for binding files.
Note: Uses the standard filter format described in the plexus DirectoryScanner.
Defaults value is: binding.xml.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${includes}

load:

Control flag for test loading generated/modified classes.
  • Type: boolean
  • Required: Yes
  • Expression: ${load}
  • Default: false

modules:

A list of modules to search for binding files in the format: groupID:artifactID
  • Type: java.util.HashSet
  • Required: No
  • Expression: ${modules}

multimodule:

Control flag multi-module mode.
  • Type: boolean
  • Required: Yes
  • Expression: ${multi-module}
  • Default: false

validate:

Control flag for test loading generated/modified classes.
  • Type: boolean
  • Required: Yes
  • Expression: ${validate}
  • Default: true

verbose:

Control flag for verbose processing reports.
  • Type: boolean
  • Required: Yes
  • Expression: ${verbose}
  • Default: false

verify:

Control flag for verifying generated/modified classes with BCEL.
  • Type: boolean
  • Required: Yes
  • Expression: ${verify}
  • Default: false
libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/0000755000175000017500000000000011524031504023607 5ustar twernertwernerlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/META-INF/0000755000175000017500000000000011524031506024751 5ustar twernertwernerlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/META-INF/maven/0000755000175000017500000000000011525226314026063 5ustar twernertwernerlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/META-INF/maven/plugin.xml0000644000175000017500000014234311524737530030120 0ustar twernertwerner A plugin for Maven 2 to run the JiBX binding compiler, or generate Java sources from XSD schemas. org.jibx maven-jibx-plugin 1.2.2 jibx false true test-bind Runs the JiBX binding compiler on the test classes. test-compile false true false false false true process-test-classes org.jibx.maven.TestCompileBindingMojo java per-lookup once-per-session directory java.lang.String true true The directory which contains binding files. excludes java.util.ArrayList false true Exclude pattern for binding files. includes java.util.ArrayList false true Include pattern for binding files.<br/> <b>Note: </b>Uses the standard filter format described in the plexus <a href="http://plexus.codehaus.org/plexus-utils/apidocs/org/codehaus/plexus/util/DirectoryScanner.html">DirectoryScanner</a>.<br/> <b>Defaults value is:</b> binding.xml. load boolean true true Control flag for test loading generated/modified classes. modules java.util.HashSet false true A list of modules to search for binding files in the format: groupID:artifactID multimodule boolean true true Control flag multi-module mode. project org.apache.maven.project.MavenProject true false The maven project. validate boolean true true Control flag for test loading generated/modified classes. verbose boolean true true Control flag for verbose processing reports. verify boolean true true Control flag for verifying generated/modified classes with BCEL. ${directory} ${excludes} ${load} ${includes} ${validate} ${verbose} ${project} ${multi-module} ${verify} ${modules} test-jibx2wsdl Generates WSDL from java code. test-compile false true false false false true process-test-classes org.jibx.maven.TestJibx2WsdlMojo java per-lookup once-per-session customizations java.util.ArrayList false true Include pattern for customization files. directory java.lang.String true true The directory which contains binding files. excludes java.util.ArrayList false true Exclude pattern for binding files. includes java.util.ArrayList false true Include pattern for binding files.<br/> <b>Note: </b>Uses the standard filter format described in the plexus <a href="http://plexus.codehaus.org/plexus-utils/apidocs/org/codehaus/plexus/util/DirectoryScanner.html">DirectoryScanner</a>.<br/> <b>Defaults value is:</b> binding.xml. interfaceClassNames java.util.ArrayList true true The full class names of the service interface. <b>Note:</b> Classes should be in target/classes (which is where they should be after compiling). load boolean true true Control flag for test loading generated/modified classes. modules java.util.HashSet false true A list of modules to search for binding files in the format: groupID:artifactID multimodule boolean true true Control flag multi-module mode. options java.util.Map false true Extra options to be given for customization via CLI.<p/> Enter extra customizations or other command-line options.<br/> The extra customizations are described on the <a href="/fromcode/jibx2wsdl-customs.html">JiBX2WSDL customizations page</a><br/> The single character JiBX2WSDL commands may also be supplied here.<br/> For example, to include Names of extra classes (-x) and Sets the base address used for the service endpoint address specified in the WSDL, supply the following options:<br/> <code> &lt;options&gt;<br/> &nbsp;&nbsp;&lt;x&gt;com.company.pacakge.ClassName&lt;/x&gt;<br/> &nbsp;&nbsp;&lt;service-base&gt;http://localhost:8080/axis2/services&lt;/service-base&gt;<br/> &lt;/options&gt; </code> outputDirectory java.lang.String true true Target directory path for generated output (default is current directory). <b>Note:</b> If you want the wsdl and schema included in your distribution, remember to include it in the &lt;resources&gt; section of your pom file. project org.apache.maven.project.MavenProject true false The maven project. sourceDirectories java.util.ArrayList false true The source directories. <b>Note:</b> The source directory defaults to: <code> &lt;sourceDirectories&gt;<br/> &nbsp;&nbsp;&lt;sourceDirectory&gt;${basedir}/src/main/java&lt;/sourceDirectory&gt;<br/> &lt;/sourceDirectories&gt; </code> If you are using the code-gen plugin, you may want to specify the generated sources directory: <code> &lt;sourceDirectories&gt;<br/> &nbsp;&nbsp;&lt;sourceDirectory&gt;${basedir}/src/main/java&lt;/sourceDirectory&gt;<br/> &nbsp;&nbsp;&lt;sourceDirectory&gt;${project.build.directory}/generated-source&lt;/sourceDirectory&gt;<br/> &lt;/sourceDirectories&gt; </code> If you don't want sources include, you will have to explicitly delare an empty list: <code> &lt;sourceDirectories&gt;<br/> &nbsp;&nbsp;&lt;sourceDirectory&gt;&lt;/sourceDirectory&gt;<br/> &lt;/sourceDirectories&gt; </code> validate boolean true true Control flag for test loading generated/modified classes. verbose boolean true true Control flag for verbose processing reports. verify boolean true true Control flag for verifying generated/modified classes with BCEL. ${directory} ${customizations} ${includes} ${multi-module} ${modules} ${excludes} ${outputDirectory} ${load} ${validate} ${sourceDirectories} ${project} ${verbose} ${interfaceClassNames} ${verify} bind Runs the JiBX binding compiler. compile false true false false false true process-classes org.jibx.maven.CompileBindingMojo java per-lookup once-per-session directory java.lang.String true true The directory which contains binding files. excludes java.util.ArrayList false true Exclude pattern for binding files. includes java.util.ArrayList false true Include pattern for binding files.<br/> <b>Note: </b>Uses the standard filter format described in the plexus <a href="http://plexus.codehaus.org/plexus-utils/apidocs/org/codehaus/plexus/util/DirectoryScanner.html">DirectoryScanner</a>.<br/> <b>Defaults value is:</b> binding.xml. load boolean true true Control flag for test loading generated/modified classes. modules java.util.HashSet false true A list of modules to search for binding files in the format: groupID:artifactID multimodule boolean true true Control flag multi-module mode. project org.apache.maven.project.MavenProject true false The maven project. validate boolean true true Control flag for test loading generated/modified classes. verbose boolean true true Control flag for verbose processing reports. verify boolean true true Control flag for verifying generated/modified classes with BCEL. ${directory} ${excludes} ${load} ${includes} ${validate} ${verbose} ${project} ${multi-module} ${verify} ${modules} document-compare Compares two schemas or roundtrips a schema through a JiBX class and compares the results. If a mapped class is supplied, then the inFile is marshalled into the supplied class and then unmarshalled in the outFile (defaults to temp.xml) and compared with the original xml document. If no class is supplied, then the inFile is compared to the outFile XML files. <b>Note:</b> This mojo only runs in test scope. false true false false false true test org.jibx.maven.DocumentCompareMojo java per-lookup once-per-session inFile java.lang.String true true The path to the source XML document to compare. NOTE: Relative paths start at ${basedir}. mappedClass java.lang.String false true Root class name to use to round-trip the document. outFile java.lang.String false true The path to the destination XML document to compare. NOTE: Relative paths start at ${basedir}; If this path is a filename, the directory is the same as inFile. project org.apache.maven.project.MavenProject true false The maven project. ${outFile} ${mappedClass} ${project} ${inFile} test-schema-codegen Generates Java test sources from XSD schemas. test-compile false true false false false true generate-test-sources org.jibx.maven.TestSchemaCodeGenMojo java per-lookup once-per-session customizations java.util.ArrayList false true Include pattern for customization files. defaultNamespace java.lang.String false true Namespace applied in code generation when no-namespaced schema definitions are found (to generate no-namespaced schemas as though they were included in a particular namespace) defaultPackage java.lang.String false true Default package for code generated from schema definitions with no namespace. directory java.lang.String true true The directory which contains XSD files. excludes java.util.ArrayList false true Exclude pattern for binding files. includeBindings java.util.ArrayList false true Include existing bindings and use mappings from the bindings for matching schema global definitions. (this is the basis for modular code generation) Include base bindings as follows:<br/> &lt;includeBindings&gt;<br/> &lt;includeBinding&gt;base-binding.xml&lt;/includeBinding&gt;<br/> &lt;/includeBindings&gt;<br/> <b>Note:</b> Relative paths start at ${basedir}. includes java.util.ArrayList false true Include pattern for schema files.<br/> <b>Note: </b>Uses the standard filter format described in the plexus <a href="http://plexus.codehaus.org/plexus-utils/apidocs/org/codehaus/plexus/util/DirectoryScanner.html">DirectoryScanner</a>.<br/> <b>Defaults value is:</b> *.xsd. options java.util.Map false true Extra options to be given for customization via CLI.<p/> Enter extra customizations or other command-line options.<br/> The extra customizations are described on the <a href="/fromschema/codegen-customs.html">CodeGen customizations page</a><br/> The single character CodeGen commands may also be supplied here.<br/> For example, to include a base binding file (-i) and prefer-inline code, supply the following options:<br/> <code> &lt;options&gt;<br/> &nbsp;&nbsp;&lt;i&gt;base-binding.xml&lt;/i&gt;<br/> &nbsp;&nbsp;&lt;prefer-inline&gt;true&lt;/prefer-inline&gt;<br/> &lt;/options&gt; </code> project org.apache.maven.project.MavenProject true false The maven project. targetDirectory java.lang.String false true Target directory where to generate Java source files. verbose boolean true true Control flag for verbose processing reports. ${directory} ${excludes} ${customizations} ${includes} ${targetDirectory} ${verbose} ${project} ${includeBindings} org.apache.maven.project.MavenProjectHelper projectHelper schema-codegen Generates Java sources from XSD schemas. compile false true false false false true generate-sources org.jibx.maven.SchemaCodeGenMojo java per-lookup once-per-session customizations java.util.ArrayList false true Include pattern for customization files. defaultNamespace java.lang.String false true Namespace applied in code generation when no-namespaced schema definitions are found (to generate no-namespaced schemas as though they were included in a particular namespace) defaultPackage java.lang.String false true Default package for code generated from schema definitions with no namespace. directory java.lang.String true true The directory which contains XSD files. excludes java.util.ArrayList false true Exclude pattern for binding files. includeBindings java.util.ArrayList false true Include existing bindings and use mappings from the bindings for matching schema global definitions. (this is the basis for modular code generation) Include base bindings as follows:<br/> &lt;includeBindings&gt;<br/> &lt;includeBinding&gt;base-binding.xml&lt;/includeBinding&gt;<br/> &lt;/includeBindings&gt;<br/> <b>Note:</b> Relative paths start at ${basedir}. includes java.util.ArrayList false true Include pattern for schema files.<br/> <b>Note: </b>Uses the standard filter format described in the plexus <a href="http://plexus.codehaus.org/plexus-utils/apidocs/org/codehaus/plexus/util/DirectoryScanner.html">DirectoryScanner</a>.<br/> <b>Defaults value is:</b> *.xsd. options java.util.Map false true Extra options to be given for customization via CLI.<p/> Enter extra customizations or other command-line options.<br/> The extra customizations are described on the <a href="/fromschema/codegen-customs.html">CodeGen customizations page</a><br/> The single character CodeGen commands may also be supplied here.<br/> For example, to include a base binding file (-i) and prefer-inline code, supply the following options:<br/> <code> &lt;options&gt;<br/> &nbsp;&nbsp;&lt;i&gt;base-binding.xml&lt;/i&gt;<br/> &nbsp;&nbsp;&lt;prefer-inline&gt;true&lt;/prefer-inline&gt;<br/> &lt;/options&gt; </code> project org.apache.maven.project.MavenProject true false The maven project. targetDirectory java.lang.String false true Target directory where to generate Java source files. verbose boolean true true Control flag for verbose processing reports. ${directory} ${excludes} ${customizations} ${includes} ${targetDirectory} ${verbose} ${project} ${includeBindings} org.apache.maven.project.MavenProjectHelper projectHelper jibx2wsdl Generates WSDL from java code. compile false true false false false true process-classes org.jibx.maven.Jibx2WsdlMojo java per-lookup once-per-session customizations java.util.ArrayList false true Include pattern for customization files. directory java.lang.String true true The directory which contains binding files. excludes java.util.ArrayList false true Exclude pattern for binding files. includes java.util.ArrayList false true Include pattern for binding files.<br/> <b>Note: </b>Uses the standard filter format described in the plexus <a href="http://plexus.codehaus.org/plexus-utils/apidocs/org/codehaus/plexus/util/DirectoryScanner.html">DirectoryScanner</a>.<br/> <b>Defaults value is:</b> binding.xml. interfaceClassNames java.util.ArrayList true true The full class names of the service interface. <b>Note:</b> Classes should be in target/classes (which is where they should be after compiling). load boolean true true Control flag for test loading generated/modified classes. modules java.util.HashSet false true A list of modules to search for binding files in the format: groupID:artifactID multimodule boolean true true Control flag multi-module mode. options java.util.Map false true Extra options to be given for customization via CLI.<p/> Enter extra customizations or other command-line options.<br/> The extra customizations are described on the <a href="/fromcode/jibx2wsdl-customs.html">JiBX2WSDL customizations page</a><br/> The single character JiBX2WSDL commands may also be supplied here.<br/> For example, to include Names of extra classes (-x) and Sets the base address used for the service endpoint address specified in the WSDL, supply the following options:<br/> <code> &lt;options&gt;<br/> &nbsp;&nbsp;&lt;x&gt;com.company.pacakge.ClassName&lt;/x&gt;<br/> &nbsp;&nbsp;&lt;service-base&gt;http://localhost:8080/axis2/services&lt;/service-base&gt;<br/> &lt;/options&gt; </code> outputDirectory java.lang.String true true Target directory path for generated output (default is current directory). <b>Note:</b> If you want the wsdl and schema included in your distribution, remember to include it in the &lt;resources&gt; section of your pom file. project org.apache.maven.project.MavenProject true false The maven project. sourceDirectories java.util.ArrayList false true The source directories. <b>Note:</b> The source directory defaults to: <code> &lt;sourceDirectories&gt;<br/> &nbsp;&nbsp;&lt;sourceDirectory&gt;${basedir}/src/main/java&lt;/sourceDirectory&gt;<br/> &lt;/sourceDirectories&gt; </code> If you are using the code-gen plugin, you may want to specify the generated sources directory: <code> &lt;sourceDirectories&gt;<br/> &nbsp;&nbsp;&lt;sourceDirectory&gt;${basedir}/src/main/java&lt;/sourceDirectory&gt;<br/> &nbsp;&nbsp;&lt;sourceDirectory&gt;${project.build.directory}/generated-source&lt;/sourceDirectory&gt;<br/> &lt;/sourceDirectories&gt; </code> If you don't want sources include, you will have to explicitly delare an empty list: <code> &lt;sourceDirectories&gt;<br/> &nbsp;&nbsp;&lt;sourceDirectory&gt;&lt;/sourceDirectory&gt;<br/> &lt;/sourceDirectories&gt; </code> validate boolean true true Control flag for test loading generated/modified classes. verbose boolean true true Control flag for verbose processing reports. verify boolean true true Control flag for verifying generated/modified classes with BCEL. ${directory} ${customizations} ${includes} ${multi-module} ${modules} ${excludes} ${outputDirectory} ${load} ${validate} ${sourceDirectories} ${project} ${verbose} ${interfaceClassNames} ${verify} org.apache.maven maven-plugin-api jar 2.2.1 org.apache.maven maven-project jar 2.2.1 org.apache.maven maven-settings jar 2.2.1 org.apache.maven maven-model jar 2.2.1 org.codehaus.plexus plexus-utils jar 2.0.5 org.codehaus.plexus plexus-interpolation jar 1.11 org.codehaus.plexus plexus-container-default jar 1.0-alpha-9-stable-1 junit junit jar 3.8.1 classworlds classworlds jar 1.1-alpha-2 org.apache.maven maven-profile jar 2.2.1 org.apache.maven maven-artifact-manager jar 2.2.1 org.apache.maven maven-repository-metadata jar 2.2.1 org.apache.maven maven-artifact jar 2.2.1 org.apache.maven.wagon wagon-provider-api jar 1.0-beta-6 backport-util-concurrent backport-util-concurrent jar 3.1 org.apache.maven maven-plugin-registry jar 2.2.1 org.jibx jibx-tools jar 1.2.2 org.jibx jibx-schema jar 1.2.2 org.jibx jibx-run jar 1.2.2 org.codehaus.woodstox wstx-asl jar 3.2.1 stax stax-api jar 1.0.1 bcel bcel jar 5.1 org.jibx jibx-bind jar 1.2.2 org.jibx jibx-extras jar 1.2.2 xpp3 xpp3 jar 1.1.3.4.O com.thoughtworks.qdox qdox jar 1.6.2 ant ant jar 1.5.1 jmock jmock jar 1.0.0 commons-io commons-io jar 1.1 org.eclipse.jdt core jar 3.3.0-v_771 org.eclipse.core resources jar 3.3.0-v20070604 org.eclipse.core expressions jar 3.3.0-v20070606-0010 org.eclipse.core runtime jar 3.3.100-v20070530 org.eclipse osgi jar 3.3.0-v20070530 org.eclipse.core jobs jar 3.3.0-v20070423 org.eclipse.equinox registry jar 3.3.0-v20070522 org.eclipse.equinox preferences jar 3.2.100-v20070522 org.eclipse.core contenttype jar 3.2.100-v20070319 org.eclipse.core filesystem jar 1.1.0-v20070606 org.eclipse text jar 3.3.0-v20070606-0010 org.eclipse.core commands jar 3.3.0-I20070605-0010 org.eclipse.equinox common jar 3.3.0-v20070426 log4j log4j jar 1.2.15 javax.mail mail jar 1.4 javax.activation activation jar 1.1 libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/org/0000755000175000017500000000000011524031506024400 5ustar twernertwernerlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/org/jibx/0000755000175000017500000000000011524031506025334 5ustar twernertwernerlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/org/jibx/maven/0000755000175000017500000000000011524031506026442 5ustar twernertwerner././@LongLink0000000000000000000000000000015000000000000011561 Lustar rootrootlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/org/jibx/maven/AbstractJibx2WsdlMojo.classlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/org/jibx/maven/AbstractJibx2WsdlMojo.cl0000644000175000017500000001200011523610552033077 0ustar twernertwernerÊþº¾-! Yˆ X‰Š ‹Œ Ž * ‘’ “” Y• Y–—˜ Y™ Yš› Yœ Y Xž RŸ  ˆ¡ ¢£ ¤¥¦ §¨© ˆª «¬ X­ X®¯ °± ²³ ²´µ X¶ ·¸ ¹±º» .¼ ½¾ .¿ À¤ *Á * ÃÄÅÆ “ÇÈÉÊË >ˆ >Á >Ì >Í >¤ XÎ RÏÐ YÑÒ Ÿ Ón ÔÕÖ Mר Ù× Y‰Ú RˆÛ TˆÜ R«ÝÞinterfaceClassNamesLjava/util/ArrayList;outputDirectoryLjava/lang/String;customizationssourceDirectoriesDEFAULT_SOURCE_DIRECTORY ConstantValueoptionsLjava/util/Map;()VCodeLineNumberTableLocalVariableTablethis&Lorg/jibx/maven/AbstractJibx2WsdlMojo;executemodebindings[Ljava/lang/String; classpathsiI customizationiteratorLjava/util/Iterator;entryEntry InnerClassesLjava/util/Map$Entry;optionargLjava/lang/StringBuilder;argsLjava/util/Vector; classNamese Lorg/jibx/runtime/JiBXException;Ljava/io/IOException; ExceptionsßàcheckConfiguration SourceFileAbstractJibx2WsdlMojo.java de …epomá âãä åæ çèé êë3Not running JiBX binding compiler for pom packagingì íî ïð ñðrestricted multi-module multi-module òó ôó single-module õó öó Z[ ÷øjava/lang/StringBufferNot running JiBX2WSDL ( ùú! mode) - no class interface files ûæRunning JiBX binding compiler ( mode) on ùü interface file(s)java/util/Vector-p ýþ-t \] ^[-cÿ s ð java/lang/String bc java/util/Map$Entry--   ù =    ø  Adding option : - î-Adding option: -ujava/lang/StringBuilder ù ù _[ -s -v  org/jibx/runtime/JiBXException ejava/io/IOException java/util/ArrayListjava/util/HashMap${basedir}/src/main/java$org/jibx/maven/AbstractJibx2WsdlMojo&org/jibx/maven/AbstractBaseBindingMojo.org/apache/maven/plugin/MojoExecutionException,org/apache/maven/plugin/MojoFailureExceptionorg/jibx/maven/AbstractJibxMojoproject'Lorg/apache/maven/project/MavenProject;%org/apache/maven/project/MavenProject getPackaging()Ljava/lang/String;equalsIgnoreCase(Ljava/lang/String;)Z$org/apache/maven/plugin/AbstractMojogetLog'()Lorg/apache/maven/plugin/logging/Log;#org/apache/maven/plugin/logging/Loginfo(Ljava/lang/CharSequence;)VisMultiModuleMode()ZisRestrictedMultiModuleModegetMultiModuleBindings()[Ljava/lang/String;getMultiModuleClasspathsgetSingleModuleBindingsgetSingleModuleClasspathssize()Iappend,(Ljava/lang/String;)Ljava/lang/StringBuffer;toString(I)Ljava/lang/StringBuffer;add(Ljava/lang/Object;)Zjava/util/AbstractList()Ljava/util/Iterator;java/util/IteratorhasNextnext()Ljava/lang/Object; java/util/MapentrySet()Ljava/util/Set; java/util/SetgetKey,(Ljava/lang/Object;)Ljava/lang/StringBuffer;getValuejava/lang/ObjectlengthcharAt(I)Cjava/lang/Character isLowerCase(C)Zdebug(C)Ljava/lang/StringBuilder;-(Ljava/lang/String;)Ljava/lang/StringBuilder;get(I)Ljava/lang/Object;verboseZtoArray(([Ljava/lang/Object;)[Ljava/lang/Object; org/jibx/ws/wsdl/tools/Jibx2Wsdlmain([Ljava/lang/String;)VprintStackTracejava/lang/Throwable!XYZ[\]^[_[`]aVbcdef/*·±g*h ijkefmE*¶*´¶¶™*¶¹ ±*¶ ™ *¶ ™  L§ L*¶M*¶N§L*¶M*¶N*´¶š'*¶»Y·¶+¶¶¶¹ §É*¶»Y·¶+¶¶*´¶¶¶¶¹ »Y· :6-¾¢!¶"W-2¶"W„§ÿä#¶"W*´$¶"W*´%¶ž5&¶"W*´%¶':¹(™¹)À*:¶"W§ÿâ*´+¹,¹-:¹(™æ¹)À.:»Y·/¶¹0¶12¶¹3¶1¶:¹0¶4¶5 w¹0¶4¶6¸7™c*¶»Y·8¶¹0¶19¶¹3¶1¶¹:»Y·;¶¹0¶1¶¶"W¹3¶"W§(*¶»Y·<¶¶¶¹:¶"W§ÿ,¾žI=¶"W»>Y·?:6,¾¢#¶@ž ;¶AW,2¶BW„§ÿܶC¶"W*´D¶žr*´D¶EÆg*´D¶E¶4¶5žVF¶"W»>Y·?:6*´D¶¢+¶@ž ;¶AW*´D¶E¶4¶BW„§ÿ϶C¶"W*´G™ H¶"W*´¶':¹(™¹)¶"W§ÿé¶I½*¶JÀKÀK¸L§:¶N§ :¶P±®03M®0=Og"Hz€‚ƒ†&‡-ˆ3Š6Œ;CFK‘P”Z•~—®›·ÁŸÉ ÓÙ£á¤ë¦õ§ý¨©ª$«'®A¯M°w±œ³Í´ìµü¹º!¼$½)¿1À:ÁDÃLÄTÅ^ÁdÇoÊy˄̕ÎϦеҽÓÅÔ×ÐÝÖèØïÙ÷ÛÜ Þá0ç3ã5ä:ç=å?æDêhÞ0l]6 l];mn@onºpqr]!stMÔuxwªy]7íst='pq:5z{©4pq¦Bz{·y|}0~t5€?EijFÿl]KúmnPõon‚ƒ„…efE*·Q*´%Ç*»RY·Sµ%*´+Ç*»TY·Uµ+*´DÇ*»RY·SµD*´DV¶WW±g& ñó ôö÷(ù/ú:ûDýh Eij†‡w .·v ././@LongLink0000000000000000000000000000014600000000000011566 Lustar rootrootlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/org/jibx/maven/DocumentCompareMojo.classlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/org/jibx/maven/DocumentCompareMojo.clas0000644000175000017500000001226611523610552033232 0ustar twernertwernerÊþº¾- }~€ ‚ ƒ B„ A…† B‡ ˆ‰ Š‹ ŒŽ A‘ B’ A“ ” Š•–— ƒ ˜ A™ Aš C›œ ƒ žŸ ž ¡ ¢ £ ¤¥¦ %§¨ ©ª '« '¬­®¯° B… ž± ˆ²³ ´ µ¶· µ¸ ¹º » ¼½ A¾¿ AÀ }Á >ÃÄÅÆÇMyTestRoundtrip InnerClasses mappedClassLjava/lang/String;inFileoutFile'class$org$jibx$extras$TestMultRoundtripLjava/lang/Class; Synthetic()VCodeLineNumberTableLocalVariableTablethis$Lorg/jibx/maven/DocumentCompareMojo;executefileInLjava/io/File;defaultOutPathcauseLjava/lang/Throwable;eLjava/lang/Exception;parentLjava/lang/ClassLoader;fileOutbrdrLjava/io/InputStreamReader;frdrcomp$Lorg/jibx/extras/DocumentComparator;'Lorg/xmlpull/v1/XmlPullParserException;Ljava/io/FileNotFoundException; ExceptionsÈcheckConfigurationaddTestClasspath()Ljava/lang/ClassLoader;ALorg/apache/maven/artifact/DependencyResolutionRequiredException;iIurls[Ljava/net/URL;loadere1 Ljava/net/MalformedURLException;oldClassLoaderlistLjava/util/List;class$%(Ljava/lang/String;)Ljava/lang/Class;x1"Ljava/lang/ClassNotFoundException;x0 SourceFileDocumentCompareMojo.javaÉ Êw java/lang/ClassNotFoundExceptionjava/lang/NoClassDefFoundErrorË ÌÍ MÎ MN hNpom ÏÐÑ ÒÍÓ ÔÕÖ ×Ø4JiBX document compare does not run for pom packagingÙ ÚÛ HG ÜÝ IG ÞG ßà/ java/io/File áÍ FG ij âã.org/apache/maven/plugin/MojoExecutionException5Class did not round-trip document on document-compareä åæ çèjava/lang/Exception éê ëÍ MìQFor JiBX document compare you must supply two documents or a class and a documentjava/io/FileReader Mí"org/jibx/extras/DocumentComparatorî ïð Mñ òó JiBX document compare successful+Documents are not equal on document-compare%org/xmlpull/v1/XmlPullParserExceptionjava/io/FileNotFoundException ôj õö?org/apache/maven/artifact/DependencyResolutionRequiredException ÷Nø ùú java/net/URL ûüý þÍ ÿ  JK!org.jibx.extras.TestMultRoundtrip vw jjava/net/URLClassLoader Mjava/net/MalformedURLException"org/jibx/maven/DocumentCompareMojoorg/jibx/maven/AbstractJibxMojo2org/jibx/maven/DocumentCompareMojo$MyTestRoundtrip,org/apache/maven/plugin/MojoFailureExceptionjava/lang/ClassforNamejava/lang/Throwable getMessage()Ljava/lang/String;(Ljava/lang/String;)Vproject'Lorg/apache/maven/project/MavenProject;%org/apache/maven/project/MavenProject getPackagingjava/lang/StringequalsIgnoreCase(Ljava/lang/String;)Z$org/apache/maven/plugin/AbstractMojogetLog'()Lorg/apache/maven/plugin/logging/Log;#org/apache/maven/plugin/logging/Loginfo(Ljava/lang/CharSequence;)V fixFilePath8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; pathSeparatorcontains(Ljava/lang/CharSequence;)Z getParentrunTestK(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Zjava/lang/Thread currentThread()Ljava/lang/Thread;setContextClassLoader(Ljava/lang/ClassLoader;)VgetCause()Ljava/lang/Throwable;getLocalizedMessage*(Ljava/lang/String;Ljava/lang/Throwable;)V(Ljava/io/File;)Vjava/lang/SystemerrLjava/io/PrintStream;(Ljava/io/PrintStream;)Vcompare#(Ljava/io/Reader;Ljava/io/Reader;)ZgetContextClassLoadergetTestClasspathElements()Ljava/util/List;printStackTracejava/util/Listsize()Iget(I)Ljava/lang/Object;java/lang/ObjecttoStringtoURI()Ljava/net/URI; java/net/URItoURL()Ljava/net/URL;getClassLoader)([Ljava/net/URL;Ljava/lang/ClassLoader;)V!ABFGHGIGJKLMNO3*·±P 6ÇQ RSTNOˆ*¶*´ ¶ ¶ ™*¶  ¹±***´¶µ*´Æ<L*´²¶š *´¶š»Y*´·M,¶L***´+¶µ*´Æk*·L*´Ç **´µ*´*´*´¸š »Y·¿¸+¶§-M,¶!Æ ,¶!§,N»Y-¶"-·#¿:¸+¶¿§¯*´Ç*¶ $¹±»Y*´·L»Y*´·M»%Y+·&N»%Y,·&:»'Y²(·):-¶*™*¶ +¹§ »Y,·¿§?L+¶!Æ +¶!§+M»Y,¶",·#¿L+¶!Æ +¶!§+M»Y,¶",·#¿±x¤® x¤Ì®ÎÌîHK-îHi.P®+XZ\]`,a3c5dNgZh_jlmsoxrs‡tšu¤{«|®w¯x¿yÌ{Ø}Û€â‚íƒî†ú‡‰Š‹%Œ0>H–KL‘\’i“j”z•‡™Q˜ZUV57WG¿ XY¯Z[x`\]úNUVB^V9_`/a`%#bc\ XYLZdz XYjZeˆRSfghNO3*·/±P  ¡Q RSijO}£¸¶0LM*´ ¶1M§N-¶3,Æ ,¹4š+°+N,¹4½5:6,¹4¢&»Y,¹6¶7·¶8¶9S„§ÿÕ-Dz:Ç;¸Y-·?:¸¶§ :¶3+° 2*—š@PV©ª ¬¯­®°&±(²*´5µC·`µfºj»ƒ½¾—Áš¿œÀ¡ÂQ\ Zk8.lm5bnop]œqr£RSœs] štu*y\]vwON*¸°L»Y+¶·¿P»Q xyzGL{|E CAD libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/org/jibx/maven/SchemaCodeGenMojo.class0000644000175000017500000000112011523610552032740 0ustar twernertwernerÊþº¾-    directoryLjava/lang/String;targetDirectory()VCodeLineNumberTableLocalVariableTablethis"Lorg/jibx/maven/SchemaCodeGenMojo; getDirectory()Ljava/lang/String;getTargetDirectory SourceFileSchemaCodeGenMojo.java   org/jibx/maven/SchemaCodeGenMojo"org/jibx/maven/AbstractCodeGenMojo!  /*·± !  /*´° 8  /*´° A ././@LongLink0000000000000000000000000000016600000000000011570 Lustar rootrootlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/org/jibx/maven/DocumentCompareMojo$MyTestRoundtrip.classlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/org/jibx/maven/DocumentCompareMojo$MyTe0000644000175000017500000000146711523610552033155 0ustar twernertwernerÊþº¾-$  ()VCodeLineNumberTableLocalVariableTablethisMyTestRoundtrip InnerClasses4Lorg/jibx/maven/DocumentCompareMojo$MyTestRoundtrip;runTestK(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)ZmnameLjava/lang/String;bnamefinfout Exceptions !" SourceFileDocumentCompareMojo.java  #2org/jibx/maven/DocumentCompareMojo$MyTestRoundtriporg/jibx/extras/TestRoundtripjava/io/IOExceptionorg/jibx/runtime/JiBXException%org/xmlpull/v1/XmlPullParserException"org/jibx/maven/DocumentCompareMojo!3*·± ÇÏ  P*+,-¸¬Î *  ././@LongLink0000000000000000000000000000014600000000000011566 Lustar rootrootlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/org/jibx/maven/AbstractCodeGenMojo.classlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/org/jibx/maven/AbstractCodeGenMojo.clas0000644000175000017500000001334511523610552033134 0ustar twernertwernerÊþº¾-F aœ ` `ž `Ÿ  a¡ ¢£ 0¤ ¥¦§ ¨©ª œ `« ¬­ ®¯ °± °²³´ œµ ¶ · ¸¹ º » ¼» 0½ 0¾ ¿ÀÁ ¨ÃÄ ÅÆÇ `ÈÉÊË `Ì `Í ÎÏ Ð¯ÑÒ `Ó aÔÕÖ 0ר ¨Ù =ÚÛÜ 0ÝÞ =ß =à =áâã `ä `å ů =æ ç»èéê ÅÎ Åëì íîï Oðñ òó Qô òõö÷ ¢ø aŸ `ùú Æ `ûü ]œ aýþÿDEFAULT_INCLUDESLjava/lang/String; ConstantValueexcludesLjava/util/ArrayList;includesverboseZdefaultPackagecustomizationsincludeBindingsdefaultNamespaceoptionsLjava/util/Map; projectHelper-Lorg/apache/maven/project/MavenProjectHelper;()VCodeLineNumberTableLocalVariableTablethis$Lorg/jibx/maven/AbstractCodeGenMojo;executeentryEntry InnerClassesLjava/util/Map$Entry;optioniteratorLjava/util/Iterator; customizationfileLjava/io/File;eLjava/lang/Exception;includeBinding relativePathbasedir allBindingsschemacauseLjava/lang/Throwable; Lorg/jibx/runtime/JiBXException;argsLjava/util/List;schemas ExceptionscheckConfiguration getSchemas$(Ljava/lang/String;)Ljava/util/List;path getDirectory()Ljava/lang/String;getTargetDirectory SourceFileAbstractCodeGenMojo.java rs jc mc “spom  ˜   1Not running JiBX code generator for pom packaging   java/util/ArrayList no    java/util/Map$Entryjava/lang/StringBuffer--   =  ˜   !" #$Adding option : - % -& '(Adding option: hi-v-n-t ™˜ kf )-c*java/lang/String-u lf +, classpath: -eCodeGen Mojo does not support 'classpath:' in binding, file a bug report if you need this capability. . /c/, 01 java/io/File 2c r3 4java/lang/Exception-i —˜ ”• 567Generating Java sources in  from schemas available in ... 89[Ljava/lang/String;: ;<org/jibx/runtime/JiBXException =>.org/apache/maven/plugin/MojoExecutionException? @˜ rA B>Adding  as source directory... C3 gf*.xsd efjava/util/HashMap DE"org/jibx/maven/AbstractCodeGenMojoorg/jibx/maven/AbstractJibxMojo,org/apache/maven/plugin/MojoFailureExceptionproject'Lorg/apache/maven/project/MavenProject;%org/apache/maven/project/MavenProject getPackagingequalsIgnoreCase(Ljava/lang/String;)Z$org/apache/maven/plugin/AbstractMojogetLog'()Lorg/apache/maven/plugin/logging/Log;#org/apache/maven/plugin/logging/Loginfo(Ljava/lang/CharSequence;)V java/util/MapentrySet()Ljava/util/Set; java/util/Set()Ljava/util/Iterator;java/util/IteratorhasNext()Znext()Ljava/lang/Object;append,(Ljava/lang/String;)Ljava/lang/StringBuffer;getKey,(Ljava/lang/Object;)Ljava/lang/StringBuffer;getValuetoStringjava/lang/Objectlength()IcharAt(I)Cjava/lang/Character isLowerCase(C)Zdebugjava/util/Listadd(Ljava/lang/Object;)Zsizejava/util/AbstractListgetProjectBasedir;(Lorg/apache/maven/project/MavenProject;)Ljava/lang/String; startsWitherror pathSeparatorcontains(Ljava/lang/CharSequence;)Z separator(Ljava/lang/String;)VexiststoURI()Ljava/net/URI; java/net/URItoArray(([Ljava/lang/Object;)[Ljava/lang/Object;org/jibx/schema/codegen/CodeGenmain([Ljava/lang/String;)V getRootCause()Ljava/lang/Throwable;java/lang/ThrowablegetLocalizedMessage*(Ljava/lang/String;Ljava/lang/Throwable;)VgetCauseaddCompileSourceRootgetIncludedFilesN(Ljava/lang/String;Ljava/util/ArrayList;Ljava/util/ArrayList;)Ljava/util/List;!`a bcdZefgfhijckflfmcnopqrstA*·*µ*µ±u*K fv wxystâ¸*¶*´¶¶™*¶  ¹ ±» Y· L*´¹¹M,¹™ß,¹ÀN»Y·¶-¹¶¶-¹¶¶:-¹¶¶ t-¹¶¶¸ ™a*¶ »Y·!¶-¹¶"¶-¹¶¶¹#+»Y·$¶-¹¶¶¹%W+-¹¹%W§)*¶ »Y·&¶¶¶¹#+¹%W§ÿ*´'™ +(¹%W*´Æ+)¹%W+*´¹%W+*¹%W+*¶+¹%W*´,¶-ž2+.¹%W*´,¶/M,¹™,¹À0N+-¹%W§ÿå*´Æ+1¹%W+*´¹%W*´2¶-ž **´¶3M4N*´2¶/:¹™Ò¹À0:ǧÿå65¶6™*¶ 7¹8²9¶6šI:¶6š?;¶<š5»=Y»Y·,¶²>¶¶¶·?:¶@™6§:š»Y·,¶²>¶¶¶:-¶ž»Y·-¶;¶¶N»Y·-¶¶¶N§ÿ*-¶ž+B¹%W+-¹%W**¶C·DM,¹EN-¹™'-¹À0:+»=Y·?¶F¶G¹%W§ÿÖ*¶ »Y·H¶*¶+¶I¶*¶C¶J¶¶¹ ++¹K½0¹LÀMÀM¸N§EN-¶PÆ -¶P§-:»QY¶R·S¿N-¶TÆ -¶T§-:»QY¶R·S¿*¶ »Y·U¶*¶+¶V¶¶¹#*´*¶+¶W±"ORAûCFOûCgAu&Iƒ…†‰'Š?‹IŒq”Ãâ‘ò•–˜™"š+›2œ;FŸO Z¡d¢m£~¤ˆ¥¦“¨š©£ª®¬¸­Á®į×°ã±è²ë´îµø¶·"¼D½L¾OÁR¿TÃYÄtÅ{ÆÇ£È¦É­Ë¶Ì¾ÏÇÐ×ÑâÒøÓûÕ+ÖCÝF×GØXÙgÚhÛy܈߬à·ávÔIÏz}q§~c6倈cu€D ‚ƒT„…ãÀ†ciÍÙ€ÁýˆcÄú‰câŠcÎ-€X‹ŒG „y‹Œh „…¸wx'‘ŽÇñ‘Q’“stÍs*·X*´YÆ *´Y¶-š*» Y· µY*´YZ¶[W*´\Ç*» Y· µ\*´,Ç*» Y· µ,*´2Ç*» Y· µ2*´Ç*»]Y·^µ±u6 èêë ì*î1ï<ñCòNôUõ`÷gørúv swx”•tB*+*´Y*´\¶_°uvwx–c‘Q’—˜™˜š›| ¬{ libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/org/jibx/maven/Jibx2WsdlMojo.class0000644000175000017500000000612311523610552032133 0ustar twernertwernerÊþº¾-± *OP )Q RS TUV WX Y Z[ \ ] ^_ `a Zb cd cef g hij k lmno p q )r s tuv w x yz{ #O #|} #~ )€ directoryLjava/lang/String;()VCodeLineNumberTableLocalVariableTablethisLorg/jibx/maven/Jibx2WsdlMojo;"getProjectCompileClasspathElements8(Lorg/apache/maven/project/MavenProject;)Ljava/util/Set;eALorg/apache/maven/artifact/DependencyResolutionRequiredException;project'Lorg/apache/maven/project/MavenProject; Exceptions‚getCompileClasspathElements()Ljava/util/List;fileLjava/io/File;refIda$Lorg/apache/maven/artifact/Artifact;iLjava/util/Iterator;listLjava/util/List;getProjectReferenceId8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;groupId artifactId getDirectory()Ljava/lang/String; SourceFileJibx2WsdlMojo.java -.java/util/HashSet <= -ƒ?org/apache/maven/artifact/DependencyResolutionRequiredException„ ….java/util/ArrayList† 89 ‡ˆ‰ Š‹ -Œ Ž L‘ ’“ ”•– —˜ ™š"org/apache/maven/artifact/Artifact ›œ ž˜compile ŸL  ¡“providedsystem ¢L £L GH ¤¥¦ §¨%org/apache/maven/project/MavenProject ©ª -«¬ ­Ljava/lang/StringBuffer ®¯: °L +,org/jibx/maven/Jibx2WsdlMojo$org/jibx/maven/AbstractJibx2WsdlMojo.org/apache/maven/plugin/MojoExecutionException(Ljava/util/Collection;)Vjava/lang/ThrowableprintStackTraceorg/jibx/maven/AbstractJibxMojogetDependencyArtifacts()Ljava/util/Set; java/util/Setsize()I(I)VgetBuild ()Lorg/apache/maven/model/Build;org/apache/maven/model/BuildgetOutputDirectoryjava/util/Listadd(Ljava/lang/Object;)Ziterator()Ljava/util/Iterator;java/util/IteratorhasNext()Znext()Ljava/lang/Object;getArtifactHandler5()Lorg/apache/maven/artifact/handler/ArtifactHandler;1org/apache/maven/artifact/handler/ArtifactHandlerisAddedToClasspathgetScopejava/lang/Stringequals getGroupId getArtifactIdgetProjectReferences()Ljava/util/Map; java/util/Mapget&(Ljava/lang/Object;)Ljava/lang/Object;getFile()Ljava/io/File;'(Lorg/apache/maven/artifact/Artifact;)V java/io/FilegetPathappend,(Ljava/lang/String;)Ljava/lang/StringBuffer;toString!)*+,-.//*·±0,1 2345/e»Y*¶·°M,¶° 0= ? @A1  672389:;<=/ß»Y*´¶ ¹ · L+*´¶ ¶ ¹W*´¶ ¹M,¹™¥,¹ÀN-¹¹™Š-¹¶š-¹¶š-¹¶™`-¹-¹¸:*´¶¹À:Æ+¶ ¶ ¹W§%-¹ :Ç »Y-·!¿+¶"¹W§ÿX+°0BNP%R;TEVSY}\Ž]¡^¦`¸dÀeÅgÎiÚmÝn1HÀ>?ŽL@,¡989E•AB2«CDß23ËEF: GH/L»#Y·$*¶%&¶%+¶%¶'°0r1I,J,KL//*´(°0{1 23MNlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/org/jibx/maven/AbstractJibxMojo.class0000644000175000017500000000603611523610552032706 0ustar twernertwernerÊþº¾-› #T UV W XYZ T[ \ ]^ T _ `a bE cd ce f gh T i j k lm "n "o p qr stuvproject'Lorg/apache/maven/project/MavenProject;()VCodeLineNumberTableLocalVariableTablethis!Lorg/jibx/maven/AbstractJibxMojo;execute ExceptionswxgetProjectBasedir;(Lorg/apache/maven/project/MavenProject;)Ljava/lang/String;checkConfigurationgetIncludedFilesN(Ljava/lang/String;Ljava/util/ArrayList;Ljava/util/ArrayList;)Ljava/util/List;fileLjava/lang/String;iIpath includeFilesLjava/util/ArrayList; excludeFiles bindingSetLjava/util/List; bindingdirLjava/io/File;scanner+Lorg/codehaus/plexus/util/DirectoryScanner;includes[Ljava/lang/String;excludesfiles absolutePath fixFilePath8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;eLjava/lang/Exception;filePath defaultPath relativePathZbasedir SourceFileAbstractJibxMojo.java &'y z{ |}~ €java/util/ArrayList java/io/File & ‚ƒ)org/codehaus/plexus/util/DirectoryScanner „… †‡java/lang/String ˆ‰Š ‹Œ Œ Ž' 4java/lang/StringBuffer ‘ ’7 “}” •– $% 12 —7 ˜™/ šƒjava/lang/Exceptionorg/jibx/maven/AbstractJibxMojo$org/apache/maven/plugin/AbstractMojo.org/apache/maven/plugin/MojoExecutionException,org/apache/maven/plugin/MojoFailureException%org/apache/maven/project/MavenProject getBasedir()Ljava/io/File;getAbsolutePath()Ljava/lang/String;#org/apache/commons/io/FilenameUtils normalize&(Ljava/lang/String;)Ljava/lang/String;(Ljava/lang/String;)V isDirectory()Z setBasedir(Ljava/io/File;)Vsize()ItoArray(([Ljava/lang/Object;)[Ljava/lang/Object;(org/codehaus/plexus/util/AbstractScanner setIncludes([Ljava/lang/String;)V setExcludesscan()[Ljava/lang/String;append,(Ljava/lang/String;)Ljava/lang/StringBuffer; separatortoStringjava/util/Listadd(Ljava/lang/Object;)Z pathSeparator startsWith(Ljava/lang/String;)Zexists!"#$%&'(/*·±)** +,-'./012(? +¶¶¸°)B* +, $%3'(+±)K* +,45(˜ ²»Y·:»Y+·:¶ š°» Y· :¶ ,,¶ ½¶ÀÀ:¶--¶ ½¶ÀÀ:¶¶¶: ¶: 6   ¾¢2»Y· ¶²¶  2¶¶:  ¹W„ §ÿ̰)JQ STUX'Z.[A\H][^b_ganbuc€dŸe©c¯h*„ Ÿ 67 x789 ²+,²:7²;<²=< ©>?Ÿ@A'‹BCAqDE[WFEnDGE u=H7 ./0IJ(x>,:Ç **´¶:+²¶š=+¶š4»Y»Y·¶²¶+¶¶·:¶ ™>§:š»Y·¶²¶+¶¶L+°'SV!)6 suv wx'|I}Q~SVXƒ\„v…*HI 6AXKLx+,xM7xN7vOPsQ7RS././@LongLink0000000000000000000000000000015100000000000011562 Lustar rootrootlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/org/jibx/maven/TestCompileBindingMojo.classlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/org/jibx/maven/TestCompileBindingMojo.c0000644000175000017500000000367311523610552033172 0ustar twernertwernerÊþº¾-d 34 56 7 58 9: ;< ;=> ?@ A BC DE FG H IJK directoryLjava/lang/String;()VCodeLineNumberTableLocalVariableTablethis'Lorg/jibx/maven/TestCompileBindingMojo;"getProjectCompileClasspathElements8(Lorg/apache/maven/project/MavenProject;)Ljava/util/Set;fileLjava/io/File;a$Lorg/apache/maven/artifact/Artifact;iLjava/util/Iterator;setLjava/util/HashSet; artifactsSetLjava/util/Set;eALorg/apache/maven/artifact/DependencyResolutionRequiredException;project'Lorg/apache/maven/project/MavenProject; Exceptions getDirectory()Ljava/lang/String; SourceFileTestCompileBindingMojo.java java/util/HashSetL MN O PQR STU VW XY"org/apache/maven/artifact/Artifact Z[?org/apache/maven/artifact/DependencyResolutionRequiredException \] ^0 _`.org/apache/maven/plugin/MojoExecutionExceptiona b0 c %org/jibx/maven/TestCompileBindingMojo"org/jibx/maven/AbstractBindingMojo%org/apache/maven/project/MavenProjectgetTestClasspathElements()Ljava/util/List;(Ljava/util/Collection;)VgetDependencyArtifacts()Ljava/util/Set; java/util/Setiterator()Ljava/util/Iterator;java/util/IteratorhasNext()Znext()Ljava/lang/Object;getFile()Ljava/io/File;'(Lorg/apache/maven/artifact/Artifact;)V java/io/FilegetPathadd(Ljava/lang/Object;)Zjava/lang/ThrowablegetLocalizedMessage*(Ljava/lang/String;Ljava/lang/Exception;)V!/*·±- d»Y+¶·M+¶N-¹:¹™4¹À :¹ :Ç » Y· ¿,¶ ¶W§ÿÈ,°M»Y,¶,·¿UV 2 > AB#D/H8I=KGMQPTRVSWTR8 !/""#;$% J&'E()W *+dd,-./0/*´°^ 12././@LongLink0000000000000000000000000000015200000000000011563 Lustar rootrootlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/org/jibx/maven/AbstractBaseBindingMojo.classlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/org/jibx/maven/AbstractBaseBindingMojo.0000644000175000017500000001473111523610552033132 0ustar twernertwernerÊþº¾-< [© Zª« [¬ P­ :® ¯°± ²³ Z´ Zµ¶· Z¸ Z¹º Z» Z¼½ ©¾ ¿À ÁÂà ÄÅ ZÆ [ª ZÇ !ÈÉ !©Ê !Ë ZÌ ZÍ @È ZÎÏ )© ZÐ )Ñ ZÒ )Ó ZÔ )Õ ZÖ )× )ÆØ 4ÙÚ ÛÜ 6Ý ÞÈß Þàt áâ [ã Zäå @© Þæ çè çé êë Zì Zí Þî Zï Zð [ñ ÞË Pò óô õæö P÷ø Pù @ú Zû :üý þÈ þàÿDEFAULT_INCLUDESLjava/lang/String; ConstantValueexcludesLjava/util/ArrayList;includesloadZmodulesLjava/util/HashSet; multimodulevalidateverboseverify()VCodeLineNumberTableLocalVariableTablethis(Lorg/jibx/maven/AbstractBaseBindingMojo;executemodebindings[Ljava/lang/String; classpaths ExceptionscheckConfigurationcompile)([Ljava/lang/String;[Ljava/lang/String;)VcompilerLorg/jibx/binding/Compile;causeLjava/lang/Throwable;e Lorg/jibx/runtime/JiBXException;normalizeClasspaths$(Ljava/util/Set;)[Ljava/lang/String;iI classpathSetLjava/util/Set; getBindings$(Ljava/lang/String;)Ljava/util/List;pathgetMultiModuleBindings()[Ljava/lang/String;basediriterLjava/util/Iterator; basedirSet bindingSetgetMultiModuleClasspathsgetProjectBasedirSet8(Lorg/apache/maven/project/MavenProject;)Ljava/util/Set;projectReference'Lorg/apache/maven/project/MavenProject; projectIdprojectprojectReferencesLjava/util/Collection;"getProjectCompileClasspathElements%getProjectCompileClasspathElementsSetclasspathElementsgetSingleModuleBindings bindingdirLjava/util/List;getSingleModuleClasspathsisMultiModuleMode()ZisRestrictedMultiModuleModeisSingleModuleMode getDirectory()Ljava/lang/String; SourceFileAbstractBaseBindingMojo.java jk xkpom —• ¦  3Not running JiBX binding compiler for pom packaging   ¡¢ £¢restricted multi-module multi-module Š‹ ‘‹ single-module ‹  ‹java/lang/StringBuffer#Not running JiBX binding compiler (    mode) - no binding files  ¦Running JiBX binding compiler ( mode) on   binding file(s) yz a` java/util/ArrayList binding.xml  _` de fcorg/jibx/binding/Compile bc  gc  hc  ic org/jibx/runtime/JiBXException .org/apache/maven/plugin/MojoExecutionException ¦ jjava/lang/String  !" #$ ’“java/util/HashSet %&' (¢ )*+ ,] ¥¦ ‡ˆ -. ›“ ‚ /0 123 456%org/apache/maven/project/MavenProject 7¦: 8¦ 9 š“ :/;&org/jibx/maven/AbstractBaseBindingMojoorg/jibx/maven/AbstractJibxMojo,org/apache/maven/plugin/MojoFailureException getPackagingequalsIgnoreCase(Ljava/lang/String;)Z$org/apache/maven/plugin/AbstractMojogetLog'()Lorg/apache/maven/plugin/logging/Log;#org/apache/maven/plugin/logging/Loginfo(Ljava/lang/CharSequence;)Vappend,(Ljava/lang/String;)Ljava/lang/StringBuffer;toString(I)Ljava/lang/StringBuffer;size()Iadd(Ljava/lang/Object;)ZsetLoad(Z)VsetSkipValidate setVerbose setVerify getRootCause()Ljava/lang/Throwable;java/lang/ThrowablegetLocalizedMessage*(Ljava/lang/String;Ljava/lang/Throwable;)V java/util/SettoArray(([Ljava/lang/Object;)[Ljava/lang/Object;#org/apache/commons/io/FilenameUtils normalize&(Ljava/lang/String;)Ljava/lang/String;getIncludedFilesN(Ljava/lang/String;Ljava/util/ArrayList;Ljava/util/ArrayList;)Ljava/util/List;iterator()Ljava/util/Iterator;java/util/IteratorhasNextnext()Ljava/lang/Object; java/io/File separatoraddAll(Ljava/util/Collection;)ZgetProjectBasedir;(Lorg/apache/maven/project/MavenProject;)Ljava/lang/String;getProjectReferences()Ljava/util/Map; java/util/Mapvalues()Ljava/util/Collection;java/util/Collection getGroupId getArtifactIdcontains startsWithjava/util/List!Z[ \]^#_`a`bcdefcgchcicjkl/*·±m.n opqkl_«*¶*´¶¶™*¶¹ ±*¶ ™ *¶ ™  L§ L*¶M*¶N§L*¶M*¶N,¾š'*¶»Y·¶+¶¶¶¹ §4*¶»Y·¶+¶¶,¾¶¶¶¹ *-,·±mJ}ƒ…†‰&Š-‹36;C’F“K”P—U˜yš¤œªžnR0r]6 r];st@ut«opFer]K`stP[utv6wxkl©[*·*´Æ *´¶ š*»!Y·"µ*´#¶$W*´%Ç*»!Y·"µ%*´&Æ*´&¶'ž *µ(§*µ&±m* ¥§¨ ©*«1¬<®M¯U±Z³n [opyzlç[»)Y·*N-*´+¶,-*´-š§¶.-*´/¶0-*´1¶2-+,¶3§$N-¶5Æ -¶5§-:»6Y¶7·8¿±694m. º»¼ ½(¾0¿6Ã9À:ÁKÂZÄn>.{|K}~: €[op[ut[stv6‚l‡/++¹9½:¹;À<À,¾¢,,2¸=S„§ÿî,°mÊÌÍ'Ì-Ðn*ƒ„/op/…†ut‡ˆlB*+*´*´%¶>°m×nop‰]v6wŠ‹lÖl**´·?L»@Y·AM+¹BN-¹C™8-¹DÀ::,*»Y·¶²E¶*¶F¶¶¶G¹HW§ÿÅ,,¹9½:¹;À<À<°mÞ ßá!â,ãSäVæn4,'Œ]>Žlop c†[†v6w‘‹lG**´·IL*+¶J°m í ïnop …†v6w’“l ‚»@Y·AM,*+¶K¹LW+¶M¹NN-¹O:¹C™S¹DÀP:»Y·¶Q¶R¶¶S¶¶:*´&Æ*´&¶T™,*¶K¹LW§ÿ©,°m* ö÷ùú0û<ü]þpÿ}€nH<A”•] –]&ZŽ‚op‚—•z†d˜™š“v6›“lÆN»@Y·AM,*+¶U¹HW+¶M¹NN-¹O:¹C™¹DÀP:,*¶U¹HW§ÿÝ,°m"0<ILn>< ”•&&ŽNopN—•Fœ†0˜™v6‹l»_**´¶KL»Y·+¶²E¶*¶F¶¶M*¶F²E¶Vš*¶FW¶V™*¶FM*,¶GN--¹X½:¹YÀ<À<°m# $%%>'C(I*n*_op VŒ]%:ž]IŸv6w ‹lG**´¶UL*+¶J°m 1 3nop …†v6w¡¢l/*´(¬m:n op£¢l>*¶ ™*´&Ƨ¬mAn op¤¢l7 *¶ š§¬mHn  op¥¦§¨././@LongLink0000000000000000000000000000014600000000000011566 Lustar rootrootlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/org/jibx/maven/AbstractBindingMojo.classlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/org/jibx/maven/AbstractBindingMojo.clas0000644000175000017500000000051611523610552033176 0ustar twernertwernerÊþº¾-  ()VCodeLineNumberTableLocalVariableTablethis$Lorg/jibx/maven/AbstractBindingMojo; SourceFileAbstractBindingMojo.java "org/jibx/maven/AbstractBindingMojo&org/jibx/maven/AbstractBaseBindingMojo!/*·±     ././@LongLink0000000000000000000000000000015000000000000011561 Lustar rootrootlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/org/jibx/maven/TestSchemaCodeGenMojo.classlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/org/jibx/maven/TestSchemaCodeGenMojo.cl0000644000175000017500000000113411523610552033076 0ustar twernertwernerÊþº¾-    directoryLjava/lang/String;targetDirectory()VCodeLineNumberTableLocalVariableTablethis&Lorg/jibx/maven/TestSchemaCodeGenMojo; getDirectory()Ljava/lang/String;getTargetDirectory SourceFileTestSchemaCodeGenMojo.java  $org/jibx/maven/TestSchemaCodeGenMojo"org/jibx/maven/AbstractCodeGenMojo!  /*·± !  /*´° 8  /*´° A ././@LongLink0000000000000000000000000000014500000000000011565 Lustar rootrootlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/org/jibx/maven/CompileBindingMojo.classlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/org/jibx/maven/CompileBindingMojo.class0000644000175000017500000000232411523610552033205 0ustar twernertwernerÊþº¾-4 ! "# $%& '( ) *+, directoryLjava/lang/String;()VCodeLineNumberTableLocalVariableTablethis#Lorg/jibx/maven/CompileBindingMojo;"getProjectCompileClasspathElements8(Lorg/apache/maven/project/MavenProject;)Ljava/util/Set;eALorg/apache/maven/artifact/DependencyResolutionRequiredException;project'Lorg/apache/maven/project/MavenProject; Exceptions getDirectory()Ljava/lang/String; SourceFileCompileBindingMojo.java java/util/HashSet- ./ 0?org/apache/maven/artifact/DependencyResolutionRequiredException.org/apache/maven/plugin/MojoExecutionException1 2 3 !org/jibx/maven/CompileBindingMojo"org/jibx/maven/AbstractBindingMojo%org/apache/maven/project/MavenProjectgetCompileClasspathElements()Ljava/util/List;(Ljava/util/Collection;)Vjava/lang/ThrowablegetLocalizedMessage*(Ljava/lang/String;Ljava/lang/Exception;)V!  /*·±* h»Y+¶·°M»Y,¶,·¿ ; < =  /*´ °G libjibx1.2-java-1.2.3/build/maven-jibx-plugin/target/classes/org/jibx/maven/TestJibx2WsdlMojo.class0000644000175000017500000000365611523610552033003 0ustar twernertwernerÊþº¾-d 34 56 7 58 9: ;< ;=> ?@ A BC DE FG H IJK directoryLjava/lang/String;()VCodeLineNumberTableLocalVariableTablethis"Lorg/jibx/maven/TestJibx2WsdlMojo;"getProjectCompileClasspathElements8(Lorg/apache/maven/project/MavenProject;)Ljava/util/Set;fileLjava/io/File;a$Lorg/apache/maven/artifact/Artifact;iLjava/util/Iterator;setLjava/util/HashSet; artifactsSetLjava/util/Set;eALorg/apache/maven/artifact/DependencyResolutionRequiredException;project'Lorg/apache/maven/project/MavenProject; Exceptions getDirectory()Ljava/lang/String; SourceFileTestJibx2WsdlMojo.java java/util/HashSetL MN O PQR STU VW XY"org/apache/maven/artifact/Artifact Z[?org/apache/maven/artifact/DependencyResolutionRequiredException \] ^0 _`.org/apache/maven/plugin/MojoExecutionExceptiona b0 c  org/jibx/maven/TestJibx2WsdlMojo$org/jibx/maven/AbstractJibx2WsdlMojo%org/apache/maven/project/MavenProjectgetTestClasspathElements()Ljava/util/List;(Ljava/util/Collection;)VgetDependencyArtifacts()Ljava/util/Set; java/util/Setiterator()Ljava/util/Iterator;java/util/IteratorhasNext()Znext()Ljava/lang/Object;getFile()Ljava/io/File;'(Lorg/apache/maven/artifact/Artifact;)V java/io/FilegetPathadd(Ljava/lang/Object;)Zjava/lang/ThrowablegetLocalizedMessage*(Ljava/lang/String;Ljava/lang/Exception;)V!/*·±* d»Y+¶·M+¶N-¹:¹™4¹À :¹ :Ç » Y· ¿,¶ ¶W§ÿÈ,°M»Y,¶,·¿UV 2 ; >?#A/E8F=HGJQMTOVPWQR8 !/""#;$% J&'E()W *+dd,-./0/*´°[ 12libjibx1.2-java-1.2.3/build/maven-jibx-plugin/src/0000755000175000017500000000000011524031504021453 5ustar twernertwernerlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/src/site/0000755000175000017500000000000011525226314022425 5ustar twernertwernerlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/src/site/apt/0000755000175000017500000000000011524031504023203 5ustar twernertwernerlibjibx1.2-java-1.2.3/build/maven-jibx-plugin/src/site/apt/modes.apt.vm0000644000175000017500000000330711457726566025474 0ustar twernertwernerModes The plugin supports three different usage modes: {{{#Single-module mode}single-module}}, {{{#Multi-module mode}multi-module}} and {{{#Restricted multi-module mode}restricted multi-module}}. * {Single-module mode} The single-module mode is the default. It searches for binding definition files in the current project and compiles them using the project's classpath. * {Multi-module mode} In its multi-module mode the plugin searches for binding definition files in the current and all referenced projects and runs the binding compiler with an aggregated classpath. Just set the multi-module flag to <<>>: --- true --- Note: See multi-module note below. * {Restricted multi-module mode} The restricted multi-module mode is basically the same as above but does not include all referenced projects but only those specified in the plugin's configuration. The plugin automatically switches to its restricted multi-module mode if you specify a list of modules in its configuration section. The multi-module flag is optional: --- com.example:example1 com.example:example2 --- Note: When you specify multi-module mode, all of the modules must be included in the maven build. For example if the project in our example was structured as follows: --- - parentModule - example1 - example2 - multiModuleProject --- You must build the parentModule for the multiModuleProject to build correctly. If you build the multiModuleProject by itself the build will not be able to find resources in the example1 and example2 projects. libjibx1.2-java-1.2.3/build/maven-jibx-plugin/src/site/apt/modular-codegen.apt.vm0000644000175000017500000001525511501052542027407 0ustar twernertwernerGenerate Modular Code from Schemas * If your XSD Schema lends itself to modularization, the JiBX code generator offers the most flexible code generation that you will find. Since JiBX allows generation of code into different java packages, JiBX is the best choice if you want to split a large schema into smaller OSGi modules. The following samples are taken from the {{{../jibxota/jibxotaosgi.html}jibx-ota-osgi sub-project}}. This project breaks the travel industry's {{{http://www.opentravel.org}opentravel}} schema is modules based on industry segment. Each module is a maven project as well as an osgi module. This insures the correct modules are includes in a project and only the needed modules will be loaded at runtime. This is a sample pom.xml file from the base module: --- 4.0.0 org.jibx.ota.osgi jibx-ota-osgi-base ${project.version} bundle jibx-ota-osgi-base (opentravel OSGI base bundle) org.jibx maven-jibx-plugin ${project.version} generate-java-code-from-schema schema-codegen ${schemaDirectory} ${basedir}/custom-modular-base.xml OTA_Common*.xsd OTA_SimpleTypes.xsd http://www.opentravel.org/OTA/2003/05 compile-binding bind target/generated-sources base-binding.xml org.apache.felix maven-bundle-plugin true org.jibx.ota.base.* org.jibx.ota.*, *;resolution:=optional META-INF/base-binding.xml=${basedir}/target/generated-sources/base-binding.xml org.jibx jibx-run ${jibx-version} org.jibx jibx-extras ${jibx-version} joda-time joda-time 1.6 --- * JiBX Module using the base module in the previous example. Here is the sample: --- 4.0.0 org.jibx.ota.osgi jibx-ota-osgi-air 1.2.3 bundle jibx-ota-osgi-air (opentravel OSGI air bundle) org.jibx maven-jibx-plugin ${jibx-version} generate-java-code-from-schema schema-codegen ${schemaDirectory} ${basedir}/custom-modular-air.xml OTA_Air*RS.xsd OTA_Air*RQ.xsd ${basedir}/../jibx-ota-osgi-base/target/generated-sources/base-binding.xml compile-binding bind target/generated-sources air-binding.xml org.apache.felix maven-bundle-plugin true org.jibx.ota.air.* org.jibx.ota.*, *;resolution:=optional META-INF/air-binding.xml=${basedir}/target/generated-sources/base-binding.xml org.jibx.ota.osgi jibx-ota-osgi-base ${project.version} --- Note: This module includes the base module as a dependency AND the schema-codegen goal points to the base binding file. libjibx1.2-java-1.2.3/build/maven-jibx-plugin/src/site/apt/usage.apt.vm0000644000175000017500000001247711364707434025467 0ustar twernertwernerUsage If you've never used a Maven plugin before please take a look at Maven's {{{http://maven.apache.org/guides/getting-started/#How do I use plug-ins?}Getting Started Guide}}. To use the plugin in your project you have to add it to the plugins section of your POM. --- org.jibx maven-jibx-plugin ${project.version} bind --- The project also needs to include jibx-run and optionally jibx-extras in its dependencies. --- org.jibx jibx-run ${project.version} org.jibx jibx-extras ${project.version} --- * Configuration The plugin supports the following configuration options. *--------------+-----------------+---------------------------------------------------------------------------------------------------------+ | <