cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

add binary content to webject Call-SOAPService

Highlighted
Level 6

add binary content to webject Call-SOAPService

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