Skip navigation
Currently Being Moderated

CF10 web services not "invokable" from CF9

Jul 12, 2012 1:28 AM

Tags: #wsdl #webservice #upgrade #exception #cf9 #cf10 #cfinvoke

Here's my situation:

 

1. first server with CF10 (just upgraded) running an application with this CFC making a wsdl web service:

 

<cffunction name="myWS" access="remote" returntype="boolean" output="false">
      <!--- stuff.... --->
</cffunction>

 

2. second server with CF9.0.1 (last hotfixes) running the web service invocation like this:

 

<cfinvoke webservice="http://www.firstserversite.xxx/api/folder/mycomp.cfc?wsdl" method="myWS" returnvariable="LOCAL.ret"> 
       <cfinvokeargument name="xxx" value="#xxx#" />
</cfinvoke>

 

Before upgrading first server to CF10, my two application servers talked each other the right way and that was working.

 

Now I see this error:

 

"Cannot generate stub objects for web service invocation"


ERROR: Missing <soap:fault> element inFault

 

It sounds like WSDL generated by cf10 is not compatible with what cf9-cfinvoke does expect!

How can I workaround this?

 

Many thanks to you, it's very urgent!!

 
Replies
  • Currently Being Moderated
    Jul 12, 2012 5:19 AM   in reply to fabio.bozzo

    The WSDL and Axis versions of ColdFusion 10 are higher than those of ColdFusion 9. That may be the cause. If so, follow the recommendation of the document 'Web service enhancements in ColdFusion 10', and replace ?wsdl in the URL with ?wsdl2

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 20, 2012 6:11 PM   in reply to fabio.bozzo

    Hi Fabio,

     

    Did you find a solution to this problem?

     

    I'm having a very similar issue with CF10. After upgrading from CF8 to CF10 the ?wsdl requests appear to be failing with http500 errors.

     

    Fortunately these services are consumed from the client side and are still working from that perspective.

     

     

    Thanks,

     

    Brett

    B)

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 21, 2012 12:44 AM   in reply to BrettPR

    BrettPR wrote:

     

    Hi Fabio,

     

    Did you find a solution to this problem?

     

     

    As I said, one solution may be to replace ?wsdl in the URL with ?wsdl2

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 21, 2012 2:54 AM   in reply to fabio.bozzo

    Could the first bug referenced on this page have a hand in this:

    http://helpx.adobe.com/coldfusion/kb/coldfusion-10-update-3.html

     

    3321512

    Web Services defaults to Axis 2 methods despite setting the Axis version to Axis 1 in ColdFusion Administrator.

     

    Sounds like CF10 only serves-up Axis 2 web services rather than serving up v1 ones when it's told to?

     

    Sadly 10.0.3 has been pulled due to it being buggy, but there should be a replacement soon.

     

    --

    Adam

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points