Sending ticket attachments via soap

rt-3.6.1/Apache2
I’ve written a simple soap service for rt that can communicate with
windows .net client via a wsdl file, however I can’t find the best way
to send attachments, as rt will expect a mime object that combine the
update/create text with the attachment, I’ll need to create this object
on the server (rt side), can anyone suggest the best way to do this, the
.net developers would prefer to send attachments separate as a DIME
Referenced binary.
Thanks;
Roy

perldoc MIME::EntityOn 9/8/06, Roy El-Hames rfh@pipex.net wrote:

rt-3.6.1/Apache2
I’ve written a simple soap service for rt that can communicate with
windows .net client via a wsdl file, however I can’t find the best way
to send attachments, as rt will expect a mime object that combine the
update/create text with the attachment, I’ll need to create this object
on the server (rt side), can anyone suggest the best way to do this, the
.net developers would prefer to send attachments separate as a DIME
Referenced binary.
Thanks;
Roy


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Best regards, Ruslan.

Hi Roy,

can you also share this soap services, the “old” one from BPS seams to be
outdated or only for rt2x i think.

Torsten2006/9/8, Roy El-Hames rfh@pipex.net:

rt-3.6.1/Apache2
I’ve written a simple soap service for rt that can communicate with
windows .net client via a wsdl file, however I can’t find the best way
to send attachments, as rt will expect a mime object that combine the
update/create text with the attachment, I’ll need to create this object
on the server (rt side), can anyone suggest the best way to do this, the
.net developers would prefer to send attachments separate as a DIME
Referenced binary.
Thanks;
Roy


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

MFG

Torsten Brumm

http://www.torsten-brumm.de

Yeah sure attached … Its basic and far from perfect, it was my first
attempt writing soap service and just to serve my immediate needs, I
Just hope somebody can use it as a base and develop a full service that
can be used by .net and jave clients, The REST interface is very good,
but all the rage (what managers like) is SOAP and web services etc …
Please bare in mind it includes some of our custom status’es , which you
may have to remove …
Regards;
Roy

Torsten Brumm wrote:

res.cgi.txt (188 Bytes)

rt.wsdl.txt (10.5 KB)

RTSoap.pm.txt (11.9 KB)

This is the directory where I have my RTSoap.pm, I wanted to have the
SOAP related modules independent.
you can easily place it in local/lib/RT and remove that line or modify
it to /opt/rt3/local/lib/RT

Regards;
Roy
Torsten Brumm wrote: