Ask a Question related to Macromedia Dreamweaver, Design and Development.
-
ramya.subramanya webforumsuser@macromedia.com #1
consuming web services
hey
this is a brief description of my problem. there is this web service which i want to use.i want to use this web service or rather consume this web service within dreamweaver.by "within dreamweaver" i mean ,i want to consume this web service within a floating panel or anything else so that whatever the web service returns , is available in the floating panel.
so what i want is not to use the web service methods in my page that i design but the results that the web service returns.there are different ways to consume a web service ,one is using the web service tags, which are used only in JSP pages.the other option is to use webservice behaviors(.htc). this is to my knowledge the only way web service can be consumed using a javascript. the problem with this is that is works only in IE.when i use this in dreamweaver,it does not work...hope i was clear enough in explaining the problem...please do reply...thanx
ramya.subramanya webforumsuser@macromedia.com Guest
-
Consuming Java Web Services
We are developing a client in C# that uses Web Services writtenin Java. These typically return simple arrays of objects. Incertain cases we'd like... -
consuming web services record set
I'm trying to consume a web service and use xslt transformation to display a simple HTML table with a record set from a SQL database. I have put... -
question about consuming web services with proxy
I have this error when adding a web reference to a webservice accessable through the net.. The request failed with HTTP status 407: Proxy... -
Consuming Java Web Services with .NET
I am not able to consume Java web services from .NET client. In an attempt to debug the problem, I created a simple HelloWorld web service that... -
Consuming Web Services using other editor than VS.NET
Hi all! I've created a simple web service on server 1 that I wish to test from ASP.NET on server 2. Now, I don't use VS.NET (I use Macromedia... -
RegGentle #2
Consuming web services
Hi,
Can anyone assist with the following please?
I'm new at using CF and web services so forgive me if I sound a bit vague..
I'm currently developing a site and have managed to successfully used
<cfinvoke> to consume a (Tomcat) secure web service to call train schedules.
I can use <cfdump> to get a screed of raw data which is great. My problem
however is to now have said data display in a table or user-friendly format .
See below
<cfset aCityPairSearchKey = StructNew()>
<cfset aCityPairSearchKey.destinationCityCode="FRPAR" >
<cfset aCityPairSearchKey.originCityCode="GBLON" >
<cfset aCityPairSearchKey.scheduleSource="L" >
<cfset aCityPairSearchKey.travelDate="07/12/2005" >
<cfset aCityPairSearchKey.isRoundTrip="FALSE" >
<cfinvoke
webservice="http://mywebservices.myhost.com/services/IWSResaSchedules?wsdl"
method="getSchedulesXML"
returnvariable="aString">
<cfinvokeargument name="cityPairSearchKey" value="#aCityPairSearchKey#"/>
<cfinvokeargument name="time" value="22:00"/>
<cfinvokeargument name="userKey" value="1235456"/>
</cfinvoke>
<cfoutput>#aString#</cfoutput>
Above just returns a blank whilst below is a snippet of what I get back when
dumping the returnvariable.
<?xml version="1.0"?> <com.xxx.wsv.resa.beans.WSchedulesWrapper>
<schedulesResponse> <com.xxx.wsv.resa.beans.WSResaProduct> <addlInfo>
<![CDATA[]]> </addlInfo> <arrTime> <![CDATA[09:23]]> </arrTime> <deptTime>
<![CDATA[05:34]]> </deptTime> <destCity> <![CDATA[FRPAR]]> </destCity>
<destCodeStation> <![CDATA[FRPNO]]> </destCodeStation> <destStation>
<![CDATA[PARIS NORD]]> </destStation> <distance> <![CDATA[0.0]]>
</distance> <firstPrice> </firstPrice> <number> <![CDATA[1]]> </number>
<origCity> <![CDATA[GBLON]]> </origCity> <origCodeStation>
<![CDATA[GBWIT]]> </origCodeStation> <origStation> <![CDATA[LONDON
WATERLOO]]> </origStation> <priceType> <![CDATA[]]> </priceType>
<routeNumber> <![CDATA[0]]> </routeNumber> <scheduleId> <![CDATA[0]]>
</scheduleId> <secondPrice> </secondPrice> <source> <![CDATA[]]> </source>
.... etc etc ...
Can someone please pont me in the right direction on how I can succesfully
(a)parse this data and (b) save it to a database?
Thanks
:beer;:D:brokenheart;:camera;:clock;:confused;:coo l;:confused;:clock;:camera;:br
okenheart;:D:beer;:o:confused;
RegGentle Guest



Reply With Quote

