Last active
August 29, 2015 13:57
-
-
Save jeffdeville/9397701 to your computer and use it in GitHub Desktop.
Iterations on interfacing with createCloudAccountRequest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <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>?</v11:userId> | |
| <v11:userApplicationDN>?</v11:userApplicationDN> | |
| </v11:client> | |
| <v1:returnFullAccount>true</v1:returnFullAccount> | |
| <v1:companyName>Widgets of 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>123 Elm</v12:address> | |
| <v12:city>Tucson</v12:city> | |
| <v12:state>AZ</v12:state> | |
| <v12:zip>85704</v12:zip> | |
| </v1:companyAddress> | |
| <v1:user> | |
| <v12:userId></v12:userId> | |
| </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>[email protected]</v14:invoiceDeliveryAddress> | |
| </v1:accountProductLine> | |
| </v1:productLines> | |
| </v1:createCloudAccountRequest> | |
| </soapenv:Body> | |
| </soapenv:Envelope> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> | |
| <soapenv:Body xmlns:v1="http://www.sungard.com/bsil/acctmgmt/v1-0" xmlns:v15="http://www.sungard.com/payment/v1-0" xmlns:v13="http://www.sungard.com/product/v1-0" xmlns:v14="http://www.sungard.com/cloud/v1-0" xmlns:v11="http://www.sungard.com/ws/v1-0" xmlns:v12="http://www.sungard.com/common/v1-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <soapenv:Fault> | |
| <faultcode>soapenv:Server</faultcode> | |
| <faultstring>Unexpected error processing request</faultstring> | |
| <detail> | |
| <ns5:generalFault xmlns:ns3="http://www.sungard.com/common/v1-0" xmlns:ns4="http://www.sungard.com/ebsws/acctmgmt" xmlns:ns5="http://www.sungard.com/ws/v1-0" xmlns:ns6="http://www.sungard.com/ebsws/diag" xmlns:ns7="http://www.sungard.com/payment/v1-0" xmlns:ns8="http://www.sungard.com/cloud/v1-0" xmlns:ns9="http://www.sungard.com/product/v1-0" xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> | |
| <ns5:message>CallableStatementCallback; bad SQL grammar [{call SGQTC_BSIL_PACKAGE.CREATE_PARTY_FROM_BSIL()}]; nested exception is java.sql.SQLException: ORA-06550: line 1, column 7: | |
| PLS-00306: wrong number or types of arguments in call to 'CREATE_PARTY_FROM_BSIL' | |
| ORA-06550: line 1, column 7: | |
| PL/SQL: Statement ignored</ns5:message> | |
| <ns5:detail>ORA-06550: line 1, column 7: | |
| PLS-00306: wrong number or types of arguments in call to 'CREATE_PARTY_FROM_BSIL' | |
| ORA-06550: line 1, column 7: | |
| PL/SQL: Statement ignored</ns5:detail> | |
| <ns5:errorCode>1801266916</ns5:errorCode> | |
| <ns5:timestamp xsi:type="xs:dateTime" xmlns:xs="http://www.w3.org/2001/XMLSchema">2014-03-31T18:11:46.644Z</ns5:timestamp> | |
| </ns5:generalFault> | |
| </detail> | |
| </soapenv:Fault> | |
| </soapenv:Body> | |
| </soapenv:Envelope> |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Question: accountProductLine is abstract, and so I can't include one directly. However, nothing in the xsds that I have access to ever inherits from it. So I'm effectively blocked