PDA

View Full Version : JCode and Output document Type


serdar
08-22-2006, 23:54
I have a java source file that I use JCode to import into IS. The service is created except that I haven't been able to figure out how to specify the type of document as an output of a service.

I have a document type, CanonicalDealer, that is based on an XSD, the following is the template that I've been using:

// --- <<IS-START(getDealerByPostcode)>> ---
// [i] field:0:required name
// [o] document:0:required pub.PMAService.Schemas:CanonicalDealer
System.out.println("Testing");
// --- <<IS-END>> ---

This creates a document output named "pub.PMAService.Schemas:CanonicalDealer" rather than based on that type. If I set it to be the document and give it another name, JCode complains about the semi-colon.