Hi
I try to receive an attachment file (edi file) to send it to TN but the service invoke by the email port cannot view the file; I’ve only a string field with all the data.
How can I do to have a webMethods document to map my field?
- My email port call the service TMSA_Connection_Mail.utils:mailCOARRI
- the first step is this service call the service pub.flow:getTransportInfo
- the second step is a calling to tracePipeline to view my variable but I’ve an email document, but there is not my attachement file. the edi document is not reconize.
For information, I’ve modify the mime.type file to add application/edi
You can find bellow an extract of the server.log (log level : 10)
2007-05-25 11:20:58 CDT [ISP.0068.0028W] This Server reconnected to POP3 server 192.168.7.22
2007-05-25 11:20:58 CDT [ISP.0068.0026V2] Content type: text/plain Subject: TMSA_Connection_Mail.utils:mailCOARRI
2007-05-25 11:20:58 CDT [ISP.0068.0004V5] Processed 1 new message(s)
2007-05-25 11:20:58 CDT [ISS.0014.0016V4] Invoking service TMSA_Connection_Mail.utils:mailCOARRI
2007-05-25 11:20:58 CDT [ISC.0049.0005V3] Invoke : index=1 depth=1
2007-05-25 11:20:58 CDT [ISS.0014.0016V4] Invoking service pub.flow:debugLog
2007-05-25 11:20:58 CDT [ISP.0090.0004C] receptionMailCoarri – Début
2007-05-25 11:20:58 CDT [ISC.0049.0008V3] Sequence : index=1 depth=1
2007-05-25 11:20:58 CDT [ISC.0049.0008V3] Sequence : index=1 depth=2
2007-05-25 11:20:58 CDT [ISC.0049.0005V3] Invoke : index=1 depth=3
2007-05-25 11:20:58 CDT [ISS.0014.0016V4] Invoking service pub.flow:getTransportInfo
2007-05-25 11:20:58 CDT [ISC.0049.0008V3] Sequence : index=2 depth=2
2007-05-25 11:20:58 CDT [ISC.0049.0005V3] Invoke : index=1 depth=3
2007-05-25 11:20:58 CDT [ISS.0014.0016V4] Invoking service pub.flow:tracePipeline
2007-05-25 11:20:58 CDT [ISP.0090.0001C] — START tracePipeline [5/25/07 11:20 AM] —
2007-05-25 11:20:58 CDT [ISP.0090.0008C] 0 ------ {java.lang.String} = '_Part_68_352636557.1180110034863
Content-Type: application/edi; name=MC001-20070521.edi
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=MC001-20070521.edi
UNA: .? ‘UNB UNOA:1 MATNGAPMT MAEU 070117:1507 1002908’UNH 1002908-20611 COARRI:D:95B:UN:ITG12’BGM 98 1002908-20611’TDT 20 0702 1 MSK:172:20 MGCK4:103::MAERSK VERA CRUZ:GB’LOC 9 ESALG:139:6 MSKE:TER:ZZZ’DTM 132:200701160200:203’DTM 133:200701172000:203’NAD CA MSK:160:20’NAD MS MATNGAPMT’EQD CN SEAU7856800 42G1:102:5 6 5’RFF BN:853921948’TMD 3’DTM 203:200701171503:203’LOC 11 ITCAG:139:6’LOC 7 TNRDS:139:6’LOC 147 0020284::5’MEA AAE G KGM:13750’TDT 10 0701 1 13 MSK:172:20 P3UV9:103’DTM 132:200701122118:203’NAD CF MSK:160:20’CNT 16:1’UNT 21 1002908-20611’UNZ 1 1002908’
------=_Part_68_352636557.1180110034863–’
2007-05-25 11:20:58 CDT [ISP.0090.0008C] 0 ------List[0] {java.lang.String[]} = '_Part_68_352636557.1180110034863
Content-Type: application/edi; name=MC001-20070521.edi
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=MC001-20070521.edi
UNA: .? ‘UNB UNOA:1 MATNGAPMT MAEU 070117:1507 1002908’UNH 1002908-20611 COARRI:D:95B:UN:ITG12’BGM 98 1002908-20611’TDT 20 0702 1 MSK:172:20 MGCK4:103::MAERSK VERA CRUZ:GB’LOC 9 ESALG:139:6 MSKE:TER:ZZZ’DTM 132:200701160200:203’DTM 133:200701172000:203’NAD CA MSK:160:20’NAD MS MATNGAPMT’EQD CN SEAU7856800 42G1:102:5 6 5’RFF BN:853921948’TMD 3’DTM 203:200701171503:203’LOC 11 ITCAG:139:6’LOC 7 TNRDS:139:6’LOC 147 0020284::5’MEA AAE G KGM:13750’TDT 10 0701 1 13 MSK:172:20 P3UV9:103’DTM 132:200701122118:203’NAD CF MSK:160:20’CNT 16:1’UNT 21 1002908-20611’UNZ 1 1002908’
------=_Part_68_352636557.1180110034863–’
2007-05-25 11:20:58 CDT [ISP.0090.0008C] 0 transport {com.wm.util.Values} =>
2007-05-25 11:20:58 CDT [ISP.0090.0008C] 1 protocol {java.lang.String} = ‘email’
2007-05-25 11:20:58 CDT [ISP.0090.0008C] 1 email {com.wm.util.Values} =>
2007-05-25 11:20:58 CDT [ISP.0090.0008C] 2 contenttype {java.lang.String} = ‘text/plain’
2007-05-25 11:20:58 CDT [ISP.0090.0002C] — END tracePipeline —
2007-05-25 11:20:58 CDT [ISC.0049.0008V3] Sequence : index=3 depth=2
2007-05-25 11:20:58 CDT [ISC.0049.0008V3] Sequence : index=4 depth=2
2007-05-25 11:20:58 CDT [ISC.0049.0008V3] Sequence : index=5 depth=2
2007-05-25 11:20:58 CDT [ISC.0049.0004V4] Branch : index=1 depth=3
2007-05-25 11:20:58 CDT [ISC.0049.0003V3] Branch : invoking child <>
2007-05-25 11:20:58 CDT [ISC.0049.0008V3] Sequence $null: index=1 depth=4
2007-05-25 11:20:58 CDT [ISC.0049.0014V3] Exit : index=1 depth=5
2007-05-25 11:20:58 CDT [ISC.0049.0008V3] Sequence $null: index=2 depth=4
2007-05-25 11:20:58 CDT [ISC.0049.0004V4] Branch : index=2 depth=3
2007-05-25 11:20:58 CDT [ISC.0049.0008V3] Sequence : index=6 depth=2
2007-05-25 11:20:58 CDT [ISC.0049.0008V3] Sequence : index=2 depth=1
2007-05-25 11:20:58 CDT [ISP.0068.0013W] Error processing service: [ISS.0068.9006] Server Error: La pièce jointe réceptionnée n’est pas au format EDI