Do you know an online server for save file on it? I want to put a .zip file somewhere online, cause i need it to be send to a request. If my .zip file name is "archieve.zip" i need the address like "https://ift.tt/3m53p1J" to put in a field of request model for CDiscount method.
I only need it for testing the method.
this is my request body:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<SubmitProductPackage xmlns="http://www.cdiscount.com">
<headerMessage xmlns:a="http://schemas.datacontract.org/2004/07/Cdiscount.Framework.Core.Communication.Messages" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<a:Context>
<a:CatalogID>1</a:CatalogID>
<a:CustomerPoolID>1</a:CustomerPoolID>
<a:SiteID>100</a:SiteID>
</a:Context>
<a:Localization>
<a:Country>Fr</a:Country>
<a:Currency>Eur</a:Currency>
<a:DecimalPosition>2</a:DecimalPosition>
<a:Language>Fr</a:Language>
</a:Localization>
<a:Security>
<a:DomainRightsList i:nil="true" />
<a:IssuerID i:nil="true" />
<a:SessionID i:nil="true" />
<a:SubjectLocality i:nil="true" />
<a:TokenId>2ddf4fg55h5h5</a:TokenId>
<a:UserName i:nil="true" />
</a:Security>
<a:Version>1.0</a:Version>
</headerMessage>
<productPackageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<ZipFileFullPath>https://site-name.com/archieve.zip</ZipFileFullPath>
</productPackageRequest>
</SubmitProductPackage>
</s:Body>
</s:Envelope>
Thanks!
Aucun commentaire:
Enregistrer un commentaire