HTTP HEADER

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

HTTP HEADER

masjab-2
Hey,

Does anyone has a small example for sending HEADER information and a xml-request?

I donŽt know if I did understand that right but if I have a submission that should send an XML-file to an url and that url needs some HEADER-information...
Where do I have to put it?
I read the documentation but I think I need a small example.

Thanks a lot



--
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: HTTP HEADER

Alessandro Vernet
Administrator
On Apr 6, 2009, at 1:14 AM, Masen Jabban wrote:

> I donŽt know if I did understand that right but if I have a  
> submission that should send an XML-file to an url and that url needs  
> some HEADER-information...
> Where do I have to put it?

What do you mean by "HEADER information"? Are you referring to HTTP  
headers?

If you are talking about setting an HTTP header in a submission, you  
can use the standard <xforms:header> element inside your  
<xforms:submission>. See this section from the XForms 1.1 specification:

http://www.w3.org/TR/xforms11/#submit-header

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: HTTP HEADER

mh-14
In reply to this post by masjab-2
Hey,

yes, I am referring to HTTP HEADERS.

I am trying to call a SOAP and a REST service...
I think I need some help.


Does anyone has a small example for calling theses services? I found the parts in the documentation but still not working..=(
Something like:

1) page-flow.xml ( how do I place the xpl file)
2) view.xhtml (thats clear)
3) callSoap.xpl (need help)
4) callREST.xpl (need help)


THX




> -----Ursprüngliche Nachricht-----
> Von: "Alessandro Vernet" <[hidden email]>
> Gesendet: 08.04.09 02:59:44
> An: [hidden email]
> Betreff: [ops-users] Re:  HTTP HEADER


> On Apr 6, 2009, at 1:14 AM, Masen Jabban wrote:
>
> > I donŽt know if I did understand that right but if I have a  
> > submission that should send an XML-file to an url and that url needs  
> > some HEADER-information...
> > Where do I have to put it?
>
> What do you mean by "HEADER information"? Are you referring to HTTP  
> headers?
>
> If you are talking about setting an HTTP header in a submission, you  
> can use the standard <xforms:header> element inside your  
> <xforms:submission>. See this section from the XForms 1.1 specification:
>
> http://www.w3.org/TR/xforms11/#submit-header
>
> Alex
> --
> Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
> Orbeon's Blog: http://www.orbeon.com/blog/
> Personal Blog: http://avernet.blogspot.com/
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Re: HTTP HEADER

masjab-2
In reply to this post by masjab-2
> Hey,

>
> yes, I am referring to HTTP HEADERS.
>
> I am trying to call a SOAP and a REST service...
> I think I need some help.
>
>
> Does anyone has a small example for calling theses services? I found the parts in the documentation but still not working..=(
> Something like:
>
> 1) page-flow.xml ( how do I place the xpl file)
> 2) view.xhtml (thats clear)
> 3) callSoap.xpl (need help)
> 4) callREST.xpl (need help)
>
>
> THX
>
>
>
>
> > -----Ursprüngliche Nachricht-----
> > Von: "Alessandro Vernet" <[hidden email]>
> > Gesendet: 08.04.09 02:59:44
> > An: [hidden email]
> > Betreff: [ops-users] Re:  HTTP HEADER
>
>
> > On Apr 6, 2009, at 1:14 AM, Masen Jabban wrote:
> >
> > > I donŽt know if I did understand that right but if I have a  
> > > submission that should send an XML-file to an url and that url needs  
> > > some HEADER-information...
> > > Where do I have to put it?
> >
> > What do you mean by "HEADER information"? Are you referring to HTTP  
> > headers?
> >
> > If you are talking about setting an HTTP header in a submission, you  
> > can use the standard <xforms:header> element inside your  
> > <xforms:submission>. See this section from the XForms 1.1 specification:
> >
> > http://www.w3.org/TR/xforms11/#submit-header
> >
> > Alex
> > --
> > Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
> > Orbeon's Blog: http://www.orbeon.com/blog/
> > Personal Blog: http://avernet.blogspot.com/
> > Twitter - http://twitter.com/avernet
> >
> >
> >
>
>
>
>

> -----Ursprüngliche Nachricht-----
> Von: "Alessandro Vernet" <[hidden email]>
> Gesendet: 08.04.09 02:59:44
> An: [hidden email]
> Betreff: [ops-users] Re:  HTTP HEADER


