• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Unable to consume Web Service

New Here ,
Mar 20, 2008 Mar 20, 2008

Copy link to clipboard

Copied

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)
(.......)
TOPICS
Advanced techniques

Views

1.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 20, 2008 Mar 20, 2008

Copy link to clipboard

Copied

LATEST
Johnny852 wrote:
> 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

I think it is because of the SSL (HTTPS) protocol. The only advice I've
been able to dig up is this.

James Holmes wrote:
If the server certificate is self-signed, you might need to import the
root Certificate Authority into your CF server keystore.
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301640

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation