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 comment
10|10000 characters needed characters exceeded

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 comment
    10|10000 characters needed characters exceeded