> On Apr 6, 2009, at 1:14 AM, Masen Jabban wrote:
>
> > I donŽt know if I did understand that right but if I have a  
> > submission that should send an XML-file to an url and that url needs  
> > some HEADER-information...
> > Where do I have to put it?
>
> What do you mean by "HEADER information"? Are you referring to HTTP  
> headers?
>
> If you are talking about setting an HTTP header in a submission, you  
> can use the standard <xforms:header> element inside your  
> <xforms:submission>. See this section from the XForms 1.1 specification:
>
> http://www.w3.org/TR/xforms11/#submit-header
>
> Alex
> --
> Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
> Orbeon's Blog: http://www.orbeon.com/blog/
> Personal Blog: http://avernet.blogspot.com/
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: HTTP HEADER

Hank Ratzesberger
In reply to this post by mh-14

With the features of XForms 1.1 and the Orbeon extensions (like AVT's)
the XForms markup in your view.xhtml can do accomplish maybe everything,
with no need to create separate pipelines.

But perhaps, yes, there are few examples.  Whether SOAP or REST, the
mechanism is the submission element with its attributes action, ref,  
method,
instance and replace. These configure an http transaction that
specify the url, http request type, response and action to take after
receiving the response.

If you have deployed the war or even if you can use the xforms sandbox
at www.orbeon.com, you should be able to build a form with a send
element that processes the submission.

The 1.1 spec. is more for implementers, but worth a look:

http://www.w3.org/TR/xforms11/#SOAP

There is an XForms wikibook with a lot of examples, even if they
don't use any Orbeon extensions

http://en.wikibooks.org/wiki/XForms/Web_service

(which  sets the media type to "text/xml" and some services will
expect "application/soap+xml" ....)

Hope that is some help,
Hank


On Apr 14, 2009, at 12:48 AM, [hidden email] wrote:

> Hey,
>
> yes, I am referring to HTTP HEADERS.
>
> I am trying to call a SOAP and a REST service...
> I think I need some help.
>
>
> Does anyone has a small example for calling theses services? I  
> found the parts in the documentation but still not working..=(
> Something like:
>
> 1) page-flow.xml ( how do I place the xpl file)
> 2) view.xhtml (thats clear)
> 3) callSoap.xpl (need help)
> 4) callREST.xpl (need help)
>
>
> THX
>
>
>
>
>> -----Ursprüngliche Nachricht-----
>> Von: "Alessandro Vernet" <[hidden email]>
>> Gesendet: 08.04.09 02:59:44
>> An: [hidden email]
>> Betreff: [ops-users] Re:  HTTP HEADER
>
>
>> On Apr 6, 2009, at 1:14 AM, Masen Jabban wrote:
>>
>>> I donŽt know if I did understand that right but if I have a
>>> submission that should send an XML-file to an url and that url needs
>>> some HEADER-information...
>>> Where do I have to put it?
>>
>> What do you mean by "HEADER information"? Are you referring to HTTP
>> headers?
>>
>> If you are talking about setting an HTTP header in a submission, you
>> can use the standard <xforms:header> element inside your
>> <xforms:submission>. See this section from the XForms 1.1  
>> specification:
>>
>> http://www.w3.org/TR/xforms11/#submit-header
>>
>> Alex
>> --
>> Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
>> Orbeon's Blog: http://www.orbeon.com/blog/
>> Personal Blog: http://avernet.blogspot.com/
>> 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
Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
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: Re: HTTP HEADER

masjab-2
In reply to this post by masjab-2
Thx!
But still I donŽt have a working example.
I did take a look at http://www.w3.org/TR/xforms11/#SOAP 
but there must be mistakes in that example. (I am working with orbeon)

Also http://en.wikibooks.org/wiki/XForms/Web_service didŽt help because itŽs not running.
I did install the mozilla-plugin but no luck...

Does anyone has a very small example for calling a webservice?



 
> -----Ursprüngliche Nachricht-----
> Von: "Hank Ratzesberger" <[hidden email]>
> Gesendet: 14.04.09 18:03:36
> An: [hidden email]
> Betreff: [ops-users] Re: Re: Re:  HTTP HEADER


