Loading ...
Sorry, an error occurred while loading the content.

WSDL and SOAP::Data - parameters not being passed at all?

Expand Messages
  • danny.glue
    Dear All, I m trying to write a client to call the LeadInsert method based on the wsdl attached (it s generated by a Java CRM from Oracle). My code is as
    Message 1 of 1 , May 28 10:07 PM
    • 0 Attachment
      Dear All,

      I'm trying to write a client to call the 'LeadInsert' method based on the wsdl attached (it's
      generated by a Java CRM from Oracle).
      My code is as follows:

      ...
      use SOAP::Lite + trace => [qw(debug)];
      my $client = SOAP::Lite->service('file:./leadc.wsdl');
      $client->proxy('https://secure-ausomxcsa.crmondemand.com', cookie_jar => $ua-
      >cookie_jar); # I've previously got the cookie_jar from LWP::UserAgent

      my $data = SOAP::Data->name("ListOfLead" =>
      \SOAP::Data->value(
      SOAP::Data->name("Lead" =>
      \SOAP::Data->value(
      SOAP::Data->name('ContactFirstName' => 'First Name'),
      SOAP::Data->name('ContactLastName' => 'Last Name'),
      SOAP::Data->name('Country' => 'Australia'),
      SOAP::Data->name('Description' => 'Description'),
      SOAP::Data->name('LeadEmail' => 'tester@...'),
      SOAP::Data->name('Source' => 'Web Site'),
      SOAP::Data->name('City' => 'Sydney'),
      SOAP::Data->name('LeadOwner' => 'Web Site'),
      )
      )
      )
      );

      $client->LeadInsert($data);

      #END#

      which the return this:

      SOAP::Transport::HTTP::Client::send_receive: POST https://secure-
      ausomxcsa.crmondemand.com/Services/Integration HTTP/1.1
      Accept: text/xml
      Accept: multipart/*
      Accept: application/soap
      Content-Length: 516
      Content-Type: text/xml; charset=utf-8
      SOAPAction: "document/urn:crmondemand/ws/lead/10/2004:LeadInsert"

      <?xml version="1.0" encoding="UTF-8"?><soap:Envelope
      soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:xsdLocal1="urn:/crmondemand/xml/lead"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      xmlns:tns="urn:crmondemand/ws/lead/10/2004"><soap:Body><tns:LeadInsert><c-
      gensym3 xsi:nil="true" /></tns:LeadInsert></soap:Body></soap:Envelope>
      SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 500 Internal Server Error
      Cache-Control: no-cache
      Connection: Close
      Date: Thu, 29 May 2008 04:47:39 GMT
      Pragma: no-cache
      Server: Oracle-Application-Server-10g OracleAS-Web-Cache-10g/10.1.2.0.2
      (N;ecid=85779131863,0)
      Content-Length: 840
      Content-Type: text/xml
      Expires: Wed, 31 Dec 1969 23:59:59 GMT
      Client-Date: Thu, 29 May 2008 04:47:39 GMT
      Client-Peer: 141.146.149.185:443
      Client-Response-Num: 1
      Client-SSL-Cert-Issuer: /C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=Terms
      of use at https://www.verisign.com/rpa (c)05/CN=VeriSign Class 3 Secure Server CA
      Client-SSL-Cert-Subject: /C=US/ST=California/L=Redwood Shores/O=Oracle
      Corporation/OU=Global IT/OU=Terms of use at www.verisign.com/rpa (c)00/CN=secure-
      ausomxcsa.crmondemand.com
      Client-SSL-Cipher: AES256-SHA
      Client-SSL-Warning: Peer certificate not verified
      Set-Cookie: JSESSIONID=8d92fe8330d591111505a1ae4f90a6bffba20e0787e5;
      path=/Services

      <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-
      ENV="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Body><SOAP-
      ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>Argument
      'urn:crmondemand/ws/lead/10/2004:LeadInsert' for Operation
      'LeadInsert' is not known.(SBL-EAI-
      04304)</faultstring><detail><siebelf:errorstack
      xmlns:siebelf="http://www.siebel.com/ws/fault"><siebelf:error><siebelf:errorsymbol><
      /siebelf:errorsymbol><siebelf:errormsg>Argument
      'urn:crmondemand/ws/lead/10/2004:LeadInsert' for Operation
      'LeadInsert' is not known.(SBL-EAI-
      04304)</siebelf:errormsg></siebelf:error></siebelf:errorstack></detail></SOAP-
      ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>

      #END#

      Seems like the no parameter is being passed at all. I'm on Perl v5.8.8 with latest
      SOAP::Lite.

      What have I done wrong?

      Regards,
      Danny

      --------------------WSDL-------------------

      <?xml version="1.0" encoding="UTF-8"?>
      <?Siebel-Property-Set EscapeNames="false"?>
      <definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
      xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
      xmlns:xsdLocal1="urn:/crmondemand/xml/lead"
      targetNamespace="urn:crmondemand/ws/lead/10/2004"
      xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      xmlns:tns="urn:crmondemand/ws/lead/10/2004"><types><xsd:schema
      elementFormDefault="qualified" attributeFormDefault="unqualified"
      xmlns:xsdLocal1="urn:/crmondemand/xml/lead"
      targetNamespace="urn:/crmondemand/xml/lead"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"><xsd:annotation><xsd:documentati
      on>Copyright (C) 2001-2003 Siebel Systems, Inc. All rights reserved. Siebel XSD
      Generation</xsd:documentation>
      </xsd:annotation>
      <xsd:element name="ListOfLead" type="xsdLocal1:ListOfLead"/>
      <xsd:complexType name="ListOfLeadTopElmt"><xsd:sequence><xsd:element
      name="ListOfLead" maxOccurs="1" minOccurs="1" type="xsdLocal1:ListOfLead"/>
      </xsd:sequence>
      </xsd:complexType>
      <xsd:complexType name="ListOfLead"><xsd:sequence><xsd:element name="Lead"
      maxOccurs="unbounded" minOccurs="0" type="xsdLocal1:Lead"/>
      </xsd:sequence>
      </xsd:complexType>
      <xsd:complexType name="Lead"><xsd:sequence><xsd:element
      name="ReferredByLastName" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="ReferredByFirstName" maxOccurs="1" minOccurs="0"
      type="xsd:string"/>
      <xsd:element name="LastUpdated" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="LeadId" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="ModId" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="AccountId" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="AccountName" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string100"/>
      <xsd:element name="AnnualRevenues" maxOccurs="1" minOccurs="0"
      type="xsd:string"/>
      <xsd:element name="CampaignId" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="Campaign" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string100"/>
      <xsd:element name="CellularPhone" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="City" maxOccurs="1" minOccurs="0" type="xsdLocal1:string50"/>
      <xsd:element name="Company" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string100"/>
      <xsd:element name="LeadConcatField" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string255"/>
      <xsd:element name="ContactFirstName" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string50"/>
      <xsd:element name="ContactFullName" maxOccurs="1" minOccurs="0"
      type="xsd:string"/>
      <xsd:element name="ContactId" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="ContactLastName" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string50"/>
      <xsd:element name="Country" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="CreatedDate" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="CreatedById" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="CreatedBy" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="Description" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string2000"/>
      <xsd:element name="LeadEmail" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string100"/>
      <xsd:element name="EstimatedCloseDate" maxOccurs="1" minOccurs="0"
      type="xsd:string"/>
      <xsd:element name="ExternalSystemId" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="FaxPhone" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="LeadFirstName" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string50"/>
      <xsd:element name="LeadFullName" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="Industry" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string50"/>
      <xsd:element name="IntegrationId" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="JobTitle" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string75"/>
      <xsd:element name="LeadLastName" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string50"/>
      <xsd:element name="Rating" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="Source" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="Status" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="MrMrs" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string15"/>
      <xsd:element name="ModifiedDate" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="ModifiedById" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="ModifiedBy" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="NextStep" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string250"/>
      <xsd:element name="NumberEmployees" maxOccurs="1" minOccurs="0"
      type="xsd:string"/>
      <xsd:element name="OpportunityId" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="OpportunityName" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string100"/>
      <xsd:element name="LeadOwner" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="OwnerId" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="ZipCode" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="PotentialRevenue" maxOccurs="1" minOccurs="0"
      type="xsd:string"/>
      <xsd:element name="ProductInterest" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string100"/>
      <xsd:element name="ReassignLeadOwner" maxOccurs="1" minOccurs="0"
      type="xsd:string"/>
      <xsd:element name="SalesPersonFullName" maxOccurs="1" minOccurs="0"
      type="xsd:string"/>
      <xsd:element name="SalesRepId" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="SalesPerson" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string50"/>
      <xsd:element name="StateProvince" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="StreetAddress" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string200"/>
      <xsd:element name="NeverEmail" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="Website" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string100"/>
      <xsd:element name="PrimaryPhone" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="plReferral_Source" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="AccountIntegrationId" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="AccountLocation" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string50"/>
      <xsd:element name="CurrencyCode" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string20"/>
      <xsd:element name="ContactIntegrationId" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="County" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string50"/>
      <xsd:element name="OpportunityIntegrationId" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="Owner" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string50"/>
      <xsd:element name="Province" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string50"/>
      <xsd:element name="StreetAddress2" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string100"/>
      <xsd:element name="StreetAddress3" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string100"/>
      <xsd:element name="AccountFuriganaName" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string100"/>
      <xsd:element name="ContactFuriganaFirstName" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string50"/>
      <xsd:element name="ContactFuriganaLastName" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string50"/>
      <xsd:element name="FuriganaFirstName" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string50"/>
      <xsd:element name="FuriganaLastName" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string50"/>
      <xsd:element name="AccountExternalSystemId" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="OpportunityExternalSystemId" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="ContactExternalSystemId" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="CampaignExternalSystemId" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="SalesPersonExternalSystemId" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="CampaignIntegrationId" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="CreatedbyEmailAddress" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string100"/>
      <xsd:element name="ModifiedbyEmailAddress" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="LastAssessmentDate" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="AssessmentCategory1" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="AssessmentCategory2" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="AssessmentCategory3" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="AssessmentCategory4" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="OwnerExternalSystemId" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="OwnerIntegrationId" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="ReferredById" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string15"/>
      <xsd:element name="ReferredByExternalSystemId" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="ReferredByFullName" maxOccurs="1" minOccurs="0"
      type="xsd:string"/>
      <xsd:element name="CustomObject1ExternalSystemId" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="CustomObject1Id" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string15"/>
      <xsd:element name="CustomObject1Name" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string255"/>
      <xsd:element name="CustomObject2Id" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string15"/>
      <xsd:element name="CustomObject2Name" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string255"/>
      <xsd:element name="CustomObject2ExternalSystemId" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="CustomObject3Id" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string15"/>
      <xsd:element name="CustomObject3Name" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string255"/>
      <xsd:element name="CustomObject3ExternalSystemId" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="msplService_Interest" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string330"/>
      <xsd:element name="LastAssignmentCompletionDate" maxOccurs="1" minOccurs="0"
      type="xsd:string"/>
      <xsd:element name="LastAssignmentSubmissionDate" maxOccurs="1" minOccurs="0"
      type="xsd:string"/>
      <xsd:element name="AssignmentStatus" maxOccurs="1" minOccurs="0"
      type="xsd:string"/>
      <xsd:element name="IndexedBoolean0" maxOccurs="1" minOccurs="0"
      type="xsd:string"/>
      <xsd:element name="IndexedCurrency0" maxOccurs="1" minOccurs="0"
      type="xsd:string"/>
      <xsd:element name="IndexedDate0" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="IndexedLongText0" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string255"/>
      <xsd:element name="IndexedNumber0" maxOccurs="1" minOccurs="0"
      type="xsd:string"/>
      <xsd:element name="IndexedPick0" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="IndexedPick1" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="IndexedPick2" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="IndexedPick3" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="IndexedPick4" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="IndexedPick5" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="IndexedShortText0" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string40"/>
      <xsd:element name="IndexedShortText1" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string40"/>
      <xsd:element name="ListOfActivity" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:ListOfActivity"/>
      </xsd:sequence>
      </xsd:complexType>
      <xsd:complexType name="ListOfActivity"><xsd:sequence><xsd:element name="Activity"
      maxOccurs="unbounded" minOccurs="0" type="xsdLocal1:Activity"/>
      </xsd:sequence>
      </xsd:complexType>
      <xsd:complexType name="Activity"><xsd:sequence><xsd:element name="Owner"
      maxOccurs="1" minOccurs="0" type="xsdLocal1:string255"/>
      <xsd:element name="Subject" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string100"/>
      <xsd:element name="DueDate" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="Priority" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="Status" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="Type" maxOccurs="1" minOccurs="0" type="xsdLocal1:string30"/>
      <xsd:element name="AccountId" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="Account" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string100"/>
      <xsd:element name="ServiceRequestId" maxOccurs="1" minOccurs="0"
      type="xsd:string"/>
      <xsd:element name="CampaignId" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="Campaign" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string100"/>
      <xsd:element name="Description" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string1999"/>
      <xsd:element name="Contact" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="CreatedById" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="CreatedDate" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="CurrencyCode" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="Display" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="ExternalSystemId" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="ActivityId" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="LeadId" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="Location" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string100"/>
      <xsd:element name="ModifiedById" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="ModifiedDate" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="ModifiedBy" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string255"/>
      <xsd:element name="Opportunity" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string100"/>
      <xsd:element name="OpportunityId" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="OwnerId" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="ParentActivityId" maxOccurs="1" minOccurs="0"
      type="xsd:string"/>
      <xsd:element name="StartTime" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="EndTime" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="PrimaryContactId" maxOccurs="1" minOccurs="0"
      type="xsd:string"/>
      <xsd:element name="Private" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="ServiceRequest" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string64"/>
      <xsd:element name="IntegrationId" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="CreatedBy" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="ModId" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="IndexedBoolean0" maxOccurs="1" minOccurs="0"
      type="xsd:string"/>
      <xsd:element name="IndexedCurrency0" maxOccurs="1" minOccurs="0"
      type="xsd:string"/>
      <xsd:element name="IndexedDate0" maxOccurs="1" minOccurs="0" type="xsd:string"/>
      <xsd:element name="IndexedLongText0" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string255"/>
      <xsd:element name="IndexedNumber0" maxOccurs="1" minOccurs="0"
      type="xsd:string"/>
      <xsd:element name="IndexedPick0" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="IndexedPick1" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="IndexedPick2" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="IndexedPick3" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="IndexedPick4" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="IndexedPick5" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string30"/>
      <xsd:element name="IndexedShortText0" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string40"/>
      <xsd:element name="IndexedShortText1" maxOccurs="1" minOccurs="0"
      type="xsdLocal1:string40"/>
      </xsd:sequence>
      </xsd:complexType>
      <xsd:simpleType name="string330"><xsd:restriction
      base="xsd:string"><xsd:maxLength value="330"/>
      </xsd:restriction>
      </xsd:simpleType>
      <xsd:simpleType name="string250"><xsd:restriction
      base="xsd:string"><xsd:maxLength value="250"/>
      </xsd:restriction>
      </xsd:simpleType>
      <xsd:simpleType name="string2000"><xsd:restriction
      base="xsd:string"><xsd:maxLength value="2000"/>
      </xsd:restriction>
      </xsd:simpleType>
      <xsd:simpleType name="string1999"><xsd:restriction
      base="xsd:string"><xsd:maxLength value="1999"/>
      </xsd:restriction>
      </xsd:simpleType>
      <xsd:simpleType name="string50"><xsd:restriction base="xsd:string"><xsd:maxLength
      value="50"/>
      </xsd:restriction>
      </xsd:simpleType>
      <xsd:simpleType name="string64"><xsd:restriction base="xsd:string"><xsd:maxLength
      value="64"/>
      </xsd:restriction>
      </xsd:simpleType>
      <xsd:simpleType name="string255"><xsd:restriction
      base="xsd:string"><xsd:maxLength value="255"/>
      </xsd:restriction>
      </xsd:simpleType>
      <xsd:simpleType name="string15"><xsd:restriction base="xsd:string"><xsd:maxLength
      value="15"/>
      </xsd:restriction>
      </xsd:simpleType>
      <xsd:simpleType name="string75"><xsd:restriction base="xsd:string"><xsd:maxLength
      value="75"/>
      </xsd:restriction>
      </xsd:simpleType>
      <xsd:simpleType name="string40"><xsd:restriction base="xsd:string"><xsd:maxLength
      value="40"/>
      </xsd:restriction>
      </xsd:simpleType>
      <xsd:simpleType name="string30"><xsd:restriction base="xsd:string"><xsd:maxLength
      value="30"/>
      </xsd:restriction>
      </xsd:simpleType>
      <xsd:simpleType name="string1"><xsd:restriction base="xsd:string"><xsd:maxLength
      value="1"/>
      </xsd:restriction>
      </xsd:simpleType>
      <xsd:simpleType name="string200"><xsd:restriction
      base="xsd:string"><xsd:maxLength value="200"/>
      </xsd:restriction>
      </xsd:simpleType>
      <xsd:simpleType name="string100"><xsd:restriction
      base="xsd:string"><xsd:maxLength value="100"/>
      </xsd:restriction>
      </xsd:simpleType>
      <xsd:simpleType name="string20"><xsd:restriction base="xsd:string"><xsd:maxLength
      value="20"/>
      </xsd:restriction>
      </xsd:simpleType>
      </xsd:schema>
      <xsd:schema elementFormDefault="qualified" attributeFormDefault="unqualified"
      targetNamespace="urn:crmondemand/ws/lead/10/2004"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"><xsd:import
      namespace="urn:/crmondemand/xml/lead"/>
      <xsd:element
      name="LeadWS_LeadInsert_Input"><xsd:complexType><xsd:sequence><xsd:element
      ref="xsdLocal1:ListOfLead"/>
      <xsd:element name="Echo" type="xsd:string"/>
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      <xsd:element
      name="LeadWS_LeadInsert_Output"><xsd:complexType><xsd:sequence><xsd:element
      ref="xsdLocal1:ListOfLead"/>
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      <xsd:element
      name="LeadWS_LeadDelete_Input"><xsd:complexType><xsd:sequence><xsd:element
      ref="xsdLocal1:ListOfLead"/>
      <xsd:element name="Echo" type="xsd:string"/>
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      <xsd:element
      name="LeadWS_LeadDelete_Output"><xsd:complexType><xsd:sequence><xsd:element
      ref="xsdLocal1:ListOfLead"/>
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      <xsd:element
      name="LeadWS_LeadInsertChild_Input"><xsd:complexType><xsd:sequence><xsd:eleme
      nt ref="xsdLocal1:ListOfLead"/>
      <xsd:element name="Echo" type="xsd:string"/>
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      <xsd:element
      name="LeadWS_LeadInsertChild_Output"><xsd:complexType><xsd:sequence><xsd:elem
      ent ref="xsdLocal1:ListOfLead"/>
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      <xsd:element
      name="LeadWS_LeadUpdate_Input"><xsd:complexType><xsd:sequence><xsd:element
      ref="xsdLocal1:ListOfLead"/>
      <xsd:element name="Echo" type="xsd:string"/>
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      <xsd:element
      name="LeadWS_LeadUpdate_Output"><xsd:complexType><xsd:sequence><xsd:element
      ref="xsdLocal1:ListOfLead"/>
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      <xsd:element
      name="LeadWS_LeadInsertOrUpdate_Input"><xsd:complexType><xsd:sequence><xsd:el
      ement ref="xsdLocal1:ListOfLead"/>
      <xsd:element name="Echo" type="xsd:string"/>
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      <xsd:element
      name="LeadWS_LeadInsertOrUpdate_Output"><xsd:complexType><xsd:sequence><xsd:
      element ref="xsdLocal1:ListOfLead"/>
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      <xsd:element
      name="LeadWS_LeadUpdateChild_Input"><xsd:complexType><xsd:sequence><xsd:elem
      ent ref="xsdLocal1:ListOfLead"/>
      <xsd:element name="Echo" type="xsd:string"/>
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      <xsd:element
      name="LeadWS_LeadUpdateChild_Output"><xsd:complexType><xsd:sequence><xsd:ele
      ment ref="xsdLocal1:ListOfLead"/>
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      <xsd:element
      name="LeadWS_LeadQueryPage_Input"><xsd:complexType><xsd:sequence><xsd:eleme
      nt name="UseChildAnd" type="xsd:string"/>
      <xsd:element name="PageSize" type="xsd:string"/>
      <xsd:element ref="xsdLocal1:ListOfLead"/>
      <xsd:element name="StartRowNum" type="xsd:string"/>
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      <xsd:element
      name="LeadWS_LeadQueryPage_Output"><xsd:complexType><xsd:sequence><xsd:elem
      ent name="LastPage" type="xsd:string"/>
      <xsd:element ref="xsdLocal1:ListOfLead"/>
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      <xsd:element
      name="LeadWS_LeadDeleteChild_Input"><xsd:complexType><xsd:sequence><xsd:eleme
      nt ref="xsdLocal1:ListOfLead"/>
      <xsd:element name="Echo" type="xsd:string"/>
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      <xsd:element
      name="LeadWS_LeadDeleteChild_Output"><xsd:complexType><xsd:sequence><xsd:ele
      ment ref="xsdLocal1:ListOfLead"/>
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      </xsd:schema>
      </types>
      <message name="LeadWS_LeadInsert_Input"><part name="LeadWS_LeadInsert_Input"
      element="tns:LeadWS_LeadInsert_Input"/>
      </message>
      <message name="LeadWS_LeadInsert_Output"><part name="LeadWS_LeadInsert_Output"
      element="tns:LeadWS_LeadInsert_Output"/>
      </message>
      <message name="LeadWS_LeadDelete_Input"><part name="LeadWS_LeadDelete_Input"
      element="tns:LeadWS_LeadDelete_Input"/>
      </message>
      <message name="LeadWS_LeadDelete_Output"><part
      name="LeadWS_LeadDelete_Output" element="tns:LeadWS_LeadDelete_Output"/>
      </message>
      <message name="LeadWS_LeadInsertChild_Input"><part
      name="LeadWS_LeadInsertChild_Input" element="tns:LeadWS_LeadInsertChild_Input"/>
      </message>
      <message name="LeadWS_LeadInsertChild_Output"><part
      name="LeadWS_LeadInsertChild_Output"
      element="tns:LeadWS_LeadInsertChild_Output"/>
      </message>
      <message name="LeadWS_LeadUpdate_Input"><part name="LeadWS_LeadUpdate_Input"
      element="tns:LeadWS_LeadUpdate_Input"/>
      </message>
      <message name="LeadWS_LeadUpdate_Output"><part
      name="LeadWS_LeadUpdate_Output" element="tns:LeadWS_LeadUpdate_Output"/>
      </message>
      <message name="LeadWS_LeadInsertOrUpdate_Input"><part
      name="LeadWS_LeadInsertOrUpdate_Input"
      element="tns:LeadWS_LeadInsertOrUpdate_Input"/>
      </message>
      <message name="LeadWS_LeadInsertOrUpdate_Output"><part
      name="LeadWS_LeadInsertOrUpdate_Output"
      element="tns:LeadWS_LeadInsertOrUpdate_Output"/>
      </message>
      <message name="LeadWS_LeadUpdateChild_Input"><part
      name="LeadWS_LeadUpdateChild_Input" element="tns:LeadWS_LeadUpdateChild_Input"/>
      </message>
      <message name="LeadWS_LeadUpdateChild_Output"><part
      name="LeadWS_LeadUpdateChild_Output"
      element="tns:LeadWS_LeadUpdateChild_Output"/>
      </message>
      <message name="LeadWS_LeadQueryPage_Input"><part
      name="LeadWS_LeadQueryPage_Input" element="tns:LeadWS_LeadQueryPage_Input"/>
      </message>
      <message name="LeadWS_LeadQueryPage_Output"><part
      name="LeadWS_LeadQueryPage_Output" element="tns:LeadWS_LeadQueryPage_Output"/>
      </message>
      <message name="LeadWS_LeadDeleteChild_Input"><part
      name="LeadWS_LeadDeleteChild_Input" element="tns:LeadWS_LeadDeleteChild_Input"/>
      </message>
      <message name="LeadWS_LeadDeleteChild_Output"><part
      name="LeadWS_LeadDeleteChild_Output"
      element="tns:LeadWS_LeadDeleteChild_Output"/>
      </message>
      <portType name="Default_Binding_Lead"><operation name="LeadInsert"><input
      message="tns:LeadWS_LeadInsert_Input"/>
      <output message="tns:LeadWS_LeadInsert_Output"/>
      </operation>
      <operation name="LeadDelete"><input message="tns:LeadWS_LeadDelete_Input"/>
      <output message="tns:LeadWS_LeadDelete_Output"/>
      </operation>
      <operation name="LeadInsertChild"><input
      message="tns:LeadWS_LeadInsertChild_Input"/>
      <output message="tns:LeadWS_LeadInsertChild_Output"/>
      </operation>
      <operation name="LeadUpdate"><input message="tns:LeadWS_LeadUpdate_Input"/>
      <output message="tns:LeadWS_LeadUpdate_Output"/>
      </operation>
      <operation name="LeadInsertOrUpdate"><input
      message="tns:LeadWS_LeadInsertOrUpdate_Input"/>
      <output message="tns:LeadWS_LeadInsertOrUpdate_Output"/>
      </operation>
      <operation name="LeadUpdateChild"><input
      message="tns:LeadWS_LeadUpdateChild_Input"/>
      <output message="tns:LeadWS_LeadUpdateChild_Output"/>
      </operation>
      <operation name="LeadQueryPage"><input
      message="tns:LeadWS_LeadQueryPage_Input"/>
      <output message="tns:LeadWS_LeadQueryPage_Output"/>
      </operation>
      <operation name="LeadDeleteChild"><input
      message="tns:LeadWS_LeadDeleteChild_Input"/>
      <output message="tns:LeadWS_LeadDeleteChild_Output"/>
      </operation>
      </portType>
      <binding name="Default_Binding" type="tns:Default_Binding_Lead"><soap:binding
      transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
      <operation name="LeadInsert"><soap:operation
      soapAction="document/urn:crmondemand/ws/lead/10/2004:LeadInsert"/>
      <input><soap:body use="literal"/>
      </input>
      <output><soap:body use="literal"/>
      </output>
      </operation>
      <operation name="LeadDelete"><soap:operation
      soapAction="document/urn:crmondemand/ws/lead/10/2004:LeadDelete"/>
      <input><soap:body use="literal"/>
      </input>
      <output><soap:body use="literal"/>
      </output>
      </operation>
      <operation name="LeadInsertChild"><soap:operation
      soapAction="document/urn:crmondemand/ws/lead/10/2004:LeadInsertChild"/>
      <input><soap:body use="literal"/>
      </input>
      <output><soap:body use="literal"/>
      </output>
      </operation>
      <operation name="LeadUpdate"><soap:operation
      soapAction="document/urn:crmondemand/ws/lead/10/2004:LeadUpdate"/>
      <input><soap:body use="literal"/>
      </input>
      <output><soap:body use="literal"/>
      </output>
      </operation>
      <operation name="LeadInsertOrUpdate"><soap:operation
      soapAction="document/urn:crmondemand/ws/lead/10/2004:LeadInsertOrUpdate"/>
      <input><soap:body use="literal"/>
      </input>
      <output><soap:body use="literal"/>
      </output>
      </operation>
      <operation name="LeadUpdateChild"><soap:operation
      soapAction="document/urn:crmondemand/ws/lead/10/2004:LeadUpdateChild"/>
      <input><soap:body use="literal"/>
      </input>
      <output><soap:body use="literal"/>
      </output>
      </operation>
      <operation name="LeadQueryPage"><soap:operation
      soapAction="document/urn:crmondemand/ws/lead/10/2004:LeadQueryPage"/>
      <input><soap:body use="literal"/>
      </input>
      <output><soap:body use="literal"/>
      </output>
      </operation>
      <operation name="LeadDeleteChild"><soap:operation
      soapAction="document/urn:crmondemand/ws/lead/10/2004:LeadDeleteChild"/>
      <input><soap:body use="literal"/>
      </input>
      <output><soap:body use="literal"/>
      </output>
      </operation>
      </binding>
      <service name="Lead"><port binding="tns:Default_Binding"
      name="Default"><soap:address location="https://secure-
      ausomxcsa.crmondemand.com/Services/Integration"/>
      </port>
      </service>
      </definitions>
    Your message has been successfully submitted and would be delivered to recipients shortly.