Skip to content

Instantly share code, notes, and snippets.

@oraclebill
Created April 28, 2014 17:49
Show Gist options
  • Save oraclebill/11379114 to your computer and use it in GitHub Desktop.
Save oraclebill/11379114 to your computer and use it in GitHub Desktop.
successful createAccount!!
REQUEST:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:v1="http://www.sungard.com/bsil/acctmgmt/v1-0"
xmlns:v11="http://www.sungard.com/ws/v1-0"
xmlns:v12="http://www.sungard.com/common/v1-0"
xmlns:v13="http://www.sungard.com/product/v1-0"
xmlns:v14="http://www.sungard.com/cloud/v1-0"
xmlns:v15="http://www.sungard.com/payment/v1-0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<v1:createCloudAccountRequest>
<v11:client>
<v11:userId>bill.jones@sungard.com</v11:userId>
<v11:userApplicationDN>cn=Bill Jones,ou=people,dc=example,dc=com</v11:userApplicationDN>
</v11:client>
<v1:returnFullAccount>true</v1:returnFullAccount>
<v1:companyName>Widgets loving Wall Street</v1:companyName>
<v1:paymentTermsName>30 NET</v1:paymentTermsName>
<v1:paymentTermsNetDays>
<v12:name>30</v12:name>
<v12:daysDue>30</v12:daysDue>
<v12:description>Due in 30 Days</v12:description>
</v1:paymentTermsNetDays>
<v1:companyAddress xsi:type="v12:USLocation">
<v12:locale>en_US</v12:locale>
<v12:type>SHIPTO</v12:type>
<v12:address>1234 Elm</v12:address>
<v12:city>Tucson</v12:city>
<v12:state>AZ</v12:state>
<v12:zip>85704</v12:zip>
</v1:companyAddress>
<v1:user>
<v12:userId>bill.jones_test3@sungard.com</v12:userId>
<v12:email>bill.jones-test3@sungard.com</v12:email>
<v12:firstName>Bill</v12:firstName>
<!--Optional:-->
<v12:lastName>Jones</v12:lastName>
<v12:phone>215-446-2667</v12:phone>
<!--Optional:-->
<v12:locale>en_US</v12:locale>
<!--Optional:-->
<v12:timezone>EST</v12:timezone>
</v1:user>
<v1:contacts>
<!--1 or more repetitions:-->
<v1:contact>
<!-- We MUST have a CLOUD_DIRECTOR anyway. -->
<v12:contactType>CLOUD_DIRECTOR</v12:contactType>
<v12:first>Jeff</v12:first>
<v12:last>Deville</v12:last>
<v12:locations>
<v12:location xsi:type="v12:USLocation">
<v12:locale>en_US</v12:locale>
<v12:type>BILLING</v12:type>
<v12:address>123 Elm</v12:address>
<v12:city>Tucson</v12:city>
<v12:state>AZ</v12:state>
<v12:zip>85704</v12:zip>
</v12:location>
</v12:locations>
</v1:contact>
</v1:contacts>
<v1:productLines>
<v1:accountProductLine xsi:type="v14:CloudService">
<v13:status>ACTIVE</v13:status>
<v13:serviceCreditBalance>0</v13:serviceCreditBalance>
<v13:paymentMethods>
<v13:paymentMethod xsi:type="v15:CreditCardPaymentMethod">
<v15:creditCardInfo>
<v15:securePaymentData xsi:type="v15:CyberSourceCreditCardToken">
<v15:tokenValue>TOKEN</v15:tokenValue>
<v15:subscriptionId>SUBSCRIPTION_ID</v15:subscriptionId>
</v15:securePaymentData>
<v15:cardExpiration>2016-03-31</v15:cardExpiration>
</v15:creditCardInfo>
<v15:billingName>Jeff Deville</v15:billingName>
<v15:billingAddress xsi:type="v12:USLocation">
<v12:locale>en_US</v12:locale>
<v12:type>CREDIT_CARD</v12:type>
<v12:address>123 Elm</v12:address>
<v12:city>Tucson</v12:city>
<v12:state>AZ</v12:state>
<v12:zip>85704</v12:zip>
</v15:billingAddress>
</v13:paymentMethod>
</v13:paymentMethods>
<v14:invoiceDeliveryAddress>jeff@pw.com</v14:invoiceDeliveryAddress>
</v1:accountProductLine>
</v1:productLines>
<v1:ccDirectorOnNotifications>true</v1:ccDirectorOnNotifications>
</v1:createCloudAccountRequest>
</soapenv:Body>
</soapenv:Envelope>
RESPONSE:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"/>
<env:Body xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<ns0:createCloudAccountResponse xmlns:ns3="http://www.sungard.com/common/v1-0" xmlns:ns2="http://www.sungard.com/ebsws/acctmgmt" xmlns:ns1="http://www.sungard.com/brmws/acctmgmt/v1-0" xmlns:ns0="http://www.sungard.com/bsil/acctmgmt/v1-0">
<ns0:accountNumber>485221</ns0:accountNumber>
<ns0:version>10</ns0:version>
<ns0:companyGUID>F81DD87C-A594-7715-E043-0A42010AB0B8</ns0:companyGUID>
<ns0:companyName>WIDGETS LOVING WALL STREET</ns0:companyName>
<ns0:companyAddress xsi:type="ns3:USLocation" xmlns:ns4="http://www.sungard.com/product/v1-0" xmlns:ns5="http://www.sungard.com/payment/v1-0" xmlns:ns6="http://www.sungard.com/cloud/v1-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns3:locale>en_US</ns3:locale>
<ns3:type>ORGANIZATION</ns3:type>
<ns3:address>1234 ELM</ns3:address>
<ns3:city>TUCSON</ns3:city>
<ns3:state>AZ</ns3:state>
<ns3:zip>85704</ns3:zip>
</ns0:companyAddress>
<ns0:paymentTerms xmlns:ns4="http://www.sungard.com/product/v1-0" xmlns:ns5="http://www.sungard.com/payment/v1-0" xmlns:ns6="http://www.sungard.com/cloud/v1-0">
<ns3:name>30 NET</ns3:name>
<ns3:daysDue>30</ns3:daysDue>
<ns3:description>Net Due in 30 Days</ns3:description>
</ns0:paymentTerms>
<ns0:createdDate>2014-04-28T17:48:25Z</ns0:createdDate>
<ns0:status>ACTIVE</ns0:status>
<ns0:ccDirectorOnNotifications>false</ns0:ccDirectorOnNotifications>
<ns0:contacts>
<ns0:contact xmlns:ns2="http://www.sungard.com/brmws/acctmgmt/v1-0" xmlns:ns4="http://www.sungard.com/product/v1-0" xmlns:ns5="http://www.sungard.com/payment/v1-0" xmlns:ns6="http://www.sungard.com/cloud/v1-0">
<ns3:contactType>CLOUD_DIRECTOR</ns3:contactType>
<ns3:first>Jeff</ns3:first>
<ns3:last>Deville</ns3:last>
<ns3:organizationalUnit/>
<ns3:locations>
<ns3:location xsi:type="ns3:USLocation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns3:locale>en_US</ns3:locale>
<ns3:type>BILLING</ns3:type>
<ns3:address>123 Elm</ns3:address>
<ns3:city>Tucson</ns3:city>
<ns3:state>AZ</ns3:state>
<ns3:zip>85704</ns3:zip>
</ns3:location>
</ns3:locations>
</ns0:contact>
</ns0:contacts>
<v1:user xsi:type="ns2:CloudUser" xmlns:ns2="http://www.sungard.com/cloud/v1-0" xmlns:ns1="http://www.sungard.com/common/v1-0" xmlns:ns0="http://www.sungard.com/bsil/appuser/v1-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:v1="http://www.sungard.com/bsil/acctmgmt/v1-0">
<ns1:userId>4b6d8efc-cefd-11e3-a586-005056ba5e1b</ns1:userId>
<ns1:firstName>Bill</ns1:firstName>
<ns1:lastName>Jones</ns1:lastName>
<ns1:email>bill.jones-test3@sungard.com</ns1:email>
<ns1:phone>215-446-2667</ns1:phone>
<ns1:locale>en_US</ns1:locale>
<ns1:timezone>EST</ns1:timezone>
<ns1:status>DISABLED</ns1:status>
<ns2:apiKey>null</ns2:apiKey>
<ns2:secretKey>null</ns2:secretKey>
</v1:user>
<ns0:paymentMethods>
<ns0:paymentMethod xsi:type="ns5:CreditCardPaymentMethod" xmlns:ns2="http://www.sungard.com/brmws/acctmgmt/v1-0" xmlns:ns4="http://www.sungard.com/product/v1-0" xmlns:ns5="http://www.sungard.com/payment/v1-0" xmlns:ns6="http://www.sungard.com/cloud/v1-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns3:validUntil>2016-03-31Z</ns3:validUntil>
<ns5:creditCardInfo>
<ns5:securePaymentData xsi:type="ns5:CyberSourceCreditCardToken">
<ns5:tokenValue>TOKEN</ns5:tokenValue>
<ns5:subscriptionId>SUBSCRIPTION_ID</ns5:subscriptionId>
</ns5:securePaymentData>
<ns5:cardExpiration>2016-03-31Z</ns5:cardExpiration>
</ns5:creditCardInfo>
<ns5:billingName>Jeff Deville</ns5:billingName>
<ns5:billingAddress xsi:type="ns3:USLocation">
<ns3:locale>en_US</ns3:locale>
<ns3:type>CREDIT_CARD</ns3:type>
<ns3:address>123 Elm</ns3:address>
<ns3:city>Tucson</ns3:city>
<ns3:state>AZ</ns3:state>
<ns3:zip>85704</ns3:zip>
</ns5:billingAddress>
</ns0:paymentMethod>
</ns0:paymentMethods>
<ns0:productLines>
<ns0:accountProductLine xsi:type="ns6:CloudService" xmlns:ns2="http://www.sungard.com/brmws/acctmgmt/v1-0" xmlns:ns4="http://www.sungard.com/product/v1-0" xmlns:ns5="http://www.sungard.com/payment/v1-0" xmlns:ns6="http://www.sungard.com/cloud/v1-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns4:status>ACTIVE</ns4:status>
<ns4:serviceCreditBalance>0</ns4:serviceCreditBalance>
<ns6:invoiceDeliveryAddress>jeff@pw.com</ns6:invoiceDeliveryAddress>
</ns0:accountProductLine>
</ns0:productLines>
</ns0:createCloudAccountResponse>
</env:Body>
</soapenv:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment