Hi,

When we introspect the simple types on a java method, we map it to a xsd type, such as java.lang.String to xsd:string. When it's converted to some databindings which requires an element (such as DOM or AXIOM), we need to have an xsd element. The element information can be derived from either the source or target data type. In case that none of them have the element information, we will create a dummy element. It's similar to convert a SDO data object into a DOM Node (Customer --> <dummy xsi:type="Customer">...</dummy>).

Ideally, the remotable java interface could be normalized as WSDL by applying the java2wsdl rules. Then the element names for the parameters can be "ns:param0", "ns:param1", etc.

Thanks,
Raymond

----- Original Message ----- From: "Jean-Sebastien Delfino" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, October 08, 2007 3:16 PM
Subject: Re: could databinding-axiom Object2OMElement construct a default elem?


Raymond Feng wrote:
Hi,

In a short answer, yes. We should try to create a dummy element in such case. I believe we already do that for DOM. Do you want to provide a patch :-)?

Thanks,
Raymond


Could you help a me understand why a dummy element is needed?

--
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to