>
> With the features of XForms 1.1 and the Orbeon extensions (like AVT's)
> the XForms markup in your view.xhtml can do accomplish maybe everything,
> with no need to create separate pipelines.
>
> But perhaps, yes, there are few examples.  Whether SOAP or REST, the
> mechanism is the submission element with its attributes action, ref,  
> method,
> instance and replace. These configure an http transaction that
> specify the url, http request type, response and action to take after
> receiving the response.
>
> If you have deployed the war or even if you can use the xforms sandbox
> at www.orbeon.com, you should be able to build a form with a send
> element that processes the submission.
>
> The 1.1 spec. is more for implementers, but worth a look:
>
> http://www.w3.org/TR/xforms11/#SOAP
>
> There is an XForms wikibook with a lot of examples, even if they
> don't use any Orbeon extensions
>
> http://en.wikibooks.org/wiki/XForms/Web_service
>
> (which  sets the media type to "text/xml" and some services will
> expect "application/soap+xml" ....)
>
> Hope that is some help,
> Hank
>
>
> On Apr 14, 2009, at 12:48 AM, [hidden email] wrote:
>
> > Hey,
> >
> > yes, I am referring to HTTP HEADERS.
> >
> > I am trying to call a SOAP and a REST service...
> > I think I need some help.
> >
> >
> > Does anyone has a small example for calling theses services? I  
> > found the parts in the documentation but still not working..=(
> > Something like:
> >
> > 1) page-flow.xml ( how do I place the xpl file)
> > 2) view.xhtml (thats clear)
> > 3) callSoap.xpl (need help)
> > 4) callREST.xpl (need help)
> >
> >
> > THX
> >
> >
> >
> >
> >> -----Ursprüngliche Nachricht-----
> >> Von: "Alessandro Vernet" <[hidden email]>
> >> Gesendet: 08.04.09 02:59:44
> >> An: [hidden email]
> >> Betreff: [ops-users] Re:  HTTP HEADER
> >
> >
> >> On Apr 6, 2009, at 1:14 AM, Masen Jabban wrote:
> >>
> >>> I donŽt know if I did understand that right but if I have a
> >>> submission that should send an XML-file to an url and that url needs
> >>> some HEADER-information...
> >>> Where do I have to put it?
> >>
> >> What do you mean by "HEADER information"? Are you referring to HTTP
> >> headers?
> >>
> >> If you are talking about setting an HTTP header in a submission, you
> >> can use the standard <xforms:header> element inside your
> >> <xforms:submission>. See this section from the XForms 1.1  
> >> specification:
> >>
> >> http://www.w3.org/TR/xforms11/#submit-header
> >>
> >> Alex
> >> --
> >> Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
> >> Orbeon's Blog: http://www.orbeon.com/blog/
> >> Personal Blog: http://avernet.blogspot.com/
> >> 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
>
> Hank Ratzesberger
> NEES@UCSB
> Institute for Crustal Studies,
> University of California, Santa Barbara
> 805-893-8042
>
>
>
>
>
>
>



--
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: Re: Re: HTTP HEADER

Hank Ratzesberger

Well, looks like I can't either... :(

OK, take a look at this:

http://www.pastie.org/448019

I am trying to call the service described here:

http://www.nws.noaa.gov/xml/

and I am out of time today. I need to check the
server logs on my own running version of the
xforms sandbox.

Let me know if you have any luck.

--Hank


On Apr 15, 2009, at 6:03 AM, Masen Jabban wrote:

