I'm having trouble with one of the latest nightly build jars. I had DII working last month, but recent changes seemed to have prevented further success. One thing I noticed is that unWrapPart() is deprecated. I'm a little nervous now about what I should be doing in lieu of that since I use getWrappedDocLiteralPart() which is not deprecated and implies I'd have to then unwrap it. It looks like this is causing problems with the DII method:

[java] Exception in thread "main" java.lang.ClassCastException: org.apache.wsif.schema.ElementType
[java] at org.apache.wsif.providers.ProviderUtils.getComplexType(ProviderUtils.java:389)
[java] at org.apache.wsif.providers.ProviderUtils.unWrapPart(ProviderUtils.java:343)
[java] at org.apache.wsif.util.WSIFUtils.unWrapPart(WSIFUtils.java:1355)



I'm also having trouble using getStub(). I get a proxy object which I verify is of the correct interface and has the correct methods using java.lang.reflect stuff, but I get an error saying that the method I'm trying to call from the stub was not found in the port type:


...
[java] 3185 [main] DEBUG org.globus.ogsa.client.wsif.samples.BasicCounterAdder - Method: public final int $Proxy0.add(int) throws java.rmi.RemoteException
...
[java] org.apache.wsif.WSIFException: Method add(int) was not found in portType {http://ogsa.globus.org/samples/counter}CounterPortType
[java] at org.apache.wsif.base.WSIFClientProxy.findMatchingOperation(WSIFClientProxy.java:595)
[java] at org.apache.wsif.base.WSIFClientProxy.invoke(WSIFClientProxy.java:244)
[java] at $Proxy0.add(Unknown Source)
[java] at org.globus.ogsa.client.wsif.samples.BasicCounterAdder.<init>(BasicCounterAdder.java:83)
[java] at org.globus.ogsa.client.wsif.samples.BasicCounterAdder.main(BasicCounterAdder.java:101)



Thanks! Peter



Reply via email to