XPL-processor for making HTTP requests with Content-Type=multipart/mixed?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

XPL-processor for making HTTP requests with Content-Type=multipart/mixed?

Mats Eklund-2
Hi,

Is there a way to make HTTP requests from an XPL with Content-Type=multipart/mixed? I understand xforms:submission can only submit XML documents.

Thanks,
Mats



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: XPL-processor for making HTTP requests with Content-Type=multipart/mixed?

Alessandro  Vernet
Administrator
Mats,

I have seen multipart/mixed being used mostly for emails, e.g. when
you want to have an HTML and text version of the same content in an
email, and let the email client which one it prefers to render. We
support the multipart/mixed in the email processor only. At this
point, the xforms:submission does not support multipart/mixed or
multipart/related. We only support multipart/form-data. Would that be
an acceptable alternative, or do you have a service that explicitly
expects data to be posted in multipart/mixed?

Alex

On Mon, Mar 1, 2010 at 3:16 AM, Mats Eklund <[hidden email]> wrote:

>
> Hi,
>
> Is there a way to make HTTP requests from an XPL with Content-Type=multipart/mixed? I understand xforms:submission can only submit XML documents.
>
> Thanks,
> Mats
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: XPL-processor for making HTTP requests with Content-Type=multipart/mixed?

Mats Eklund-2
I'm accessing my database using ADO.NET Data Services REST API which supports batch requests (i.e. multiple REST operations in one request) which relies on this wire format. I can live without it, but it would be nice to have it. I understand a more recent version of XForms  supports this, as does XProc.  But as I said, it's not crucial at this moment.

--- On Tue, 3/2/10, Alessandro Vernet <[hidden email]> wrote:

From: Alessandro Vernet <[hidden email]>
Subject: [ops-users] Re: XPL-processor for making HTTP requests with Content-Type=multipart/mixed?
To: [hidden email]
Date: Tuesday, March 2, 2010, 7:07 PM

Mats,

I have seen multipart/mixed being used mostly for emails, e.g. when
you want to have an HTML and text version of the same content in an
email, and let the email client which one it prefers to render. We
support the multipart/mixed in the email processor only. At this
point, the xforms:submission does not support multipart/mixed or
multipart/related. We only support multipart/form-data. Would that be
an acceptable alternative, or do you have a service that explicitly
expects data to be posted in multipart/mixed?

Alex

On Mon, Mar 1, 2010 at 3:16 AM, Mats Eklund <mats.eklund@...> wrote:

>
> Hi,
>
> Is there a way to make HTTP requests from an XPL with Content-Type=multipart/mixed? I understand xforms:submission can only submit XML documents.
>
> Thanks,
> Mats
>
>
>
> --
> You receive this message as a subscriber of the ops-users@... mailing list.
> To unsubscribe: mailto:ops-users-unsubscribe@...
> For general help: mailto:sympa@...?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>



--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet

-----Inline Attachment Follows-----


--
You receive this message as a subscriber of the ops-users@... mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: XPL-processor for making HTTP requests with Content-Type=multipart/mixed?

Alessandro  Vernet
Administrator
Mats,

I see; like you say supporting multipart/mixed would be desirable.
With some luck, we'll get someone to sponsor this soon and it will get
done :).

Another things you can do speed things up when you have a number of
requests to send to a backend is to send them all at the same time, so
they can run in parallel. You can do this running asynchronous
submission. You then wait on all the submissions being done with
<xxforms:join-submission/>. You'll find more on this at:

http://wiki.orbeon.com/forms/doc/developer-guide/asynchronous-submissions

Alex

On Tue, Mar 2, 2010 at 1:18 PM, Mats Eklund <[hidden email]> wrote:

>
> I'm accessing my database using ADO.NET Data Services REST API which supports batch requests (i.e. multiple REST operations in one request) which relies on this wire format. I can live without it, but it would be nice to have it. I understand a more recent version of XForms  supports this, as does XProc.  But as I said, it's not crucial at this moment.
>
> --- On Tue, 3/2/10, Alessandro Vernet <[hidden email]> wrote:
>
> From: Alessandro Vernet <[hidden email]>
> Subject: [ops-users] Re: XPL-processor for making HTTP requests with Content-Type=multipart/mixed?
> To: [hidden email]
> Date: Tuesday, March 2, 2010, 7:07 PM
>
> Mats,
>
> I have seen multipart/mixed being used mostly for emails, e.g. when
> you want to have an HTML and text version of the same content in an
> email, and let the email client which one it prefers to render. We
> support the multipart/mixed in the email processor only. At this
> point, the xforms:submission does not support multipart/mixed or
> multipart/related. We only support multipart/form-data. Would that be
> an acceptable alternative, or do you have a service that explicitly
> expects data to be posted in multipart/mixed?
>
> Alex
>
> On Mon, Mar 1, 2010 at 3:16 AM, Mats Eklund <[hidden email]> wrote:
> >
> > Hi,
> >
> > Is there a way to make HTTP requests from an XPL with Content-Type=multipart/mixed? I understand xforms:submission can only submit XML documents.
> >
> > Thanks,
> > Mats
> >
> >
> >
> > --
> > You receive this message as a subscriber of the [hidden email] mailing list.
> > To unsubscribe: mailto:[hidden email]
> > For general help: mailto:[hidden email]?subject=help
> > OW2 mailing lists service home page: http://www.ow2.org/wws
> >
>
>
>
> --
> Orbeon Forms - Web forms, open-source, for the Enterprise -
> http://www.orbeon.com/
> My Twitter: http://twitter.com/avernet
>
> -----Inline Attachment Follows-----
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: XPL-processor for making HTTP requests with Content-Type=multipart/mixed?

