Hi again,

Is it absolutely necessary to use the DynamicInvoker? I didn't read
anything about that. I simply wrote my own, which was the whole point.

Yes I got it to work with a couple of the samples included in the
wsif-install.

I'll try to make it work with the DynamicInvoker.

Thanks for the advice,
Dylan Honorez,
[EMAIL PROTECTED]
 
-----Original Message-----
From: Aleksander Slominski [mailto:[EMAIL PROTECTED] 
Sent: maandag 19 juli 2004 12:53
To: [EMAIL PROTECTED]
Subject: Re: WSIF Client

hi,

did you get existing samples included in WSIF distributions? in 
particular did you get dynamic invoker to work? does it work with your 
WSDL file?

thanks,

alek

Honorez Dylan wrote:

>Hello,
>
>I'm trying to code a simple client with WSIF. My sample code is
>attached.
>
>When trying to execute stub.startup(), I get some feedback and errors:
>
>- WSIF0006W: Multiple WSIFProvider found supporting the same namespace
>URI 'http://schemas.xmlsoap.org/wsdl/soap/'. Found
>('org.apache.wsif.providers.soap.apacheaxis.WSIFDynamicProvider_ApacheA
x
>is,
>org.apache.wsif.providers.soap.apachesoap.WSIFDynamicProvider_ApacheSOA
P
>')  
>- WSIF0007I: Using WSIFProvider
>'org.apache.wsif.providers.soap.apacheaxis.WSIFDynamicProvider_ApacheAx
i
>s' for namespaceURI 'http://schemas.xmlsoap.org/wsdl/soap/' 
>java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
>       at java.util.ArrayList.RangeCheck(ArrayList.java:507)
>       at java.util.ArrayList.get(ArrayList.java:324)
>       at org.apache.wsif.util.WSIFUtils.unWrapPart(Unknown Source)
>       at
>org.apache.wsif.base.WSIFClientProxy.unWrapIfWrappedDocLit(Unknown
>Source)
>       at
>org.apache.wsif.base.WSIFClientProxy.findMatchingOperation(Unknown
>Source)
>       at org.apache.wsif.base.WSIFClientProxy.invoke(Unknown Source)
>       at $Proxy0.startUp(Unknown Source)
>       at ClientTest.main(ClientTest.java:30)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
v
>a:39)
>       at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
r
>Impl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:324)
>       at com.intellij.rt.execution.application.AppMain.main(Unknown
>Source)
>Exception in thread "main" Process terminated with exit code 1
>
>I have no idea where I'm going wrong, can someone help me out?
>  
>



-- 
The best way to predict the future is to invent it - Alan Kay



Reply via email to