Ich habe die allgemeine Struktur hier:Soap xml für Paypal API SetMobileCheckout (mein eigenes Ziel-c Anfrage rollierend)
<?xml version=”1.0” encoding=”UTF-8”?>
<SOAP-ENV:Envelope xmlns:xsi= ” http://www.w3.org/2001/XMLSchema-instance”
xmlns:SOAP-ENC=”http://schemas.xmlsoap.org/soap/encoding/”
xmlns:SOAP-ENV=”http://schemas.xmlsoap.org/soap/envelope/”
xmlns:xsd=”http://www.w3.org/2001/XMLSchema”
SOAP-ENV:encodingStyle=”http://schemas.xmlsoap.org/soap/encoding/”
><SOAP-ENV:Header>
<RequesterCredentials xmlns=”urn:ebay:api:PayPalAPI”>
<Credentials xmlns=”urn:ebay:apis:eBLBaseComponents”>
<Username>api_username</Username>
<Password>api_password</Password>
<Signature/>
<Subject/>
</Credentials>
</RequesterCredentials>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<specific_api_name_Req xmlns=”urn:ebay:api:PayPalAPI”>
<specific_api_name_Request>
<Version xmlns=urn:ebay:apis:eBLBaseComponents”>service_version
</Version>
<required_or_optional_fields xsi:type=”some_type_here”> data
</required_or_optional_fields>
</specific_api_name_Request>
</specific_api_name_Req>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Die spezifischen Anrufe (SetMobileCheckout und DoMobileCheckoutPayment) Ich brauche sind here
I‘ Ich bin auf meinem Weg. Aber ich bringe meine eigene XML-Anfrage in objective-c ein und ich versuche, dass ich das richtig mache.
Hat jemand ein aktuelles Beispiel mit einer echten Anfrage?
Bonus wenn es in objective-C verpackt ist, aber nur nackt Xml wäre toll.
Danke, Corey