LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Communication with SOAP commands

Hello,

 

I am trying at the moment to get a communication with particle counters. These are connected with network connection. According the manual there can be communicated with so-called SOAP commands via TCP/IP and HTTP.

 

I tried now with the function “POST” to communicate with it, because in the introduction there is an example with a POST command. But I always get only an answer “405 Method Not Allowed”. The manufacturer told me only that the programming needs to be done in Visual Studio Environment, and GSOAP, Toolkit for SOAP and REST web services and XML-based applications would be necessary. But unfortunately I do not have experience with C++.

 

I have to say that I have never worked with the http functions of Labview before. I also have no experience with this SOAP-protocol or XML. I attached the VI I created and an excerpt from the particle counter description, there it is described an example of a communication.

 

Does maybe anyone here have experience with the SOAP protocol and could tell me what I am doing wrong?

By the way, I am using Labview 2013.

 

Best regards

Christian

 

0 Kudos
Message 1 of 3
(1,048 Views)

I don't know specifically how it works but I see two small differences between what you're sending and the example code:

  • In the SOAP-ENV variable you have an extra slash between 2003 and 05
  • In the instruction there is a space between "index" and the equals sign after it, but not in the original example code

 

You could try changing those things to match on the off chance they matter.

0 Kudos
Message 2 of 3
(1,020 Views)

Thanks for your answer. I didn't see that I had some mistakes there.

 

I changed the two points, but unfortunately I receive the same answer "Method not allowed".

But I will look once again through my text, maybe I have one more mistake in there.

0 Kudos
Message 3 of 3
(987 Views)