![]() |
#1
|
|||
|
|||
![]()
Hi Todd,
Is there any example in Parcel Upload and Download example. I'm using nusoap PHP client library. If there is any help/hint please share. Thanks |
#2
|
|||
|
|||
![]()
Hi Todd,
Hope you will be fine. I need to know about parcel upload. I want to do this using PHP(Curl). Kindly provide a sample code in PHP. That will be great for PHP users. Also i sent you PM about users api call kindly reply me back. Thanks for your help Regards |
#3
|
|||
|
|||
![]()
Hi Todd,
let me tell you in my previous post i mentioned i need help in parcel upload. But now i solved that issue and using ParcelUpload service in PHP uploaded document. I created a text file and upload the content using web service. I need to know i used "txt" file. Is there any file like "doc,pdf" i can upload? Regards |
#4
|
||||
|
||||
![]()
ParcelUpload(), ParcelUploadGZip() and ParcelUploadExA() are for uploading speciic EDI formats including X12, EDIFACT, TRADACOM, etc. These data formats are routed natively based on the internal envelopes.
In order to upload non-EDI data and route it in the system, you must use the ParcelUploadDirected() and ParcelUploadDirectedGZip() versions. These include specifying the ECGridIDFrom and ECGridIDTo parameters. The "Directed" versions wrap the data in a special envelope that allows it to route through the system. When downloaded by the recipient using the ECGridOS API, this envelope is removed and the original file name restored. This includes anyone receiving the data through our AS2 system. If "Directed" data is sent to a recipient not using ECGridOS to download, the envelope will remain in place, including sending data to VANs. There is no guarantee that a VAN can handle data wrapped in this manner, but some can. Do not use the "Directed" versions to send EDI data as unpredictable results will occur. -=tg=- |
#5
|
|||
|
|||
![]()
Hi Todd,
I'm getting response from "ParcelDownloadGZip" call. In the response the Contenet is "Base64Binary". I tried to decode it but i'm not getting properly response. During upload In PHP (i got the file content and used base64_encode($file_content) )and uploaded using "ParcelUploadDirected". In NetEDI i can see the detail of message in text. I got the response from call properly but the conversion "base64Binary" is causing issue. Is there any thing you will suggest me? Regards |
#6
|
||||
|
||||
![]()
ParcelDownloadGZip is compressed with the GZip algorithm. Once you download the BASE64 data with GZip, you will then need to uncompress.
For more information on GZip see: http://www.gzip.org/. Do note that you will only see a benefit with larger EDI files. I probably would not bother to use it for payloads under 100k. Most of the time the ParcelDownload() API will be sufficient. -=tg=- |
#7
|
||||
|
||||
![]()
I found some specific PHP GZip encoding information:
http://php.net/manual/en/function.gzdecode.php -=tg=- |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
User APIs | joblesspoet | ECGridOS Developer | 4 | 04-04-2013 10:46 AM |
One Interchange Per Parcel? | elDub | ECGridOS Developer | 1 | 09-14-2010 05:31 PM |
Parcel Listing | MarcNelson | ECGridOS Developer | 1 | 09-13-2010 03:30 PM |
Parcel Download Date | MarcNelson | ECGridOS Developer | 1 | 06-03-2010 10:35 PM |
Codes & Tables | Todd Gould | ECGridOS Developer | 2 | 03-18-2010 04:56 PM |