# MIME part with Content-ID 'cid:xxxxx' not found. What does that mean? Any help appreciated. Thanks

**URL:** <https://community.smartbear.com/t/mime-part-with-content-id-cid-xxxxx-not-found-what-does-that-mean-any-help-appreciated-thanks/166>\
**Category:** SoapUI OS\
**Tags:** api, soapui, migrated, wcf, file-attachment, mtom\
**Created:** [July 24, 2017, 2:02pm UTC](https://community.smartbear.com/t/mime-part-with-content-id-cid-xxxxx-not-found-what-does-that-mean-any-help-appreciated-thanks/166 "2017-07-24T14:02:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [July 24, 2017, 2:02pm UTC](https://community.smartbear.com/t/mime-part-with-content-id-cid-xxxxx-not-found-what-does-that-mean-any-help-appreciated-thanks/166/1 "2017-07-24T14:02:04Z")

</div>

> Originally posted by **rekasambath** on July 24, 2017

Below is my soap request

\<soapenv:Envelope xmlns:soapenv=“[http://schemas.xmlsoap.org/soap/envelope/](http://schemas.xmlsoap.org/soap/envelope/)” xmlns:tem=“[http://tempuri.org/](http://tempuri.org/)”\>  
soapenv:Header  
tem:documentNamehello\</tem:documentName\>  
tem:UserNametest\</tem:UserName\>  
tem:Passwordtest123\</tem:Password\>  
\</soapenv:Header\>  
soapenv:Body  
tem:DocumentUpload  
tem:datacid:859375762160\</tem:data\>  
\</tem:DocumentUpload\>  
\</soapenv:Body\>  
\</soapenv:Envelope\>

And I am getting an error in the response. The error occurs at the place where stream is read.

\<s:Envelope xmlns:s=“[http://schemas.xmlsoap.org/soap/envelope/](http://schemas.xmlsoap.org/soap/envelope/)”\>  
\<s:Body\>  
\<s:Fault\>  
a:InternalServiceFault  
An exception has been thrown when reading the stream.  
  
  
  
  
  
  
MIME part with Content-ID ‘cid:859375762160’ not found.  
at System.Xml.XmlMtomReader.ReadMimePart(String uri)  
at System.Xml.XmlMtomReader.Read()  
at System.Xml.XmlReader.ReadStartElement(String localname, String ns)  
at System.ServiceModel.Dispatcher.StreamFormatter.MessageBodyStream.Read(Byte buffer, Int32 offset, Int32 count)  
System.Xml.XmlException  
  
An exception has been thrown when reading the stream.  
at System.ServiceModel.Dispatcher.StreamFormatter.MessageBodyStream.Read(Byte buffer, Int32 offset, Int32 count)  
at WcfService1.Service1.UploadFile(DocumentUpload request) in \hcldc\users$\rekasambath\documents\visual studio 2015\Projects\WcfService1\WcfService1\Service1.svc.cs:line 25  
at SyncInvokeUploadFile(Object , Object , Object )  
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object inputs, Object& outputs)  
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)  
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)  
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)  
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)  
System.IO.IOException  
  
  
\</s:Fault\>  
\</s:Body\>  
\</s:Envelope\>

What does this error mean? Am I missing something? Any Help appreciated. Thanks

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [July 24, 2017, 2:13pm UTC](https://community.smartbear.com/t/mime-part-with-content-id-cid-xxxxx-not-found-what-does-that-mean-any-help-appreciated-thanks/166/2 "2017-07-24T14:13:55Z")

</div>

> Originally posted by **nmrao** on July 24, 2017

Have you attached the file to the request and selected the part number?

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [July 24, 2017, 2:20pm UTC](https://community.smartbear.com/t/mime-part-with-content-id-cid-xxxxx-not-found-what-does-that-mean-any-help-appreciated-thanks/166/3 "2017-07-24T14:20:41Z")

</div>

> Originally posted by **rekasambath** on July 24, 2017

It is working now.

Updating the part number(cid:part Number) in soap message didn’t work for me.

I updated cid:Content-ID in the soap message and it is working fine.

Thanks for your help.
