OK..a combo of:

..cfc?wsdl on the end of webservice URL instead of .wsdl
AND
passing the argument as a CFINVOKE attribute instead of using 
CFIVOKEARGUMENT

does the trick ;-)

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
----- Original Message ----- 
From: "Bryan Stevenson" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Wednesday, April 13, 2005 4:31 PM
Subject: Re: Webservices and stub objects error


> OK...mabye not...added back in the cfinvokeargument and I'm getting a new
> error about the required argument not being found.
>
> I'm guessing you can either pass arguments via the webservice attribute
> (i.e. tacked onto the URL) or the sandard way using
> cfinvokeargument...adding the arguements as cfinvoke attributes or as an
> arguement collection.
>
> Oh well...back at it to see if I can get around this stubs issue
>
> Bryan Stevenson B.Comm.
> VP & Director of E-Commerce Development
> Electric Edge Systems Group Inc.
> phone: 250.480.0642
> fax: 250.480.1264
> cell: 250.920.8830
> e-mail: [EMAIL PROTECTED]
> web: www.electricedgesystems.com
> ----- Original Message ----- 
> From: "Bryan Stevenson" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[email protected]>
> Sent: Wednesday, April 13, 2005 4:25 PM
> Subject: SOLVED Re: Webservices and stub objects error
>
>
>> grrr...and yet another post by me today solved before any response ;-)
>>
>> I changed the end of the URL of the webservice
>> from: .wsdl to .cfc?wsdl
>>
>> It works..but the examples I see say to use .wsdl ??
>>
>>
>> Bryan Stevenson B.Comm.
>> VP & Director of E-Commerce Development
>> Electric Edge Systems Group Inc.
>> phone: 250.480.0642
>> fax: 250.480.1264
>> cell: 250.920.8830
>> e-mail: [EMAIL PROTECTED]
>> web: www.electricedgesystems.com
>> ----- Original Message ----- 
>> From: "Bryan Stevenson" <[EMAIL PROTECTED]>
>> To: "CF-Talk" <[email protected]>
>> Sent: Wednesday, April 13, 2005 4:02 PM
>> Subject: Webservices and stub objects error
>>
>>
>>> Hey All,
>>>
>>> I have a VERY simple CFC with one method that runs a standard SELECT
>>> query.
>>>
>>> It works fine called as a component..but as a  ebservice I get this 
>>> error
>>> (loks like lots of folks have had it...just not finding an obvious
>>> solution):
>>>
>>> Could not generate stub objects for web service invocation.
>>>      Name: http://127.0.0.1/internal/smaple/test.wsdl. WSDL:
>>> http://127.0.0.1/internal/sample/test.wsdl. org.xml.sax.SAXException:
>>> Fatal Error: URI=null Line=1: White spaces are required between publicId
>>> and systemId. It is recommended that you use a web browser to retrieve
>>> and
>>> examine the requested WSDL document for correctness. If the requested
>>> WSDL
>>> document can't be retrieved or it is dynamically generated, it is likely
>>> that the target web service has programming errors.
>>>
>>>      Here's the calling code:
>>>
>>>      <cfinvoke
>>>        webservice="http://127.0.0.1/internal/sample/test.wsdl";
>>>        method="GetArtList"
>>>        returnvariable="qArtList">
>>>        <cfinvokeargument name="AlphaFilter" value="M">
>>>      </cfinvoke>
>>>
>>>      Here's the CFC:
>>>      <cfcomponent>
>>>
>>>        <!--- Function to return a list of art --->
>>>        <cffunction name="GetArtList" returntype="query" access="remote">
>>>
>>>          <cfargument name="AlphaFilter" required="yes">
>>>
>>>          <cfquery name="qArtList" datasource="CFArtGallery">
>>>            SELECT *
>>>              FROM Art
>>>             WHERE 1=1
>>>               <cfif Len(Trim(ARGUMENTS.AlphaFilter))>
>>>                 AND ArtName LIKE '#Trim(ARGUMENTS.AlphaFilter)#%'
>>>               </cfif>
>>>          </cfquery>
>>>
>>>          <cfreturn qArtList>
>>>
>>>        </cffunction>
>>>
>>>      </cfcomponent>
>>>
>>>
>>>      Somebody please educate me ;-)
>>>
>>>      FYI this is on CFMX 7 for J2EE Developer edition running on
>>> localhost
>>>
>>>      Cheers
>>>
>>>
>>> Bryan Stevenson B.Comm.
>>> VP & Director of E-Commerce Development
>>> Electric Edge Systems Group Inc.
>>> phone: 250.480.0642
>>> fax: 250.480.1264
>>> cell: 250.920.8830
>>> e-mail: [EMAIL PROTECTED]
>>> web: www.electricedgesystems.com
>>>
>>>
>>
>>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202706
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to