<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Return custom object in Server Object Extension (SOE) in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/return-custom-object-in-server-object-extension/m-p/578573#M15620</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is the way in SOAP SOE:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Create a custom class, need to inherit from IXMLSerialize&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;using System.Runtime.Serialization;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;public class CustomOutputInfo : IXMLSerialize&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;eg:&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Sample_Find_near_features_SOAP_SOE/000100000m32000000/"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Sample_Find_near_features_SOAP_SOE/000100000m32000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Add the custom type in to the WSDL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;xs:complexType name="CustomLayerInfo"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;xs:sequence&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:element name="Name" type="xs:string" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:element name="ID" type="xs:int" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:element name="Extent" type="Envelope" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/xs:sequence&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/xs:complexType&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Then you can return object using this type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; respMsg.Parameters.AddObject("ReturnResult", customOutputInfo);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Feb 2014 14:01:06 GMT</pubDate>
    <dc:creator>siyufan</dc:creator>
    <dc:date>2014-02-03T14:01:06Z</dc:date>
    <item>
      <title>Return custom object in Server Object Extension (SOE)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/return-custom-object-in-server-object-extension/m-p/578572#M15619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can someone show me the way to expose a custom object (for example a list of enterprise) in a Server Object Extension please. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 13:35:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/return-custom-object-in-server-object-extension/m-p/578572#M15619</guid>
      <dc:creator>CarlTremblay</dc:creator>
      <dc:date>2014-02-03T13:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Return custom object in Server Object Extension (SOE)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/return-custom-object-in-server-object-extension/m-p/578573#M15620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is the way in SOAP SOE:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Create a custom class, need to inherit from IXMLSerialize&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;using System.Runtime.Serialization;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;public class CustomOutputInfo : IXMLSerialize&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;eg:&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Sample_Find_near_features_SOAP_SOE/000100000m32000000/"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/Sample_Find_near_features_SOAP_SOE/000100000m32000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Add the custom type in to the WSDL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;xs:complexType name="CustomLayerInfo"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;xs:sequence&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:element name="Name" type="xs:string" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:element name="ID" type="xs:int" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:element name="Extent" type="Envelope" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/xs:sequence&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/xs:complexType&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Then you can return object using this type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; respMsg.Parameters.AddObject("ReturnResult", customOutputInfo);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 14:01:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/return-custom-object-in-server-object-extension/m-p/578573#M15620</guid>
      <dc:creator>siyufan</dc:creator>
      <dc:date>2014-02-03T14:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Return custom object in Server Object Extension (SOE)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/return-custom-object-in-server-object-extension/m-p/578574#M15621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ESRI has a number of samples for this with come with the SDK:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Program Files (x86)\ArcGIS\DeveloperKit10.2\Samples\ArcObjectsNet\*SOE&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 18:21:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/return-custom-object-in-server-object-extension/m-p/578574#M15621</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2014-02-03T18:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Return custom object in Server Object Extension (SOE)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/return-custom-object-in-server-object-extension/m-p/578575#M15622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much guys ...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 17:51:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/return-custom-object-in-server-object-extension/m-p/578575#M15622</guid>
      <dc:creator>CarlTremblay</dc:creator>
      <dc:date>2014-02-04T17:51:16Z</dc:date>
    </item>
  </channel>
</rss>

