I am back to trying to get this to work again.  I've created as simple of 
an example as I can...
 

<!--- test.cfc ---> 
<cfcomponent displayname="Object1" output="true">
 <cfset abc = "123">
 
 <cffunction name="getAbc" output="true" access="remote" 
returntype="string">
  
  <cfreturn abc />
 </cffunction>
</cfcomponent>

 

<!--- sample.cfm --->
<cfoutput>
<!---
<cfset test = CreateObject("component", "test")>
<br/><br/>
--->
<cfset test = CreateObject("webservice", "
http://sandbox/cfcTest/test.cfc?method=getAbc";)>
#test.getAbc()#
</cfoutput>

In sample.cfm, the commented-out call works just fine, but the webservice 
attempt results in the following error...
*

WSDLException (at /wddxPacket): faultCode=INVALID_WSDL: Expected element 
'{http://schemas.xmlsoap.org/wsdl/}definitions'.

*
Any thoughts on what this means?  I would just make a regular HTTP call to 
my cfc, but I want the ability to preserve complex data structures.
 

 

 

 
 

On Tuesday, August 6, 2013 11:05:41 AM UTC-4, Matthew Creech wrote:

> I also tried that and got the same error.
>
> On Aug 6, 2013, at 10:54 AM, Alan Cole <[email protected]> wrote:
>
> Matt,
>
> In my experience with soapUI you want to simply add the wsdl.
>
> I.e. 
> *http://mysandbox/test1.cfc?wsdl<http://mysandbox/test1.cfc?wsdl&method=testFunction>
> *
> *
> *
> *Then you can create functions within soapUI
> *
> Thanks,
> Alan
>
> On Aug 6, 2013, at 9:33 AM, [email protected] wrote:
>
> Sorry for the delay.  In SoapUI when I create a new project with a wsdl of 
> "*http://mysandbox/test1.cfc?wsdl&method=testFunction*<http://mysandbox/test1.cfc?wsdl&method=testFunction>",
>  
> I get the following error: "com.eviware.soapui.support.SoapUIException: 
> Error importing wsdl".
>  
> As a reminder from my OP, I can enter that url directly into a browser and 
> see the response of the function just fine.  I would just give up and use a 
> cfhttp to make a normal web call to my cfc, except I ultimately need my 
> real cfc to return a struct instead of a string.  And I really don't want 
> to have to convert my resulting struct to a string, pass it to the caller, 
> and then convert it BACK into a struct on the caller end.  It is a LOT of 
> data.
>  
>
> On Jul 30, 2013, at 4:47 PM, Alan Cole <[email protected]> wrote:
>
>> Matthew,
>>
>> If your trying to test the wsdl service take a look at soapUI. I have 
>> used it to test services I'm building in OpenBD and it really works well 
>> for me.
>>
>> Thanks,
>> Alan
>>
>>  
>>
>>  -- 
> -- 
> online documentation: http://openbd.org/manual/
> http://groups.google.com/group/openbd?hl=en
>  
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Open BlueDragon" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  
>
>  -- 
> -- 
> online documentation: http://openbd.org/manual/
> http://groups.google.com/group/openbd?hl=en
>  
> --- 
> You received this message because you are subscribed to a topic in the 
> Google Groups "Open BlueDragon" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/openbd/VhUJ01jAork/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  
>
>

-- 
-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Open 
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to