> Thx!
> But still I donŽt have a working example.
> I did take a look at http://www.w3.org/TR/xforms11/#SOAP
> but there must be mistakes in that example. (I am working with orbeon)
>
> Also http://en.wikibooks.org/wiki/XForms/Web_service didŽt help  
> because itŽs not running.
> I did install the mozilla-plugin but no luck...
>
> Does anyone has a very small example for calling a webservice?
>
>
>
>
>> -----Ursprüngliche Nachricht-----
>> Von: "Hank Ratzesberger" <[hidden email]>
>> Gesendet: 14.04.09 18:03:36
>> An: [hidden email]
>> Betreff: [ops-users] Re: Re: Re:  HTTP HEADER
>
>
>>
>> With the features of XForms 1.1 and the Orbeon extensions (like  
>> AVT's)
>> the XForms markup in your view.xhtml can do accomplish maybe  
>> everything,
>> with no need to create separate pipelines.
>>
>> But perhaps, yes, there are few examples.  Whether SOAP or REST, the
>> mechanism is the submission element with its attributes action, ref,
>> method,
>> instance and replace. These configure an http transaction that
>> specify the url, http request type, response and action to take after
>> receiving the response.
>>
>> If you have deployed the war or even if you can use the xforms  
>> sandbox
>> at www.orbeon.com, you should be able to build a form with a send
>> element that processes the submission.
>>
>> The 1.1 spec. is more for implementers, but worth a look:
>>
>> http://www.w3.org/TR/xforms11/#SOAP
>>
>> There is an XForms wikibook with a lot of examples, even if they
>> don't use any Orbeon extensions
>>
>> http://en.wikibooks.org/wiki/XForms/Web_service
>>
>> (which  sets the media type to "text/xml" and some services will
>> expect "application/soap+xml" ....)
>>
>> Hope that is some help,
>> Hank
>>
>>
>> On Apr 14, 2009, at 12:48 AM, [hidden email] wrote:
>>
>>> Hey,
>>>
>>> yes, I am referring to HTTP HEADERS.
>>>
>>> I am trying to call a SOAP and a REST service...
>>> I think I need some help.
>>>
>>>
>>> Does anyone has a small example for calling theses services? I
>>> found the parts in the documentation but still not working..=(
>>> Something like:
>>>
>>> 1) page-flow.xml ( how do I place the xpl file)
>>> 2) view.xhtml (thats clear)
>>> 3) callSoap.xpl (need help)
>>> 4) callREST.xpl (need help)
>>>
>>>
>>> THX
>>>
>>>
>>>
>>>
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: "Alessandro Vernet" <[hidden email]>
>>>> Gesendet: 08.04.09 02:59:44
>>>> An: [hidden email]
>>>> Betreff: [ops-users] Re:  HTTP HEADER
>>>
>>>
>>>> On Apr 6, 2009, at 1:14 AM, Masen Jabban wrote:
>>>>
>>>>> I donŽt know if I did understand that right but if I have a
>>>>> submission that should send an XML-file to an url and that url  
>>>>> needs
>>>>> some HEADER-information...
>>>>> Where do I have to put it?
>>>>
>>>> What do you mean by "HEADER information"? Are you referring to HTTP
>>>> headers?
>>>>
>>>> If you are talking about setting an HTTP header in a submission,  
>>>> you
>>>> can use the standard <xforms:header> element inside your
>>>> <xforms:submission>. See this section from the XForms 1.1
>>>> specification:
>>>>
>>>> http://www.w3.org/TR/xforms11/#submit-header
>>>>
>>>> Alex
>>>> --
>>>> Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
>>>> Orbeon's Blog: http://www.orbeon.com/blog/
>>>> Personal Blog: http://avernet.blogspot.com/
>>>> 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
>>
>> Hank Ratzesberger
>> NEES@UCSB
>> Institute for Crustal Studies,
>> University of California, Santa Barbara
>> 805-893-8042
>>
>>
>>
>>
>>
>>
>>
>
>
>
> --
> 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
Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
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: Re: Re: HTTP HEADER

Alessandro Vernet
Administrator
In reply to this post by masjab-2
Masen,

On Wed, Apr 15, 2009 at 6:03 AM, Masen Jabban <[hidden email]> wrote:
> Does anyone has a very small example for calling a webservice?

See web-service-weather.xhtml which you can find in
resources/apps/xforms-sandbox/samples. You can run it locally by going
to http://localhost:8080/orbeon/xforms-sandbox/sample/web-service-weather.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: HTTP HEADER

mh-14
In reply to this post by masjab-2
Aley,

Thx a lot!
This is what I was looking for, but still I do have the following problem:

When I run that sample in the sandbox everything is ok =)

When I copy the code to make my own file I always get the error message:

Fatal error: Element type "xforms:submission" must be followed by either attribute specifications, ">" or "/>"

TI did not change anything:

<xforms:submission id="weather-submission" method="post"
                action="http://www.webservicex.net/WeatherForecast.asmx"
                ref="instance('ws-request')" replace="instance" instance="ws-response"
                mediatype="application/soap+xml; action="http://www.webservicex.net/GetWeatherByZipCode""/>


Do I have to change any settings in my orbeon config....?




> -----Ursprüngliche Nachricht-----
> Von: "Alessandro Vernet" <[hidden email]>
> Gesendet: 17.04.09 10:18:36
> An: [hidden email]
> Betreff: [ops-users] Re: Re: Re: Re: Re: HTTP HEADER


> Masen,
>
> On Wed, Apr 15, 2009 at 6:03 AM, Masen Jabban <[hidden email]> wrote:
> > Does anyone has a very small example for calling a webservice?
>
> See web-service-weather.xhtml which you can find in
> resources/apps/xforms-sandbox/samples. You can run it locally by going
> to http://localhost:8080/orbeon/xforms-sandbox/sample/web-service-weather.
>
> Alex
> --
> Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
> Orbeon's Blog: http://www.orbeon.com/blog/
> Personal Blog: http://avernet.blogspot.com/
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: HTTP HEADER

