Skip to main content
1-Visitor
January 11, 2019
Question

add binary content to webject Call-SOAPService

  • January 11, 2019
  • 0 replies
  • 858 views

Hi,

 

I need to send a Soap message from Windchill to a thirdpary application, but also include a binary content in the message, in my case a CAD file.

 

I have found the following Info*Engine Webject that I believe I can use to send teh actual soap message:

 

Call-SOAPService

 

But has anyone tried to attach binary content to the webject? The content stream itself I can get from the webject: 

Get-ContentItems

I have also found examples of how to get the File Stream onto an email,

./prog_examples/adapter/windchill/tasks/infoengine/examples/adapter/windchill/contentItem/Email.xml

 

but I cannot find out how to add it as binary content into the SOAP message.

 

Does anyone have any idea?

/Gustav