[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



When you "tried that", were you sure you were running the most recent version of the program and not some "replaced" version?

On the other end, are they also two bytes short on the end of the XML?

Post more of the program...specifically the declares and loading of the data fields you are using.

In the debug log, do you see the two extra bytes being sent? Can you tell what the value is? Is it the length of the variable?


> -----Original Message-----
> From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-
> bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Zimmerman, Donald W.
> Sent: Friday, May 28, 2010 9:44 AM
> To: HTTPAPI and FTPAPI Projects
> Subject: 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
> -----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------