cancel
Showing results for 
Search instead for 
Did you mean: 

javax.mail.internet.ParseException in AS2 Receiver channel

Former Member
0 Kudos

Hello Experts,

My scenario is that I have created a pass through scenario where my sender is File channel and the receiver is AS2 channel.

I have provided the receipient URL and OWN AS2 name and Recepients AS2 name.

The remaining parameters I have given a wild character ".*"

I am getting an error "Message cannot be delivered: javax.mail.internet.ParseException"

Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.resource.ResourceException: Message cannot be delivered: javax.mail.internet.ParseException.


Please advise.


Regards


Advit

Accepted Solutions (1)

Accepted Solutions (1)

Dimitri
Active Contributor
0 Kudos

Can you share your configuration (screen shot) please?

Also, do you use any adapter module?

Please make sure network and firewall are open to the target application.

Former Member
0 Kudos

Hi Dimitri,

I am trying to do a simulation where I am pushing the data from SAP PI PRD to SAP PI DEV which will communicate with each other through Local Ip's.I have checked from the OS level that we are able to telnet for both outbound and inbound.

I have not used any adapter module.

I am just trying to check whether AS2 connection is working fine between the two environments.

Both the PRD and DEV side I am using Pass through scenario to push a XML file.

Regards

Advit

Dimitri
Active Contributor
0 Kudos

I'm trying to figure out why you would like to do such a thing.

On one system, you have a receiver AS2 adapter and on the other one, you have a sender AS2 adapter. Right?

Former Member
0 Kudos

Yes you are correct with configuration ..

I am trying to achieve this.

I am using SAP PI PRD AS2 channel to send the file with file name and I am using SAP PI DEV to get the file name dynamically using Dynamic configuration bean.

Regards

Advit

Former Member
0 Kudos

Hi Dimitri,

I deleted the configuration and created it by using sender and receiver party.

I am getting a different error.

Remote server returned response code 404 and error message not found

Regards

Advit

Former Member
0 Kudos

This issue is resolved.

Instead of using http:<hostname>:<port>/AS2.*

I am using http:<hostname>:<port>/AS2./B2B.*

Regards

Advit

Answers (0)