I am trying to use ColdFusion to consume a web service and I am having issuses. 
I really don't know much about web services so please bear with me.

Here is what I have been trying to do:

<cfsavecontent variable="soap">


<?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:Body>
    <ZNAIsClaimValid xmlns="http://claimsws.zurichna.com/ERCClaims";>
      <ClaimNumber>9110011636</ClaimNumber>
      <ClaimSubNumber>001</ClaimSubNumber>
      <ValID>PRMBI</ValID>
    </ZNAIsClaimValid>
  </soap:Body>
</soap:Envelope>

</cfsavecontent>

<cfhttp url="https://dev.claimsws.zurichna.com/ERCClaims/ZNAERCClaims.asmx"; 
method="post">
   <cfhttpparam type="header" name="content-type" value="text/xml">
    <cfhttpparam type="header" name="SOAPAction" 
value="http://claimsws.zurichna.com/ERCClaims/ZNAIsClaimValid";>
   <cfhttpparam type="header" name="content-length" value="#len(soap)#">
   <cfhttpparam type="header" name="charset" value="utf-8">
   <cfhttpparam type="xml" name="message" value="#trim(soap)#">

</cfhttp>

<cfdump var="#cfhttp.FileContent#">


When I run this I get an error taking about the wsa:To. When I spoke with 
support from the company that created the web service they said I need to use 
WSE 3.0 instead of 2.0. Is that possible? I don't know how to specify the 
version or WSE at all for that matter.

Any help on this would be great.

Thanks in advance.
-Steve



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314263
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to