File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: onvif web service request: Error setting authentication in Header
 
Similar Threads
Just Finished in OCEWCD Learning
How to avoid re-authentiaction in case of invoking web service from j2me mobile client
how to consume secured axis2 service in .NET
Help needed to call a web service after TAM authentication - (401)Unauthorized
Adding elements in SOAP Header request for authentication