Im no expert I think the problem lies at their end. The XML generated looks good - you can see that by clicking on the link (http://services.postcodeanywhere.co.uk/uk/lookup.asmx?wsdl) but its the definitions that are dodgy (I think):
<definitions xmlns:s1="PostcodeAnywhere2/AbstractTypes" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="PostcodeAnywhere2" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="PostcodeAnywhere2" xmlns="http://schemas.xmlsoap.org/wsdl/"> >>>> xmlns:s="http://www.w3.org/2001/XMLSchema" This one is going to a wrong document from the look of it hth, Doug -----Original Message----- From: Tim Blair [mailto:[EMAIL PROTECTED]] Sent: 15 January 2003 15:52 To: [EMAIL PROTECTED] Subject: [ cf-dev ] Webservices + MX 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] -- ** 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]
