Multiple http requests send on includetext

O

Oliver Komoll

Hi,
hope anybody can help me.

I use Word 2003 to with the field function includetext to get HTML formatted
text from a server.
My request:
{INCLUDETEXT
http://10.17.34.86:8994/sg/jsp/contract.jsp?xml=false&xpath=@id\* MERGEFORMAT
}

This function send 3 http requests to the server (examples shown in XML
format)
1. request) Wrong request - the & is send as an entity
<?xml version = '1.0' encoding = 'UTF-8'?>
<request>
<parameters>
<xml>false&amp;xpath=@id</xml>
</parameters>
<session>
<SelectedLanguage>de</SelectedLanguage>
<user>PPM</user>
</session>
<cookies>
<JSESSIONID>005cf15e3c654c609c5c943b39c9aced</JSESSIONID>
</cookies>
</request>

2. and 3. request) Request is ok, but send two times
<?xml version = '1.0' encoding = 'UTF-8'?>
<request>
<parameters>
<xpath>@id</xpath>

<xml>false</xml>
</parameters>

<session>
<SelectedLanguage>de</SelectedLanguage>

<user>PPM</user>
</session>

<cookies>
<JSESSIONID>005cf15e3c654c609c5c943b39c9aced</JSESSIONID>
</cookies>
</request>

Why send Word the first request in a wrong way ? Why send Word 3 requests.

TIA

Oliver
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?T2xpdmVyIEtvbW9sbA==?=,
I use Word 2003 to with the field function includetext to get HTML formatted
text from a server.
My request:
{INCLUDETEXT
http://10.17.34.86:8994/sg/jsp/contract.jsp?xml=false&xpath=@id\* MERGEFORMAT
}

This function send 3 http requests to the server (examples shown in XML
format)

Why send Word the first request in a wrong way ? Why send Word 3 requests.
It's probably sending multiple requests because the field is updated more than
once. Can you get any information on the TIMES the requests are sent? Like, once
when you open the document; each time you page to a new record; and when the
merge is actually executed?

I don't know why the first request is invalid, but that may be if the document
isn't completely opened...

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 
O

Oliver Komoll

any idea ????????
-----Original Message-----
Hi,
hope anybody can help me.

I use Word 2003 to with the field function includetext to get HTML formatted
text from a server.
My request:
{INCLUDETEXT
http://10.17.34.86:8994/sg/jsp/contract.jsp?
xml=false&xpath=@id\* MERGEFORMAT
}

This function send 3 http requests to the server (examples shown in XML
format)
1. request) Wrong request - the & is send as an entity
<?xml version = '1.0' encoding = 'UTF-8'?>
<request>
<parameters>
<xml>false&xpath=@id</xml>
</parameters>
<session>
<SelectedLanguage>de</SelectedLanguage>
<user>PPM</user>
</session>
<cookies>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top