Hi All,
I've encountered a serious problem lately which is related to
Web Services in Coldfusion.
I was trying to connect to Akamai service through the
webservice:
https://ccuapi.akamai.com/ccuapi-axis.wsdl
So I have put a following line to my code:
<cfset AkamaiService = createObject("webservice",
"
https://ccuapi.akamai.com/ccuapi-axis.wsdl") />
Everything went fine on CF 7.01 server. Unfortunately I was
unable to consume that webservice neither using production server
(CF 7.02) nor testing CF 8 one. The error can be found below.
As a turnaround I will try to switch to the older version of
axis.jar and see what happens but I think that this is a very
inelegant and not preferred solution.
Do you know any better solution for that problem? (Akamai is
quite popular and I hope that there should be a way out...)
Thank you in advance for all answers.
Best regards,
Rafal
Cannot generate stub objects for web service invocation.
Name:
https://ccuapi.akamai.com/ccuapi-axis.wsdl. WSDL:
https://ccuapi.akamai.com/ccuapi-axis.wsdl. WSDLException (at
/wsdl:definitions/portType/operation): faultCode=INVALID_WSDL:
Encountered illegal extension attribute 'paramOrder'. Extension
attributes must be in a namespace other than WSDL's.: 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.
WSDLException (at /wsdl:definitions/portType/operation):
faultCode=INVALID_WSDL: Encountered illegal extension attribute
'paramOrder'. Extension attributes must be in a namespace other
than WSDL's.:
at
com.ibm.wsdl.xml.WSDLReaderImpl.parseExtensibilityAttributes(Unknown
Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseOperation(Unknown
Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parsePortType(Unknown
Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown
Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at
org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:516)
at org.apache.axis.wsdl.gen.Parser.run(Parser.java:399)
at org.apache.axis.wsdl.toJava.Emitter.run(Emitter.java:620)
at
coldfusion.xml.rpc.XmlRpcServiceImpl$1.run(XmlRpcServiceImpl.java:247)
(.......)