annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

Http/webservice client error

Risolto!
Vai alla soluzione

Hi Sir, 

 

When i set the webserver, then use the client to connect, report the error as below:

Need any password setting ?

Thanks.

 

Brzhou_1-1679146447360.png

 

 

Learning from other people
0 Kudos
Messaggio 1 di 8
2.190Visualizzazioni

 

Report this error, not sure why, thanks.

 

Brzhou_0-1679232497039.png

 

Learning from other people
0 Kudos
Messaggio 2 di 8
2.137Visualizzazioni

You're likely trying to call a handler with POST but it's configured to respond to GET with query parameters. When doing a GET request you just append the values to the end of the URL after a '?'

~ Helping pave the path to long-term living and thriving in space. ~
0 Kudos
Messaggio 3 di 8
2.123Visualizzazioni

Hi Sir, 

 

Sorry, not quite understand.

But from below snapshot, it means the web server configuration is not correct ?

Thanks.

Brzhou_0-1679493100608.png

 

Learning from other people
0 Kudos
Messaggio 4 di 8
2.091Visualizzazioni

wsport.png

 What setup are you expecting? How are you launching the web service?

~ Helping pave the path to long-term living and thriving in space. ~
0 Kudos
Messaggio 5 di 8
2.082Visualizzazioni

Hi Sir, 

 

I just try to simulate some scenario:

 

in factory tester station, we use labview for coding, and  try to communicate with IT system:

 

1. post some test data to IT server;

2. get some serial number related info from IT server;

 

That is all i want to try, thanks.

Learning from other people
0 Kudos
Messaggio 6 di 8
2.079Visualizzazioni
Soluzione
Accettato da autore argomento Brzhou

You didn't answer either of the questions I asked.

 

You're trying to pull up the webservice on port 8080 instead of the 8001 that the URL dialog is showing, why are you expecting to access it on 8080 instead of 8001?

 

How have you started/deployed the web service from the LabVIEW project?

~ Helping pave the path to long-term living and thriving in space. ~
0 Kudos
Messaggio 7 di 8
2.074Visualizzazioni
Soluzione
Accettato da autore argomento Brzhou

Hi Sir, 

 

I reviewed the code:

1. need to set server to post as well;

2. for client, need use local URL;

3. need to define the input and output for server vi;

 

After the above changes, it works now, thanks.

 

 

Brzhou_0-1679580804256.png

 

Learning from other people
0 Kudos
Messaggio 8 di 8
2.055Visualizzazioni