masjab-2
In reply to this post by masjab-2
Aley,

Thx a lot!
This is what I was looking for, but still I do have the following problem:

When I run that sample in the sandbox everything is ok =)

When I copy the code to make my own file I always get the error message:

Fatal error: Element type "xforms:submission" must be followed by either attribute specifications, ">" or "/>"

TI did not change anything:

<xforms:submission id="weather-submission" method="post"
action="http://www.webservicex.net/WeatherForecast.asmx"
ref="instance('ws-request')" replace="instance" instance="ws-response"
mediatype="application/soap+xml; action="http://www.webservicex.net/GetWeatherByZipCode""/>


Do I have to change any settings in my orbeon config....?


> -----Ursprüngliche Nachricht-----
> Von: "Alessandro Vernet" <[hidden email]>
> Gesendet: 17.04.09 10:18:36
> An: [hidden email]
> Betreff: [ops-users] Re: Re: Re: Re: Re: HTTP HEADER


> Masen,
>
> On Wed, Apr 15, 2009 at 6:03 AM, Masen Jabban <[hidden email]> wrote:
> > Does anyone has a very small example for calling a webservice?
>
> See web-service-weather.xhtml which you can find in
> resources/apps/xforms-sandbox/samples. You can run it locally by going
> to http://localhost:8080/orbeon/xforms-sandbox/sample/web-service-weather.
>
> Alex
> --
> Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
> Orbeon's Blog: http://www.orbeon.com/blog/
> Personal Blog: http://avernet.blogspot.com/
> 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
Reply | Threaded
Open this post in threaded view
|

RE: Re: Re: Re: Re: Re: Re: HTTP HEADER

Steve Bayliss
Your quotes are a little messed up - in this bit:

mediatype="application/soap+xml;
action="http://www.webservicex.net/GetWeatherByZipCode""

Should this be

mediatype="application/soap+xml;"
action="http://www.webservicex.net/GetWeatherByZipCode"

or maybe

mediatype="application/soap+xml"
action="http://www.webservicex.net/GetWeatherByZipCode"

Steve

-----Original Message-----
From: Masen Jabban [mailto:[hidden email]]
Sent: 17 April 2009 10:15
To: [hidden email]
Subject: [ops-users] Re: Re: Re: Re: Re: Re: HTTP HEADER


Aley,

Thx a lot!
This is what I was looking for, but still I do have the following problem:

When I run that sample in the sandbox everything is ok =)

When I copy the code to make my own file I always get the error message:

Fatal error: Element type "xforms:submission" must be followed by either
attribute specifications, ">" or "/>"

TI did not change anything:

<xforms:submission id="weather-submission" method="post"
action="http://www.webservicex.net/WeatherForecast.asmx"
ref="instance('ws-request')" replace="instance" instance="ws-response"
mediatype="application/soap+xml;
action="http://www.webservicex.net/GetWeatherByZipCode""/>


Do I have to change any settings in my orbeon config....?


> -----Ursprüngliche Nachricht-----
> Von: "Alessandro Vernet" <[hidden email]>
> Gesendet: 17.04.09 10:18:36
> An: [hidden email]
> Betreff: [ops-users] Re: Re: Re: Re: Re: HTTP HEADER


> Masen,
>
> On Wed, Apr 15, 2009 at 6:03 AM, Masen Jabban <[hidden email]>
> wrote:
> > Does anyone has a very small example for calling a webservice?
>
> See web-service-weather.xhtml which you can find in
> resources/apps/xforms-sandbox/samples. You can run it locally by going
> to
> http://localhost:8080/orbeon/xforms-sandbox/sample/web-service-weather
> .
>
> Alex
> --
> Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
> Orbeon's Blog: http://www.orbeon.com/blog/
> Personal Blog: http://avernet.blogspot.com/
> 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
Reply | Threaded
Open this post in threaded view
|

Orbeon Server Migration

Betty Harvey
I just moved Orbeon to a new server.  It was working fine but I had some
DNS issues.  Since I resolved the DNS issues Orbeon gives the following
error:

Could not initialize class org.orbeon.oxf.util.UUIDUtils

This happens in the samples as well.  Tomcat is working o.k. and
the other applications running under Tomcat work as well.

Anyone have any clues!

Thanks!

Betty

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Betty Harvey                         | Phone: 410-787-9200 FAX: 9830
Electronic Commerce Connection, Inc. |
[hidden email]                    | Washington,DC XML Users Grp
URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug/
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/


