Hi, It seems that you are not so clear about the concept of OM here. OM is a pure XML model (yeah -it has the deffered buid capability but apart from the there is nothing else than a pure XML object model) and when you create the OMElements you cannot really say that this text should be int or byte or whatever - end of the day its a text that goes as the content. For binary we can do an optimization though. You can construct an OMElement giving a DataHnadler that includes the binary content (see the method public OMText createOMText(Object dataHandler, boolean optimize) in the factory class)
Ajith On 7/17/06, Jean-Michel PATER <[EMAIL PROTECTED]> wrote:
How would you do it ? Eran Chinthaka wrote: did you try this : createOMText(OMElement parent, char[] charArary, int type) -- Chinthaka Jean-Michel PATER wrote: Hi, I want to create an OMElement with a child which type is byte[] (in the WSDL description type is "xsd:base64Binary"). The createOMText() method of OMFactory can't receive such type so how can I do that ? Thanks in advance. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jean-Michel PATER <[EMAIL PROTECTED]> Cogenit Tél : +33 (0) 1 40 20 08 43 53 rue Sainte Anne Fax : +33 (0) 1 40 20 08 45 75002 Paris <URL:http://www.cogenit.fr>
-- Ajith Ranabahu --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
