Re: Web Services and file permissions - access.denied

2012-07-22 Thread Les Schmidt

> > Thanks for the reply.  Yes I'm running dev edition of CF on my local 
> machine - which is where I'm having NO trouble getting
> > things to work.  I have trouble when the calling cfm is on Hostek 
> and the cfc (web service) is on a standard copy of CF 9 at
> > home.  Any other thoughts?
> 
> Have you verified that the server at Hostek can access your server at 
> home?
> 
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> http://training.figleaf.com/
> 
> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
> GSA Schedule, and provides the highest caliber vendor-authorized
> instruction at our training centers, online, or onsite.

UPDATE: Moments after I replied to your suggestion, Hostek responded to my 
ticket and indicated that they had updated the permissions on my security 
sandbox and everything works fine!  Augh - 24 hours of pulling my hair out and 
it was that simple.  

Case closed.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351939
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Web Services and file permissions - access.denied

2012-07-22 Thread Les Schmidt

> > Thanks for the reply.  Yes I'm running dev edition of CF on my local 
> machine - which is where I'm having NO trouble getting
> > things to work.  I have trouble when the calling cfm is on Hostek 
> and the cfc (web service) is on a standard copy of CF 9 at
> > home.  Any other thoughts?
> 
> Have you verified that the server at Hostek can access your server at 
> home?
> 
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> http://training.figleaf.com/
> 
> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
> GSA Schedule, and provides the highest caliber vendor-authorized
> instruction at our training centers, online, or onsite.
Dave,
Thanks Dave. Appreciate you troubleshooting this one with me.
Say more. Are you thinking that Hostek blocks the consumption of web services?  
as for access to the home setup, it hosts my personal site 
(casadiablo.homeip.net) which I can reach just fine from anywhere. Which is 
only to say that I don't think it's an "incoming" firewall issue on the home 
side.

I do have a ticket into Hostek just to see if there is something there.  How 
would you suggest I personally test the ability for Hostek to reach into the 
home server?


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351938
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Web Services and file permissions - access.denied

2012-07-22 Thread Dave Watts

> Thanks for the reply.  Yes I'm running dev edition of CF on my local machine 
> - which is where I'm having NO trouble getting
> things to work.  I have trouble when the calling cfm is on Hostek and the cfc 
> (web service) is on a standard copy of CF 9 at
> home.  Any other thoughts?

Have you verified that the server at Hostek can access your server at home?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351937
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Web Services and file permissions - access.denied

2012-07-22 Thread Les Schmidt

>I am presuming you are running dev edition of cf on your local machine,
>which has IP restrictions which is probably the cause.
>
>Regards
>Russ Michaels
>On Jul 22, 2012 3:23 AM, "Les Schmidt"  wrote:
>
>>

Russ,
Thanks for the reply.  Yes I'm running dev edition of CF on my local machine - 
which is where I'm having NO trouble getting things to work.  I have trouble 
when the calling cfm is on Hostek and the cfc (web service) is on a standard 
copy of CF 9 at home.  Any other thoughts? 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351936
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Web Services and file permissions - access.denied

2012-07-22 Thread Russ Michaels

I am presuming you are running dev edition of cf on your local machine,
which has IP restrictions which is probably the cause.

Regards
Russ Michaels
On Jul 22, 2012 3:23 AM, "Les Schmidt"  wrote:

>
> I am attempting to access a Coldfusion 9 webservice that I created on one
> system (over which I have total control) by consuming it on another system
> which is hosted.  The pair works fine when both requesting page and the
> webservice are resident on my development server (in separate projects in
> CF Builder), but generate the following error when in their respective
> production environments:
>
> Error Occurred While Processing Request
>
> Cannot generate stub objects for web service invocation.
>
> Name: http://casadiablo.homeip.net/WebServices/WebSvcs.cfc?wsdl. WSDL:
> http://casadiablo.homeip.net/WebServices/WebSvcs.cfc?wsdl.
> java.security.AccessControlException: access denied
> ("java.io.FilePermission" "C:/Program
> Files/Java/jdk1.7.0_04/jre/lib/wsdl.properties" "read") It is recommended
> that you use a web browser to retrieve and examine the requested WSDL
> document to ensure it is correct. If the requested WSDL document cannot be
> retrieved or is dynamically generated, it is likely that the target web
> service has programming errors.
>
>
>
> The error occurred in D:/home/casadiablo.net/wwwroot/indexCDNet.cfm: line
> 10
>
> Called from "java.io.FilePermission" "C: line -1
>
> Called from "java.io.FilePermission" "C: line -1
>
> Called from D:/home/casadiablo.net/wwwroot/indexCDNet.cfm: line 10
>
> ---
>
> Note: the wsdl renders just fine in a browser, so it's not a "can't find
> it" or location issue.  I'm no expert in reading wsdl files, though, so the
> displayed wsdl file could be rendering some clues if I knew what to look
> for.
>
> For context:
> When I go from my development environment to production, the consuming
> page is on casadiablo.net/indexCDnet.cfm (hosted by Hostek).  The
> webservice is on a PC in my home that has a dedicated IP address.
>
> I've tried all kinds of combinations of usernames and passwords that might
> be prohibiting file access and submitting these during invocation or
> registering them in the CF Administrator Web Services panel.  All to no
> avail.
>
> I've searched all over for an "access denied" java error (related to CF
> web services) discussion and have found nothing.  Any ideas as to how to
> troubleshoot where in this chain a java.io.FilePermission error might be
> triggered would be greatly appreciated!!
>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351935
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Web Services & CERT

2008-08-22 Thread Randy Adkins
If I provide it within the CFAdmin when registering, the account has to
reside on the domain I know.
Have to find out if we have a default account for this specific use.


On 8/22/08, Dave Watts <[EMAIL PROTECTED]> wrote:
>
> > Well the web service is on an Intranet but will be accesible
> > by other servers within the agency.
> > According to the docs (other developer is no longer here),
> > the cfinvoke command was not utilizing the username/pass auth method.
> >
> > The server has Anonymous Access turned off since it is internal.
> >
> > I can call it directly but when setting it up in CFADMIN, it
> > throws the error mentioned previously.
>
> If your web service uses web server authentication in IIS, you'll need to
> provide a username and password in CFINVOKE or when you register the
> service
> in the CF Admin.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
>
> 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311427
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Web Services & CERT

2008-08-22 Thread Dave Watts
> Well the web service is on an Intranet but will be accesible 
> by other servers within the agency.
> According to the docs (other developer is no longer here), 
> the cfinvoke command was not utilizing the username/pass auth method.
> 
> The server has Anonymous Access turned off since it is internal.
> 
> I can call it directly but when setting it up in CFADMIN, it 
> throws the error mentioned previously.

If your web service uses web server authentication in IIS, you'll need to
provide a username and password in CFINVOKE or when you register the service
in the CF Admin.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311424
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Web Services & CERT

2008-08-22 Thread Randy Adkins
Well the web service is on an Intranet but will be accesible by other
servers within the agency.
According to the docs (other developer is no longer here), the cfinvoke
command was not utilizing the username/pass auth method.

The server has Anonymous Access turned off since it is internal.

I can call it directly but when setting it up in CFADMIN, it throws the
error mentioned previously.

So I am at a loss right now. (Still learning all the security meassures and
locked down items).



On 8/22/08, Dave Watts <[EMAIL PROTECTED]> wrote:
>
> > We are creating a web service (CFC / WSDL) on a box and when
> > I attempt to access it via browser, I am prompted to login (network).
> > We have to lock down alot of items and was wondering if we
> > installed a CERT on the box, would we be able to access the
> > Web Service w/o the login?
> >
> > The CFC functions just fine, I have tested it to ensure they
> > are no errors present. The error when registering via CF Admin is:
> > "Error creating web service. Please check the web service
> > name and/or url."
> >
> > That is basically what the error reads. Thus lead me to run
> > the CFC locally and found the login issue. I can not pass the
> > username/password via CFInvoke tag as other people externally
> > would be accessing the Web Service.
>
> How you can access the web service is entirely controlled by the
> configuration of the server hosting the web service. But, I don't
> understand
> the part about why you can't pass the username and password. Will the
> external people connect outside of your app? If so, they'll need usernames
> and passwords, or you'll have to have the authentication turned off.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
>
> 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311423
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Web Services & CERT

2008-08-22 Thread Dave Watts
> We are creating a web service (CFC / WSDL) on a box and when 
> I attempt to access it via browser, I am prompted to login (network).
> We have to lock down alot of items and was wondering if we 
> installed a CERT on the box, would we be able to access the 
> Web Service w/o the login?
> 
> The CFC functions just fine, I have tested it to ensure they 
> are no errors present. The error when registering via CF Admin is:
> "Error creating web service. Please check the web service 
> name and/or url."
> 
> That is basically what the error reads. Thus lead me to run 
> the CFC locally and found the login issue. I can not pass the 
> username/password via CFInvoke tag as other people externally 
> would be accessing the Web Service.

How you can access the web service is entirely controlled by the
configuration of the server hosting the web service. But, I don't understand
the part about why you can't pass the username and password. Will the
external people connect outside of your app? If so, they'll need usernames
and passwords, or you'll have to have the authentication turned off.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311421
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Just a question/discussion point RE: Web services..

2007-03-26 Thread Tom Chiverton
On Friday 23 Mar 2007, James Holmes wrote:
> I don't know why this myth is perpetuating.

Because it is still the case that the WSDL doesn't fully describe the output 
data types, if you return a Query.

-- 
Tom Chiverton
Helping to proactively improve market-driven market-growth
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273697
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Just a question/discussion point RE: Web services..

2007-03-25 Thread Dean Lawrence
That I agree with. 8-)

On 3/25/07, Robertson-Ravo, Neil (RX)
<[EMAIL PROTECTED]> wrote:
> OK, to re-phrase, a good web service would be have a simple string return
> (complex object object as string) to make it totally interop.

-- 
__
Dean Lawrence, CIO/Partner
Internet Data Technology
888.GET.IDT1 ext. 701 * fax: 888.438.4381
http://www.idatatech.com/
Corporate Internet Development and Marketing Specialists

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273669
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Just a question/discussion point RE: Web services..

2007-03-25 Thread Robertson-Ravo, Neil (RX)
OK, to re-phrase, a good web service would be have a simple string return
(complex object object as string) to make it totally interop.








"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: Dean Lawrence
To: CF-Talk
Sent: Sun Mar 25 19:22:50 2007
Subject: Re: Just a question/discussion point RE: Web services..

On 3/24/07, Robertson-Ravo, Neil (RX)
<[EMAIL PROTECTED]> wrote:
> Basically, if you want your webservice to be consumed over the web by
other
> technologies then your return needs to be a string (but that string can be
> anything - XML Encoded String (not a ColdFusion XML object) Array etc).
>

That's not true. I have a web service that I wrote that returns a
structure that contains both simple strings (success status, etc.) and
a CF query object. I am able to consume this and transverse the
results using PHP 4 without any problem (and I don't know PHP very
well).

Dean

-- 
__
Dean Lawrence, CIO/Partner
Internet Data Technology
888.GET.IDT1 ext. 701 * fax: 888.438.4381
http://www.idatatech.com/
Corporate Internet Development and Marketing Specialists



~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273667
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Just a question/discussion point RE: Web services..

2007-03-25 Thread Dean Lawrence
On 3/24/07, Robertson-Ravo, Neil (RX)
<[EMAIL PROTECTED]> wrote:
> Basically, if you want your webservice to be consumed over the web by other
> technologies then your return needs to be a string (but that string can be
> anything - XML Encoded String (not a ColdFusion XML object) Array etc).
>

That's not true. I have a web service that I wrote that returns a
structure that contains both simple strings (success status, etc.) and
a CF query object. I am able to consume this and transverse the
results using PHP 4 without any problem (and I don't know PHP very
well).

Dean

-- 
__
Dean Lawrence, CIO/Partner
Internet Data Technology
888.GET.IDT1 ext. 701 * fax: 888.438.4381
http://www.idatatech.com/
Corporate Internet Development and Marketing Specialists

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273666
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Just a question/discussion point RE: Web services..

2007-03-24 Thread Robertson-Ravo, Neil (RX)
Basically, if you want your webservice to be consumed over the web by other
technologies then your return needs to be a string (but that string can be
anything - XML Encoded String (not a ColdFusion XML object) Array etc).




"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: Jeff Small
To: CF-Talk
Sent: Fri Mar 23 16:03:44 2007
Subject: Re: Just a question/discussion point RE: Web services..

> If I recall correctly, it's actually discussed directly within the CF
> documentation. But basically, it boils down to creating CFC instances to
> replace structures. For example, if you wanted to have information about a
> person in a structure, you would instead define and use a CFC to represent
> that information. Your CFC would have nothing but CFPROPERTY tags, which
> would essentially be used to provide named properties that would 
> correspond
> to your structure keys; something like this:
>
> 
> 
> 
> 

Man, I've re-read that three times now, and I'm just NOT following it. I'm 
so sorry Dave, but isn't the CFC the webservice? So you'd call for instance,

"getPerson()" but that's not a method?

> Then, within your web service, instead of returning a structure (or an 
> array
> of structures), you'd return a Person object (or an array of Person
> objects).

