I don' t think that an empty source could work, as it may have to be
transformed to a valid DOM document for example. A dummy one will
work ("<dummy/>" is fine)...
That is what I had in mine, and it is already used at some places in servicemix.
Cheers,
Guillaume Nodet
On 4/19/06, Stefan Klinger <[EMAIL PROTECTED]> wrote:
> Thanks Guillaume,
>
> I remember you mentioning before that SM always requires a xml message
> source. In some cases, i.e. web form submission or simple http get
> requests, this is not always favourable. Is there no way to have either
> a) a empty source or b) if there is no xml available, set a dummy source
> (e.g. <dummy></dummy>) within the binding component, in this case the
> http-component?
>
> Stefan
>
> Guillaume Nodet wrote:
>
> >Yep, correct.
> >I will also need one specific (optional) parameter name that would be
> >used as the xml content of the JBI exchange. This would also be
> >usefull when handling web forms submission. If this parameter is not
> >set, a dummy xml content will be sent.
> >
> >Cheers,
> >Guillaume Nodet
> >
> >On 4/18/06, Stefan Klinger <[EMAIL PROTECTED]> wrote:
> >
> >
> >>Thanks Guillaume,
> >>
> >>I have raised a Jira for this (see
> >>http://issues.apache.org/activemq/browse/SM-405). For me, it would
> >>suffice to pass a parameter on the uri. I guess these parameters would
> >>be "translated" into message properties of the NormalizedMessage for a
> >>consumer endpoint - Is this correct ?
> >>
> >>Stefan
> >>
> >>
> >>Guillaume Nodet wrote:
> >>
> >>
> >>
> >>>On 4/18/06, Stefan Klinger <[EMAIL PROTECTED]> wrote:
> >>>
> >>>
> >>>
> >>>
> >>>>Hello,
> >>>>
> >>>>I noticed that the Http-Component only allows for HTTP POST Binding when
> >>>>deploying a service unit using wsdl. Are there any plans to support HTTP
> >>>>GET as well?
> >>>>
> >>>>
> >>>>
> >>>>
> >>>Well, sure. The only question is when ;)
> >>>Please raise a JIRA for this feature.
> >>>Btw, do you plan to pass parameters on the uri, or you just want to
> >>>use an "Out-Only" pattern (which is another problem)..
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>>On another note, the ActiveIO dependency has changed to
> >>>>activeio_version=3.0-beta1 which I cannot seem to get from any of the
> >>>>remote repositories - Any ideas?
> >>>>
> >>>>
> >>>>
> >>>>
> >>>Take a look at http://cvs.apache.org/repository/incubator-activemq/jars/
> >>>
> >>>Cheers,
> >>>Guillaume Nodet
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>>Thanks,
> >>>>Stefan
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>
> >>
>
>