Skip to main content
Participating Frequently
July 8, 2009
Question

WSDL capitalization

  • July 8, 2009
  • 1 reply
  • 755 views

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?

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    July 9, 2009

    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