Thanks Erik,

We have written a processor to communicate with our web service, just
wanted to see if it would be possible to use the generic delegation
processor, as we are probably going to interact with a least one more
service.

Regards

Peter

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Erik Bruchez
Sent: Tuesday, March 23, 2004 7:54 PM
To: OXF Users
Subject: Re: File Upload

If I understand well, you would like to convert from an
xs:base64Binary type (as generated by OXF in the upload) to a text
type (e.g. xs:string)? This is not possible in OXF right now, but I
definitely understand how it would make sense if the document that was
initially encoded was a text document. With the current version, you
will have to use a workaround, such as writing your own processor. I
added an entry to track this RFE:

   http://www.orbeon.com/webtools/bugzilla/show_bug.cgi?id=1610

I think the Delegation processor it its current state will not support
document-based Web services, since we mandate an operation. This could
also be fixed in the relatively short term. Let us know how crucial
this is for you. I added an entry to track this RFE as well:

   http://www.orbeon.com/webtools/bugzilla/show_bug.cgi?id=1611

-Erik

Peter Charles wrote:

 > Erik,
 >
 > When I upload a document I have access to the xform instance for the
 > page.  It has the following content (abbreviated)
 >
 >
<file>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxjYWY6Q291c.
 > ... </file>
 >
 > I would like to be able to be to do two things, save this file to the
 > file system, and convert this to a document so that I can manipulate
it
 > in an XPL pipeline.
 >
 > I think what you are saying is that the file serializer does not
 > currently support base64 encoding, so I can not use the xforms upload
 > tool to save it to disk.
 >
 > What I meant by 'as text'(poorly said) was that I need to be able to
 > access contents of the document in an XPL so that I can manipulate
it,
 > including wrapping it in a soap envelope.
 >
 > I have been playing around with the Delegation Processor and am
 > wondering if it possible to use it with a non-rpc based webservice.
IE,
 > post a soap envelope to a url and receive a response.  The structure
of
 > them message will determine what operations are preformed, so there
is
 > no need to pass any "operations" to the service.
 >
 > I hope this is clearer
 >
 > Thanks
 >
 > Peter

_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users

_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users

Reply via email to