Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / August 2004

Tip: Looking for answers? Try searching our database.

Multiple http requests send on includetext

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Oliver Komoll - 14 Aug 2004 01:57 GMT
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
Cindy M  -WordMVP- - 21 Aug 2004 12:12 GMT
Hi =?Utf-8?B?T2xpdmVyIEtvbW9sbA==?=,

> I use Word 2003 to with the field function includetext to get HTML formatted
> text from a server.
[quoted text clipped - 7 lines]
>
> 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 :-)
Oliver Komoll - 26 Aug 2004 23:48 GMT
any idea ????????
>-----Original Message-----
>Hi,
[quoted text clipped - 21 lines]
>   <cookies>
>      
<JSESSIONID>005cf15e3c654c609c5c943b39c9aced</JSESSIONID>
>   </cookies>
></request>
[quoted text clipped - 16 lines]
>   <cookies>
>      
<JSESSIONID>005cf15e3c654c609c5c943b39c9aced</JSESSIONID>
>   </cookies>
></request>
[quoted text clipped - 6 lines]
>
>.
Cindy M  -WordMVP- - 31 Aug 2004 17:43 GMT
Hi Oliver,

> any idea ????????

I replied to your original question August 26. MessageID

<VA.00009d6e.00ac7e34@speedy>

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
:-)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.