<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community : All Content - All Communities</title>
    <link>https://forums.adobe.com/</link>
    <description>All Content in Adobe Community</description>
    <language>en</language>
    <pubDate>Mon, 11 Sep 2006 21:38:26 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2006-09-11T21:38:26Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>consuming webservice with input type of enum</title>
      <link>https://forums.adobe.com/thread/88154</link>
      <description>&lt;!-- [DocumentBodyStart:3debd338-81fe-4bbb-8a3e-30ae131daa90] --&gt;&lt;div class="jive-rendered-content"&gt;When trying to consume a webservice (temporarily located on a
server within my intranet) I get this Cold Fusion Error:
&lt;br/&gt;
&lt;br/&gt;Web service operation "getIndustries" with parameters
{CareerStart} could not be found.
&lt;br/&gt;
&lt;br/&gt;This is what is in the wdsl file for the function I am trying
to access:
&lt;br/&gt;
&lt;br/&gt;- &amp;lt;s:element name="getIndustries"&amp;gt;
&lt;br/&gt;- &amp;lt;s:complexType&amp;gt;
&lt;br/&gt;- &amp;lt;s:sequence&amp;gt;
&lt;br/&gt; &amp;lt;s:element minOccurs="1" maxOccurs="1"
name="getIndustriesRequest" type="tns:CareerTrack" /&amp;gt; 
&lt;br/&gt; &amp;lt;/s:sequence&amp;gt;
&lt;br/&gt; &amp;lt;/s:complexType&amp;gt;
&lt;br/&gt; &amp;lt;/s:element&amp;gt;
&lt;br/&gt;- &amp;lt;s:simpleType name="CareerTrack"&amp;gt;
&lt;br/&gt;- &amp;lt;s:restriction base="s:string"&amp;gt;
&lt;br/&gt; &amp;lt;s:enumeration value="CareerStart" /&amp;gt; 
&lt;br/&gt; &amp;lt;s:enumeration value="ContinuingEd" /&amp;gt; 
&lt;br/&gt; &amp;lt;/s:restriction&amp;gt;
&lt;br/&gt; &amp;lt;/s:simpleType&amp;gt;
&lt;br/&gt;- &amp;lt;s:element name="getIndustriesResponse"&amp;gt;
&lt;br/&gt;- &amp;lt;s:complexType&amp;gt;
&lt;br/&gt;- &amp;lt;s:sequence&amp;gt;
&lt;br/&gt; &amp;lt;s:element minOccurs="0" maxOccurs="1"
name="getIndustriesResult" type="tns:ArrayOfKeyValuePair" /&amp;gt; 
&lt;br/&gt; &amp;lt;/s:sequence&amp;gt;
&lt;br/&gt; &amp;lt;/s:complexType&amp;gt;
&lt;br/&gt; &amp;lt;/s:element&amp;gt;
&lt;br/&gt;- &amp;lt;s:complexType name="ArrayOfKeyValuePair"&amp;gt;
&lt;br/&gt;- &amp;lt;s:sequence&amp;gt;
&lt;br/&gt; &amp;lt;s:element minOccurs="0" maxOccurs="unbounded"
name="KeyValuePair" nillable="true" type="s1:KeyValuePair" /&amp;gt; 
&lt;br/&gt; &amp;lt;/s:sequence&amp;gt;
&lt;br/&gt; &amp;lt;/s:complexType&amp;gt;
&lt;br/&gt;- &amp;lt;s:complexType name="KeyValuePair"&amp;gt;
&lt;br/&gt;- &amp;lt;s:sequence&amp;gt;
&lt;br/&gt; &amp;lt;s:element minOccurs="0" maxOccurs="1" name="Key"
type="s:string" /&amp;gt; 
&lt;br/&gt; &amp;lt;s:element minOccurs="0" maxOccurs="1" name="Value"
type="s:string" /&amp;gt; 
&lt;br/&gt; &amp;lt;/s:sequence&amp;gt;
&lt;br/&gt; &amp;lt;/s:complexType&amp;gt;
&lt;br/&gt;
&lt;br/&gt;I am attempting to use this function with cold fusion like
so:
&lt;br/&gt;
&lt;br/&gt;&amp;lt;CFPARAM name="CareerTrack" default="CareerStart"
type="string"&amp;gt;
&lt;br/&gt;&amp;lt;CFOBJECT webservice="#webservice#"
&lt;br/&gt; name="regExchange"&amp;gt;
&lt;br/&gt;
&lt;br/&gt;&amp;lt;cfset aArrayOfKeyValuePair =
regExchange.getIndustries(#CareerTrack#)&amp;gt;
&lt;br/&gt; 
&lt;br/&gt;Is there something about passing in values to a type of enum
that is special?
&lt;br/&gt;
&lt;br/&gt;I think I should have visibility to the webservice based on
the evidence that when I set the wdsl url in Dreamweaver, it shows
me the service function definitions and I can drag and drop them
into my code.&lt;/div&gt;&lt;!-- [DocumentBodyEnd:3debd338-81fe-4bbb-8a3e-30ae131daa90] --&gt;&lt;img src='/beacon?t=1415919224878' /&gt;</description>
      <pubDate>Mon, 11 Sep 2006 21:38:26 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/88154</guid>
      <dc:date>2006-09-11T21:38:26Z</dc:date>
      <clearspace:dateToText>2 months 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

