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

Web Service Attachment?

Hello,

Has anyone created a portal webservice and passed an attachment in the soap message of the webservice?

We have a .Net client that calls the portal webservice and passes an attachment(pdf file) along with the webservice call. The portal then needs to take that attachment and attach that to a portal service that is calling another webservice on a .Net server.

Has anyone done something similar?

Going from a .Net environment to a java/portal environment is giving me trouble on figuring this out. The .Net is attaching the file, but trying to figure out how to get that attachment in the portal's soap runtime is giving me fits. Any help/advice would be much appreciated.

EP6 sp2 (Unix)

thanks,

Keith

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 08, 2004 at 12:07 PM

    Hi,

    I am not totally positive on this, but I think SAP does not yet support SOAP with attachments.

    So the only thin you can do as far as I know, is to create a simple service with one parameter that contains the whole package of information as an XString.

    This will lead to the information being transferred as base64-encoded binary information.

    Yours

    Christian.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Christian,

      Unfortunatly the runtime will not support attachment anyway. Concerning SP2 there is no other alternative :(.

      And I don't thing WS are done to transmit big amount of data Remember you are using http protocol.

      Moving to NW04, you could use Web As Ws with the portal in Client Side scenario only.

      Best Regards,

      Frederic

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.