Sun POJO Service Engine User's Guide

POJO Service Consumer Properties

The following table lists and describes the properties you can configure when creating a new POJO service consumer. These properties appear on the POJO SE Service Consumer Wizard.

Table 4 POJO Consumer Wizard Properties

Property 

Description 

Choose Consumer From WSDL 

An indicator of whether to create the consumer endpoint from an existing WSDL document. You can specify a local path and filename or the URL for the WSDL document. 

Select From File 

The path and file name of the local WSDL document to use. Pressing the Tab key after entering this value populates the interface and operation fields. 

Select From URL 

The URL to the remote WSDL document to use. Pressing the Tab key after entering a URL populates the interface and operation fields. 

Interface Name 

The name of the consumer interface. 

Interface Namespace 

The namespace for the consumer interface. 

Operation 

The type of binding operation for the consumer. 

Operation Namespace 

The namespace for the binding operation. 

Invoke Pattern 

An indicator of whether to invoke the consumer synchronously or asynchronously. Select the appropriate checkbox. Both options may not be available for some operations. 

Invoke Input Type 

The input type for the operation. This represents the parameter type for the operation method. Select one of the following values:

  • String (java.lang.string)

  • Source (javax.xml.transform.Source)

  • Normalized Message (javax.jbi.messaging.NormalizedMessage)

  • Node (org.w3c.dom.Node)

  • Document

  • Message Exchange (javax.jbi.messaging.MessageExchange)

Return Type 

The output type for the operation. This represents the return type for the operation method. Select one of the following values:

  • String (java.lang.string)

  • Source (javax.xml.transform.Source)

  • Normalized Message (javax.jbi.messaging.NormalizedMessage)

  • Node (org.w3c.dom.Node)

  • Document

  • Void

Invoke From Method 

The method from which the consumer is invoked. When you drag and drop the POJO Consumer from the Palette into a Java method, that method name is automatically populated here.