473,406 Members | 2,620 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

invoke WebSydian SOAP service from ColdFusion

Hi i am strugling to get mt call to a SOAP web service running on websydian server.

i can run the web service using SOAPUI

here is my raw XML:
Expand|Select|Wrap|Line Numbers
  1. POST http://172.26.1.37:10010/p6dev/service/basicsite/services/soap HTTP/1.1
  2. Accept-Encoding: gzip,deflate
  3. Content-Type: text/xml;charset=UTF-8
  4. SOAPAction: "CustomerSpecificRequest"
  5. User-Agent: Jakarta Commons-HttpClient/3.1
  6. Host: 172.26.1.37:10010
  7. Content-Length: 309
  8.  
  9. <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
  10.    <soapenv:Header/>
  11.    <soapenv:Body>
  12.       <in2rf>
  13.          <param0>
  14.             <_V00013>
  15.                <_CUSCODE>5549100</_CUSCODE>
  16.             </_V00013>
  17.          </param0>
  18.       </in2rf>
  19.    </soapenv:Body>
  20. </soapenv:Envelope>
tried following;
Expand|Select|Wrap|Line Numbers
  1. <cfsavecontent variable="SoapBody"> 
  2. <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
  3.    <soapenv:Header/>
  4.    <soapenv:Body>
  5.       <in2rf>
  6.          <param0>
  7.             <_V00013>
  8.                <_CUSCODE>5549100</_CUSCODE>
  9.             </_V00013>
  10.          </param0>
  11.       </in2rf>
  12.    </soapenv:Body>
  13. </soapenv:Envelope>
  14. </cfsavecontent>
  15.  
  16. <cfhttp url="http://172.26.1.37:10010/p6dev/service/basicsite/services/soap"
  17.  method="POST"  result="REQUEST.WSResponse" resolveurl="yes">
  18.      <cfhttpparam type="HEADER" name="Accept-Encoding" value="gzip,deflate">
  19.     <cfhttpparam type="HEADER" name="Content-Type" value="text/xml;charset=utf-8">
  20.     <cfhttpparam type="HEADER" name="SOAPAction" value="CustomerSpecificRequest">
  21.     <cfhttpparam type="HEADER" name="User-Agent" value="Jakarta Commons-HttpClient/3.1">
  22.     <cfhttpparam type="HEADER" name="Host" value="172.26.1.37:10010">
  23.     <cfhttpparam type="HEADER" name="Content-Length" value="309">
  24.     <cfhttpparam type="BODY" value="#soapbody#">
  25. </cfhttp>
  26. <cfdump var="#REQUEST.WSResponse#">
Nov 23 '11 #1
1 2983
acoder
16,027 Expert Mod 8TB
What's the response? Do you get any errors?
Nov 25 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: pcouas | last post by:
Hi, Currtently My SOAP service use method with String parameter. But in fact my String size has always 15 caracters. Could i define a SOAP service with a limited string parameter like...
2
by: RJGraham | last post by:
I've goggled a few posts about this but haven't found a definitive answer. I have an Apache Axis SOAP web service that I ned to write a C# client for. When I point VS.Net Studio 2003 at my Axis...
5
by: milkyway | last post by:
Hello, I'm a newbie who hopes they have come to the correct place. Basically, I want to develop a web service for consumption by .NET program (hopefully C#). The performance of the service...
1
by: Eirik Brattbakk | last post by:
Hi I have some problems accessing a soap service made in c# using an ATL/MFC client over SSL. I have tried both CSoapMSXMLInetClient and CSoapWininetClient as template arguments with my stub...
0
by: mshetty | last post by:
Hi, We have written a Web Service using Apache SOAP. We would now like to edit it to add some functionality that would be executed when the Web Server is started. Is it possible with Apache...
0
by: Rob Frohwein | last post by:
Hi, In an C# appl I need a soap service to be called by other (unix systems) In Visual Studio .NET it seems only possible to create a soap service as an .asmx file to be used in IIS. Does...
1
by: Rob Frohwein | last post by:
Hi, In an C# appl I need a soap service to be called by other (unix systems) In Visual Studio .NET it seems only possible to create a soap service as an .asmx file to be used in IIS. Does...
2
by: Rob Frohwein | last post by:
Hi, In an C# appl I need a soap service to be called by other (unix) systems. In Visual Studio .NET it seems only possible to create a soap service as an .asmx file to be used in IIS. Does...
0
by: franz1975 | last post by:
Hi all, I have developed an Library Application with ASP.NET 1.1. In this environment i call Remote Web Service in this way : ******************************************************* where...
0
HaLo2FrEeEk
by: HaLo2FrEeEk | last post by:
When I started this, I knew nothing about SOAP or how it worked. I learned a lot in the first few hours and the result was an operational test of the SOAP service (which I'm writing in PHP). I was...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.