Forum Discussion

depeche's avatar
depeche
Contributor
17 years ago

After attaching the document, it still shows Type as UNKNOWN under Attachments.

Hi,
    I have added documents, like text doc, pdf doc under Attachments table but the Type remains UNKNOWN. How to make it SWAREF (for a swaRef attachment) under SoapUI? I had made Enable MTOM and Force MTOM as true.
    Under SoapEnvelope, i am referencing document like this:







Wsdl location: http://ihexds.nist.gov:9080/tf6/service ... toryb?wsdl

Complete soap request you can find it out in Request.xml in the attachment.

After making request, you can click the url to view your document: http://129.6.24.109:9080/Repository/90. ... 40.100.txt


Why does the Type remain same as UNKNOWN under Attachments after attaching txt or pdf or any other documents?

Thanks & regards!
depeche

2 Replies

  • Hi!
      Can anyone suggest solution for the above stated problem?

    Thanks & regards
    depeche
  • akulavijay's avatar
    akulavijay
    Occasional Contributor
    The wsdl does not state the MIME Parts. All the wsdl parts which are attachments should be stated as MIME parts so that the same are sent as MIME parts rather than literal. I think the type definition and binding should be modified as below
    Types Definition---


    Method binding---