cancel
Showing results for 
Search instead for 
Did you mean: 

Web service error: WS Security can only be applied on a SOAP document

Former Member
0 Kudos

Hello,

I am facing the problem that when calling a web service I got this error message:

005056B855B2002A0000013B000032C70005105EF7348C38 : WS Security can only be applied on a SOAP document.

Some information about the webservice:

Transport Binding: HTTP SOAP with Attachments

Authentication: Basic

Netweaver version: 7.01.06


The webservice is based on EJB. Basically I want to add two operations in the webservice: one to accept attachment as input. the other one returns a file as attachment.

Does anyone knows why this happens and how to resolve it? Thanks in advance!

Regards,

Grant

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

As per SAP standard, WS Security can only be applied to SOAP messages. It is not supported for the HTTP Get profile, HTTP Post or SOAP with attachments. WS Security is only supported by deployable proxies.

Warm Regards,

Agustuss

Former Member
0 Kudos

Hello Agustuss,

Does that mean I cannot apply any authentication and authorization? But what if I do want them? This is very common scenario. What should I do in such case?

Thanks,

Grant

Former Member
0 Kudos


Grant,

Please refer this SNote, it may help you...

1319507 - Overview: Analysis of ABAP Web Service
Configuration

Warm Regards,

Agustuss