LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

http header

Hi I am trying to add this header fields to be able to run it as UTF-8

But I get a extra : at end of some lines when I my send the message, looks like I am missing something Any ide?

 

0 Kudos
Message 1 of 7
(4,635 Views)

Hey Norri,

 

From the pictures it is a bit unclear on where the two headers that have the extra colon are written. If you could include the part of the code where those exact commands are, I may have a better idea of why there are extra colons. 

 

Thanks!

Applications Engineer 

National Instruments

 

 

0 Kudos
Message 2 of 7
(4,560 Views)

Sorry for not be presice enough 

Have includet some more info in the Word and also the VI

Download All
0 Kudos
Message 3 of 7
(4,554 Views)

Hey Norri,

 

I have looked at this VI on my system as well and I am also getting that behavior with the extra colon. I have tried editing what is put into the data entry control with no avail. Is the extra colon going to be an issue for anyone monitoring the web page?

 

Applications Engineer 

National Instruments

0 Kudos
Message 4 of 7
(4,534 Views)

I only get this problem when I use Labview. if I run it fro other compilers I dont have this problem. Looks like i am getting in Labview:

CONTENT_TYPE = application/x-www-form-urlencoded
HTTP_SOAPACTION = "http://sap.com/xi/WebService/soap1.1":

want to have:

CONTENT_TYPE = text/xml;charset=UTF-8

HTTP_SOAPACTION = “http://sap.com/xi/WebService/soap1.1"

0 Kudos
Message 5 of 7
(4,529 Views)

Have you tried using the header name for the header input and the value in the value input?

That way LabVIEW can add the colon for you and you should not end up with an extra colon

 

For example:

header name and value.png


Milan
Message 6 of 7
(4,523 Views)

Thanks a lot!!!! This is what was needed

0 Kudos
Message 7 of 7
(4,513 Views)