I thought you were trying to use someone elses lib when you mentioned adding stuff to the classpath. It could be that the version of the axis is different in CF8 I didn't think they were going to update it but, clearly something changed.
On Thu, Feb 28, 2008 at 9:59 AM, Mitchell McCoy <[EMAIL PROTECTED]> wrote: > It's already there. Part of the default CF install. > > > Mitch McCoy > Synovus Financial Corp., insite Portal Team > Phone: 706-644-3700 > Email: [EMAIL PROTECTED] > Fax: 706-644-2600 > > > >>> "Steven Ross" <[EMAIL PROTECTED]> 2/28/2008 9:43 AM >>> > > Did you add the class or jar into the coldfusion lib directory? > > On Thu, Feb 28, 2008 at 9:26 AM, Mitchell McCoy <[EMAIL PROTECTED]> > wrote: > > > Hi, > > When we try to create an instance of SOAPConnectionFactory its throwing > > in error. > > We are calling the Java Object from Coldfusion 7.1. > > > > Here is the Java code that throws the error: > > System.setProperty("javax.xml.soap.SOAPConnectionFactory", " > > org.apache.axis.soap.SOAPConnectionFactoryImpl"); > > System.setProperty("javax.xml.soap.MessageFactory", " > > org.apache.axis.soap.MessageFactoryImpl"); > > System.setProperty("javax.xml.soap.SOAPFactory", " > > org.apache.axis.soap.SOAPFactoryImpl"); > > Class.forName("org.apache.axis.soap.SOAPConnectionFactoryImpl"); > > //First create the connection > > > > SOAPConnectionFactoryImpl soapConnFactory = > > (SOAPConnectionFactoryImpl)SOAPConnectionFactoryImpl.newInstance(); > > MessageFactory messageFactory = MessageFactory.newInstance(); > > System.out.println(soapConnFactory.toString()); > > SOAPConnection connection = soapConnFactory.createConnection( ); > > > > The following error is thrown in Coldfusion Error Logs: > > javax.xml.soap.SOAPException: Unable to create SOAP connection factory: > > null > > at javax.xml.soap.SOAPConnectionFactory.newInstance( > > SOAPConnectionFactory.java:79) > > at com.synovus.webservices.SYNWebSVC.executeWS(SYNWebSVC.java:95) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > > at java.lang.reflect.Method.invoke(Unknown Source) > > at coldfusion.runtime.StructBean.invoke(StructBean.java:391) > > at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1662) > > at cftest2ecfm1965242733.runPage(C:\CFusionMX7\wwwroot\test.cfm:24) > > at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152) > > at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349) > > at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) > > at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java > > :210) > > at coldfusion.filter.RequestMonitorFilter.invoke( > > RequestMonitorFilter.java:51) > > at coldfusion.filter.PathFilter.invoke(PathFilter.java:86) > > at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69) > > at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java > > :52) > > at coldfusion.filter.ClientScopePersistenceFilter.invoke( > > ClientScopePersistenceFilter.java:28) > > at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) > > at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) > > at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) > > at coldfusion.filter.RequestThrottleFilter.invoke( > > RequestThrottleFilter.java:115) > > at coldfusion.CfmServlet.service(CfmServlet.java:107) > > at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java > > :78) > > at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) > > at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) > > at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java > > :257) > > at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java > > :541) > > at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172) > > at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable( > > ThreadPool.java:318) > > at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable( > > ThreadPool.java:426) > > at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable( > > ThreadPool.java:264) > > at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) > > > > Here is the coldfusion Code: > > > > <cfset javaObj = createObject("java", " > > com.synovus.webservices.SYNWebSVC")> > > <cfset ret = javaObj.init > > (urlName,username,password,primaryNamespace,primaryTargetNamespace,additionalNamespace,debug)> > > <cfset results1 = ret.executeWS(xmlData)> > > > > We tried to set the CLASSPATH in Coldfusion and that did not help. > > This code works fine when run on Eclipse on a stand alone mode and it > > works fine on Coldfusion 8.0 > > Any Help would be really appreciated.. > > > > Thanks! > > > > > > Mitch McCoy > > Synovus Financial Corp., insite Portal Team > > Phone: 706-644-3700 > > Email: [EMAIL PROTECTED] > > Fax: 706-644-2600 > > > > ------------------------------ > > > > *NOTICE: This communication is intended only for the person or entity to > > whom it is addressed and may contain confidential, proprietary, and/or > > privileged material. Unless you are the intended addressee, any review, > > reliance, dissemination, distribution, copying or use whatsoever of this > > communication is strictly prohibited. If you received this in error, please > > reply immediately and delete the material from all computers. Email sent > > through the Internet is not secure. Do not use email to send us confidential > > information such as credit card numbers, PIN numbers, passwords, Social > > Security Numbers, Account numbers, or other important and confidential > > information. * > > > > ------------------------------------------------------------- > > Annual Sponsor - Figleaf Software <http://www.figleaf.com/> > > > > To unsubscribe from this list, manage your profile @ > > http://www.acfug.org?fa=login.edituserform<http://www.acfug.org/?fa=login.edituserform> > > > > For more info, see http://www.acfug.org/mailinglists > > Archive @ http://www.mail-archive.com/discussion@acfug.org/ > > List hosted by FusionLink <http://www.fusionlink.com/> > > ------------------------------------------------------------- > > > > > -- > Steven Ross > web application & interface developer > http://blog.stevensross.com > [mobile] 404-488-4364 [fax] 267-482-4364 > [ AIM / Yahoo! : zeriumsteven ] [googleTalk : nowhiding ] > ------------------------------------------------------------- > Annual Sponsor - Figleaf Software <http://www.figleaf.com/> > > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa=login.edituserform<http://www.acfug.org/?fa=login.edituserform> > > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion@acfug.org/ > List hosted by FusionLink <http://www.fusionlink.com/> > ------------------------------------------------------------- > > ------------------------------------------------------------- > Annual Sponsor - Figleaf Software <http://www.figleaf.com> > > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa=login.edituserform > > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by FusionLink <http://www.fusionlink.com> > ------------------------------------------------------------- > -- Steven Ross web application & interface developer http://blog.stevensross.com [mobile] 404-488-4364 [fax] 267-482-4364 [ AIM / Yahoo! : zeriumsteven ] [googleTalk : nowhiding ] ------------------------------------------------------------- Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -------------------------------------------------------------