Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP Proxy throws HTTP-400 error

Former Member
0 Likes
1,525

Hi,

I've created an ABAP Proxy/Enterprise Service in ECC6.0 to consume a webservice that is created in NetWeaver 2004s. Now, when I want to test the proxy, it gives me the error message:

SOAP:1.007 SRT: Unsupported xstream found: ("HTTP Code 400 : Bad Request")

The error originates from class CX_AI_SYSTEM_FAULT

I don't know if it is related to the proxy or with some system settings on ECC 6.0/Netweaver2004s.

Any help or document reference is appreciated.

Regards.

4 REPLIES 4
Read only

Tamas_Hoznek
Product and Topic Expert
Product and Topic Expert
0 Likes
842

I investigated a little and here are a couple of things you could try:

- In note 1139406, they are talking about a scenario with HTTP error 404... I realize it is different than the 400 you get, but it may be worth checking if you have a similar problem as described there - it may give a clue what your problem is.

- Try to check if the endpoint URL to which the request is sent is correct... it may be missing the style parameter, like ?style=document. Go to SOAMANAGER and take a look at the system settings, perhaps there is a wrongly formulated URL that is missing the style parameter.

Hope this helps a little...

Read only

Former Member
0 Likes
842

Indeed, adding the comment ?style=document next to the logical port WSDL did the work!

Thx

Read only

0 Likes
842

Hi Wesley,

I would be obliged if you can tell me exactly where you put style=document.

Regards,

Prosenjit.

Read only

0 Likes
842

Hi Prosenjit,

If you run transaction SOAMANAGER on R/3, you can configure your proxy consumer by defining a logical port pointing to the webservice. In the URL Access Path, extend your input with ?style=document.

Here's an image of that particular screen:

[SOAMANAGER - Transport Settings|http://users.telenet.be/computerschaak/SAPWebServices/Config.jpg]

Cheers,

Wesley