On Fri, May 21, 2010 at 8:17 PM, Gregor Kiddie
<gregor.kid...@channeladvisor.com> wrote:
> Ok, last one before I leave for the weekend cursing Tuscany!
>
>
>
> Using an authentication policy on a binding.ws generates the following
> exception.
>
>
>
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
>
>                 at
> org.apache.tuscany.sca.databinding.axiom.OMElementWrapperHandler.setChildren(OMElementWrapperHandler.java:76)
>
> It looks like childObjects passed into the method has all the parameters
> wrapped up in a single piece of XML
>
> The ChildElements which is pulled from the operation which is passed in, has
> them split up into three Elements.
>
>
>
> The loop in setChildren uses the size of the ChildElements as it’s upper
> bounds and references both objects. Unsurprisingly, when it gets to
> childObjects[1] it blows up.
>
>
>
> I’ve been running through everything for a couple of hours and I’m now
> calling defeat. I’m close to dumping Tuscany for this!
>
>
>
> Gk.

Hi Gregor

Sorry that you're having a frustrating time. Can you describe your
scenario so I can reproduce it here.

Thanks

Simon


-- 
Apache Tuscany committer: tuscany.apache.org
Co-author of a book about Tuscany and SCA: tuscanyinaction.com

Reply via email to