Announcement Announcement Module
Collapse
No announcement yet.
example of payloadmapping/Endpoint to handle SOAP attachment and base64binary object Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • example of payloadmapping/Endpoint to handle SOAP attachment and base64binary object

    Hi

    I need to implement a web service that takes either SOAP attachment or base64binary type object (for graphic image). I am unable to find any Spring example code to show how to handle SOAP attachment or base64type. Does anyone have an example code for the applicationcontext config file syntax and java EndpointMapping?

    Thanks
    Chuck

  • #2
    SOAP with Attachments (SwA) are supported. Every SoapMessage implementation has a methods to retrieve Attachments (getAttachments, etc.) . See http://static.springframework.org/sp...apMessage.html.

    So what you do is implement the MessageEndpointInterface. When the web service is invoked, you get a MessageContext, which you can cast to SoapMessageContext. You can get the SoapMessage request from that.

    Comment


    • #3
      Arjen

      Thanks for your quick response. I'll try your suggestion.

      Chuck

      Comment

      Working...
      X