Does this problem occur with snapshot versions of Axis2 and Axiom?

Andreas

On Fri, Nov 20, 2009 at 16:11, Amila Suriarachchi
<[email protected]> wrote:
> here is a sample code
>
> InDict inDict = new InDict();
>         ArrayOfKeyValueOfstringstring arrayOfKeyValueOfstringstring = new
> ArrayOfKeyValueOfstringstring();
>         inDict.setInDict(arrayOfKeyValueOfstringstring);
>
>         KeyValueOfstringstring_type0[] keyValueOfstringstring_type0 = new
> KeyValueOfstringstring_type0[1];
>         keyValueOfstringstring_type0[0] = new
> KeyValueOfstringstring_type0();
>         keyValueOfstringstring_type0[0].setKey("One Element Array");
>         keyValueOfstringstring_type0[0].setValue("One Element Array");
>
>
> arrayOfKeyValueOfstringstring.setKeyValueOfstringstring(keyValueOfstringstring_type0);
>
>         try {
>             OMElement omElement = inDict.getOMElement(InDict.MY_QNAME,
> OMAbstractFactory.getOMFactory());
>             System.out.println("OMElement ==> " + omElement.toString());
>         } catch (ADBException e) {
>             e.printStackTrace();
>         }
>
> thanks,
> Amila.
>
> On Fri, Nov 20, 2009 at 3:14 AM, Andreas Veithen <[email protected]>
> wrote:
>>
>> Håkon,
>>
>> I think you need to give a bit more context. What version of Axis2?
>> What version of Axiom? Code snippet showing what you are trying to do,
>> etc.
>>
>> Andreas
>>
>> 2009/11/19 Håkon Sagehaug <[email protected]>:
>> > Hi
>> >
>> > Anybody did this, go from adb object through a xslt transfomation?
>> >
>> > Or having problem getting values out from a XML message when the tyep
>> > attribute is used for the data type of the element.
>> >
>> > cheers, Håkon
>> >
>> > 2009/11/18 Håkon Sagehaug <[email protected]>
>> >>
>> >> Hi
>> >>
>> >> To provide more information, we want to do xslt transformation to our
>> >> generated client side object. And  as far as I know we need the
>> >> OmElement of
>> >> the generated type to do so, but when this don't give back the values
>> >> just
>> >> the XML with no values, there is not much to transform. So we need a
>> >> hint on
>> >> how this can be done.
>> >>
>> >>
>> >>
>> >> cheers, håkon
>> >>
>> >> 2009/11/18 Håkon Sagehaug <[email protected]>
>> >>>
>> >>> Hi all,
>> >>>
>> >>> Any tips on this. stange if it won't work?
>> >>>
>> >>> 2009/11/17 Håkon Sagehaug <[email protected]>
>> >>>>
>> >>>> Hi all,
>> >>>>
>> >>>> I've got a client that calls a ws and using adb as the
>> >>>> databinding(client side), then we want to get a string representation
>> >>>> of the
>> >>>> obejct.  We execute object.getOMElement(), the method returns only
>> >>>> the xml
>> >>>> element and not the actual value inside the element. So this element
>> >>>> here
>> >>>>
>> >>>>    <ns2:BlastOutput_program xsi:type="ns2:BlastOutput_
>> >>>> program">blastp</ns2:BlastOutput_program>
>> >>>>
>> >>>> Would returns this string
>> >>>>
>> >>>> <ns2:BlastOutput_program></ns2:BlastOutput_program>
>> >>>>
>> >>>> We where wondering if it had anything to to with the xsi:type
>> >>>> attribute?
>> >>>> Any tips on how to solve this, or another way of getting a string
>> >>>> representatioon of the object using adb as the databinding?
>> >>>>
>> >>>> cheers, Håkon
>> >>>>
>> >>>> --
>> >>>> Håkon Sagehaug, Scientific Programmer
>> >>>> Parallab, Bergen Center for Computational Science (BCCS)
>> >>>> UNIFOB AS (University of Bergen Research Company)
>> >>>> [email protected], phone +47 55584125
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> Håkon Sagehaug, Scientific Programmer
>> >>> Parallab, Bergen Center for Computational Science (BCCS)
>> >>> UNIFOB AS (University of Bergen Research Company)
>> >>> [email protected], phone +47 55584125
>> >>
>> >>
>> >>
>> >> --
>> >> Håkon Sagehaug, Scientific Programmer
>> >> Parallab, Bergen Center for Computational Science (BCCS)
>> >> UNIFOB AS (University of Bergen Research Company)
>> >> [email protected], phone +47 55584125
>> >
>> >
>> >
>> > --
>> > Håkon Sagehaug, Scientific Programmer
>> > Parallab, Bergen Center for Computational Science (BCCS)
>> > UNIFOB AS (University of Bergen Research Company)
>> > [email protected], phone +47 55584125
>> >
>
>
>
> --
> Amila Suriarachchi
> WSO2 Inc.
> blog: http://amilachinthaka.blogspot.com/
>

Reply via email to