in reply to Re^3: Again on SOAP::Lite, MIME::Entity and SOAP::Packager
in thread Again on SOAP::Lite, MIME::Entity and SOAP::Packager
Update: Reply rewrote after several attempts.
First: As you say, the module seems to ignore the variable it even if it is mentioned in the module changelog.
I tried first solution, it is again not working. However, I cannot see any CRLF characters in the body section..and that is strange. Based on my test with curl, I suspect I should modify the boundary string of the main envelope section(see previous update) to add CRLF as exepcted by axis2 apache server. Of course I have no clue on how to do this in perl. That's why in the meanwhile I'm working on a simple sh implementation with the hardcoded request.
I m unable to try your second suggestion it is actually, raising:
Here is the whole HTTP request with minimum CRLF characters expected by remote server I'm actually using with curl
This is a multi-part message in MIME format... ------------=_1482923885-24696-0^M Content-Type: text/xml Content-Disposition: inline Content-Location: /main_envelope Content-ID: <main_envelope> <?xml version="1.0" encoding="UTF-8"?><soap:Envelope ..SOAP STUFF CUTTED OUT </soap:Envelope>^M ------------=_1482923885-24696-0^M Content-Type: application/octet-stream; name="uu.gif" Content-Disposition: attachment; filename="uu.gif" Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.508 (Entity 5.508) ------------=_1482923885-24696-0-- GIF89a^P^@^P^@¢ÿ^@ÿÿÿ999kkkÂ~LÂ~LÂ~LÃ~@Ã~@Ã~@Ã~NÃ~NÃ~Nççç^@^@^ +@!ù^D^A^@^@^D^@,^@^@^@^@^P^@^P^@^@^CBHºÃ~\¾ã^U@k1±Ã~MJ'Ã~V\W^TD +¦laÂ| ^FÃ~L4^\pÂ¥^H-pÂ~DÂ~TA/.|s»^S^NX{Ã~EÂ~H<Ã~[^P^P$ôÂ~NÂ~U&j(]R +~Z%Â~Av»e-^R^@; ------------=_1482923885-24696-0--
This is the HTTP request that works. You may see where CRLF is expected. Surpisngly seems to be useful only in first multipart section, the one carrying SOAP request.3 damn characters are blocking my plan..LOL
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Again on SOAP::Lite, MIME::Entity and SOAP::Packager
by Corion (Patriarch) on Dec 29, 2016 at 09:50 UTC | |
by ray.rick.mini (Sexton) on Dec 29, 2016 at 11:27 UTC | |
by Corion (Patriarch) on Dec 29, 2016 at 12:04 UTC | |
by ray.rick.mini (Sexton) on Dec 29, 2016 at 13:28 UTC |