cancel
Showing results for 
Search instead for 
Did you mean: 

AS2 sender adaptor error

harish_babu5
Participant
0 Kudos

HI

I configured a scenario. AS2 connector is trying to send messages to PI. The message has not reached PI. It's single stack PI.

The client is getting this error when he tries to send the message:

Error message: Error sending message to AS2 server, Code 302:Found

What possibly could be the error?

We are using certificates

Is it possible to trigger AS2 messages from SOAP Ui tool?

Accepted Solutions (0)

Answers (1)

Answers (1)

Dimitri
Active Contributor
0 Kudos

Hi Harish,

Can you send the configuration from your sender AS2 adapter?

Also, how does the client offers the messages? Which URL do they use?

Thanks

Dimitri

harish_babu5
Participant
0 Kudos

Hi Dimitri,

The Sender Adapter Configuration:

Expected URL Path, Expected Message ID Left, Expected Message ID right - all I gave ".*"

Sender AS2 name client gave an AS2 name. I used that

Own AS2 name I made one SAPPO_AS2<client> 

here client stands for client name

Expecyed Subject IDC

We gave the Own AS2 name to Client and they said they are using it:

Mine is PO single stack.

The client sends the message to our PO url.

http://xxx.xxx.xxx.xxx:55500/AS2

Here it is the public ip address of PO server.

Initially when the client was posting messages to PO, it was asking for credentials. So we followed SAP Note 1828575, infact BASIS did it. So basically authentication was disabled at web server level

Regards

Harish

Dimitri
Active Contributor
0 Kudos

Seems all good...

What does the Communication Channel monitoring tells you for that communication channel?

harish_babu5
Participant
0 Kudos

Hi Dimitri,

The CC monitoring is Green. It says the channel is listening

I have exchanged certificates with client. I gave my public key and imported his public key to NWA.

I just checked the user PIIS<SID>, I didn't see the certificate tab. I think once the initial hand shake is done, the message will be processed by PIISUSER. In my PO, it is PIIS<SID> and it should hav the certificates also, right? Since there is no user id password involved , I think the PIIS<SID> should need the certificates.

Secondly, is it possible to use SOAP UI to trigger AS2 messages to PO?

One important thing: Client is triggering xml message

Regards

Harish

Dimitri
Active Contributor
0 Kudos

Hi Harish,

I guess it is not possible to test AS2 messaging using soapUI.

Please have a look at these blog series and try Mendelson to test.

AS2 is the protocol and I guess soapUI uses HTTP(s).

Kind regards,

Dimitri

harish_babu5
Participant
0 Kudos

Hi Dimitri,

Client is triggering xml messages and we are using AS2 adapter. So do we have to add some conversion modules or something like that?

Client is going for AS2 only because of MDN facility

Harish

Dimitri
Active Contributor
0 Kudos

Hi Harish,

In case you want to process EDI interchange, do not forget to use module localejbs/EdifactConverterModule in the sender AS2 adapter.

Kind regards,

Dimitri

harish_babu5
Participant
0 Kudos

Hi Dimitri,

The outbound is working perfectly. However, the Inbound is still not working!

The Client is able to post message to an FTP server placed in our Network. However they are unable to reach PO.

The BASIS have deployed certificates well, that's why outbound is working.

In Inbound, there should be a user like PIISUSER, where we need to have a Certificate tab. Into that tab, we need to import the certificates. I think then my inbound will work..

I have to change the ume properties but unable to locate where we need to change so that certificates tab appear in the user

Harish

Ryan-Crosby
Active Contributor
0 Kudos

Hi Harish,


If they are unable to reach the PO system then it sounds like it may be a firewall problem.  We have our AS2 only reachable via reverse proxy through web dispatcher so that we do not have our PO instance running in the DMZ.  Maybe you have something like this setup as well on your network?

Regards,

Ryan Crosby

harish_babu5
Participant
0 Kudos

Hi Ryan,

I am sure the error has to do with certificates configuration. We are able to post messages successfully wth encryption to the AS2 from SAP. However, when AS2 sends messages to PI, it doesn't reach PI

The keystore of AS2 and PI certificates did not have "export to PSE" option. So I copied the certificates to PI server keystore, ICM_xxxxx and then exported. When I di this option, it worked

Also initially when AS2 were sending messages they were prompted for user credentials. We implemented an SAP note, and activated anonymous login. I am sure it's a conflict.

I checked the AS2 app in NWA, but am not able to get the correct values, I need to put

Regards

Harish