<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Enum type as SOAP service inputs</title><link>https://community.appian.com/discussions/f/integrations/13708/enum-type-as-soap-service-inputs</link><description>I am trying to consume a SOAP webservice which takes ENUM as input. I couldn&amp;#39;t found a way to pass value to enum type parameter in webservicequery function or callwebservice smart service. Any help is appreciated.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Enum type as SOAP service inputs</title><link>https://community.appian.com/thread/62241?ContentTypeID=1</link><pubDate>Fri, 02 Nov 2018 23:16:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:36f1b980-6144-4e8c-9259-247e852032d4</guid><dc:creator>josep</dc:creator><description>Hello Ramakrishna , &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1) I see that the Type String is missing @XmlEnum(String.class) i am not sure how the XSD looks like now. &lt;br /&gt;
As far as i know the &amp;lt;xsd:restriction&amp;gt; are ignored in the CDTs . So if the XSD looks like this? &lt;br /&gt;
   &amp;lt;xs:simpleType name=&amp;quot;MerchantSearchField&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;xs:restriction base=&amp;quot;xs:string&amp;quot;/&amp;gt;&lt;br /&gt;
         &amp;lt;xs:enumeration value=&amp;quot;TaxId&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But well that is totally another world so maybe we can just say it is not supported as Carlos mentioned. &lt;br /&gt;
&lt;br /&gt;
2) In the other hand you can try the Advanced Web service call plugin &lt;br /&gt;
&lt;a href="https://forum.appian.com/suite/sites/shared-components/page/shared-components/record/lMBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUh-uuLnPKlJZ8g9jnKjfBzm5EIIb4OiP4ww/view/summary"&gt;forum.appian.com/.../summary&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
3) Maybe it is really not needed the plugin but who knows try to take a look at the other options&lt;br /&gt;
&lt;br /&gt;
Hope this helps &lt;br /&gt;
&lt;br /&gt;
Jose&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enum type as SOAP service inputs</title><link>https://community.appian.com/thread/62240?ContentTypeID=1</link><pubDate>Fri, 02 Nov 2018 21:25:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fa582e45-e11a-4d5e-b14e-128403030bc8</guid><dc:creator>ramakrishnac0001</dc:creator><description>Hi Josep,&lt;br /&gt;
It&amp;#39;s JAVA enum. I tried defining it as string but it&amp;#39;s not converted.&lt;br /&gt;
&lt;br /&gt;
Input to webservice query:&lt;br /&gt;
inputVar: {&lt;br /&gt;
      MerchantSearchField: &amp;quot;DisplayName&amp;quot;,&lt;br /&gt;
      searchValue: &amp;quot;ABCD&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
Enum structure:&lt;br /&gt;
@XmlType(name = &amp;quot;MerchantSearchField&amp;quot;)&lt;br /&gt;
@XmlEnum&lt;br /&gt;
public enum MerchantSearchField {&lt;br /&gt;
&lt;br /&gt;
    @XmlEnumValue(&amp;quot;TaxId&amp;quot;)&lt;br /&gt;
    TAX_ID(&amp;quot;TaxId&amp;quot;),&lt;br /&gt;
    @XmlEnumValue(&amp;quot;UserNumber&amp;quot;)&lt;br /&gt;
    USER_NUMBER(&amp;quot;UserNumber&amp;quot;),&lt;br /&gt;
    @XmlEnumValue(&amp;quot;DisplayName&amp;quot;)&lt;br /&gt;
    DISPLAY_NAME(&amp;quot;DisplayName&amp;quot;);&lt;br /&gt;
    private final String value;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enum type as SOAP service inputs</title><link>https://community.appian.com/thread/62239?ContentTypeID=1</link><pubDate>Fri, 02 Nov 2018 21:20:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:683de528-5721-4ca9-824c-956139ebfadc</guid><dc:creator>ramakrishnac0001</dc:creator><description>Thanks Carlos, looks like we have to build custom java plug-in to overcome this. Planning to raise a enhancement ticket to Appian also as ENUMs are common in java services.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enum type as SOAP service inputs</title><link>https://community.appian.com/thread/62230?ContentTypeID=1</link><pubDate>Fri, 02 Nov 2018 13:11:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e50b2e81-a009-4cef-a583-30058124757e</guid><dc:creator>Carlos Santander</dc:creator><description>The WSDL might not be supported by Appian. Check out &lt;a href="https://docs.appian.com/suite/help/18.3/Call_Web_Service_Smart_Service.html#unsupported-xsd-constructs"&gt;docs.appian.com/.../Call_Web_Service_Smart_Service.html&lt;/a&gt;.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enum type as SOAP service inputs</title><link>https://community.appian.com/thread/62204?ContentTypeID=1</link><pubDate>Fri, 02 Nov 2018 03:10:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e56b0755-ab16-43b6-8eea-e5bfe06d4fc7</guid><dc:creator>josep</dc:creator><description>Hello Ramakrishna &lt;br /&gt;
&lt;br /&gt;
Can you share the definition of the enumeration? &lt;br /&gt;
&lt;br /&gt;
It can be defined as string with the restriction of values as enumeration. &lt;br /&gt;
&lt;br /&gt;
Can you mention more details of what you have tried  so far? Is there any public service that can be tested with it? &lt;br /&gt;
&lt;br /&gt;
Other questions just for the sake of curiosity, is that SOAP coming from .Net? Java? &lt;br /&gt;
&lt;br /&gt;
Jose&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>