--
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: Orbeon Server Migration

Erik Bruchez
Administrator
Betty,

This class tries to do this:

   InetAddress.getLocalHost()

If that fails, the class may not initialize. Now why would this fail,  
I don't know!

-Erik

On Apr 17, 2009, at 6:32 AM, Betty Harvey wrote:

> I just moved Orbeon to a new server.  It was working fine but I had  
> some
> DNS issues.  Since I resolved the DNS issues Orbeon gives the  
> following
> error:
>
> Could not initialize class org.orbeon.oxf.util.UUIDUtils
>
> This happens in the samples as well.  Tomcat is working o.k. and
> the other applications running under Tomcat work as well.
>
> Anyone have any clues!
>
> Thanks!
>
> Betty
>
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
> Betty Harvey                         | Phone: 410-787-9200 FAX: 9830
> Electronic Commerce Connection, Inc. |
> [hidden email]                    | Washington,DC XML Users Grp
> URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug/
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
>
> --
> 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 for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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: Orbeon Server Migration

Betty Harvey
Thanks Erik:

I thought that it might have something to do with DNS but wasn't 100% sure.
I will do some more investigation into my DNS issues.

Betty

> Betty,
>
> This class tries to do this:
>
>    InetAddress.getLocalHost()
>
> If that fails, the class may not initialize. Now why would this fail,
> I don't know!
>
> -Erik
>
> On Apr 17, 2009, at 6:32 AM, Betty Harvey wrote:
>
>> I just moved Orbeon to a new server.  It was working fine but I had
>> some
>> DNS issues.  Since I resolved the DNS issues Orbeon gives the
>> following
>> error:
>>
>> Could not initialize class org.orbeon.oxf.util.UUIDUtils
>>
>> This happens in the samples as well.  Tomcat is working o.k. and
>> the other applications running under Tomcat work as well.
>>
>> Anyone have any clues!
>>
>> Thanks!
>>
>> Betty
>>
>> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
>> Betty Harvey                         | Phone: 410-787-9200 FAX: 9830
>> Electronic Commerce Connection, Inc. |
>> [hidden email]                    | Washington,DC XML Users Grp
>> URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug/
>> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
>>
>> --
>> 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 for the Enterprise Done the Right Way
> http://www.orbeon.com/
>
>

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Betty Harvey                         | Phone: 410-787-9200 FAX: 9830
Electronic Commerce Connection, Inc. |
[hidden email]                    | Washington,DC XML Users Grp
URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug/
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/


--
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: Re: Re: Re: Re: HTTP HEADER

Hank Ratzesberger
In reply to this post by mh-14

.../GetWeatherByZipCode""/>

There are two quotes. I think the sandbox runs input
through tidy.

--Hank

> Aley,
>
> Thx a lot!
> This is what I was looking for, but still I do have the following problem:
>
> When I run that sample in the sandbox everything is ok =)
>
> When I copy the code to make my own file I always get the error message:
>
> Fatal error: Element type "xforms:submission" must be followed by either
> attribute specifications, ">" or "/>"
>
> TI did not change anything:
>
> <xforms:submission id="weather-submission" method="post"
>                 action="http://www.webservicex.net/WeatherForecast.asmx"
>                 ref="instance('ws-request')" replace="instance"
> instance="ws-response"
>                 mediatype="application/soap+xml;
> action="http://www.webservicex.net/GetWeatherByZipCode""/>
>
>
> Do I have to change any settings in my orbeon config....?
>
>
>
>
>> -----Ursprüngliche Nachricht-----
>> Von: "Alessandro Vernet" <[hidden email]>
>> Gesendet: 17.04.09 10:18:36
>> An: [hidden email]
>> Betreff: [ops-users] Re: Re: Re: Re: Re: HTTP HEADER
>
>
>> Masen,
>>
>> On Wed, Apr 15, 2009 at 6:03 AM, Masen Jabban <[hidden email]>
>> wrote:
>> > Does anyone has a very small example for calling a webservice?
>>
>> See web-service-weather.xhtml which you can find in
>> resources/apps/xforms-sandbox/samples. You can run it locally by going
>> to
>> http://localhost:8080/orbeon/xforms-sandbox/sample/web-service-weather.
>>
>> Alex
>> --
>> Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
>> Orbeon's Blog: http://www.orbeon.com/blog/
>> Personal Blog: http://avernet.blogspot.com/
>> 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