[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Two extra Characters at the beginning of the XML when received by server



Thanks for the info. We tried that but got the same results.

Donald W Zimmerman
PMSI
Application Development Lead
(813) 318 6828 (Office)
(918) 527 3999 (Cell)
WFH (Thu and Fri)
 

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Mike Krebs
Sent: Friday, May 28, 2010 10:22 AM
To: HTTPAPI and FTPAPI Projects
Subject: RE: Two extra Characters at the beginning of the XML when received by server

Isn't the way it is called in the examples %addr(data) + 2?

If you the example programs as a basis, almost certainly the Data field is variable length and when you pass %addr(Data) you are telling it the start of the field. The first two bytes are the length of the Data. 

> -----Original Message-----
> From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-
> bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Zimmerman, Donald W.
> Sent: Friday, May 28, 2010 7:17 AM
> To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Two extra Characters at the beginning of the XML when received
> by server
> 
> We are using the following procedure and the people receiving the XML
> are indicating there are two extra characters in the beginning of the
> XM (almost like what you see when using a variable length field). We
> have tried a number of things to try and remove these characters from
> the XML but when we look at it prior to being sent we do not see them.
> They are insisting it is on our end. Does any one have any ideas? Here
> is the procedure call.
> 
> 
> 
> Eval      Rc = http_url_post(%Trim(PostDtl):
> 
>                              %Addr(Data)   :
> 
>                              %Len(%Trim(Data))
> 
>                              %Trim(InpOutFile$)
> 
> 
> 
> 
> 
> Donald W Zimmerman
> 
> PMSI
> 
> Application Development Lead
> 
> (813) 318 6828 (Office)
> 
> (918) 527 3999 (Cell)
> 
> WFH (Thu and Fri)
> 
> 
> 
> 
> 
> 
> Notice: THIS DOCUMENT MAY CONTAIN CONFIDENTIAL OR PROPRIETARY
> INFORMATION, INCLUDING PATIENT HEALTH INFORMATION THAT IS PROTECTED
> UNDER HIPAA AND OTHER STATE AND FEDERAL CONFIDENTIALITY LAWS. PLEASE
> DELIVER IMMEDIATELY ONLY TO THE INTENDED RECIPIENT. IF THIS
> TRANSMISSION WAS RECEIVED IN ERROR, PLEASE CONTACT THE SENDER
> IMMEDIATELY AND DO NOT DISTRIBUTE THE INFORMATION TO ANY OTHER PERSON.
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------

Notice: THIS DOCUMENT MAY CONTAIN CONFIDENTIAL OR PROPRIETARY INFORMATION, INCLUDING PATIENT HEALTH INFORMATION THAT IS PROTECTED UNDER HIPAA AND OTHER STATE AND FEDERAL CONFIDENTIALITY LAWS. PLEASE DELIVER IMMEDIATELY ONLY TO THE INTENDED RECIPIENT. IF THIS TRANSMISSION WAS RECEIVED IN ERROR, PLEASE CONTACT THE SENDER IMMEDIATELY AND DO NOT DISTRIBUTE THE INFORMATION TO ANY OTHER PERSON.
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------