But would an "object" be a cross platform "object" simply because I said it 
was? Who defines what a "person object" is? Is a "person object" the same in

PHP as it is in CF as it is in .Net?

Again, I apologize, but there seems to be something here that I'm just 
missing.

This all stems from a web service that I'm trying to access that's just not 
returning ANYTHING that resembles the results I'm expecting. So I decided to

just try and write my own "web service" that could be invoked remotely and 
return live data. I got that working really easily, but then realized that I

was just returning CF "objects" (structs, arrays, query objects) that were 
fine in CF, but would be worthless to anyone else. That's when I started to 
realize that maybe there's a problem with the form of the data that this web

service was returning, and I started down this road... I just haven't had an

opportunity to work with WSDL and web services or XML very much, so I'm just

in WAY unfamiliar territory...






~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273643
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Just a question/discussion point RE: Web services..

2007-03-23 Thread James Holmes
I don't know why this myth is perpetuating.

I've written simple c# code to loop through a query returned from a CF
webservice. It was based on something I found with Google and I see
others have since blogged the same solution:

http://www.firemoss.com/blog/index.cfm?mode=entry&entry=3A325BDD-E081-2BAC-695618079678B316


PHP should be straightforward too.

The "issue" is that there isn't a single native object that
corresponds to a CF querybean type. So what? Looping through the array
that a querybean represents is just a tiny bit more work. Write a
function to do it and it's fixed forever.

On 3/23/07, Jeff Small <[EMAIL PROTECTED]> wrote:
> Okay, so I write a CFC. I set access="remote" and poof, I have a web 
> service... right?
>
> So if I write a method, let's say, "getComics()" and it returns a query 
> object... well, that's just not going to work for people who aren't using CF, 
> right? I mean, if I'm using CF and invoking the method using the web service 
> url, I can output it, dump it, loop thru it, etc. But, if I'm using something 
> other than CF, I wouldn't have any way to move thru that data, would I? In 
> other words, PHP doesn't know what a ColdFusion Query object is.
>
> What's the approach here? What's the next step to making something that 
> people using .net or PHP can return and use?
>
> Apologies in advance if this has already been rehashed before, but I'm 
> genuinely kinda stumped about how to proceed, and I'm not even sure really 
> where to go next for the "next step" here that I've obviously stumbled 
> onto... I know the short answer HAS to be "XML", but I'm not quite sure 
> *how*...
>
>
> 

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273628
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Just a question/discussion point RE: Web services..

2007-03-23 Thread Tom Chiverton
On Friday 23 Mar 2007, Jeff Small wrote:
> Man, I've re-read that three times now, and I'm just NOT following it. I'm
> so sorry Dave, but isn't the CFC the webservice? So you'd call for
> instance, "getPerson()" but that's not a method?

Yes, the CFC is the webservice, yes it has a method getPerson() you can call 
from .Net or whatever.
Inside the CFC, you do:







> But would an "object" be a cross platform "object" simply because I said it
> was? 

Because you said so :-)
The cfproperty's get built into the WSDL that other people use to connect to 
the webservice, so they know what you mean by 'person'.
Open the WSDL in your favourite plain text editor and you should recognise 
(some) bits of it straight off.

-- 
Tom Chiverton
Helping to seamlessly develop plug-and-play content
On: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273558
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Just a question/discussion point RE: Web services..

2007-03-23 Thread Dave Watts
> Man, I've re-read that three times now, and I'm just NOT 
> following it. I'm so sorry Dave, but isn't the CFC the 
> webservice? So you'd call for instance, "getPerson()" but 
> that's not a method?

You'd have a CFC that contains the web service method(s), and that CFC would
use another CFC to define the return value datatype. The CFC example that I
included would be the latter one, which just contains CFPROPERTY tags. Your
getPerson method would return one of these CFC instances instead of
returning a structure.

> But would an "object" be a cross platform "object" simply 
> because I said it was? Who defines what a "person object" is? 
> Is a "person object" the same in PHP as it is in CF as it is 
> in .Net?

The point of SOAP is to take care of these things for you. (If only it did a
better job at this!) So, yes, your person object would have the same
attributes regardless of the language.

> This all stems from a web service that I'm trying to access 
> that's just not returning ANYTHING that resembles the results 
> I'm expecting. So I decided to just try and write my own "web 
> service" that could be invoked remotely and return live data. 
> I got that working really easily, but then realized that I 
> was just returning CF "objects" (structs, arrays, query 
> objects) that were fine in CF, but would be worthless to 
> anyone else. That's when I started to realize that maybe 
> there's a problem with the form of the data that this web 
> service was returning, and I started down this road... I just 
> haven't had an opportunity to work with WSDL and web services 
> or XML very much, so I'm just in WAY unfamiliar territory...

Queries and structures aren't defined in SOAP, but arrays are. If you define
custom objects as described previously, and use those in place of
structures, those will be properly represented in SOAP.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

This email has been processed by SmoothZap - www.smoothwall.net


~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273559
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Just a question/discussion point RE: Web services..

2007-03-23 Thread Jeff Small
> If I recall correctly, it's actually discussed directly within the CF
> documentation. But basically, it boils down to creating CFC instances to
> replace structures. For example, if you wanted to have information about a
> person in a structure, you would instead define and use a CFC to represent
> that information. Your CFC would have nothing but CFPROPERTY tags, which
> would essentially be used to provide named properties that would 
> correspond
> to your structure keys; something like this:
>
> 
> 
> 
> 

Man, I've re-read that three times now, and I'm just NOT following it. I'm 
so sorry Dave, but isn't the CFC the webservice? So you'd call for instance, 
"getPerson()" but that's not a method?

> Then, within your web service, instead of returning a structure (or an 
> array
> of structures), you'd return a Person object (or an array of Person
> objects).

But would an "object" be a cross platform "object" simply because I said it 
was? Who defines what a "person object" is? Is a "person object" the same in 
PHP as it is in CF as it is in .Net?

Again, I apologize, but there seems to be something here that I'm just 
missing.

This all stems from a web service that I'm trying to access that's just not 
returning ANYTHING that resembles the results I'm expecting. So I decided to 
just try and write my own "web service" that could be invoked remotely and 
return live data. I got that working really easily, but then realized that I 
was just returning CF "objects" (structs, arrays, query objects) that were 
fine in CF, but would be worthless to anyone else. That's when I started to 
realize that maybe there's a problem with the form of the data that this web 
service was returning, and I started down this road... I just haven't had an 
opportunity to work with WSDL and web services or XML very much, so I'm just 
in WAY unfamiliar territory...




~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273553
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Just a question/discussion point RE: Web services..

2007-03-23 Thread Dave Watts
> > > What's the approach here? What's the next step to making 
> > > something that people using .net or PHP can return and use?
> 
> > Create an array of transfer objects (objects with just cfproperty 
> > tags) or convert it to XML.
>
> Any pages anyone can recommend dealing with this? Tutorials? 
> Best Practices, etc? Beuller? Beuller? 

If I recall correctly, it's actually discussed directly within the CF
documentation. But basically, it boils down to creating CFC instances to
replace structures. For example, if you wanted to have information about a
person in a structure, you would instead define and use a CFC to represent
that information. Your CFC would have nothing but CFPROPERTY tags, which
would essentially be used to provide named properties that would correspond
to your structure keys; something like this:






Then, within your web service, instead of returning a structure (or an array
of structures), you'd return a Person object (or an array of Person
objects).

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

This email has been processed by SmoothZap - www.smoothwall.net


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273540
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Just a question/discussion point RE: Web services..

2007-03-23 Thread Tom Chiverton
On Friday 23 Mar 2007, Jeff Small wrote:
> Beuller? Beuller?

Who / What ?

-- 
Tom Chiverton
Helping to vitalistically introduce cross-platform products
On: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273539
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Just a question/discussion point RE: Web services..

2007-03-23 Thread Heald, Timothy J
XML is the right answer.

I'm not sure how well WDDX is supported across platforms, I know it was
an open standard, but I remember something about there being version
differences.  If it's all caught up you could simply serialize it using
the built in WDDX functions and pass it that way.

Or you could just use the XML functions in CF to create your own model
that works with the data you're transferring.

