The problem I think is Axis/CF will never be able to consume a non-rpc,
ColdFusion based web service unless all it returns is a simple string.



"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-----Original Message-----
From: Ben Nadel
To: CF-Talk
Sent: Thu Feb 01 23:06:38 2007
Subject: RE: Interacting with SOAP

Tony,

I ran into very similar problems when I tried to create my first Web
service. The STUB file gets created and then you either have to reset it
or update it manually. I am not sure. I found some great notes on it on
bprucell.org and then came up with this:

http://www.bennadel.com/index.cfm?dax=blog:430.view

Check out the method "RebuildStubFile". 

Hope that helps point you in the right direction.


.......................
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/

-----Original Message-----
From: Tony Hicks [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 31, 2007 9:27 PM
To: CF-Talk
Subject: Interacting with SOAP

I'm trying to interact with an auction site. Here is a truncated version
of their soap doc.

<?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>
    <RequesterCredentials xmlns="API_V2">
      <DevKey>string</DevKey>
      <AppKey>string</AppKey>
      <UserName>string</UserName>
      <Password>string</Password>
    </RequesterCredentials>
  </soap:Header>
  <soap:Body>
    <GetMyAuctions xmlns="API_V2">
      <GetMyAuctionsRequest>
        <Query>string</Query>
        <CategoryID>int</CategoryID>
        <TotalOnly>boolean</TotalOnly>
        <PriceRangeFilter>
          <MinPrice>decimal</MinPrice>
          <MaxPrice>decimal</MaxPrice>
        </PriceRangeFilter>
      </GetMyAuctionsRequest>
    </GetMyAuctions>
  </soap:Body>
</soap:Envelope>

Here is my most recent coding attempt...

gma = CreateObject("webservice", "auctionsiteurl"); RequestCredentials =
StructNew(); RequestCredentials.DevKey="...";
RequestCredentials.AppKey="..."; RequestCredentials.UserName="...";
RequestCredentials.Password="...";
gma.setHeader("API_V2","RequestCredentials",RequestCredentials);

I think this should work... but its not... I've tried three or four
different ways and I get "Could not generate stub objects for web
service invocation."

Am I even close? Any help appreciated.






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268369
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