cancel
Showing results for 
Search instead for 
Did you mean: 

PI 7.30: SOAP Axis Sender Adapter - authentication and other questions

peter_wallner2
Active Contributor
0 Kudos

Dear experts,

I am using a SOAP adapter the first time now. I am also using Axis as the Message Protocoll to poll files from the URL:

https://our.partner.net/down

Our partner gave me user and password and in the sender channel I set "Authentication" to "Basic" and gave

user and password in the next 2 fields. Then I always got an 500 server error. With XPInspector I saw an error message

from that URL saying "No username provided".

Now I changed the URL to poll from to:

https://our.partner.net/down?username=xx&password=xxx

and set "Authentication" to "None" and now it is working.

Questions:

- why did it not work giving user credentials in the user and password fields under "Authentication"?

- the SOAP sender channel is polling once a minute now and since there is no test message yet to poll it polls "empty"

files with no payload which causes red-flagged (stuck) messages in SXMB_MONI. How do I stop that?

- How do already polled messages from that URL get deleted (I do not want to poll the same messages more than once)?

These might be really basic questions but as I said it is the first time I use a SOAP sender channel.

Thank you for your help with this!

Best regards,

Peter

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Mr. Wallner,

- Authentication doesn't work because the Authentication Fields in Soap Adapter have a different type of authentication instead of authentication required from your Sender WS (that can't handle it).

     For more informations, take a look to this blog: http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/03/07/a-closer-look-at-soap-sender-auth...

- Polled messages need to be deleted from Source System

peter_wallner2
Active Contributor
0 Kudos

Hello Mr Pantaleoni,

thank you very much. I had a look at that blog. Since we use https I am not concerned about credentials in the URL.

Best regards,

Peter

Answers (1)

Answers (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

Questions:

- why did it not work giving user credentials in the user and password fields under "Authentication"?

- How do already polled messages from that URL get deleted (I do not want to poll the same messages more than once)?

Already answered by Simone.

- the SOAP sender channel is polling once a minute now and since there is no test message yet to poll it polls "empty"

files with no payload which causes red-flagged (stuck) messages in SXMB_MONI. How do I stop that?

You can use xPath to check if there is content in your message and then route to the correct receiver. Now, if there is no receiver found, check the Ignore option.

Hope this helps,

Mark

peter_wallner2
Active Contributor
0 Kudos

Hello Mark,

thank you for your answer. That seems like a shrewd workaround, I will try that.

Best regards,

Peter