|
I've discovered that these
webservices are subject to developer preferences as far as what they
will accept. We use several of them and have a common way of sending
receiving packets, but this one in particular is giving SOAP errors. Here's the code I'm using: ====================================== <cfsavecontent variable="ToSend"> <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header xmlns:soapaction="http://webapi.globusandcosmos.com/GetDeparturesXML"> </soap:Header> <soap:Body> <GetDeparturesXML xmlns="http://webapi.globusandcosmos.com/"> <brand>Globus</brand> <tourCode>DIB</tourCode> <pricingModel>USA</pricingModel> </GetDeparturesXML> </soap:Body> </soap:Envelope> </cfsavecontent> <cftry> <cfhttp method="post" url="" class="moz-txt-link-rfc2396E" href="http://webapi.globusandcosmos.com/gvitawapi.asmx">"http://webapi.globusandcosmos.com/gvitawapi.asmx" throwonerror="no"> <cfhttpparam type="XML" name="xmlrequest" value="#tosend#"> </cfhttp> <cfset parsedXML = xmlParse(cfhttp.fileContent)> <cfdump var="#parsedXML#"> <cfcatch type="Any"> <cfoutput>#cfcatch.message#-#cfcatch.detail#</cfoutput> <cfabort> </cfcatch> </cftry> ====================================== I get "System.Web.Services.Protocols.SoapException: Unable to handle request without a valid action parameter. Please supply a valid soap action." for a response. I've tried many many methods to pass the soap action, any ideas? The developers at this place haven't been to helpful, I've asked for an example call, test form, verification of my packet, all to no avail. Seems like they only support Java users. Any help, links, or book suggestions are most welcomed :-) -James Sammy Larbi wrote: James Dismukes wrote:Does anyone have a good crash course resource for using SOAP with Coldfusion (MX6.1 specifically). I have the basics of XML down, but am struggling with SOAP and a strict webservice I need to work with. I know MX7 has some added functions just for SOAP, but I'll have to wait for Scorpio on those (couldn't sell the boss on 7, but did on 8!). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "Houston ColdFusion Users' Group" discussion list. To unsubscribe, send email to [EMAIL PROTECTED] For more options, visit http://groups.google.com/group/houcfug?hl=en -~----------~----~----~----~------~----~------~--~--- |
- [houcfug] diff tools Mark Davis
- [houcfug] Re: diff tools Mike Demahy
- [houcfug] Re: diff tools Chris Champion
- [houcfug] MX6.1 and SOAP James Dismukes
- [houcfug] Re: MX6.1 and SOAP Seth Bienek
- [houcfug] Re: MX6.1 and... Watkins, Christopher Michael
- [houcfug] Re: MX6.1... Seth Bienek
- [houcfug] Re: MX6.1 and SOAP Sammy Larbi
- [houcfug] Re: MX6.1 and... James Dismukes
- [houcfug] Re: MX6.1... Sammy Larbi
- [houcfug] Re: M... James Dismukes
- [houcfug] Re: MX6.1... Sammy Larbi
- [houcfug] Re: M... James Dismukes
- [houcfug] Re: diff tools Seth Bienek
- [houcfug] Re: diff tools Allan Stilwell