-Original Message-
From: Jeff Small [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 23, 2007 10:05 AM
To: CF-Talk
Subject: Just a question/discussion point RE: Web services..

Okay, so I write a CFC. I set access="remote" and poof, I have a web
service... right?

So if I write a method, let's say, "getComics()" and it returns a query
object... well, that's just not going to work for people who aren't
using CF, right? I mean, if I'm using CF and invoking the method using
the web service url, I can output it, dump it, loop thru it, etc. But,
if I'm using something other than CF, I wouldn't have any way to move
thru that data, would I? In other words, PHP doesn't know what a
ColdFusion Query object is.

What's the approach here? What's the next step to making something that
people using .net or PHP can return and use? 

Apologies in advance if this has already been rehashed before, but I'm
genuinely kinda stumped about how to proceed, and I'm not even sure
really where to go next for the "next step" here that I've obviously
stumbled onto... I know the short answer HAS to be "XML", but I'm not
quite sure *how*...




~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273532
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Just a question/discussion point RE: Web services..

2007-03-23 Thread Jeff Small
> > What's the approach here? What's the next step to making something that
> > people using .net or PHP can return and use?

> Create an array of transfer objects (objects with just cfproperty tags) or
> convert it to XML.

Any pages anyone can recommend dealing with this? Tutorials? Best Practices, 
etc? Beuller? Beuller? 



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273529
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Just a question/discussion point RE: Web services..

2007-03-23 Thread Tom Chiverton
On Friday 23 Mar 2007, Jeff Small wrote:
> So if I write a method, let's say, "getComics()" and it returns a query
> object... well, that's just not going to work for people who aren't using
> CF, right? 

Not well, no.

> What's the approach here? What's the next step to making something that
> people using .net or PHP can return and use?

Create an array of transfer objects (objects with just cfproperty tags) or 
convert it to XML.

-- 
Tom Chiverton
Helping to seamlessly participate edge-of-your-seat e-business
On: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273527
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Just a question/discussion point RE: Web services..

2007-03-23 Thread Jeff Small
Okay, so I write a CFC. I set access="remote" and poof, I have a web service... 
right?

So if I write a method, let's say, "getComics()" and it returns a query 
object... well, that's just not going to work for people who aren't using CF, 
right? I mean, if I'm using CF and invoking the method using the web service 
url, I can output it, dump it, loop thru it, etc. But, if I'm using something 
other than CF, I wouldn't have any way to move thru that data, would I? In 
other words, PHP doesn't know what a ColdFusion Query object is.

What's the approach here? What's the next step to making something that people 
using .net or PHP can return and use? 

Apologies in advance if this has already been rehashed before, but I'm 
genuinely kinda stumped about how to proceed, and I'm not even sure really 
where to go next for the "next step" here that I've obviously stumbled onto... 
I know the short answer HAS to be "XML", but I'm not quite sure *how*...


~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273526
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Web services

2006-12-27 Thread Dave Watts
> The wsdl extension can be disabled by administrators. If that 
> is the case then this feature would have to be enabled to 
> allow web services to be used .

CF doesn't use a WSDL extension. To get WSDL from a CF web service, you
specify a URL parameter:

http://.../myservice.cfc?wsdl

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:265162
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Web services

2006-12-27 Thread James Mc
The wsdl extension can be disabled by administrators. If that is the case then 
this feature would have to be enabled to allow web services to be used . 

This may or may not be the case but it is a possibility. 

>> Also, make sure that webservices are enabled in the web 
>> server. IIS I believe defaults to disabled for webservices.
>
>There is nothing special you need to do in IIS to publish CF web services.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>
>Fig Leaf Software provides the highest caliber vendor-authorized
>instruction at our training centers in Washington DC, Atlanta,
>Chicago, Baltimore, Northern Virginia, or on-site at your location.
>Visit http://training.figleaf.com/ for more information!

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:265150
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Web services

2006-12-26 Thread Rukmaj Chandavar
 
Hi James,

I am sorry to say that I don't know how to implement both of your
suggestions. I would be glad to see some detailed steps on implementing both
suggestions.

Thanks and regards,
Rukmaj Chandavar
GIS Professional
 
Mobile: +91 98456 11668
Email: [EMAIL PROTECTED]

IM - [EMAIL PROTECTED] (MSN)
   [EMAIL PROTECTED] (Yahoo)


This e-mail transmission is intended only for the use of the individual or
entity named above and may contain information that is confidential,
privileged, and exempt from disclosure under applicable law. If you are not
the intended recipient, you are hereby notified that any disclosure,
copying, distribution, or use of any of the information contained in this
transmission is strictly prohibited. If you have received this transmission
in error, please immediately notify me by e-mail at the above address. 




-Original Message-
From: James Mc [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 26, 2006 8:46 PM
To: CF-Talk
Subject: Re: Web services

Is your .cfc mapped in your web server confguration ?
Also, make sure that webservices are enabled in the web server. IIS I
believe defaults to disabled for webservices.


>Hi All,
>
>I am quite new to CF webservices, I am trying an example and when I try 
>to create a WSDL file I don't get any XML file displayed. I only get 
>the contents of the CFC file instead.
>
>Could someone help me in this regard.
>
>Thanks for your help in advance.



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:265062
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Web services

2006-12-26 Thread Dave Watts
> Also, make sure that webservices are enabled in the web 
> server. IIS I believe defaults to disabled for webservices.

There is nothing special you need to do in IIS to publish CF web services.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:265045
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Web services

2006-12-26 Thread Chuck Weidler
Make sure you are invoking or creating the object as a web service and not a 
component.

Example:  ws = CreateObject("webservice", 
"http://#wshost#/#wspath#/#wserv#?wsdl";);

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:265013
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Web services

2006-12-26 Thread James Mc
Is your .cfc mapped in your web server confguration ?
Also, make sure that webservices are enabled in the web server. IIS I believe 
defaults to disabled for webservices.


>Hi All,
>
>I am quite new to CF webservices, I am trying an example and when I try to
>create a WSDL file I don't get any XML file displayed. I only get the
>contents of the CFC file instead.
>
>Could someone help me in this regard.
>
>Thanks for your help in advance.

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:265001
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Web services

2006-12-26 Thread Rukmaj Chandavar
Could anyone out there help me please


Thanks and regards,
Rukmaj Chandavar
GIS Professional
 
Mobile: +91 98456 11668
Email: [EMAIL PROTECTED]

IM - [EMAIL PROTECTED] (MSN)
   [EMAIL PROTECTED] (Yahoo)


This e-mail transmission is intended only for the use of the individual or
entity named above and may contain information that is confidential,
privileged, and exempt from disclosure under applicable law. If you are not
the intended recipient, you are hereby notified that any disclosure,
copying, distribution, or use of any of the information contained in this
transmission is strictly prohibited. If you have received this transmission
in error, please immediately notify me by e-mail at the above address. 




-Original Message-
From: Will Swain [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 19, 2006 3:34 PM
To: CF-Talk
Subject: RE: Web services

Is access set to remote in the cffunction? You need to if you want to expose
it as a webservice.

Cheers

will



-Original Message-
From: Rukmaj Chandavar [mailto:[EMAIL PROTECTED]
Sent: 19 December 2006 09:53
To: CF-Talk
Subject: Re: Web services

Hi James,

Yes, I am trying with .cfc?wsdl also when I try to use it as a simple
component I don't get any error I can use the component without any problems
in any of the other cfml pages.

Cheers,
Rukmaj


On 12/19/06, James Holmes <[EMAIL PROTECTED]> wrote:
>
> add ?wsdl to the URL you are viewing
>
> On 12/19/06, Rukmaj Chandavar <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > I am quite new to CF webservices, I am trying an example and when I 
> > try
> to
> > create a WSDL file I don't get any XML file displayed. I only get 
> > the contents of the CFC file instead.
> >
> > Could someone help me in this regard.
> >
> > Thanks for your help in advance.
> >
> >
> >
>
> 





~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:264989
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Web services being called by non cf source

2006-12-20 Thread Snake
I guess I missed that, easy to do on this list :-) 

-Original Message-
From: Andrew Scott [mailto:[EMAIL PROTECTED] 
Sent: 21 December 2006 00:56
To: CF-Talk
Subject: RE: Web services being called by non cf source

Seems strange that I told you to update to 7.02 if you hadn't in my first
post to that there where some bug fixes with webservices:-)



Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  8676 4223
Mobile: 0404 998 273


-Original Message-
From: Snake [mailto:[EMAIL PROTECTED]
Sent: Thursday, 21 December 2006 11:02 AM
To: CF-Talk
Subject: RE: Web services being called by non cf source

Solved it.

It is some screwed up problem with the encoding that AXIS does. For whatever
reason the encoding method is changed from XSD to SOAPENC after calling an
external web service.
Upgrading to 7.0.2 resolves this, presumably due to an updated AXIS driver.

Russ

-Original Message-
From: Snake [mailto:[EMAIL PROTECTED]
Sent: 20 December 2006 23:31
To: CF-Talk
Subject: RE: Web services being called by non cf source

Dave,

OK I missed the fact that it did an initial GET, this wasn't showing in my
packet sniffer, but I can now see it. The endpoint does resolve
successfully, you can browse the cfc?wsdl via the browser.

I have now noticed the following.

The first time round, the response to the GET has the following data types
in the response.



  

  

  



After we run our VRN page that contacts the other remote web service, the
toolbar then starts doing GETS again (not sure why), but stops posting. But
I noticed that CF has now changed the data types it sends back in the
response, which I presume is the problem.



  

  

  



Does this shed any light on the situation.

Russ
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: 20 December 2006 19:41
To: CF-Talk
Subject: RE: Web services being called by non cf source

> Having been monitoring the http traffic more, I have noticed this.
> 
> The toolbar normally does a POST to mycfc.cfc As soon as we run the 
> CFM file that calls the other web service, the toolbar then 
> mysteriously starts doing a GET to mycfc.cfc?wsdl, thus why it is 
> failing.
> 
> I have no idea how this could happen. There is no prior communication 
> to this happening, no data sent back that could force the toolbar to 
> use GET instead of POST, i.e. no redirection header or anything.

I'm a bit confused. Normally, if you publish a SOAP web service, the URL
given to the client is that of the WSDL file, so your toolbar appears to be
doing the right thing. The client GETs the WSDL, and learns the details of
your service from it. It can't POST to the actual service endpoint without
this information.

So, these questions come to mind:
Why were you expecting something different? 
Is the client able to retrieve the WSDL successfully?
Can you resolve the endpoint URL successfully from one of the clients in
question?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized instruction
at our training centers in Washington DC, Atlanta, Chicago, Baltimore,
Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!









~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:264680
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Web services being called by non cf source

2006-12-20 Thread Andrew Scott
Seems strange that I told you to update to 7.02 if you hadn't in my first
post to that there where some bug fixes with webservices:-)



Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  8676 4223
Mobile: 0404 998 273


-Original Message-
From: Snake [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 21 December 2006 11:02 AM
To: CF-Talk
Subject: RE: Web services being called by non cf source

Solved it.

It is some screwed up problem with the encoding that AXIS does. For whatever
reason the encoding method is changed from XSD to SOAPENC after calling an
external web service.
Upgrading to 7.0.2 resolves this, presumably due to an updated AXIS driver.

Russ

-Original Message-
From: Snake [mailto:[EMAIL PROTECTED] 
Sent: 20 December 2006 23:31
To: CF-Talk
Subject: RE: Web services being called by non cf source

Dave,

OK I missed the fact that it did an initial GET, this wasn't showing in my
packet sniffer, but I can now see it. The endpoint does resolve
successfully, you can browse the cfc?wsdl via the browser.

I have now noticed the following.

The first time round, the response to the GET has the following data types
in the response.



  

  

  



After we run our VRN page that contacts the other remote web service, the
toolbar then starts doing GETS again (not sure why), but stops posting. But
I noticed that CF has now changed the data types it sends back in the
response, which I presume is the problem.



  

  

  



Does this shed any light on the situation.

Russ
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: 20 December 2006 19:41
To: CF-Talk
Subject: RE: Web services being called by non cf source

> Having been monitoring the http traffic more, I have noticed this.
> 
> The toolbar normally does a POST to mycfc.cfc As soon as we run the 
> CFM file that calls the other web service, the toolbar then 
> mysteriously starts doing a GET to mycfc.cfc?wsdl, thus why it is 
> failing.
> 
> I have no idea how this could happen. There is no prior communication 
> to this happening, no data sent back that could force the toolbar to 
> use GET instead of POST, i.e. no redirection header or anything.

I'm a bit confused. Normally, if you publish a SOAP web service, the URL
given to the client is that of the WSDL file, so your toolbar appears to be
doing the right thing. The client GETs the WSDL, and learns the details of
your service from it. It can't POST to the actual service endpoint without
this information.

So, these questions come to mind:
Why were you expecting something different? 
Is the client able to retrieve the WSDL successfully?
Can you resolve the endpoint URL successfully from one of the clients in
question?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized instruction
at our training centers in Washington DC, Atlanta, Chicago, Baltimore,
Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!







~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:264679
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Web services being called by non cf source

2006-12-20 Thread Snake
Solved it.

It is some screwed up problem with the encoding that AXIS does. For whatever
reason the encoding method is changed from XSD to SOAPENC after calling an
external web service.
Upgrading to 7.0.2 resolves this, presumably due to an updated AXIS driver.

Russ

-Original Message-
From: Snake [mailto:[EMAIL PROTECTED] 
Sent: 20 December 2006 23:31
To: CF-Talk
Subject: RE: Web services being called by non cf source

Dave,

OK I missed the fact that it did an initial GET, this wasn't showing in my
packet sniffer, but I can now see it. The endpoint does resolve
successfully, you can browse the cfc?wsdl via the browser.

I have now noticed the following.

The first time round, the response to the GET has the following data types
in the response.



  

  

  



After we run our VRN page that contacts the other remote web service, the
toolbar then starts doing GETS again (not sure why), but stops posting. But
I noticed that CF has now changed the data types it sends back in the
response, which I presume is the problem.



  

  

  



Does this shed any light on the situation.

Russ
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: 20 December 2006 19:41
To: CF-Talk
Subject: RE: Web services being called by non cf source

> Having been monitoring the http traffic more, I have noticed this.
> 
> The toolbar normally does a POST to mycfc.cfc As soon as we run the 
> CFM file that calls the other web service, the toolbar then 
> mysteriously starts doing a GET to mycfc.cfc?wsdl, thus why it is 
> failing.
> 
> I have no idea how this could happen. There is no prior communication 
> to this happening, no data sent back that could force the toolbar to 
> use GET instead of POST, i.e. no redirection header or anything.

I'm a bit confused. Normally, if you publish a SOAP web service, the URL
given to the client is that of the WSDL file, so your toolbar appears to be
doing the right thing. The client GETs the WSDL, and learns the details of
your service from it. It can't POST to the actual service endpoint without
this information.

So, these questions come to mind:
Why were you expecting something different? 
Is the client able to retrieve the WSDL successfully?
Can you resolve the endpoint URL successfully from one of the clients in
question?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized instruction
at our training centers in Washington DC, Atlanta, Chicago, Baltimore,
Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!





~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:264676
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Web services being called by non cf source

2006-12-20 Thread Snake
Dave,

OK I missed the fact that it did an initial GET, this wasn't showing in my
packet sniffer, but I can now see it. The endpoint does resolve
successfully, you can browse the cfc?wsdl via the browser.

I have now noticed the following.

The first time round, the response to the GET has the following data types
in the response.



  

  

  



After we run our VRN page that contacts the other remote web service, the
toolbar then starts doing GETS again (not sure why), but stops posting. But
I noticed that CF has now changed the data types it sends back in the
response, which I presume is the problem.



  

  

  



Does this shed any light on the situation.

Russ
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: 20 December 2006 19:41
To: CF-Talk
Subject: RE: Web services being called by non cf source

> Having been monitoring the http traffic more, I have noticed this.
> 
> The toolbar normally does a POST to mycfc.cfc As soon as we run the 
> CFM file that calls the other web service, the toolbar then 
> mysteriously starts doing a GET to mycfc.cfc?wsdl, thus why it is 
> failing.
> 
> I have no idea how this could happen. There is no prior communication 
> to this happening, no data sent back that could force the toolbar to 
> use GET instead of POST, i.e. no redirection header or anything.

I'm a bit confused. Normally, if you publish a SOAP web service, the URL
given to the client is that of the WSDL file, so your toolbar appears to be
doing the right thing. The client GETs the WSDL, and learns the details of
your service from it. It can't POST to the actual service endpoint without
this information.

So, these questions come to mind:
Why were you expecting something different? 
Is the client able to retrieve the WSDL successfully?
Can you resolve the endpoint URL successfully from one of the clients in
question?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized instruction
at our training centers in Washington DC, Atlanta, Chicago, Baltimore,
Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:264671
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Web services being called by non cf source

2006-12-20 Thread Dave Watts
> Having been monitoring the http traffic more, I have noticed this.
> 
> The toolbar normally does a POST to mycfc.cfc As soon as we 
> run the CFM file that calls the other web service, the 
> toolbar then mysteriously starts doing a GET to 
> mycfc.cfc?wsdl, thus why it is failing.
> 
> I have no idea how this could happen. There is no prior 
> communication to this happening, no data sent back that could 
> force the toolbar to use GET instead of POST, i.e. no 
> redirection header or anything.

I'm a bit confused. Normally, if you publish a SOAP web service, the URL
given to the client is that of the WSDL file, so your toolbar appears to be
doing the right thing. The client GETs the WSDL, and learns the details of
your service from it. It can't POST to the actual service endpoint without
this information.

So, these questions come to mind:
Why were you expecting something different? 
Is the client able to retrieve the WSDL successfully?
Can you resolve the endpoint URL successfully from one of the clients in
question?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:264641
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Web services being called by non cf source

2006-12-20 Thread Snake
Having been monitoring the http traffic more, I have noticed this.

The toolbar normally does a POST to mycfc.cfc
As soon as we run the CFM file that calls the other web service, the toolbar
then mysteriously starts doing a GET to mycfc.cfc?wsdl, thus why it is
failing.

I have no idea how this could happen. There is no prior communication to
this happening, no data sent back that could force the toolbar to use GET
instead of POST, i.e. no redirection header or anything.

Very weird
 

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: 20 December 2006 16:41
To: CF-Talk
Subject: RE: Web services being called by non cf source

So the only difference here is whether it is being called via CFM or via the
tooobar (VB)

That's why I was suggesting, probably a long shot, that the VB code maybe
very impatient.  That it is not waiting long enough for a delayed response
where as the CFM page is more patient and waits.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any attachments is for the
sole use of the intended
recipient(s) and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited. If you
are not the intended recipient, please contact the sender and delete any
copies of this message. 






~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:264635
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Web services being called by non cf source

2006-12-20 Thread Ian Skinner
So the only difference here is whether it is being called via CFM or via the 
tooobar (VB)

That's why I was suggesting, probably a long shot, that the VB code maybe very 
impatient.  That it is not waiting long enough for a delayed response where as 
the CFM page is more patient and waits.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:264608
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Web services being called by non cf source

2006-12-20 Thread Snake
No, otherwise the toolbar would never work.
There is no way a cfm page on a server can access the clients firewall
setitngs.

I think you don't quite understand the scenario.

We have mywebservice.cfc, which is called by the toolbar, all workds fine.
This toolbar is used by hundreds of different people on different pc's in
different locations.
We then have callremoteservice.cfm, this page has nothing to do with the
above one. IT invokes another webservice on another site that is nothing to
do with us. 
When callremoteservice.cfm is run, it somehow breaks mywebservice.cfc and
the toolbar can no longer get a response from it.

I have been using a http packet sniffer to watch what happens, and the
result is this.

The toolbar will be calling mywebservice.cfc
After callremoteservice.cfm is executed
The sniffer then shows that the url being called by the toolbar changes to
mywebservice.cfc?wsdl, and thus the response it gets back is the WSDL
schema, and the cfc never executes. The toolbar itself doesn't change the
url, as it would have no knowledge of callremoteservice.cfm and if it has
been executed.
So I'm wondering if CF is somehow redirecting or something?

Russ




-Original Message-
From: Jim Wright [mailto:[EMAIL PROTECTED] 
Sent: 20 December 2006 12:17
To: CF-Talk
Subject: Re: Web services being called by non cf source

Snake wrote:
> Yet calling the same web service in the same way via a CFM page causes 
> no problems, even when the toolbar cannot get any response, the cfm 
> page gets a response from the web service just fine.

Is it possible that you have a software firewall that is blocking calls from
that app?



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:264605
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Web services being called by non cf source

2006-12-20 Thread Snake
Well I consider this, but it is only the toolbar that is getitng no response
from the cfc. I fI call the cfc via a cfm test page, it works fine.
So the only difference here is whether it is being called via CFM or via the
tooobar (VB) 

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: 20 December 2006 15:44
To: CF-Talk
Subject: RE: Web services being called by non cf source

so how one can affect the other I do not know, very odd

Just some random thoughts.

Can one be using up some resource when it is running; bandwidth, cpu,
threads, something.  So that the toobar is not waiting and timing out, while
the cf version is more patient and waits for the resource to become
available and returns the desired result.




--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any attachments is for the
sole use of the intended
recipient(s) and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited. If you
are not the intended recipient, please contact the sender and delete any
copies of this message. 






~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:264606
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Web services being called by non cf source

2006-12-20 Thread Ian Skinner
so how one can affect the other I do not know, very odd

Just some random thoughts.

Can one be using up some resource when it is running; bandwidth, cpu, threads, 
something.  So that the toobar is not waiting and timing out, while the cf 
version is more patient and waits for the resource to become available and 
returns the desired result.




--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:264577
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Web services

2006-12-20 Thread Rukmaj Chandavar
Yes it has been.

Cheers,
Rukmaj

On 12/19/06, Will Swain <[EMAIL PROTECTED]> wrote:
>
> Is access set to remote in the cffunction? You need to if you want to
> expose
> it as a webservice.
>
> Cheers
>
> will
>
>
>
> -Original Message-
> From: Rukmaj Chandavar [mailto:[EMAIL PROTECTED]
> Sent: 19 December 2006 09:53
> To: CF-Talk
> Subject: Re: Web services
>
> Hi James,
>
> Yes, I am trying with .cfc?wsdl also when I try to use it as a simple
> component I don't get any error I can use the component without any
> problems
> in any of the other cfml pages.
>
> Cheers,
> Rukmaj
>
>
> On 12/19/06, James Holmes <[EMAIL PROTECTED]> wrote:
> >
> > add ?wsdl to the URL you are viewing
> >
> > On 12/19/06, Rukmaj Chandavar <[EMAIL PROTECTED]> wrote:
> > > Hi All,
> > >
> > > I am quite new to CF webservices, I am trying an example and when I
> > > try
> > to
> > > create a WSDL file I don't get any XML file displayed. I only get
> > > the contents of the CFC file instead.
> > >
> > > Could someone help me in this regard.
> > >
> > > Thanks for your help in advance.
> > >
> > >
> > >
> >
> >
>
>
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:264575
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Web services being called by non cf source

2006-12-20 Thread Snake
Ah ok. Well I'll try that.
We have found the cause of the problem, but why is still a mystery.
It seems that a new cfm file was deployed, which connects to an external non
cf web service to collect some data.
Whenever this file is executed it somehow screws up OUR web service, but
only when the toolbar calls it, we can still call our web service via a CF
page just fine.
I have no idea how or why as the two things are totally separate files, do
not even access the same tables in the database, so how one can affect the
other I do not know, very odd

Russ



-Original Message-
From: Andrew Scott [mailto:[EMAIL PROTECTED] 
Sent: 20 December 2006 01:31
To: CF-Talk
Subject: RE: Web services being called by non cf source

Actually that is not true, if the webservice is coldfusion then you can
debug the request:-) Have done it already myself.


Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  8676 4223
Mobile: 0404 998 273

-Original Message-
From: Snake [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 20 December 2006 12:29 PM
To: CF-Talk
Subject: RE: Web services being called by non cf source

Alas fusion debug wont help me here as it is a VB application.
The web service is returning nothing to the app, no response at all. Neithe
rthe VB app or the web service has been changed, which is the odd thing, yet
the problem occurs on both dev and live servers.

Russ 




~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:264549
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Web services being called by non cf source

2006-12-20 Thread Jim Wright
Snake wrote:
> Yet calling the same web service in the same way via a CFM page causes no
> problems, even when the toolbar cannot get any response, the cfm page gets a
> response from the web service just fine.

Is it possible that you have a software firewall that is blocking calls 
from that app?

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:264547
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Web services being called by non cf source

2006-12-19 Thread Andrew Scott
Actually that is not true, if the webservice is coldfusion then you can
debug the request:-) Have done it already myself.


Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  8676 4223
Mobile: 0404 998 273

-Original Message-
From: Snake [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 20 December 2006 12:29 PM
To: CF-Talk
Subject: RE: Web services being called by non cf source

Alas fusion debug wont help me here as it is a VB application.
The web service is returning nothing to the app, no response at all. Neithe
rthe VB app or the web service has been changed, which is the odd thing, yet
the problem occurs on both dev and live servers.

Russ 


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:264539
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Web services being called by non cf source

2006-12-19 Thread Snake
Alas fusion debug wont help me here as it is a VB application.
The web service is returning nothing to the app, no response at all. Neithe
rthe VB app or the web service has been changed, which is the odd thing, yet
the problem occurs on both dev and live servers.

Russ 

-Original Message-
From: Andrew Scott [mailto:[EMAIL PROTECTED] 
Sent: 19 December 2006 23:48
To: CF-Talk
Subject: RE: Web services being called by non cf source

What version of CF are you running?

If you are not running cfmx 7.02 I would highly suggest doing that, as there
was a bug fixed in webservices in one of the hotfixes regarding case
sensitivity.

Now if that is all fine, I would suggest you install this toolbar and
FusionDebug and place a break point in the application and step through the
code and see if it is running as expected.

Other than this there is also a web page out there that does tell you what
you need to do when returning different types of variables, structs etc for
other soap related programs.

Natively CF returns a different style of xml called WDDX, so the only
solution here would be to check the wsdl and see if the webservice is
returning the correct style of wsdl?

There might be another reason, but the stepping through the code with
Fusiondebug would be the best bet, because the client might be sending
information or not sending the right information or even expecting something
different when being returned, which the wsdl and stepping through the code
would  or might pick up

HTH


Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  8676 4223
Mobile: 0404 998 273




~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:264535
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Web services being called by non cf source

2006-12-19 Thread Andrew Scott
What version of CF are you running?

If you are not running cfmx 7.02 I would highly suggest doing that, as there
was a bug fixed in webservices in one of the hotfixes regarding case
sensitivity.

Now if that is all fine, I would suggest you install this toolbar and
FusionDebug and place a break point in the application and step through the
code and see if it is running as expected.

Other than this there is also a web page out there that does tell you what
you need to do when returning different types of variables, structs etc for
other soap related programs.

Natively CF returns a different style of xml called WDDX, so the only
solution here would be to check the wsdl and see if the webservice is
returning the correct style of wsdl?

There might be another reason, but the stepping through the code with
Fusiondebug would be the best bet, because the client might be sending
information or not sending the right information or even expecting something
different when being returned, which the wsdl and stepping through the code
would  or might pick up

HTH


Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  8676 4223
Mobile: 0404 998 273


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:264530
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Web services

2006-12-19 Thread Will Swain
Is access set to remote in the cffunction? You need to if you want to expose
it as a webservice.

Cheers

will



-Original Message-
From: Rukmaj Chandavar [mailto:[EMAIL PROTECTED] 
Sent: 19 December 2006 09:53
To: CF-Talk
Subject: Re: Web services

Hi James,

Yes, I am trying with .cfc?wsdl also when I try to use it as a simple
component I don't get any error I can use the component without any problems
in any of the other cfml pages.

Cheers,
Rukmaj


On 12/19/06, James Holmes <[EMAIL PROTECTED]> wrote:
>
> add ?wsdl to the URL you are viewing
>
> On 12/19/06, Rukmaj Chandavar <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > I am quite new to CF webservices, I am trying an example and when I 
> > try
> to
> > create a WSDL file I don't get any XML file displayed. I only get 
> > the contents of the CFC file instead.
> >
> > Could someone help me in this regard.
> >
> > Thanks for your help in advance.
> >
> >
> >
>
> 



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:264419
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Web services

2006-12-19 Thread Rukmaj Chandavar
Hi James,

Yes, I am trying with .cfc?wsdl also when I try to use it as a simple
component I don't get any error I can use the component without any problems
in any of the other cfml pages.

Cheers,
Rukmaj


On 12/19/06, James Holmes <[EMAIL PROTECTED]> wrote:
>
> add ?wsdl to the URL you are viewing
>
> On 12/19/06, Rukmaj Chandavar <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > I am quite new to CF webservices, I am trying an example and when I try
> to
> > create a WSDL file I don't get any XML file displayed. I only get the
> > contents of the CFC file instead.
> >
> > Could someone help me in this regard.
> >
> > Thanks for your help in advance.
> >
> >
> >
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:264418
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Web services

2006-12-18 Thread James Holmes
add ?wsdl to the URL you are viewing

On 12/19/06, Rukmaj Chandavar <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I am quite new to CF webservices, I am trying an example and when I try to
> create a WSDL file I don't get any XML file displayed. I only get the
> contents of the CFC file instead.
>
> Could someone help me in this regard.
>
> Thanks for your help in advance.
>
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:264414
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Web Services choke on HTTP Compression?

2006-12-12 Thread Michael Schreiber
Thanks, Steven!

That is brilliant.  I guess I knew that ColdFusion just used the WSDL to 
generate the stub objects, but I didn't know about the server port element 
tying it to the actual webservice server.  Saving the WSDL to my local machine 
works like a charm.

The only weirdness is that our business partner swears that they don't use HTTP 
compression on the server.  Maybe its just an incompatibility with ColdFusion, 
Web Services and SSL.

Thanks Agan!

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:263761
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Web Services choke on HTTP Compression?

2006-12-11 Thread Steven Erat
See if you can get the WSDL via CFHTTP first.  If the remote webserver
is compression the server response containing the wsdl, then perhaps
this will help with the CFHTTP call:
http://www.talkingtree.com/blog/index.cfm/2004/7/28/20040729

Then, if successful, save the WSDL locally.  Since the WSDL contains a
ServicePort property near the bottom of the file you will be able to put
the local web URI of the wsdl into the CFINVOKE tag, and the ServicePort
will be used to run the web service.

The WSDL is only used to create a local stub for ColdFusion. It doesn't
matter where the WSDL is, so long as the ServicePort reference the
actual location of the working web service.  The local stub has all the
right methods invocations and it has the right webservice location from
the ServicePort.

In psuedo code:

[cfhttp url="http://www.remoteserver.com/dosomething.wsdl";]
[cffile file="C:\inetpub\wwwroot\remoteServer_doSomething.wsdl"
output="#cfhttp.filecontent#"]
[cfinvoke webservice="http://localhost/remoteServer_doSomething.wsdl";
method="foo" result="actualWebServiceResult"]

How's that?

-Steven Erat


> -Original Message-
> From: Michael Schreiber [mailto:[EMAIL PROTECTED] 
> Sent: Monday, December 11, 2006 3:51 PM
> To: CF-Talk
> Subject: Web Services choke on HTTP Compression?
> 
> When I try to call a web service from one of our business 
> partners, I get the error: java.util.zip.ZipException: 
> unknown compression method.  This seems to have something to 
> do with HTTP Compression on the partner's server.  I've seen 
> a work-around for CFHTTP (passing additional HTTP headers), 
> but I haven't been able to track down a solution for web 
> service calls.
> 
> Has anyone had this problem before?  Any resolutions floating 
> around out there?
> 
> Background:
> 
> I'm trying to consume a webservice that I had previously used 
> just fine (via HTTP), but has recently moved to a new server 
> (using HTTPS).  I can bring up the WSDL just fine using my 
> browser. When I try to register the webservice through CF 
> Administrator, I get the error: Error creating web service. 
> Please ensure that you have entered a correct Web Service name or URL.
> 
> If I try and call the webservice from my CF code, the full 
> error message I get is:
> Name: 
> https://www.travelinsured.com/TIWebServiceQA/service.asmx?wsdl
.. WSDL: > https://www.travelinsured.com/TIWebServiceQA/service.asmx?wsdl
> . java.util.zip.ZipException: unknown compression method It 
> is recommended that you use a web browser to retrieve and 
> examine the requested WSDL document for correctness. If the 
> requested WSDL document can't be retrieved or it is 
> dynamically generated, it is likely that the target web 
> service has programming errors. 
> 
> Any help would be greatly appreciated!
> 
> Thanks!

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:263670
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Web services...SOLVED

2006-11-06 Thread Dan Plesse
You could have cleared using CF own clear web service function or go to the
admin and do it.



On 11/6/06, dsmith @ psea. org dsmith @ psea. org <[EMAIL PROTECTED]> wrote:
>
> This problem appeared to be related to DNS.  It seems that CF had an old
> address cached.  I restarted CF and it now works. Grabbing the WSDL with
> CFHTTP is a great idea to see what CF is seeing.  Many thanks for everyone
> who helped out on this.
>
> >> I can get call it from the server (IE) and get it to work.
> >> Don't think we have HTTP proxies.
> >
> >What do you get if you use CFHTTP to fetch and display the WSDL?
> >
> >Dave Watts, CTO, Fig Leaf Software
> >http://www.figleaf.com/
> >
> >Fig Leaf Software provides the highest caliber vendor-authorized
> >instruction at our training centers in Washington DC, Atlanta,
> >Chicago, Baltimore and Northern Virginia, or on-site at your location.
> >Visit http://training.figleaf.com/ for more information!
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259376
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Web services...

2006-11-06 Thread Ken Smith
This works for me in CFMX7.02.  I see your failure using CFMX6.1, which uses an 
earlier version of Axis.

My current tests fail, seemingly because authentication is now required.  I 
would suggest trying to call using cfhttp.  Alternatively, you could create and 
use java stubs to call this service.  See http://www.adobe.com/go/ea87b65.

Ken Smith
CF/JRun Server Escalation Team
Adobe Systems

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259275
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Web services...

2006-11-06 Thread Ken Smith
> Can anyone get cf to call this web service?  http://www.psealocals.
> org/ourcode/helloworld.asmx?wsdl  It just returns the "hello world".  
> I constantly get "cannot generate stub errors"   The specific message 
> is "Name: http://www.psealocals.org/ourcode/helloworld.asmx?WSDL. 
> WSDL: http://www.psealocals.org/ourcode/helloworld.asmx?WSDL. org.xml.
> sax.SAXException: Fatal Error: URI=null Line=20: Open quote is 
> expected for attribute "width" associated with an element type "hr". 
> It is recommended that you use a web browser to retrieve and examine 
> the requested WSDL document for correctness. If the requested WSDL 
> document can't be retrieved or it is dynamically generated, it is 
> likely that the target web service has programming errors."
 
> 
> Anyone have any ideas why it's complaining about an "hr" tag there's 
> none anywhere that I can find?  I've googled this to death and can't 
> seem to find anyone who's resolved this type of error.
 
> 
> Thanks,
> Daron Smith
> PSEA
> 
> "PSEA E-mail Firewall" annotation on Sun Nov 05 2006 15:06:57
> -
> NOTICE: Only the individual sender is responsible for the content of 
> the message, and the message does not necessarily reflect the position 
> or policy of the Pennsylvania State Education Association.
-

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259274
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Web services...SOLVED

2006-11-06 Thread dsmith
This problem appeared to be related to DNS.  It seems that CF had an old 
address cached.  I restarted CF and it now works. Grabbing the WSDL with CFHTTP 
is a great idea to see what CF is seeing.  Many thanks for everyone who helped 
out on this.

>> I can get call it from the server (IE) and get it to work.  
>> Don't think we have HTTP proxies.
>
>What do you get if you use CFHTTP to fetch and display the WSDL?
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
> 
>Fig Leaf Software provides the highest caliber vendor-authorized
>instruction at our training centers in Washington DC, Atlanta,
>Chicago, Baltimore and Northern Virginia, or on-site at your location.
>Visit http://training.figleaf.com/ for more information!

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259260
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Web services...

2006-11-05 Thread Dave Watts
> I can get call it from the server (IE) and get it to work.  
> Don't think we have HTTP proxies.

What do you get if you use CFHTTP to fetch and display the WSDL?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
 
Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore and Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259242
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Web services...

2006-11-05 Thread dsmith
I should also add that when I try to configure it in CFADMIN it will not 
establish.  I've also tried calling it from CFSCRIPT. 

>> Anyone have any ideas why it's complaining about an "hr" tag 
>> there's none anywhere that I can find?  I've googled this to 
>> death and can't seem to find anyone who's resolved this type 
>> of error.
>
>Presumably, something is returning an HTML page to CF. What happens if you
>go to the server console and request the URL directly? Do you have HTTP
>proxies set up in your environment?
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>
>Fig Leaf Software provides the highest caliber vendor-authorized
>instruction at our training centers in Washington DC, Atlanta,
>Chicago, Baltimore, Northern Virginia, or on-site at your location.
>Visit http://training.figleaf.com/ for more information!

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259240
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Web services...

2006-11-05 Thread dsmith
I have turned off debugging in cfadmin.  Is there a way to force no other HTML 
to be rendered?  Some directive like suppress whitespace?


>It seems to be working for me.  Do you have debugging turned on or 
>something similar, that would create extra output?
>
>--Ben
>
>Smith, Daron [PA] wrote:
>>

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259239
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Web services...

2006-11-05 Thread dsmith
>It seems to be working for me.  Do you have debugging turned on or 
>something similar, that would create extra output?
>
>--Ben
>
>Smith, Daron [PA] wrote:
>>

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259238
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Web services...

2006-11-05 Thread dsmith
I can get call it from the server (IE) and get it to work.  Don't think we have 
HTTP proxies.

>> Anyone have any ideas why it's complaining about an "hr" tag 
>> there's none anywhere that I can find?  I've googled this to 
>> death and can't seem to find anyone who's resolved this type 
>> of error.
>
>Presumably, something is returning an HTML page to CF. What happens if you
>go to the server console and request the URL directly? Do you have HTTP
>proxies set up in your environment?
>



>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>
>Fig Leaf Software provides the highest caliber vendor-authorized
>instruction at our training centers in Washington DC, Atlanta,
>Chicago, Baltimore, Northern Virginia, or on-site at your location.
>Visit http://training.figleaf.com/ for more information!

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259237
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Web services...

2006-11-05 Thread dsmith
>It seems to be working for me.  Do you have debugging turned on or 
>something similar, that would create extra output?
>
>--Ben
>
>Smith, Daron [PA] wrote:
>>

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259236
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Web services...

2006-11-05 Thread Dave Watts
> Anyone have any ideas why it's complaining about an "hr" tag 
> there's none anywhere that I can find?  I've googled this to 
> death and can't seem to find anyone who's resolved this type 
> of error.

Presumably, something is returning an HTML page to CF. What happens if you
go to the server console and request the URL directly? Do you have HTTP
proxies set up in your environment?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259235
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Web services...

2006-11-05 Thread Snake
Try removing the web service form cfadmin, u may be using a cached
connection. 

-Original Message-
From: Smith, Daron [PA] [mailto:[EMAIL PROTECTED] 
Sent: 05 November 2006 20:07
To: CF-Talk
Subject: Web services...

Can anyone get cf to call this web service?
http://www.psealocals.org/ourcode/helloworld.asmx?wsdl  It just returns the
"hello world".  I constantly get "cannot generate stub errors"   The
specific message is "Name:
http://www.psealocals.org/ourcode/helloworld.asmx?WSDL. WSDL:
http://www.psealocals.org/ourcode/helloworld.asmx?WSDL.
org.xml.sax.SAXException: Fatal Error: URI=null Line=20: Open quote is
expected for attribute "width" associated with an element type "hr". It is
recommended that you use a web browser to retrieve and examine the requested
WSDL document for correctness. If the requested WSDL document can't be
retrieved or it is dynamically generated, it is likely that the target web
service has programming errors."
 
Anyone have any ideas why it's complaining about an "hr" tag there's none
anywhere that I can find?  I've googled this to death and can't seem to find
anyone who's resolved this type of error.
 
Thanks,
Daron Smith
PSEA

"PSEA E-mail Firewall" annotation on Sun Nov 05 2006 15:06:57
-
NOTICE: Only the individual sender is responsible for the content of the
message, and the message does not necessarily reflect the position or policy
of the Pennsylvania State Education Association.
-



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259233
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Web services...

2006-11-05 Thread ben.doom
It seems to be working for me.  Do you have debugging turned on or 
something similar, that would create extra output?

--Ben

Smith, Daron [PA] wrote:
> Can anyone get cf to call this web service?  
> http://www.psealocals.org/ourcode/helloworld.asmx?wsdl  It just returns the 
> "hello world".  I constantly get "cannot generate stub errors"   The specific 
> message is "Name: http://www.psealocals.org/ourcode/he
> lloworld.asmx?WSDL. WSDL: 
> http://www.psealocals.org/ourcode/helloworld.asmx?WSDL. 
> org.xml.sax.SAXException: Fatal Error: URI=null Line=20: Open quote is 
> expected for attribute "width" associated with an element type "hr". It is 
> recommended that you use 
> a web browser to retrieve and examine the requested WSDL document for 
> correctness. If the requested WSDL document can't be retrieved or it is 
> dynamically generated, it is likely that the target web service has 
> programming errors."
>  
> Anyone have any ideas why it's complaining about an "hr" tag there's none 
> anywhere that I can find?  I've googled this to death and can't seem to find 
> anyone who's resolved this type of error.
>  
> Thanks,
> Daron Smith
> PSEA
> 
> "PSEA E-mail Firewall" annotation on Sun Nov 05 2006 15:06:57
> -
> NOTICE: Only the individual sender is responsible for the content of the 
> message, and the message does not necessarily reflect the position or policy 
> of the Pennsylvania State Education Association.
> -
> 
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259232
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Web services Error

2006-11-02 Thread dsmith
Yes if I call the wsdl from a browser I get an XML page.



>When you say "I can call the wsdl and get it from the web server." Do
>you mean, you type the path of the web service into your browser with
>"?wsdl" after it and you receive xml?
>
>~Brad
>
>-Original Message-
>From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
>Sent: Thursday, November 02, 2006 12:57 PM
>To: CF-Talk
>Subject: Web services Error
>
>I get the following error when trying to consume a .Net web service on
>another web server.  I can call the wsdl and get it from the web server.
>I can also use the .Net server to call it and it works fine.  Any
>thoughts?
>
>org.xml.sax.SAXException: Fatal Error: URI=null Line=20: Open quote is
>expected for attribute "width" associated with an element type "hr". It
>is recommended that you use a web browser to retrieve and examine the
>requested WSDL document for correctness. If the requested WSDL document
>can't be retrieved or it is dynamically generated, it is likely that the
>target web service has programming errors. 
>
>Thanks,
>Daron Smith

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258927
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Web services Error

2006-11-02 Thread Brad Wood
When you say "I can call the wsdl and get it from the web server." Do
you mean, you type the path of the web service into your browser with
"?wsdl" after it and you receive xml?

~Brad

-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 02, 2006 12:57 PM
To: CF-Talk
Subject: Web services Error

I get the following error when trying to consume a .Net web service on
another web server.  I can call the wsdl and get it from the web server.
I can also use the .Net server to call it and it works fine.  Any
thoughts?

org.xml.sax.SAXException: Fatal Error: URI=null Line=20: Open quote is
expected for attribute "width" associated with an element type "hr". It
is recommended that you use a web browser to retrieve and examine the
requested WSDL document for correctness. If the requested WSDL document
can't be retrieved or it is dynamically generated, it is likely that the
target web service has programming errors. 

Thanks,
Daron Smith



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258901
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Web Services - Not for production or development - Thanks everybody

2006-07-07 Thread Tom Chiverton
On Thursday 06 July 2006 18:50, News wrote:
> development. I paid for my software and I am using it legally. I need the
> extra IP addresses. We shouldn't have to spend extra time on things like

So run CF behind a front end proxy such as Pound, Apache or Squid.

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, 
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly
Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:245646
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4;
//Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Web Services - Not for production or development - Thanks everybody

2006-07-06 Thread News
Thanks everybody. Have been flat out. Sorry for not posting earlier.

The postprocessor servlet sounds best in the long term. The blog was useful 
too.

I really don't mind having a watermark. I am only using the CFMX Server for 
development. I paid for my software and I am using it legally. I need the 
extra IP addresses. We shouldn't have to spend extra time on things like 
this. Adobe/Macromedia should have been the ones to spend the time on 
inserting watermarks that don't interfere with development. Silly me... I 
thought that inserting well-formed a HTML 4 "loose DTD" tag into XML output 
would have to be bug...





- Original Message - 
From: "Dave Watts" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Thursday, July 06, 2006 12:36 AM
Subject: RE: Web Services - Not for production or development


>> The insertion of the "Not for Production Use" meta tag is resulting a
>> validation error which prevents the development and testing of Web
>> Services on my local CF App Server. I currently have Enterprise Edition
>> (DevNet) CFMX 7.0.1 (not an ideal verison for Web services, but need to
>> keep that version for a short while).
>>
>> Does anyone know a work-around for this? Am I doing something wrong?
>> Does 7.0.2 fix this? Having a not for prod use tag is fair enough, but
>> surely it should be well-formed.
>
> The tag itself is well-formed, but it's a well-formed HTML 4 "loose DTD"
> tag, not an XML element, and that's your problem here - you're generating
> XML, not HTML.
>
> There are some suggestions for how you can deal with this in the thread on
> Steven Erat's blog that Charlie Griefer pointed out. In addition, you 
> could
> always install a postprocessor servlet to rewrite your output. This is a
> useful thing to be able to do, not just for this problem, but for lots of
> other problems where you might want to rewrite all output in a very 
> generic
> way.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
>
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245560
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Web Services - Not for production or development

2006-07-06 Thread Andrew Stevens
I tried a Devnet licence on 7.0.2, I didn't see any meta-tags..? Did they
take it out, for Flex development perhaps?

Also, as Dave suggested, a post processor - Fusion Reactor has one of them
so it must be okay to do it :)

That said, just run the developer edition and stop cheating.

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 6 July 2006 12:37 AM
To: CF-Talk
Subject: RE: Web Services - Not for production or development

> The insertion of the "Not for Production Use" meta tag is resulting a
> validation error which prevents the development and testing of Web
> Services on my local CF App Server. I currently have Enterprise Edition
> (DevNet) CFMX 7.0.1 (not an ideal verison for Web services, but need to
> keep that version for a short while).
>
> Does anyone know a work-around for this? Am I doing something wrong?
> Does 7.0.2 fix this? Having a not for prod use tag is fair enough, but
> surely it should be well-formed.

The tag itself is well-formed, but it's a well-formed HTML 4 "loose DTD"
tag, not an XML element, and that's your problem here - you're generating
XML, not HTML.

There are some suggestions for how you can deal with this in the thread on
Steven Erat's blog that Charlie Griefer pointed out. In addition, you could
always install a postprocessor servlet to rewrite your output. This is a
useful thing to be able to do, not just for this problem, but for lots of
other problems where you might want to rewrite all output in a very generic
way.

Dave Watts, CTO, Fig Leaf Software 
http://www.figleaf.com/ 

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245479
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Web Services - Not for production or development

2006-07-05 Thread Dave Watts
> The insertion of the "Not for Production Use" meta tag is resulting a
> validation error which prevents the development and testing of Web
> Services on my local CF App Server. I currently have Enterprise Edition
> (DevNet) CFMX 7.0.1 (not an ideal verison for Web services, but need to
> keep that version for a short while).
>
> Does anyone know a work-around for this? Am I doing something wrong?
> Does 7.0.2 fix this? Having a not for prod use tag is fair enough, but
> surely it should be well-formed.

The tag itself is well-formed, but it's a well-formed HTML 4 "loose DTD"
tag, not an XML element, and that's your problem here - you're generating
XML, not HTML.

There are some suggestions for how you can deal with this in the thread on
Steven Erat's blog that Charlie Griefer pointed out. In addition, you could
always install a postprocessor servlet to rewrite your output. This is a
useful thing to be able to do, not just for this problem, but for lots of
other problems where you might want to rewrite all output in a very generic
way.

Dave Watts, CTO, Fig Leaf Software 
http://www.figleaf.com/ 

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245399
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Web Services - Not for production or development

2006-07-05 Thread Charlie Griefer
http://www.talkingtree.com/blog/index.cfm?mode=entry&entry=80E120C1-50DA-0559-A0CE3D8628309982

there -might- be something in the comments section that -might- be of use.

On 7/5/06, Susan McNab <[EMAIL PROTECTED]> wrote:
> The insertion of the "Not for Production Use" meta tag is resulting a 
> validation error which prevents the development and testing of Web Services 
> on my local CF App Server. I currently have Enterprise Edition (DevNet) CFMX 
> 7.0.1 (not an ideal verison for Web services, but need to keep that version 
> for a short while).
>
> Does anyone know a work-around for this? Am I doing something wrong? Does 
> 7.0.2 fix this? Having a not for prod use tag is fair enough, but surely it 
> should be well-formed.
>
> The XML page cannot be displayed
> Cannot view XML input using XSL style sheet. Please correct the error and 
> then click the Refresh button, or try again later.
> 
>
> End tag 'head' does not match the start tag 'META'. Error processing resource 
> 'http://[local dev server name]:8081/path1/path2/path3/...
>
> 
> ...
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245379
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Web Services - Not for production or development

2006-07-05 Thread Peter Tilbrook
Note if running under a J2EE server like JRun your licence file will be 
somewhere like:

C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib

or whatever other instance you have created.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245378
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Web Services - Not for production or development

2006-07-05 Thread Snake
In ColdFusion MX 6.1 this watermark could be avoided by setting the content
type with CFCONTENT in pages where the watermark broke the generated
content, but in CFMX 7 there is no such workaround. 

Since the DevNet edition is meant for development/QA only, you could remove
the existing DevNet serial number for the ColdFusion MX 7 installation and
it will automatically become the free Developer's Edition which does not
produce the watermark but has an IP restriction to localhost and 2 other IP
addresses. 


To change the edition from DevNet to Developer: 
Stop ColdFusion MX server 
Backup $CFHOME/lib/license.properties 
Edit the original $CFHOME/lib/license.properties 
Find the line with the serial number, such as "sn=CXX7NN-N-N-NN"

Remove everything on that line after "sn=" (remove the serial number
actually) 
Save the file 
Start ColdFusion server 
Check System Information page in CF Admin to confirm that it is Developer
Edition 
Again, the Developer Edition has full Enterprise features, but it has an IP
restriction that DevNet did not. The META tag watermark will no longer
appear in the generated content.  

-
Snake
-Original Message-
From: Susan McNab [mailto:[EMAIL PROTECTED] 
Sent: 05 July 2006 10:08
To: CF-Talk
Subject: Web Services - Not for production or development

The insertion of the "Not for Production Use" meta tag is resulting a
validation error which prevents the development and testing of Web Services
on my local CF App Server. I currently have Enterprise Edition (DevNet) CFMX
7.0.1 (not an ideal verison for Web services, but need to keep that version
for a short while).

Does anyone know a work-around for this? Am I doing something wrong? Does
7.0.2 fix this? Having a not for prod use tag is fair enough, but surely it
should be well-formed.

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and
then click the Refresh button, or try again later.



End tag 'head' does not match the start tag 'META'. Error processing
resource 'http://[local dev server name]:8081/path1/path2/path3/...

 ...



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245377
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Web Services - Not for production or development

2006-07-05 Thread James Smith
> The Developer Edition modifies the headers sent to the 
> browser - and as a result breaks things like web services and 
> XML. I don't believe there is an easy workaround. Macromedia 
> didn't think the DevEd version through in this regard I think.

I had this problem with an RSS feed, the only thing I could do was to
develop that section of the code on the production server.

--
Jay

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 04/07/2006
 


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245376
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Web Services - Not for production or development

2006-07-05 Thread Adrian Lynch
Would there be a way to have the webserver strip this out?

Ade

-Original Message-
From: Peter Tilbrook [mailto:[EMAIL PROTECTED]
Sent: 05 July 2006 11:51
To: CF-Talk
Subject: Re: Web Services - Not for production or development


The Developer Edition modifies the headers sent to the browser - and as a
result breaks things like web services and XML. I don't believe there is an
easy workaround. Macromedia didn't think the DevEd version through in this
regard I think.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245375
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Web Services - Not for production or development

2006-07-05 Thread Peter Tilbrook
The Developer Edition modifies the headers sent to the browser - and as a 
result breaks things like web services and XML. I don't believe there is an 
easy workaround. Macromedia didn't think the DevEd version through in this 
regard I think.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245374
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Web Services - Not for production or development

2006-07-05 Thread Tom Chiverton
On Wednesday 05 July 2006 10:07, Susan McNab wrote:
> Does anyone know a work-around for this? Am I doing something wrong? Does
> 7.0.2 fix this? Having a not for prod use tag is fair enough, but surely it
> should be well-formed.

Just search and replace it out of the string.

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245373
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Web services / parameter / headache

2006-06-27 Thread Ian Skinner
Can you put the dummy?wsdl URL in a browser and get the wsdl file?  Is it not 
dummy.cfc?wsdl?  Are you using any kind of web server security on the website 
dummy.cfc is in?  Such as IIS - window integrated security?


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244878
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Web services / parameter / headache

2006-06-27 Thread Denny Valliant
I think that error means there isn't a dummy wsdl service.

Try:


ws = CreateObject("webservice","
http://www.weather.gov/forecasts/xml/SOAP_server/ndfdXMLserver.php?wsdl";);
NDFDgenResponse = ws.NDFDgenByDay(latitude=38.99,longitude=-77.99
,format='24+hourly',startdate='2006-06-27',numDays=7);



And see what that does.
:D
On 6/26/06, Matthew Chambers <[EMAIL PROTECTED]> wrote:
>
> This is crazy! Someone must have come across this problem before.
>
> I've simplified my question and used a much simplier method from the web
> service, here goes!
> ::: Here's my code :::
> 
> webservice  = CreateObject("webservice","dummy?wsdl");
> webservice.doBuildQuoteForItinerary("123456,"en_US","","1113");
> 
>
> ::: Here's the error :::
> Could not perform web service invocation "doBuildQuoteForItinerary".
> Here is the fault returned when invoking the web service operation:
> AxisFault faultCode: {
> http://schemas.xmlsoap.org/soap/envelope/}Server.userExceptionfaultSubcode: 
> faultString:
> com.raileurope.web.ngserver.InternalErrorException:
> java.lang.NullPointerException faultActor: faultNode: faultDetail: {
> http://xml.apache.org/axis/}hostname:dummy 
>
> There must be something wrong with how I'm passing in the parameters. Is
> it the null string??!?!?
>
> Any help would be great!
>
> > Hi Paul,
> >
> > Thanks for the tips. Unfortunately still no luck.
> > I have investigated and messed around some more and I just can't
> > figure this one out. If there are any web services experts out there
> > please show yourself!!!
> >
> > Just to prove that the problem doesn't lie with the producer of the
> > web service I've tried consuming a simple web service here's the
> > code:
> > ---
> > 
> > ws = CreateObject("webservice","http://www.weather.
> > gov/forecasts/xml/SOAP_server/ndfdXMLserver.php?wsdl");
> > NDFDgenResponse = ws.NDFDgen(JavaCast('double',38.99),
> > JavaCast('double',-77.99),JavaCast('string','time-series'),
> > DateFormat('2004-01-01','mm/dd/ hh:ss'),DateFormat('2010-06-26',
> > 'mm/dd/ hh:ss'));
> > 
> > 
> > ---
> > ANd here's the error:
> > ---
> > Web service operation "NDFDgen" with parameters {38.99,-77.99,
> > time-series,01/01/2004 12:00,06/26/2010 12:00} could not be found.
> > ---
> >
> > I'm certain that the problem here is how I'm passing in parameters.
> > Weather it be a complex type or a date or whatever, I'm doing
> > something wrong!
> >
> > Any ideas... anyone??!?!?!?
> > Matthew
> >
> > >Matthew Chambers wrote:
> > >> String[] countriesCovered = null;
> > >> Attribute[] attributes = null;
> > >
> > >it wants arrays of string & Attribute.
> > >
> > >> countriesCovered.France = JavaCast("string","FR");
> > >
> > >try making countriesCovered an array.
> > >
> > >countriesCovered=listToArray("FR");
> > >
> > >and maybe for good measure a java array:
> > >
> > >countriesCovered=countriesCovered.
> toArray();
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244843
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Web services / parameter / headache

2006-06-26 Thread Matthew Chambers
This is crazy! Someone must have come across this problem before.

I've simplified my question and used a much simplier method from the web 
service, here goes!
::: Here's my code :::

webservice  = CreateObject("webservice","dummy?wsdl");
webservice.doBuildQuoteForItinerary("123456,"en_US","","1113");


::: Here's the error :::
 Could not perform web service invocation "doBuildQuoteForItinerary".
Here is the fault returned when invoking the web service operation: 
AxisFault faultCode: 
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: 
faultString: com.raileurope.web.ngserver.InternalErrorException: 
java.lang.NullPointerException faultActor: faultNode: faultDetail: 
{http://xml.apache.org/axis/}hostname:dummy 

There must be something wrong with how I'm passing in the parameters. Is it the 
null string??!?!?

Any help would be great!

> Hi Paul,
> 
> Thanks for the tips. Unfortunately still no luck.
> I have investigated and messed around some more and I just can't 
> figure this one out. If there are any web services experts out there 
> please show yourself!!!
> 
> Just to prove that the problem doesn't lie with the producer of the 
> web service I've tried consuming a simple web service here's the 
> code:
> ---
> 
> ws = CreateObject("webservice","http://www.weather.
> gov/forecasts/xml/SOAP_server/ndfdXMLserver.php?wsdl");
> NDFDgenResponse = ws.NDFDgen(JavaCast('double',38.99),
> JavaCast('double',-77.99),JavaCast('string','time-series'),
> DateFormat('2004-01-01','mm/dd/ hh:ss'),DateFormat('2010-06-26',
> 'mm/dd/ hh:ss'));
> 
> 
> ---
> ANd here's the error:
> ---
> Web service operation "NDFDgen" with parameters {38.99,-77.99,
> time-series,01/01/2004 12:00,06/26/2010 12:00} could not be found.
> ---
> 
> I'm certain that the problem here is how I'm passing in parameters. 
> Weather it be a complex type or a date or whatever, I'm doing 
> something wrong!
> 
> Any ideas... anyone??!?!?!?
> Matthew
> 
> >Matthew Chambers wrote:
> >> String[] countriesCovered = null;
> >> Attribute[] attributes = null;
> >
> >it wants arrays of string & Attribute.
> >
> >> countriesCovered.France = JavaCast("string","FR"); 
> >
> >try making countriesCovered an array.
> >
> >countriesCovered=listToArray("FR");
> >
> >and maybe for good measure a java array:
> >
> >countriesCovered=countriesCovered.
toArray();

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244841
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Web services / parameter / headache

2006-06-26 Thread Matthew Chambers
This is crazy! Someone must have come across this problem before.

I've simplified my question and used a much simplier method from the web 
service, here goes!
::: Here's my code :::

webservice  = CreateObject("webservice","dummy?wsdl");
webservice.doBuildQuoteForItinerary("123456,"en_US","","1113");


::: Here's the error :::
 Could not perform web service invocation "doBuildQuoteForItinerary".
Here is the fault returned when invoking the web service operation: 
AxisFault faultCode: 
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: 
faultString: com.raileurope.web.ngserver.InternalErrorException: 
java.lang.NullPointerException faultActor: faultNode: faultDetail: 
{http://xml.apache.org/axis/}hostname:dummy 

There must be something wrong with how I'm passing in the parameters. Is it the 
null string??!?!?

Any help would be great!

> Hi Paul,
> 
> Thanks for the tips. Unfortunately still no luck.
> I have investigated and messed around some more and I just can't 
> figure this one out. If there are any web services experts out there 
> please show yourself!!!
> 
> Just to prove that the problem doesn't lie with the producer of the 
> web service I've tried consuming a simple web service here's the 
> code:
> ---
> 
> ws = CreateObject("webservice","http://www.weather.
> gov/forecasts/xml/SOAP_server/ndfdXMLserver.php?wsdl");
> NDFDgenResponse = ws.NDFDgen(JavaCast('double',38.99),
> JavaCast('double',-77.99),JavaCast('string','time-series'),
> DateFormat('2004-01-01','mm/dd/ hh:ss'),DateFormat('2010-06-26',
> 'mm/dd/ hh:ss'));
> 
> 
> ---
> ANd here's the error:
> ---
> Web service operation "NDFDgen" with parameters {38.99,-77.99,
> time-series,01/01/2004 12:00,06/26/2010 12:00} could not be found.
> ---
> 
> I'm certain that the problem here is how I'm passing in parameters. 
> Weather it be a complex type or a date or whatever, I'm doing 
> something wrong!
> 
> Any ideas... anyone??!?!?!?
> Matthew
> 
> >Matthew Chambers wrote:
> >> String[] countriesCovered = null;
> >> Attribute[] attributes = null;
> >
> >it wants arrays of string & Attribute.
> >
> >> countriesCovered.France = JavaCast("string","FR"); 
> >
> >try making countriesCovered an array.
> >
> >countriesCovered=listToArray("FR");
> >
> >and maybe for good measure a java array:
> >
> >countriesCovered=countriesCovered.
toArray();

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244840
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Web services / parameter / headache

2006-06-26 Thread Matthew Chambers
Hi Paul,

Thanks for the tips. Unfortunately still no luck.
I have investigated and messed around some more and I just can't figure this 
one out. If there are any web services experts out there please show yourself!!!

Just to prove that the problem doesn't lie with the producer of the web service 
I've tried consuming a simple web service here's the code:
---

ws = 
CreateObject("webservice","http://www.weather.gov/forecasts/xml/SOAP_server/ndfdXMLserver.php?wsdl";);
NDFDgenResponse = 
ws.NDFDgen(JavaCast('double',38.99),JavaCast('double',-77.99),JavaCast('string','time-series'),DateFormat('2004-01-01','mm/dd/
 hh:ss'),DateFormat('2010-06-26','mm/dd/ hh:ss'));


---
ANd here's the error:
---
Web service operation "NDFDgen" with parameters 
{38.99,-77.99,time-series,01/01/2004 12:00,06/26/2010 12:00} could not be found.
---

I'm certain that the problem here is how I'm passing in parameters. Weather it 
be a complex type or a date or whatever, I'm doing something wrong!

Any ideas... anyone??!?!?!?
Matthew

>Matthew Chambers wrote:
>> String[] countriesCovered = null;
>> Attribute[] attributes = null;
>
>it wants arrays of string & Attribute.
>
>> countriesCovered.France = JavaCast("string","FR"); 
>
>try making countriesCovered an array.
>
>countriesCovered=listToArray("FR");
>
>and maybe for good measure a java array:
>
>countriesCovered=countriesCovered.toArray();

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244772
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Web services / parameter / headache

2006-06-25 Thread Paul Hastings
Matthew Chambers wrote:
> String[] countriesCovered = null;
> Attribute[] attributes = null;

it wants arrays of string & Attribute.

> countriesCovered.France = JavaCast("string","FR"); 

try making countriesCovered an array.

countriesCovered=listToArray("FR");

and maybe for good measure a java array:

countriesCovered=countriesCovered.toArray();

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244770
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Web services and cfinvoke

2006-01-04 Thread Bud
>
>OK. Initial testing using the cfc as the cfinvoke target is making
>more sense. Now I need to learn how to read the XML that is being
>sent.

Sorry to answer my own question, but GetHttpRequestData() is what I 
was looking for. :)
-- 

Bud Schneehagen - Tropical Web Creations, Inc.

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Web Based Solutions / eCommerce Development & Hosting
http://www.twcreations.com/ - http://www.cf-ezcart.com/
Toll Free: 877.207.6397 - Local & Int'l Phone/Fax: 386.789.0968

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228363
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Web services and cfinvoke

2006-01-04 Thread Bud
OK. Initial testing using the cfc as the cfinvoke target is making 
more sense. Now I need to learn how to read the XML that is being 
sent.
-- 

Bud Schneehagen - Tropical Web Creations, Inc.

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Web Based Solutions / eCommerce Development & Hosting
http://www.twcreations.com/ - http://www.cf-ezcart.com/
Toll Free: 877.207.6397 - Local & Int'l Phone/Fax: 386.789.0968

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228340
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Web services and cfinvoke

2006-01-04 Thread Bud
>
>This is kind of backwards. Typically, you write a web service, which
>generates its own WSDL, and that WSDL is the interface that's used by other
>programs. I've never heard of anybody giving you a WSDL file and saying,
>"write a program that's compatible with this WSDL" - it's kind of a
>cart-before-the-horse approach.

See my babelfish example in the last email. It's called the "WSDL 
First" approach from all my reading.

http://webservices.xml.com/lpt/a/ws/2003/07/22/wsdlfirst.html


>Well, SOAP web services send and retrieve XML documents (specifically, SOAP
>envelopes), but as a SOAP developer you don't typically touch that stuff
>directly at all. The whole point is to provide a toolset so you don't have
>to deal with it.

Yeah, but how do I get the soap document into an XML document so that 
I can get the username with say 
myxml.Envelope.Body.authenticate.strUserName? Everyone keeps telling 
me I don't have to do anything. But obviously I do because I've been 
staring at this desktop for a week and the application is still 
barely started. LOL

This is all i want to do, and will probably get me on my way.

1) Place the initial XML post that's sent to my web service into an XML doc.
2) Parse the xml for the username and password.
3) Return XML based on whether the login is successful.

>
>Yes, the ASMX file is essentially the equivalent of a CFC web service. I'm
>not sure what you mean by "switch to your WSDL" - do you mean the Quickbooks
>WSDL file or the one auto-generated by your CFC? You might want to compare
>the two, as well. You'll be able to see how to fill in the different values
>in the Quickbooks file, or change your CFC to be closer to that WSDL file.

I just saved the QB supplied copy and entered the address to my cfc 
in soap:address location. By "switching" to my wsdl I just mean 
switching back and forth for testing between my wsdl and the one at 
developer.intuit.com.

OK  then. I'm going to attempt the cfc method. What the heck.
-- 

Bud Schneehagen - Tropical Web Creations, Inc.

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Web Based Solutions / eCommerce Development & Hosting
http://www.twcreations.com/ - http://www.cf-ezcart.com/
Toll Free: 877.207.6397 - Local & Int'l Phone/Fax: 386.789.0968

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228338
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Web services and cfinvoke

2006-01-04 Thread Bud
I was assuming you could build the service "around" the existing 
wsdl. In the babelfish examples in the documentation cfinvoke calls a 
wsdl file.


#foo#

Now, I only assume that on the altavista side, the wsdl file itself 
does not do the translation, but is passed to a cgi. And I assumed 
the cgi would be the one specified in soap:address location.

And on a somewhat related note. I'm still don't understand how I 
place the XML that is sent to the service into a variable for 
reading. The service is requested initially from the end user's 
computer and sends text/xml, not form variables, so I can't grab the 
xml with form.xml or whatnot.

>http://services.xmethods.net:80/perl/soaplite.cgi"/>
>
>What I'm asking is, in my CF scenario, would this value be to my cfc
>file, or to a cfm that included the cfc, or what?
>
>:)
>
>
>None of the above, the beauty of a CF web service is that you don't 
>need to work this hard.  You create a CFC that is going to be a web 
>service.  You do this by taking the incredible hard task of putting 
>access="remote" as a parameter into one or more of the functions 
>{aka methods} of the CFC.  Then the ever so nice CF engine creates 
>the WSDL of this newly minted web service for you. 
>
>You could consume this web service with some other piece of 
>ColdFusion with a  tag something like this.
>
>http://my.webservice.com/doThisStuff.cfc?wsdl ... >
>
>But from what I understand, is that you would not be writing this 
>part, since the QuickBooks application is going to consume the web 
>service.  I would presume somewhere in the configuration that allows 
>QuickBooks to consume a web service, you would provide an URI to 
>your CFC web service to be consumed.
>
>What you showed as an example wsdl file is what I presume the 
>QuickBooks application is expecting to see from a web service.  So 
>you just need to write your web service CFC to provide a wsdl that 
>meets these expectations.
>
>--
>Ian Skinner
>Web Programmer
>BloodSource
>www.BloodSource.org
>Sacramento, CA
>
>"C code. C code run. Run code run. Please!"
>- Cynthia Dunning
>
>Confidentiality Notice:  This message including any
>attachments is for the sole use of the intended
>recipient(s) and may contain confidential and privileged
>information. Any unauthorized review, use, disclosure or
>distribution is prohibited. If you are not the
>intended recipient, please contact the sender and
>delete any copies of this message.
>
>
>
>
>

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228336
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Web services and cfinvoke

2006-01-03 Thread Dave Watts
> Yes, you'll see that cfinvoke is calling 
> http://www.xmethods.net/sd/2001/BabelFishService.wsdl. If you go look 
> at that file, you'll see this line.
> 
>  location="http://services.xmethods.net:80/perl/soaplite.cgi"/>
> 
> What I'm asking is, in my CF scenario, would this value be to my cfc 
> file, or to a cfm that included the cfc, or what?

The location attribute would point to your CFC. I'd recommend that you look
at the self-generated WSDL and see exactly what you get.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228308
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Web services and cfinvoke

2006-01-03 Thread Dave Watts
> This is the Quickbooks QBWebConnector. It allows Quickbooks to 
> connect to a web service using SOAP. I need to build the web service 
> as defined by the wsdl file. Basically the requests are generated by 
> Quickbooks and I have to respond.
> 
> http://developer.intuit.com/uploadedFiles/Support/QBWebConnect
> orSvc.wsdl
> 
> I have a copy saved locally. I'm under the assumption that the only 
> element I have to change is soap:address 
> location="https://idn.vogelfam.net/QBMSDonorSample/QBWebConnec
> torSvc.asmx", which I have pointing to my cfc file in my setup..

This is kind of backwards. Typically, you write a web service, which
generates its own WSDL, and that WSDL is the interface that's used by other
programs. I've never heard of anybody giving you a WSDL file and saying,
"write a program that's compatible with this WSDL" - it's kind of a
cart-before-the-horse approach.

> If I run my cfinvoke tag using the wsdl above, on the first method of 
> the service "authenticate", I am returned a java array (I believe). 
> CFDUMP shows an object with a name of 
> com.intuit.developer.ArrayOfString. I can access the 2 string 
> variables I am expecting like so.
> 
> mydoc.getString(0)
> mydoc.getString(1)
> 
> That's confusing enough to me as I was expecting to see XML.

Well, SOAP web services send and retrieve XML documents (specifically, SOAP
envelopes), but as a SOAP developer you don't typically touch that stuff
directly at all. The whole point is to provide a toolset so you don't have
to deal with it.

> My assumption is that the actual processing of the authentication 
> method's arguments get's done within the asmx file in the 
> soap:address. Is the asmx the equivalent to a cfc in CF? When I 
> switch to my wsdl, which calls my cfc, all I get are apache.axis 
> errors.
> 
> My head hurts. :)

Yes, the ASMX file is essentially the equivalent of a CFC web service. I'm
not sure what you mean by "switch to your WSDL" - do you mean the Quickbooks
WSDL file or the one auto-generated by your CFC? You might want to compare
the two, as well. You'll be able to see how to fill in the different values
in the Quickbooks file, or change your CFC to be closer to that WSDL file.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228307
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Web services and cfinvoke

2006-01-03 Thread Ian Skinner
http://services.xmethods.net:80/perl/soaplite.cgi"/>

What I'm asking is, in my CF scenario, would this value be to my cfc 
file, or to a cfm that included the cfc, or what?

:)


None of the above, the beauty of a CF web service is that you don't need to 
work this hard.  You create a CFC that is going to be a web service.  You do 
this by taking the incredible hard task of putting access="remote" as a 
parameter into one or more of the functions {aka methods} of the CFC.  Then the 
ever so nice CF engine creates the WSDL of this newly minted web service for 
you.  

You could consume this web service with some other piece of ColdFusion with a 
 tag something like this.

http://my.webservice.com/doThisStuff.cfc?wsdl ... >

But from what I understand, is that you would not be writing this part, since 
the QuickBooks application is going to consume the web service.  I would 
presume somewhere in the configuration that allows QuickBooks to consume a web 
service, you would provide an URI to your CFC web service to be consumed.

What you showed as an example wsdl file is what I presume the QuickBooks 
application is expecting to see from a web service.  So you just need to write 
your web service CFC to provide a wsdl that meets these expectations.

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228305
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Web services and cfinvoke

2006-01-03 Thread Bud
>Huh? The cfinvoke call creates the variable. You just use it.

But the variable has to be populated with a value. The value is based 
upon whether the authentication was successful and whether their is 
any data to be passed to quickbooks. I need to run cf code to return 
the value.

>http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/webser16.htm

Yes, you'll see that cfinvoke is calling 
http://www.xmethods.net/sd/2001/BabelFishService.wsdl. If you go look 
at that file, you'll see this line.

http://services.xmethods.net:80/perl/soaplite.cgi"/>

What I'm asking is, in my CF scenario, would this value be to my cfc 
file, or to a cfm that included the cfc, or what?

:)

>
>
>On 1/3/06, Bud <[EMAIL PROTECTED]> wrote:
>>  >You just use the returned variable mydoc in your code after the 
>>cfinvoke tag.
>>
>>  But the returned variable mydoc has to be created. I need to parse
>>  the XML (username and password) and return a result. That's where I'm
>>  stuck. I am building the service from an existing WSDL file provided
>>  by Intuit. Inside the file is the element "soap:address location".
>>  Should I point that directly to my CFC or to a CFM files which then
>>  invokes the CFC?
>
>CFAJAX docs and other useful articles:
>http://jr-holmes.coldfusionjournal.com/
>
>

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228304
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Web services and cfinvoke

2006-01-03 Thread Bud
>So to double check, you are building a web service that will be 
>contacted by the QuickBooks application using the WSDL like the 
>example from you link?

Exactly.

>If this is so, then you are expected to create a CFC running as 
>remote that will return a wsdl matching the specification.  In other 
>words have functions matching the expected functions in the wsdl 
>accepting the parameters defined in the wsdl and returning the data 
>expected in the wsdl.  Then you would provide the URI to this 
>cfc?wsdl file in QuickBooks that defines the web service it is 
>looking for.

The thing is, it seems as though all the examples I find assume the 
web service being built first, then cfinvoked using xxx.cfc?wsdl. But 
the cfinvoke documentation, and the example wsdl I'm using point 
directly to the wsdl. There are dynamically generated wsdl files, and 
there are services built around static wsdl files. At least that's 
the way I understand it.

I'm just confused. :)

>I can't help you much beyond this basic understanding on my part. 
>Unless my basic assumption of you building this web service for the 
>QuickBooks to connect to is wrong.  If you are consuming a web 
>service with ColdFusion then that is completely different.
>
>HTH
>
>--
>Ian Skinner
>Web Programmer
>BloodSource
>www.BloodSource.org
>Sacramento, CA
>
>"C code. C code run. Run code run. Please!"
>- Cynthia Dunning
>
>Confidentiality Notice:  This message including any
>attachments is for the sole use of the intended
>recipient(s) and may contain confidential and privileged
>information. Any unauthorized review, use, disclosure or
>distribution is prohibited. If you are not the
>intended recipient, please contact the sender and
>delete any copies of this message.
>
>
>
>
>

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228303
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Web services and cfinvoke

2006-01-03 Thread Ian Skinner
So to double check, you are building a web service that will be contacted by 
the QuickBooks application using the WSDL like the example from you link?

If this is so, then you are expected to create a CFC running as remote that 
will return a wsdl matching the specification.  In other words have functions 
matching the expected functions in the wsdl accepting the parameters defined in 
the wsdl and returning the data expected in the wsdl.  Then you would provide 
the URI to this cfc?wsdl file in QuickBooks that defines the web service it is 
looking for.

I can't help you much beyond this basic understanding on my part.  Unless my 
basic assumption of you building this web service for the QuickBooks to connect 
to is wrong.  If you are consuming a web service with ColdFusion then that is 
completely different.

HTH

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228291
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Web services and cfinvoke

2006-01-03 Thread Bud
>I'm confused as well. Are you writing the web service yourself, or using a
>CFC web service written by someone else? If so, you don\'t have to create
>the WSDL file - just let CFMX generate it for you.
>
>Assuming you're using a CFC web service, the URL would look something like
>this:

Hi Dave and thanks. And Ian replied also so thanks Ian also. I'll try 
and make this clear. I'm pretty green still when it comes to XML, 
SOAP, etc. :)

This is the Quickbooks QBWebConnector. It allows Quickbooks to 
connect to a web service using SOAP. I need to build the web service 
as defined by the wsdl file. Basically the requests are generated by 
Quickbooks and I have to respond.

http://developer.intuit.com/uploadedFiles/Support/QBWebConnectorSvc.wsdl

I have a copy saved locally. I'm under the assumption that the only 
element I have to change is soap:address 
location="https://idn.vogelfam.net/QBMSDonorSample/QBWebConnectorSvc.asmx";, 
which I have pointing to my cfc file in my setup..

If I run my cfinvoke tag using the wsdl above, on the first method of 
the service "authenticate", I am returned a java array (I believe). 
CFDUMP shows an object with a name of 
com.intuit.developer.ArrayOfString. I can access the 2 string 
variables I am expecting like so.

mydoc.getString(0)
mydoc.getString(1)

That's confusing enough to me as I was expecting to see XML.

My assumption is that the actual processing of the authentication 
method's arguments get's done within the asmx file in the 
soap:address. Is the asmx the equivalent to a cfc in CF? When I 
switch to my wsdl, which calls my cfc, all I get are apache.axis 
errors.

My head hurts. :)


-- 

Bud Schneehagen - Tropical Web Creations, Inc.

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Web Based Solutions / eCommerce Development & Hosting
http://www.twcreations.com/ - http://www.cf-ezcart.com/
Toll Free: 877.207.6397 - Local & Int'l Phone/Fax: 386.789.0968

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228259
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Web services and cfinvoke

2006-01-03 Thread Dave Watts
> And one other question if anyone is listening. :)
> 
> I've submitted plenty of forms and xml documents using cfhttp, then 
> use xmlparse() on the filecontent to create a XML document. But the 
> service is initiated remotely and I am being passed an XML document. 
> What scope/variable would that document be in so I can access it? It 
> doesn't seem to be in the form scope.

If you want to receive an XML document posted to your page, you'd get it
using the GetHTTPRequestData function:

http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/h
tml/wwhelp.htm?context=ColdFusion_Documentation&file=0482.htm#1955092

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228226
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Web services and cfinvoke

2006-01-03 Thread Dave Watts
> I'm beginning thusly.
> 
>  ="http://192.168.0.50:8500/ezcart_mx/webservice/QBWebConnector
> Svc.wsdl"
>method ="authenticate"
>returnVariable="mydoc">
> 
> 
> 
> 
> Inside the wsdl file is the soap:address location element. Am I 
> supposed to point that to my cfc with my methods or should I point 
> that to a cfm file which in turns invokes those methods?
> 
> My main point of confusion is, I'm specifying the wsdl file with the 
> web service definitions, but how and where do I access the CFC to 
> return my returnVariable?

I'm confused as well. Are you writing the web service yourself, or using a
CFC web service written by someone else? If so, you don\'t have to create
the WSDL file - just let CFMX generate it for you.

Assuming you're using a CFC web service, the URL would look something like
this:

http://yourserver/yourwebservice.cfc?wsdl

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228224
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Web services and cfinvoke

2006-01-03 Thread James Holmes
Huh? The cfinvoke call creates the variable. You just use it.

http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/webser16.htm


On 1/3/06, Bud <[EMAIL PROTECTED]> wrote:
> >You just use the returned variable mydoc in your code after the cfinvoke tag.
>
> But the returned variable mydoc has to be created. I need to parse
> the XML (username and password) and return a result. That's where I'm
> stuck. I am building the service from an existing WSDL file provided
> by Intuit. Inside the file is the element "soap:address location".
> Should I point that directly to my CFC or to a CFM files which then
> invokes the CFC?

CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228218
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Web services and cfinvoke

2006-01-03 Thread Ian Skinner
What scope/variable would that document be in so I can access it? It 
doesn't seem to be in the form scope.

Thanks.

If I understand you process correctly.  It is in the mydoc variable.  The 
cfinvoke tag is creating it for you.  The mydoc variable should contain what 
ever this web service is designed to return.  Have you tried this:  after the cfinvoke tag to see what is being returned by the web 
service?


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228215
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Web services and cfinvoke

2006-01-03 Thread Bud
>You just use the returned variable mydoc in your code after the cfinvoke tag.

But the returned variable mydoc has to be created. I need to parse 
the XML (username and password) and return a result. That's where I'm 
stuck. I am building the service from an existing WSDL file provided 
by Intuit. Inside the file is the element "soap:address location". 
Should I point that directly to my CFC or to a CFM files which then 
invokes the CFC?

And one other question if anyone is listening. :)

I've submitted plenty of forms and xml documents using cfhttp, then 
use xmlparse() on the filecontent to create a XML document. But the 
service is initiated remotely and I am being passed an XML document. 
What scope/variable would that document be in so I can access it? It 
doesn't seem to be in the form scope.

Thanks.

>On 1/3/06, Bud <[EMAIL PROTECTED]> wrote:
>>  Hi all. Long time no post. Been very busy, but as usual, making no money. :)
>>
>>  I'm beginning thusly.
>>
>>  >  ="http://192.168.0.50:8500/ezcart_mx/webservice/QBWebConnectorSvc.wsdl";
>> method ="authenticate"
>> returnVariable="mydoc">
>>  
>>  
>>  
>>
>>  Inside the wsdl file is the soap:address location element. Am I
>>  supposed to point that to my cfc with my methods or should I point
>>  that to a cfm file which in turns invokes those methods?
>>
>>  My main point of confusion is, I'm specifying the wsdl file with the
>>  web service definitions, but how and where do I access the CFC to
>>  return my returnVariable?
>>
>>  TIA for any help I can get here. If someone can just show me a sample
>>  of a web service that specifies a wsdl file and returns output based
>>  on the user input, I think I can figure this out. All of the example
>>  I've seen point to a cfc with the wsdl being generated dynamically.
>
>CFAJAX docs and other useful articles:
>http://jr-holmes.coldfusionjournal.com/
>
>

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228205
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


  1   2   3   >