Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
SOAP attachments and WSDL
Miki Vz
11/27/2007 3:22:00 AM
Hi all,
I'm doing a webservice that needs to transfer large files, so I'm using
the SOAP::Attachment class. It works fine. However I would like to
present a WSDL and I don't know how to declare a function parameter as
an attachment. The only thing useful I have found in the web suggests
doing this
<xsd:schema targetNamespace="
http://ws-i.org/profiles/basic/1.1...
xmlns:xs="
http://www.w3.org/2001/XMLSchema...
<xsd:simpleType name="swaRef">
<xsd:restriction base="xs:anyURI" />
</xsd:simpleType>
</xsd:schema>
from
http://webservices.xml.com/pub/a/ws/2003/09/16/wsbp.html...
it says something about using the profile in
http://ws-i.org/profiles/bas...
I don't know what that is, but doing:
<import
namespace="
http://ws-i.org/profiles/basic/1.1...
schemaLocation="
http://ws-i.org/profiles/basic/1.1...
/>
fails miserably as the URL
http://ws-i.org/profiles/bas...
is forbidden for some reason.
Any suggestions?
Thanks for your time
-Miki
--
Posted via
http://www.ruby-...
.
1 Answer
Miki Vz
11/28/2007 3:14:00 PM
0
I'm droping attachments altogether and passing the matrix as a string,
so don't need this anymore. Seems like wsdl support for mime in soap4r
is lacking, so I thought: 'if its a pain for me, it will probably be a
pain for the users'
Oh well...
-Miki
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
SOAP attachments and WSDL
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password