xforms:instance/@src problem

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

xforms:instance/@src problem

Ryan Puddephatt
All,
    I seem to have a problem with linking src with a url, relative or absolute. I pointed my browser at the url and it displays the data expected, but when entered into the @src attribute, no luck. I looked at the result of the request processor and they are quite different (see attached). I noticed a lot of headers missing, a few empty elements, but the major thing was the session id, I'm guessing my session-generator processor won't find anything without it!
 
Any ideas where I'm going wrong
 
Thanks

Ryan Puddephatt
Software Engineer
 

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP
 
e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108
w> www.teleflex.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

broken-request.xml (1K) Download Attachment
working-request.xml (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: xforms:instance/@src problem

Adrian Baker-2
Ryan, this thread may be of interest - http://mail-archive.objectweb.org/ops-users/2006-07/msg00403.html.


Ryan Puddephatt wrote:
All,
    I seem to have a problem with linking src with a url, relative or absolute. I pointed my browser at the url and it displays the data expected, but when entered into the @src attribute, no luck. I looked at the result of the request processor and they are quite different (see attached). I noticed a lot of headers missing, a few empty elements, but the major thing was the session id, I'm guessing my session-generator processor won't find anything without it!
 
Any ideas where I'm going wrong
 
Thanks

Ryan Puddephatt
Software Engineer
 

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP
 
e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108
w> www.teleflex.com

 

<request> <container-type>servlet</container-type> <container-namespace/> <content-length>0</content-length> <content-type/> <parameters/> <body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:base64Binary"></body> <protocol>HTTP/1.1</protocol> <remote-addr>127.0.0.1</remote-addr> <remote-host>127.0.0.1</remote-host> <scheme>http</scheme> <server-name>localhost</server-name> <server-port>80</server-port> <is-secure>false</is-secure> <auth-type/> <context-path>/lorna-web</context-path> <headers> <header> <name>content-length</name> <value>0</value> </header> <header> <name>host</name> <value>localhost</value> </header> <header> <name>user-agent</name> <value>Jakarta Commons-HttpClient/3.0.1</value> </header> </headers> <method>GET</method> <remote-user/> <request-uri>/lorna-web/cart/get</request-uri> <request-url>http://localhost/lorna-web/cart/get</request-url> <servlet-path>/cart/get</servlet-path> <request-path>/cart/get</request-path> </request>

<request> <container-type>servlet</container-type> <container-namespace/> <content-length>-1</content-length> <content-type/> <parameters/> <body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:base64Binary"></body> <protocol>HTTP/1.1</protocol> <remote-addr>127.0.0.1</remote-addr> <remote-host>127.0.0.1</remote-host> <scheme>http</scheme> <server-name>localhost</server-name> <server-port>8080</server-port> <is-secure>false</is-secure> <context-path>/lorna-web</context-path> <headers> <header> <name>accept-encoding</name> <value>gzip,deflate</value> </header> <header> <name>cache-control</name> <value>no-cache</value> </header> <header> <name>connection</name> <value>keep-alive</value> </header> <header> <name>accept-language</name> <value>en-us,en;q=0.5</value> </header> <header> <name>host</name> <value>localhost:8080</value> </header> <header> <name>accept-charset</name> <value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</value> </header> <header> <name>user-agent</name> <value>Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6</value> </header> <header> <name>pragma</name> <value>no-cache</value> </header> <header> <name>cookie</name> <value>JSESSIONID=869F6A5FDB263C72C4664011C426D64A</value> </header> <header> <name>accept</name> <value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</value> </header> <header> <name>keep-alive</name> <value>300</value> </header> </headers> <method>GET</method> <requested-session-id>869F6A5FDB263C72C4664011C426D64A</requested-session-id> <request-uri>/lorna-web/cart/get</request-uri> <request-url>http://localhost:8080/lorna-web/cart/get</request-url> <servlet-path>/cart/get</servlet-path> <request-path>/cart/get</request-path> </request>

-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: xforms:instance/@src problem

Ryan Puddephatt
Thanks Adrian,
    Silly me for not checking the archive first
 
Ryan
 

Ryan Puddephatt
Software Engineer
 

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP
 
e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108
w> www.teleflex.com

 


From: Adrian Baker [mailto:[hidden email]]
Sent: 06 August 2006 23:32
To: [hidden email]
Subject: Re: [ops-users] xforms:instance/@src problem

Ryan, this thread may be of interest - http://mail-archive.objectweb.org/ops-users/2006-07/msg00403.html.


Ryan Puddephatt wrote:
All,
    I seem to have a problem with linking src with a url, relative or absolute. I pointed my browser at the url and it displays the data expected, but when entered into the @src attribute, no luck. I looked at the result of the request processor and they are quite different (see attached). I noticed a lot of headers missing, a few empty elements, but the major thing was the session id, I'm guessing my session-generator processor won't find anything without it!
 
Any ideas where I'm going wrong
 
Thanks

Ryan Puddephatt
Software Engineer
 

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP
 
e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108
w> www.teleflex.com

 

<request> <container-type>servlet</container-type> <container-namespace/> <content-length>0</content-length> <content-type/> <parameters/> <body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:base64Binary"></body> <protocol>HTTP/1.1</protocol> <remote-addr>127.0.0.1</remote-addr> <remote-host>127.0.0.1</remote-host> <scheme>http</scheme> <server-name>localhost</server-name> <server-port>80</server-port> <is-secure>false</is-secure> <auth-type/> <context-path>/lorna-web</context-path> <headers> <header> <name>content-length</name> <value>0</value> </header> <header> <name>host</name> <value>localhost</value> </header> <header> <name>user-agent</name> <value>Jakarta Commons-HttpClient/3.0.1</value> </header> </headers> <method>GET</method> <remote-user/> <request-uri>/lorna-web/cart/get</request-uri> <request-url>http://localhost/lorna-web/cart/get</request-url> <servlet-path>/cart/get</servlet-path> <request-path>/cart/get</request-path> </request>

<request> <container-type>servlet</container-type> <container-namespace/> <content-length>-1</content-length> <content-type/> <parameters/> <body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:base64Binary"></body> <protocol>HTTP/1.1</protocol> <remote-addr>127.0.0.1</remote-addr> <remote-host>127.0.0.1</remote-host> <scheme>http</scheme> <server-name>localhost</server-name> <server-port>8080</server-port> <is-secure>false</is-secure> <context-path>/lorna-web</context-path> <headers> <header> <name>accept-encoding</name> <value>gzip,deflate</value> </header> <header> <name>cache-control</name> <value>no-cache</value> </header> <header> <name>connection</name> <value>keep-alive</value> </header> <header> <name>accept-language</name> <value>en-us,en;q=0.5</value> </header> <header> <name>host</name> <value>localhost:8080</value> </header> <header> <name>accept-charset</name> <value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</value> </header> <header> <name>user-agent</name> <value>Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6</value> </header> <header> <name>pragma</name> <value>no-cache</value> </header> <header> <name>cookie</name> <value>JSESSIONID=869F6A5FDB263C72C4664011C426D64A</value> </header> <header> <name>accept</name> <value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</value> </header> <header> <name>keep-alive</name> <value>300</value> </header> </headers> <method>GET</method> <requested-session-id>869F6A5FDB263C72C4664011C426D64A</requested-session-id> <request-uri>/lorna-web/cart/get</request-uri> <request-url>http://localhost:8080/lorna-web/cart/get</request-url> <servlet-path>/cart/get</servlet-path> <request-path>/cart/get</request-path> </request>

-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws