Skip to Content
author's profile photo Former Member
Former Member

HTTP error 406 when consuming a Web Service with attachment


I have created a Web Service with Attachments as described in the SAP Web AS Help. The Web Service has been deployed but the problem is, that it is not possible to consume it.

The message I get is "HTTP Error 406", this is because the wdsl-document that has been created automatically by the Web AS is style=mime.

But mime is an unvalid value for parameter style, only "document", "rpc" or "rpc_enc" or "none" are supported.

It is also not possible to create a proxy (or even a client) based on this WSDL-description.

What can I do ? Has anybody already worked with Web Services with attachments ?


Best regards.


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on May 12, 2004 at 01:53 PM

    Hi Nadine,

    There was an old bug with mime style. You have to upgrade your J2EE Engine.

    Best regards,


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.