aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes onvif web service request: Error setting authentication in Header Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "onvif web service request: Error setting authentication in Header" Watch "onvif web service request: Error setting authentication in Header" New topic
Author

onvif web service request: Error setting authentication in Header

Prakash Selvarajan
Greenhorn

Joined: Feb 21, 2013
Posts: 1
Dear All,

Greetings!
Please could you share your ideas/even code with me in setting Authentication Header to send ONVIF request using Java

Enclosed Java ONVIF integration program(OnvifAuth2.java) uses Axis 1.4, while trying to GetScopes using username/password it return HTTP1.1/400 bad request even after setting the authentication header.
I am using org.apache.Axis1.4 API to send web service request(SOAP) to ONVIF camera.

Enclosed web service request packet info and request XML from ONVIF test tool and Java program captured through wireshark. While setting the Authentication header it returns 400 bad request.
Please could you assist me to analyse this issue. Thanks!

Cheers! Prakash
+91-9901 211 255
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: onvif web service request: Error setting authentication in Header