Re: Web Service Request using CFHTTP

2008-05-29 Thread dominic scanlan
None of the links work. Direct to the Adobe.com site :( 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306240
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 Service Request using CFHTTP

2008-05-28 Thread Bilal Soylu
Dom,
a while back when using CF5 we also used a framework for soap that had all the 
parts build in UDFs. 
(http://www.fusionauthority.com/tech-and-tags/3058-whats-new-in-the-tag-gallery.htm)

This may be helpful for you to review.

Cheers,
Bilal



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

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


Web Service Request using CFHTTP

2008-05-28 Thread Dominic Scanlan
I'm trying to make a request to a .NET 2 Web Service from CF5 using
cfhttp.

the soap envelope that i am creating is:


http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";> 
http://tempuri.org/";> 
NEWACCOUNT
7 
   

which constantly returns:

Expression
An error occured while Parsing an XML document.
Premature end of file.

when i replace the XML within the  tags to a simply string
"x":

http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";> 
http://tempuri.org/";>  xx 
   

the request makes it to the web service and a get the expected error
reply.

the CFHTTP code is:

http://development003/DPS/Dps.asmx?WSDL"; port="80"
method="post">  

If anyone could think of any ideas that would be a great help.

Thanks
Dom 



Dominic Scanlan
Developer

telephone: 0870 907 9400
e-mail: [EMAIL PROTECTED]
website: www.lms.com


HIPs Conveyancing Remortgaging Valuations

Legal Marketing Services Ltd.
LMS House, Lloyd Drive, Cheshire Oaks Business Park, Cheshire, CH65 9HQ
Tel: 0870 907 9400 Fax: 0870 907 9410www.lms.com
Registered in England & Wales No 4450849
CONFIDENTIALITY NOTICE
This communication and the information it contains is intended for the person 
or organisation to whom it is addressed. Its contents are confidential and may 
be protected in law.  Unauthorised use, copying or disclosure of any of it may 
be unlawful. If you are not the intended recipient, please contact us 
immediately.

This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

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

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


Web Service Request using CFHTTP

2008-05-28 Thread dominic scanlan
I'm trying to make a request to a .NET 2 Web Service from CF5 using cfhttp.

the soap envelope that i am creating is:


http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>  
http://tempuri.org/";>  
NEWACCOUNT
7  
   


which constantly returns:

Expression
An error occured while Parsing an XML document.
Premature end of file.

when i replace the XML within the  tags to a simply string "x":

http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>  
http://tempuri.org/";>  xx  
   

the request makes it to the web service and a get the expected error reply.

the CFHTTP code is:

http://development003/DPS/Dps.asmx?WSDL"; port="80" method="post">







If anyone could think of any ideas that would be a great help.

Thanks
Dom 

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

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