Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

add binary content to webject Call-SOAPService

gjärund
7-Bedrock

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

0 REPLIES 0
Announcements

Top Tags