Not odd at all....WSDLs are in XML, but don't confuse WSDL format with input/output formats
It's like saying because CF is Java that it must output Java....which of course is not true ;-) So any webservice will be in XML and it's inputs could be queries/XML strings/JSON strings/structures/strings/numbers/etc. Not sure if that helps you with your test packet issue....but hopefully it helps regardless ;-) Any chance serializeJSON() would help you make those test packets without typing it out the hard way? Cheers On Fri, 2011-07-29 at 16:12 -0600, Dan Baughman wrote: > Well its kind of an odd scenario. > > I've been given a schema and WSDL for a web service, but the schema and WSDL > are in XML, but the web service is expecting to receive request in JSON. > > So, given a more typical web service, you'd get a WSDL and then a tool, like > Altove XMLspy (or an Eclipse plugin) could generate example soap packets for > each of the interactions the web service provides, albeit with place-holder > variables where your data would actually go. > > In this scenario, I'll have to look at the WSDL on the left monitor and > manually type in JSON code into the editor on the right, versus having the > tool create example data packets. > > On Fri, Jul 29, 2011 at 2:47 PM, Raymond Camden > <[email protected]>wrote: > > > > > Are you asking for a tool to _format_ JSON? Not quite sure what you mean > > here. > > > > > > On Fri, Jul 29, 2011 at 3:24 PM, Dan Baughman <[email protected]> > > wrote: > > > > > > Hi List, > > > > > > I know there are tons of tools out there that will take a WSDL and spit > > out > > > soap packets that you can simply plug your actual variable values into, > > but > > > doesnt anyone know of anything like that for JSON? > > > > > > I've got a handlful of schema XML's which are part of a WSDL for a JSON > > web > > > service and am loathing the idea of manually typing out JSON objects for > > > each complex type. > > > > > > Suggestions appreciated, > > > > > > Thanks, > > > Dan > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346405 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

