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

WSDL capitalization

New Here ,
Jul 08, 2009 Jul 08, 2009

I created a web service on a dev machine running CF version 8,0,0,176276.  I copied the exact file from dev to a live machine running CF version 8,0,1,195765.  As a result, these differences occur:

Development WSDL

Production WSDL

<complexType name="user">

<complexType name="User">

<wsdl:portType name="wv_services2">

<wsdl:portType name="Wv_services2">

<wsdl:service name="wv_services2Service">

<wsdl:service name="Wv_services2Service">

The process that calls this web service is initiated by a client and cannot be modified.  How can I override the initial caps behavior on the production server?

725
Translate
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
Enthusiast ,
Jul 08, 2009 Jul 08, 2009
LATEST

I think you have 2 solutions:

- use the displayName attribute to maintain proper case (e.g.

cfcomponent displayName="wv_services2"). I'm not sure if this will

work for portType though.

- use the wsdlfile attribute on component to serve a fixed wsdl file

(you will need to fix the file manually or automatically when you make

changes that impact the web service).

Mack

Translate
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