Hi All,

I tried the Soap UI tool first and it is exactly what I am after.. what a great 
tool.

Shane wrote: "SoupUI".. 

You're making me hungry!

Thanks,
Adam

________________________________________
From: Adam Chapman 
Sent: Monday, 22 January 2007 8:45 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: cfinvoke webservice, xml response and 'cf' datatypes

Thanks Toby & Shane,

Will give both these methods a crack and see what happens..

Cheers,
Adam

________________________________________
From: Shane Farmer [mailto:[EMAIL PROTECTED] 
Sent: Sunday, 21 January 2007 4:55 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: cfinvoke webservice, xml response and 'cf' datatypes

Hi Adam,
 
A very handy tool you could try is SoupUI (www.soapui.org). We use it at work 
to run test suites against our Java web services. You point it at the WSDL, it 
can generate a default request where you fill in the blanks and hit send. What 
you get back is the actual SOAP envelope with all the XML you will ever need 
:-) Well worth checking out if you are working with web services and just a 
simple request/response to deal with. There is even an Eclipse plug in for it! 
 
When you have the SOAP response, you can decide if you need to send XML or if 
the native type will be consumable from .net. It will even validate it for you!
 
Hope this helps.
Shane

 
On 1/19/07, Adam Chapman <[EMAIL PROTECTED]> wrote: 

Hi All,

I am currently putting together a basic webservice which returns an
array to the caller. (returntype="array") 

I want to see the xml response that the caller will receive (.NET user),
but as the returntype is array, when I cfdump the result, I get a nicely
formatted array dump, rather than the raw xml.

Anyone know a quick way to access the actual soap xml response? Or 
should I use xml to create an xml object and return THAT rather than the
array?

Cheers,
Adam

<cfinvoke webservice="http://mywebservices/myservice.cfc?wsdl "
       method="getArray"
       returnvariable="ws">
               <cfinvokeargument name="a" value="what" />
               <cfinvokeargument name="b" value="fun" /> 
</cfinvoke>

<cfdump var="#ws#">



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to