You need to sign in to do that
Don't have an account?
eneilsen
I'm trying to set the sessionId without using the SessionHeader object
I'm trying to set the sessionId without using the SessionHeader object. This is the error that I'm getting:
Code:
Does anyone know what the Parameter Name is used to include the sesssionID? Is it SessionID, sessionID, SessionHeader?
Code:
Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Illegal Session at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException(SOAPFaultHelperJAXWS.java:56) at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.throwFaultException(SOAP11BindingJAXWS.java:111) at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:460) at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:333) at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:185) at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:163) at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:149) at $Proxy22.query(Unknown Source) at salesforce.JbossWSConnection.querySample(JbossWSConnection.java:130) at salesforce.JbossWSConnection.main(JbossWSConnection.java:74) 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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
Does anyone know what the Parameter Name is used to include the sesssionID? Is it SessionID, sessionID, SessionHeader?
http://wiki.apexdevnet.com/index.php/Enterprise_Describe_Global
Maybe this is useful.