• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Could not generate stub objects for web service invocation

Guest
Jul 07, 2006 Jul 07, 2006

Copy link to clipboard

Copied

HELP:!!!!!!!!!! Adobe- My client is ready to move to another technology if this simple solution cannot work!

I am having a hard time invoking the ws below in a Unix/CF7/Apache 2.0 environment. I can query the WSDL and it works successful in a windows dev environ. However when going to UNIX it is unsuccessful. I am thinking that it is a permissions issue or something. Further more I cannot even register other Webservices in the CF admin ( eg bable fish) Why? Has anyone come up with a solution? Thanks in advance for any help.



My PAGE

<cfinvoke webservice=" http://120.252.201.51:8200/test.cfc?wsdl" method="getXML" returnvariable="foo">
<cfinvokeargument name="XMLInput" value="Hello THere">
</cfinvoke>

<br><cfoutput>#foo#</cfoutput>

MY WS:
<cfcomponent output="Yes">
<cffunction name="getXML" returnType="string" access="remote" output="Yes">
<cfargument name="XMLInput" type="string" >
<cfoutput>#XMLInput#</cfoutput>
<cfreturn #XMLInput#>
</cffunction>
</cfcomponent>

TOPICS
Advanced techniques

Views

280

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 07, 2006 Jul 07, 2006

Copy link to clipboard

Copied

LATEST
Does the following version do any better?

My PAGE

<cfinvoke
webservice=" http://120.252.201.51:8200/test.cfc?wsdl"
method="getXML"
XMLInput="Hello THere"
returnvariable="foo"
username="user name"
password = "password"
timeout = "30" />


MY WS

<cfcomponent>
<cffunction name="getXML" returnType="string" access="remote">
<cfargument name="XMLInput" type="string" >
<cfreturn Arguments.XMLInput>
</cffunction>
</cfcomponent>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation