• TriCoop
  • NEWBIE
  • 0 Points
  • Member since 2010

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 4
    Replies

I have an outbound message set up to send a SOAP request to a web service that I have created.  In viewing the actual request there is an organization id that is sent:

 

<notifications xmlns="http://soap.sforce.com/2005/09/outbound">
   <OrganizationId>00DS00000007WwpMAE</OrganizationId>

 

I was hoping to use this id for identification purposes because I'll end up having multiple SFDC customers using this web service.  The problem, though, is that the id has "MAE" tacked onto the end.  Does anyone know whether this is a standard practice?  Is this possibly happening because I'm generating the request out of my sandbox?  I don't want to just remove the last 3 characters because I'm not certain what SFDC is going to do in either a live environment or with  different customers.

 

Thanks

  • September 17, 2010
  • Like
  • 0

Sorry if this is a stupid question, but I've tried everything I can and can't figure this one out.  I have the following requirement:

 

On the Add/Edit of a Case in SalesForce automatically send the data to an external system via a web service.

 

I have created an APEX class using the WSDL from the external system - no problems there.  However, now I can't figure out how to actually invoke this class in order to send the data to the external system.  I've tried adding an Insert trigger to the Case, but that gives me an error saying that that isn't supported.  I tried creating a helper class that invokes the web service and put the @Future (callout=true) markup at the head of the method, but that too fails.  I even tried using a RESTful call and building the SOAP msg myself - still no joy.  All of the information I've been able to find so far gives summaries and generalizations and partial psuedo-code but no real concrete information on actually how to do what I'm attempting.

 

I've done this quite easily with other systems, but just can't figure out how to do it in SalesForce.  If anyone can lend a hand I'd much appreciate it.

 

I'm trying to generate an APEX class from a WSDL. When I choose the WSDL and click the Parse XML button I get the "Failed to parse wsdl: Unable to find schema for element; {http://www.w3.org/2001/XMLSchema}" error.

I found the message from ThomasTT regarding this issue, but quite frankly I'm new to SFDC and am also not an expert on WSDLs and couldn't figure out how it applied to my situation. We have an application which generates its own WSDL. I've used this before when integrating other applications, successfully generating a SOAP request to our system and it works just fine. SFDC, though, is proving a bit challenging.

 

I've tried everything I can think of and cannot figure out what's wrong. If anyone could help, I'd much appreciate it.

 

<?xml version="1.0" encoding="UTF-8" ?>
<!-- W3C CATSWeb Web Services WSDL File generated by
AssurX CWXML v6.29/CWFormGen v6.29
by Joe Smith 6/9/2010 9:41:17 AM -->


<definitions
xmlns="http://schemas.xmlsoap.org/wsdl/"
targetNamespace="http://www.assurx.com/catsweb.xsd"
xmlns:tns="http://www.assurx.com/catsweb.xsd"
xmlns:asx="http://www.assurx.com/catsweb.xsd"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext">

<xsd:annotation>
<xsd:documentation xml:lang="en">
CATSWeb Web Service WSDL File
</xsd:documentation>
</xsd:annotation>

<types>

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace = "http://www.assurx.com/catsweb.xsd"
xmlns:tns="http://www.assurx.com/catsweb.xsd"
xmlns:asx="http://www.assurx.com/catsweb.xsd"
elementFormDefault="unqualified"
attributeFormDefault="unqualified"
xml:lang="en">
<xsd:import namespace="http://www.w3.org/2001/XMLSchema"/>


<!-- AddEditDeleteAction -->

<xsd:complexType name="AddEditDeleteActionRequestType">
<xsd:sequence>
<xsd:element name="ActionID" type="xsd:int" minOccurs="0" maxOccurs="1" nillable="true"/>
<!-- Authentication elements -->
<xsd:element name="Authentication_LoginCompanyName" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_UserID" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_UserPassword" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_ManagerialPassword" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_SessionID" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>

<!-- Normal data elements -->

<xsd:element name="Category" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<xsd:element name="Text1" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="ShortText1" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="ShortText2" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Title" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<xsd:element name="Status" type="xsd:short" minOccurs="1" maxOccurs="1" nillable="true"/>
<xsd:element name="Department" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<xsd:element name="AssignedTo" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<xsd:element name="DateClosedGoal" type="xsd:dateTime" minOccurs="1" maxOccurs="1" nillable="true"/>
<xsd:element name="StandardDate001" type="xsd:dateTime" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="NonRequired" type="xsd:short" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="ShortText3" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Action_Description" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="InvestigationNotes" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="StandardYesNo001" type="xsd:short" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="ReasonForEdit" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<xsd:element name="DeleteEntity" type="xsd:boolean" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="AnyOtherFields" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
</xsd:sequence>
</xsd:complexType>

<!-- Request/Response Elements -->
<xsd:element name="AddEditDeleteActionRequest" type="asx:AddEditDeleteActionRequestType"/>
<xsd:element name="AddEditDeleteActionResponse" type="asx:NumericRecordIDResponseType"/>



<!-- Generic Types -->
<xsd:complexType name="NumericRecordIDRequestType">
<xsd:sequence>
<!-- Authentication elements -->
<xsd:element name="Authentication_LoginCompanyName" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_UserID" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_UserPassword" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_ManagerialPassword" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_SessionID" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<!-- Normal data elements -->
<xsd:element name="RecordID" type="xsd:int" minOccurs="1" maxOccurs="1"/>
<xsd:element name="ParentType" type="xsd:short" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="ParentID" type="xsd:int" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="ArchiveID" type="xsd:int" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="IncludeCaptions" type="xsd:short" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="IncludeDescriptions" type="xsd:short" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="ExcludeUnusedFields" type="xsd:short" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="AnyOtherNumericRecordIDRequestTypeData" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="NonNumericRecordIDRequestType">
<xsd:sequence>
<!-- Authentication elements -->
<xsd:element name="Authentication_LoginCompanyName" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_UserID" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_UserPassword" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_ManagerialPassword" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_SessionID" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<!-- Normal data elements -->
<xsd:element name="RecordID1" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="RecordID2" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="RecordID3" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="RecordID4" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="RecordID5" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="ArchiveID" type="xsd:int" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="IncludeCaptions" type="xsd:short" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="IncludeDescriptions" type="xsd:short" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="ExcludeUnusedFields" type="xsd:short" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="AnyOtherNonNumericRecordIDRequestTypeData" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="NumericRecordIDResponseType">
<xsd:sequence>
<xsd:element name="ReturnValue" type="xsd:int" minOccurs="1" maxOccurs="1"/>
<xsd:element name="RecordID" type="xsd:int" minOccurs="1" maxOccurs="1"/>
<xsd:element name="ParentType" type="xsd:short" minOccurs="0" maxOccurs="1"/>
<xsd:element name="ParentID" type="xsd:int" minOccurs="0" maxOccurs="1"/>
<xsd:element name="ArchiveID" type="xsd:int" minOccurs="0" maxOccurs="1"/>
<xsd:element name="StatusMessage" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="AnyOtherNumericRecordIDResponseTypeData" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="NonNumericRecordIDResponseType">
<xsd:sequence>
<xsd:element name="ReturnValue" type="xsd:int" minOccurs="1" maxOccurs="1"/>
<xsd:element name="RecordID1" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="ArchiveID" type="xsd:int" minOccurs="0" maxOccurs="1"/>
<xsd:element name="RecordID2" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="RecordID3" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="RecordID4" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="RecordID5" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="StatusMessage" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="AnyOtherNonNumericRecordIDResponseTypeData" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="FileAttachmentRequestType">
<xsd:sequence>
<!-- Authentication elements -->
<xsd:element name="Authentication_LoginCompanyName" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_UserID" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_UserPassword" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_ManagerialPassword" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_SessionID" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<!-- Normal data elements -->
<xsd:element name="RecordID" type="xsd:int" minOccurs="1" maxOccurs="1"/>
<xsd:element name="ParentType" type="xsd:short" minOccurs="0" maxOccurs="1"/>
<xsd:element name="ParentID" type="xsd:int" minOccurs="0" maxOccurs="1"/>
<xsd:element name="ArchiveID" type="xsd:int" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="IncludeBinaryContent" type="xsd:boolean" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="BinaryContentCompression" type="xsd:short" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="AnyOtherFileAttachmentRequestTypeData" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
</xsd:sequence>
</xsd:complexType>
<!-- OperationErrorsType: Used for SOAP Faults -->
<xsd:complexType name="OperationErrorsType">
<xsd:sequence>
<xsd:element name="ReturnValue" type="xsd:int" minOccurs="1" maxOccurs="1"/>
<xsd:element name="RaisedByOperation" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="ObjectCalled" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="MethodCalled" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="SuggestedSolution" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="ErrorSource" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="ErrorCount" type="xsd:int" minOccurs="1" maxOccurs="1"/>
<xsd:element name="ErrorMessage" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="OperationErrors" type="asx:OperationErrorsType"/>
<xsd:complexType name="FieldArrayType">
<xsd:sequence>
<xsd:element name="AnyOtherFieldTypeData" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="DataSetType">
<xsd:sequence>
<xsd:element ref="xsd:schema"/>
<xsd:any/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="XMLStringType">
<xsd:sequence>
<xsd:element name="XMLString" type="xsd:string" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="XMLNodeType" mixed="true">
<xsd:sequence>
<xsd:any/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="XMLDataRowType">
<xsd:sequence>
<xsd:any/>
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="XMLRowSetType">
<xsd:sequence>
<xsd:element name="Record_Instance" type="asx:XMLDataRowType" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="XMLDataSetType">
<xsd:sequence>
<xsd:element name="Record_Instance" type="asx:XMLRowSetType" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="XMLDataSetsType">
<xsd:sequence>
<xsd:element name="Record_Instance" type="asx:XMLRowSetType" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>