Mats Eklund-2
Async submissions: interesting!

Multipart/mixed: sounds good. I think it should be a fairly common case that enterprises require that valuable data has to be stored in existing storage infrastructure and databases, oftentimes Ms SQL Server. The fact that such data can be easily/automatically surfaced as REST resources using Ms's Entity Framework and ADO.NET Data Services is great. With support for multipart/mixed, Orbeon will provide a really powerful tool for building user interfaces for interacting with this data.

Best,
Mats

--- On Sat, 3/6/10, Alessandro Vernet <[hidden email]> wrote:

From: Alessandro Vernet <[hidden email]>
Subject: [ops-users] Re: Re: Re: XPL-processor for making HTTP requests with Content-Type=multipart/mixed?
To: [hidden email]
Date: Saturday, March 6, 2010, 2:50 AM

Mats,

I see; like you say supporting multipart/mixed would be desirable.
With some luck, we'll get someone to sponsor this soon and it will get
done :).

Another things you can do speed things up when you have a number of
requests to send to a backend is to send them all at the same time, so
they can run in parallel. You can do this running asynchronous
submission. You then wait on all the submissions being done with
<xxforms:join-submission/>. You'll find more on this at:

http://wiki.orbeon.com/forms/doc/developer-guide/asynchronous-submissions

Alex

On Tue, Mar 2, 2010 at 1:18 PM, Mats Eklund <mats.eklund@...> wrote:

>
> I'm accessing my database using ADO.NET Data Services REST API which supports batch requests (i.e. multiple REST operations in one request) which relies on this wire format. I can live without it, but it would be nice to have it. I understand a more recent version of XForms  supports this, as does XProc.  But as I said, it's not crucial at this moment.
>
> --- On Tue, 3/2/10, Alessandro Vernet <avernet@...> wrote:
>
> From: Alessandro Vernet <avernet@...>
> Subject: [ops-users] Re: XPL-processor for making HTTP requests with Content-Type=multipart/mixed?
> To: ops-users@...
> Date: Tuesday, March 2, 2010, 7:07 PM
>
> Mats,
>
> I have seen multipart/mixed being used mostly for emails, e.g. when
> you want to have an HTML and text version of the same content in an
> email, and let the email client which one it prefers to render. We
> support the multipart/mixed in the email processor only. At this
> point, the xforms:submission does not support multipart/mixed or
> multipart/related. We only support multipart/form-data. Would that be
> an acceptable alternative, or do you have a service that explicitly
> expects data to be posted in multipart/mixed?
>
> Alex
>
> On Mon, Mar 1, 2010 at 3:16 AM, Mats Eklund <mats.eklund@...> wrote:
> >
> > Hi,
> >
> > Is there a way to make HTTP requests from an XPL with Content-Type=multipart/mixed? I understand xforms:submission can only submit XML documents.
> >
> > Thanks,
> > Mats
> >
> >
> >
> > --
> > You receive this message as a subscriber of the ops-users@... mailing list.
> > To unsubscribe: mailto:ops-users-unsubscribe@...
> > For general help: mailto:sympa@...?subject=help
> > OW2 mailing lists service home page: http://www.ow2.org/wws
> >
>
>
>
> --
> Orbeon Forms - Web forms, open-source, for the Enterprise -
> http://www.orbeon.com/
> My Twitter: http://twitter.com/avernet
>
> -----Inline Attachment Follows-----
>
>
> --
> You receive this message as a subscriber of the ops-users@... mailing list.
> To unsubscribe: mailto:ops-users-unsubscribe@...
> For general help: mailto:sympa@...?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
>
> --
> You receive this message as a subscriber of the ops-users@... mailing list.
> To unsubscribe: mailto:ops-users-unsubscribe@...
> For general help: mailto:sympa@...?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>



--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet

-----Inline Attachment Follows-----


--
You receive this message as a subscriber of the ops-users@... mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws