Morning,

I'm attempting to use the following web service perform address lookups:
http://services.postcodeanywhere.co.uk/uk/lookup.asmx?wsdl

This is being done using CFMX and at the moment all I'm trying to do is
connect and get something back:

<cfscript>
    service =
"http://services.postcodeanywhere.co.uk/uk/lookup.asmx?wsdl";;
    account = "AAAAA11111";
    license = "AA11-AA11-AA11-AA11";
    postcode = "SL5 8NF";
    ws = createobject("webservice", service);
    psquery = ws.ByPostcode(postcode, account, license, "");
</cfscript>
<cfdump var="#psquery#">

I'm getting an error on the createobject() call:

Could not generate stub objects for web service invocation.  
Name: http://services.postcodeanywhere.co.uk/uk/lookup.asmx?wsdl. WSDL:
http://services.postcodeanywhere.co.uk/uk/lookup.asmx?wsdl.
java.io.IOException: Type http://www.w3.org/2001/XMLSchema:schema is
referenced but not defined. 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.

Now I don't know enough about WSDL, XML Schema and all that lot to know
whether I'm doing something wrong or if there's a problem with generated
WSDL?

Any ideas?

Tim.


-------------------------------------------------------
OUR NEW SITE IS NOW LIVE
Visit our new website at http://www.rawnet.com/ and
race around the beautiful Bracknell streets at
http://xmas.rawnet.com/
-------------------------------------------------------
Tim Blair
Web Application Engineer, Rawnet Limited
Direct Phone : +44 (0) 1344 393 441
Switchboard : +44 (0) 1344 393 040
-------------------------------------------------------
This message may contain information which is legally
privileged and/or confidential.  If you are not the
intended recipient, you are hereby notified that any
unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited. Such
notification notwithstanding, any comments, opinions,
information or conclusions expressed in this message
are those of the originator, not of rawnet limited,
unless otherwise explicitly and independently indicated
by an authorised representative of rawnet limited.
-------------------------------------------------------





-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to