Dan,
it looks like I still have a problem withs saleforces wsdl. I am using only 1.1-RC1 but I don't think it matters to much since it
includes the changes you made for my latest post.
Here is the trace. Any idea ?
Thanks
tog
$ groovy salesforce.groovy
log4j:WARN No appenders could be found for logger (org.codehaus.xfire.transport.DefaultTransportManager).
log4j:WARN Please initialize the log4j system properly.
org.codehaus.xfire.XFireRuntimeException: Couldn't find schema for part: {urn:enterprise.soap.sforce.com}login
at org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.isWrapped
(WSDLServiceBuilder.java:465)
at org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.visit(WSDLServiceBuilder.java:326)
at org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.build(WSDLServiceBuilder.java
:166)
at org.codehaus.xfire.client.Client.initFromDefinition(Client.java:254)
at org.codehaus.xfire.client.Client.<init>(Client.java:226)
at org.codehaus.xfire.client.Client.<init>(
Client.java:236)
at groovy.net.soap.SoapClient.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java
:494)
at org.codehaus.groovy.runtime.MetaClassHelper.doConstructorInvoke(MetaClassHelper.java:506)
at groovy.lang.MetaClassImpl.doConstructorInvokeAt(MetaClassImpl.java:1378)
at groovy.lang.MetaClassImpl.invokeConstructorAt
(MetaClassImpl.java:567)
at org.codehaus.groovy.runtime.Invoker.invokeConstructorAt(Invoker.java:189)
at org.codehaus.groovy.runtime.InvokerHelper.invokeConstructorAt(InvokerHelper.java:127)
at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeConstructorAt(ScriptBytecodeAdapter.java:123)
at salesforce.run(salesforce.groovy:8)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke
(Method.java:585)
at org.codehaus.groovy.runtime.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:67)
at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:657)
at
groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:350)
at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:156)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java
:104)
at org.codehaus.groovy.runtime.InvokerHelper.runScript(InvokerHelper.java:516)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.groovy.runtime.ReflectionMetaMethod.invoke
(ReflectionMetaMethod.java:67)
at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:657)
at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:490)
at
org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:136)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:104)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod
(ScriptBytecodeAdapter.java:85)
at salesforce.main(salesforce.groovy)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.groovy.runtime.ReflectionMetaMethod.invoke
(ReflectionMetaMethod.java:67)
at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:657)
at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:490)
at
org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:136)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:104)
at groovy.lang.GroovyShell.runMainOrTestOrRunnable
(GroovyShell.java:354)
at groovy.lang.GroovyShell.run(GroovyShell.java:279)
at groovy.lang.GroovyShell.run(GroovyShell.java:208)
at groovy.ui.GroovyMain.processOnce(GroovyMain.java:450)
at groovy.ui.GroovyMain.run(GroovyMain.java:276)
at groovy.ui.GroovyMain.process(GroovyMain.java:262)
at groovy.ui.GroovyMain.main(GroovyMain.java:138)
at sun.reflect.NativeMethodAccessorImpl.invoke0
(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at
java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:131)
at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:160)
java.lang.NullPointerException
at groovy.net.soap.SoapClient.invokeMethod(Unknown Source)
at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:161)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod
(InvokerHelper.java:104)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod(ScriptBytecodeAdapter.java:85)
at salesforce.run(salesforce.groovy:9)
at sun.reflect.NativeMethodAccessorImpl.invoke0
(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at
java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.groovy.runtime.ReflectionMetaMethod.invoke(ReflectionMetaMethod.java:67)
at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke
(MetaClassHelper.java:657)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:350)
at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:156)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod
(InvokerHelper.java:104)
at org.codehaus.groovy.runtime.InvokerHelper.runScript(InvokerHelper.java:516)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.groovy.runtime.ReflectionMetaMethod.invoke
(ReflectionMetaMethod.java:67)
at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:657)
at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:490)
at
org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:136)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:104)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod
(ScriptBytecodeAdapter.java:85)
at salesforce.main(salesforce.groovy)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.groovy.runtime.ReflectionMetaMethod.invoke
(ReflectionMetaMethod.java:67)
at org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:657)
at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:490)
at
org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:136)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:104)
at groovy.lang.GroovyShell.runMainOrTestOrRunnable
(GroovyShell.java:354)
at groovy.lang.GroovyShell.run(GroovyShell.java:279)
at groovy.lang.GroovyShell.run(GroovyShell.java:208)
at groovy.ui.GroovyMain.processOnce(GroovyMain.java:450)
at groovy.ui.GroovyMain.run(GroovyMain.java:276)
at groovy.ui.GroovyMain.process(GroovyMain.java:262)
at groovy.ui.GroovyMain.main(GroovyMain.java:138)
at sun.reflect.NativeMethodAccessorImpl.invoke0
(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at
java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:131)
at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:160)
- [xfire-user] Still some problem with Salesforce + GroovySoap tog
