Saya berhasil mengirim ProcessShipmentRequest melalui SOAP dan sekarang saya mencoba mencari cara membuat label dengan XML yang dikembalikan untuk bagian label. Kami beralih dari versi .net di mana label dibuat secara otomatis sebagai pdf dan disimpan di server. Di bawah ini adalah label xml.

<Barcodes>
<BinaryBarcodes>
<Type>COMMON_2D</Type>
<Value>
Wyk+HjAxHTAyNjI3MDQdODQwHTIwHTc4ODQwMzY3MTk4OTAyMDEdRkRFHTI2NzQ3NDUyNB0zMTMdHTEvMR0xMC4wMExCHU4dNjAwIFMuIFNlY29uZCBTdHJlZXQdU3ByaW5nZmllbGQdSUwdR0RFIFRFU1QgKFBPRCBORUVERUQpHjA2HTEwWkVEMDA3HTExWkpvZSBCbG9nZ3MdMTJaMDE3ODI1NjMzMjIdMTVaMTAzNjY2Nzc4HTIwWhwdMzFaMTAwMTkyMTMyMTQwMDAwNjI3MDQwMDc4ODQwMzY3MTk4OR0zMlowMh0zNFowMR0zOVpBVVNBHR4wOR1GRFgdeh04Hc+H8QQ+g/9AHgQ=
</Value>
</BinaryBarcodes>
<StringBarcodes>
<Type>FEDEX_1D</Type>
<Value>1001921321400006270400788403671989</Value>
</StringBarcodes>
</Barcodes>
</OperationalDetail>
<Label>
<Type>OUTBOUND_LABEL</Type>
<ShippingDocumentDisposition>RETURNED</ShippingDocumentDisposition>
<ImageType>PDF</ImageType>
<Resolution>200</Resolution>
<CopiesToPrint>1</CopiesToPrint>
<Parts>
<DocumentPartSequenceNumber>1</DocumentPartSequenceNumber>
<Image>
JVBERi0xLjQKMSAwIG9iago8PAovVHlwZSAvQ2F0YWxvZwovUGFnZXMgMyAwIFIKPj4KZW5kb2JqCjIgMCBvYmoKPDwKL1R5cGUgL091dGxpbmVzCi9Db3VudCAwCj4+CmVuZG9iagozIDAgb2JqCjw8Ci9UeXBlIC9QYWdlcwovQ291bnQgMQovS2lkcyBbMTggMCBSXQo+PgplbmRvYmoKNCAwIG9iagpbL1BERiAvVGV4dCAvSW1hZ2VCIC9JbWFnZUM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DA2ODg5IDAwMDAwIG4gCnRyYWlsZXIKPDwKL0luZm8gMTcgMCBSCi9TaXplIDIzCi9Sb290IDEgMCBSCj4+CnN0YXJ0eHJlZgo4NDgzCiUlRU9GCg==
</Image>
</Parts>
</Label>
0
Tim Tyler 10 November 2017, 07:49

1 menjawab

Jawaban Terbaik

Saya BASE64 mendekode data dalam tag image dan memberi saya PDF label. Jadi yang mungkin perlu Anda lakukan adalah BASE64 mendekode string itu dan mengalirkan hasilnya ke browser atau file (apa pun yang Anda butuhkan).

Jika Anda ingin mengalirkannya ke browser, pastikan untuk menambahkan header tipe konten di ASP, sehingga browser tahu bahwa itu harus mengharapkan PDF:

Response.ContentType = "application/pdf"

Contoh cara dekode BASE64 di ASP klasik ada di sini.

Anda juga dapat menyertakan cuplikan ini yang saya gunakan sendiri, untuk menyimpan data sebagai PDF:

Function Base64Data2Stream(sData)
    Set Base64Data2Stream = Server.CreateObject("Adodb.Stream")
        Base64Data2Stream.Type = 1 'adTypeBinary
        Base64Data2Stream.Open
    With Server.CreateObject("MSXML2.DomDocument.6.0").createElement("b64")
        .dataType = "bin.base64"
        .text = sData
        Base64Data2Stream.Write .nodeTypedValue 'write bytes of decoded base64 to stream
        Base64Data2Stream.Position = 0
    End With
End Function

Dan gunakan seperti ini:

path = "filename.PDF"
set bStream = Base64Data2Stream(pdfdata)
    bStream.SaveToFile path, 2
set bStream = Nothing

Pastikan Anda menyimpan file ke jalur yang IUSR memiliki hak untuk menulis.

1
Erik Oosterwaal 10 November 2017, 08:34