</xsd:schema>
</types>



<message name="AddEditDeleteActionSoapIn">
<part name="mainPart" element="asx:AddEditDeleteActionRequest"/>
</message>
<message name="AddEditDeleteActionSoapOut">
<part name="mainPart" element="asx:AddEditDeleteActionResponse"/>
</message>



<message name="FaultMsg">
<part name="mainPart" element="asx:OperationErrors"/>
</message>


<portType name="CATSWebPortType">

<operation name="AddEditDeleteAction">
<input message="tns:AddEditDeleteActionSoapIn"/>
<output message="tns:AddEditDeleteActionSoapOut"/>
<fault name="tns:AddEditDeleteActionFault" message="tns:FaultMsg"/>
</operation>

</portType>

<binding name="CATSWebBindingName" type="tns:CATSWebPortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>

<operation name="AddEditDeleteAction">
<soap:operation soapAction="AddEditDeleteAction" style="document"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
<fault name="tns:AddEditDeleteActionFault">
<soap:fault name="tns:AddEditDeleteActionFault" use="literal"/>
</fault>
</operation>

</binding>


<service name="CATSWebService">
<port name="CATSWebPortName" binding="tns:CATSWebBindingName">

<soap:address location="http://localhost/CATSWebServices/main.asmx"/>
</port>
</service>

</definitions>

I have an outbound message set up to send a SOAP request to a web service that I have created.  In viewing the actual request there is an organization id that is sent:

 

<notifications xmlns="http://soap.sforce.com/2005/09/outbound">
   <OrganizationId>00DS00000007WwpMAE</OrganizationId>

 

I was hoping to use this id for identification purposes because I'll end up having multiple SFDC customers using this web service.  The problem, though, is that the id has "MAE" tacked onto the end.  Does anyone know whether this is a standard practice?  Is this possibly happening because I'm generating the request out of my sandbox?  I don't want to just remove the last 3 characters because I'm not certain what SFDC is going to do in either a live environment or with  different customers.

 

Thanks

  • September 17, 2010
  • Like
  • 0

Sorry if this is a stupid question, but I've tried everything I can and can't figure this one out.  I have the following requirement:

 

On the Add/Edit of a Case in SalesForce automatically send the data to an external system via a web service.

 

I have created an APEX class using the WSDL from the external system - no problems there.  However, now I can't figure out how to actually invoke this class in order to send the data to the external system.  I've tried adding an Insert trigger to the Case, but that gives me an error saying that that isn't supported.  I tried creating a helper class that invokes the web service and put the @Future (callout=true) markup at the head of the method, but that too fails.  I even tried using a RESTful call and building the SOAP msg myself - still no joy.  All of the information I've been able to find so far gives summaries and generalizations and partial psuedo-code but no real concrete information on actually how to do what I'm attempting.

 

I've done this quite easily with other systems, but just can't figure out how to do it in SalesForce.  If anyone can lend a hand I'd much appreciate it.

 

I'm trying to generate an APEX class from a WSDL. When I choose the WSDL and click the Parse XML button I get the "Failed to parse wsdl: Unable to find schema for element; {http://www.w3.org/2001/XMLSchema}" error.

I found the message from ThomasTT regarding this issue, but quite frankly I'm new to SFDC and am also not an expert on WSDLs and couldn't figure out how it applied to my situation. We have an application which generates its own WSDL. I've used this before when integrating other applications, successfully generating a SOAP request to our system and it works just fine. SFDC, though, is proving a bit challenging.

 

I've tried everything I can think of and cannot figure out what's wrong. If anyone could help, I'd much appreciate it.

 

<?xml version="1.0" encoding="UTF-8" ?>
<!-- W3C CATSWeb Web Services WSDL File generated by
AssurX CWXML v6.29/CWFormGen v6.29
by Joe Smith 6/9/2010 9:41:17 AM -->


<definitions
xmlns="http://schemas.xmlsoap.org/wsdl/"
targetNamespace="http://www.assurx.com/catsweb.xsd"
xmlns:tns="http://www.assurx.com/catsweb.xsd"
xmlns:asx="http://www.assurx.com/catsweb.xsd"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext">

<xsd:annotation>
<xsd:documentation xml:lang="en">
CATSWeb Web Service WSDL File
</xsd:documentation>
</xsd:annotation>

<types>

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace = "http://www.assurx.com/catsweb.xsd"
xmlns:tns="http://www.assurx.com/catsweb.xsd"
xmlns:asx="http://www.assurx.com/catsweb.xsd"
elementFormDefault="unqualified"
attributeFormDefault="unqualified"
xml:lang="en">
<xsd:import namespace="http://www.w3.org/2001/XMLSchema"/>


<!-- AddEditDeleteAction -->

<xsd:complexType name="AddEditDeleteActionRequestType">
<xsd:sequence>
<xsd:element name="ActionID" type="xsd:int" minOccurs="0" maxOccurs="1" nillable="true"/>
<!-- Authentication elements -->
<xsd:element name="Authentication_LoginCompanyName" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_UserID" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_UserPassword" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_ManagerialPassword" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_SessionID" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>

<!-- Normal data elements -->

<xsd:element name="Category" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<xsd:element name="Text1" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="ShortText1" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="ShortText2" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Title" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<xsd:element name="Status" type="xsd:short" minOccurs="1" maxOccurs="1" nillable="true"/>
<xsd:element name="Department" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<xsd:element name="AssignedTo" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<xsd:element name="DateClosedGoal" type="xsd:dateTime" minOccurs="1" maxOccurs="1" nillable="true"/>
<xsd:element name="StandardDate001" type="xsd:dateTime" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="NonRequired" type="xsd:short" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="ShortText3" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Action_Description" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="InvestigationNotes" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="StandardYesNo001" type="xsd:short" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="ReasonForEdit" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<xsd:element name="DeleteEntity" type="xsd:boolean" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="AnyOtherFields" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
</xsd:sequence>
</xsd:complexType>

<!-- Request/Response Elements -->
<xsd:element name="AddEditDeleteActionRequest" type="asx:AddEditDeleteActionRequestType"/>
<xsd:element name="AddEditDeleteActionResponse" type="asx:NumericRecordIDResponseType"/>



<!-- Generic Types -->
<xsd:complexType name="NumericRecordIDRequestType">
<xsd:sequence>
<!-- Authentication elements -->
<xsd:element name="Authentication_LoginCompanyName" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_UserID" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_UserPassword" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_ManagerialPassword" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_SessionID" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<!-- Normal data elements -->
<xsd:element name="RecordID" type="xsd:int" minOccurs="1" maxOccurs="1"/>
<xsd:element name="ParentType" type="xsd:short" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="ParentID" type="xsd:int" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="ArchiveID" type="xsd:int" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="IncludeCaptions" type="xsd:short" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="IncludeDescriptions" type="xsd:short" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="ExcludeUnusedFields" type="xsd:short" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="AnyOtherNumericRecordIDRequestTypeData" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="NonNumericRecordIDRequestType">
<xsd:sequence>
<!-- Authentication elements -->
<xsd:element name="Authentication_LoginCompanyName" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_UserID" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_UserPassword" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_ManagerialPassword" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_SessionID" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<!-- Normal data elements -->
<xsd:element name="RecordID1" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="RecordID2" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="RecordID3" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="RecordID4" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="RecordID5" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="ArchiveID" type="xsd:int" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="IncludeCaptions" type="xsd:short" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="IncludeDescriptions" type="xsd:short" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="ExcludeUnusedFields" type="xsd:short" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="AnyOtherNonNumericRecordIDRequestTypeData" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="NumericRecordIDResponseType">
<xsd:sequence>
<xsd:element name="ReturnValue" type="xsd:int" minOccurs="1" maxOccurs="1"/>
<xsd:element name="RecordID" type="xsd:int" minOccurs="1" maxOccurs="1"/>
<xsd:element name="ParentType" type="xsd:short" minOccurs="0" maxOccurs="1"/>
<xsd:element name="ParentID" type="xsd:int" minOccurs="0" maxOccurs="1"/>
<xsd:element name="ArchiveID" type="xsd:int" minOccurs="0" maxOccurs="1"/>
<xsd:element name="StatusMessage" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="AnyOtherNumericRecordIDResponseTypeData" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="NonNumericRecordIDResponseType">
<xsd:sequence>
<xsd:element name="ReturnValue" type="xsd:int" minOccurs="1" maxOccurs="1"/>
<xsd:element name="RecordID1" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="ArchiveID" type="xsd:int" minOccurs="0" maxOccurs="1"/>
<xsd:element name="RecordID2" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="RecordID3" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="RecordID4" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="RecordID5" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="StatusMessage" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="AnyOtherNonNumericRecordIDResponseTypeData" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="FileAttachmentRequestType">
<xsd:sequence>
<!-- Authentication elements -->
<xsd:element name="Authentication_LoginCompanyName" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_UserID" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_UserPassword" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_ManagerialPassword" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="Authentication_SessionID" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<!-- Normal data elements -->
<xsd:element name="RecordID" type="xsd:int" minOccurs="1" maxOccurs="1"/>
<xsd:element name="ParentType" type="xsd:short" minOccurs="0" maxOccurs="1"/>
<xsd:element name="ParentID" type="xsd:int" minOccurs="0" maxOccurs="1"/>
<xsd:element name="ArchiveID" type="xsd:int" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="IncludeBinaryContent" type="xsd:boolean" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="BinaryContentCompression" type="xsd:short" minOccurs="0" maxOccurs="1" nillable="true"/>
<xsd:element name="AnyOtherFileAttachmentRequestTypeData" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
</xsd:sequence>
</xsd:complexType>
<!-- OperationErrorsType: Used for SOAP Faults -->
<xsd:complexType name="OperationErrorsType">
<xsd:sequence>
<xsd:element name="ReturnValue" type="xsd:int" minOccurs="1" maxOccurs="1"/>
<xsd:element name="RaisedByOperation" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="ObjectCalled" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="MethodCalled" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="SuggestedSolution" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="ErrorSource" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="ErrorCount" type="xsd:int" minOccurs="1" maxOccurs="1"/>
<xsd:element name="ErrorMessage" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="OperationErrors" type="asx:OperationErrorsType"/>
<xsd:complexType name="FieldArrayType">
<xsd:sequence>
<xsd:element name="AnyOtherFieldTypeData" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="DataSetType">
<xsd:sequence>
<xsd:element ref="xsd:schema"/>
<xsd:any/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="XMLStringType">
<xsd:sequence>
<xsd:element name="XMLString" type="xsd:string" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="XMLNodeType" mixed="true">
<xsd:sequence>
<xsd:any/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="XMLDataRowType">
<xsd:sequence>
<xsd:any/>
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="XMLRowSetType">
<xsd:sequence>
<xsd:element name="Record_Instance" type="asx:XMLDataRowType" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="XMLDataSetType">
<xsd:sequence>
<xsd:element name="Record_Instance" type="asx:XMLRowSetType" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="XMLDataSetsType">
<xsd:sequence>
<xsd:element name="Record_Instance" type="asx:XMLRowSetType" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>


</xsd:schema>
</types>



<message name="AddEditDeleteActionSoapIn">
<part name="mainPart" element="asx:AddEditDeleteActionRequest"/>
</message>
<message name="AddEditDeleteActionSoapOut">
<part name="mainPart" element="asx:AddEditDeleteActionResponse"/>
</message>



<message name="FaultMsg">
<part name="mainPart" element="asx:OperationErrors"/>
</message>


<portType name="CATSWebPortType">

<operation name="AddEditDeleteAction">
<input message="tns:AddEditDeleteActionSoapIn"/>
<output message="tns:AddEditDeleteActionSoapOut"/>
<fault name="tns:AddEditDeleteActionFault" message="tns:FaultMsg"/>
</operation>

</portType>

<binding name="CATSWebBindingName" type="tns:CATSWebPortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>

<operation name="AddEditDeleteAction">
<soap:operation soapAction="AddEditDeleteAction" style="document"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
<fault name="tns:AddEditDeleteActionFault">
<soap:fault name="tns:AddEditDeleteActionFault" use="literal"/>
</fault>
</operation>

</binding>


<service name="CATSWebService">
<port name="CATSWebPortName" binding="tns:CATSWebBindingName">

<soap:address location="http://localhost/CATSWebServices/main.asmx"/>
</port>
</service>

</definitions>