Muliple HTTP Requests

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
 

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