473,947 Members | 3,119 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error 401 trying to consume non-ASP web service

I am trying to consume a web service written in Java and residing on a Sun
Application server. I keetp getting the request failed with http status 401:
unathorized.
I am using VB. Net but one of my developers has the same problem in C++ in
VS 2005. Any help at all on how to pass credentials? Thanks.
Jun 6 '07 #1
3 2496
"Ekontos" <Ek*****@discus sions.microsoft .comwrote in message
news:B8******** *************** ***********@mic rosoft.com...
>I am trying to consume a web service written in Java and residing on a Sun
Application server. I keetp getting the request failed with http status
401:
unathorized.
I am using VB. Net but one of my developers has the same problem in C++ in
VS 2005. Any help at all on how to pass credentials? Thanks.
Surely, only the people at the server can tell you which credentials they
need?
--
John Saunders [MVP]
Jun 6 '07 #2
I have all of the credentials. I can't figure out the mechanics of how to
send them across. When they do it from Java it runs fine - it seems that
Microsoft developers have the problem interfacing.

"John Saunders [MVP]" wrote:
"Ekontos" <Ek*****@discus sions.microsoft .comwrote in message
news:B8******** *************** ***********@mic rosoft.com...
I am trying to consume a web service written in Java and residing on a Sun
Application server. I keetp getting the request failed with http status
401:
unathorized.
I am using VB. Net but one of my developers has the same problem in C++ in
VS 2005. Any help at all on how to pass credentials? Thanks.

Surely, only the people at the server can tell you which credentials they
need?
--
John Saunders [MVP]
Jun 7 '07 #3
"Ekontos" <Ek*****@discus sions.microsoft .comwrote in message
news:DA******** *************** ***********@mic rosoft.com...
>I have all of the credentials. I can't figure out the mechanics of how to
send them across. When they do it from Java it runs fine - it seems that
Microsoft developers have the problem interfacing.
You have the credentials, but what protocol do you need in order to send
them? Do you have that information?

Perhaps that's what you mean when you say that you have the credentials?
--
John Saunders [MVP]
"John Saunders [MVP]" wrote:
>"Ekontos" <Ek*****@discus sions.microsoft .comwrote in message
news:B8******* *************** ************@mi crosoft.com...
>I am trying to consume a web service written in Java and residing on a
Sun
Application server. I keetp getting the request failed with http
status
401:
unathorized.
I am using VB. Net but one of my developers has the same problem in C++
in
VS 2005. Any help at all on how to pass credentials? Thanks.

Surely, only the people at the server can tell you which credentials they
need?
--
John Saunders [MVP]

Jun 7 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
4370
by: Gizmo | last post by:
hello all have been trying to write a Mid() function a bit like the one in vb. i come to compile it and there are no errors however when i run it an error accours and it says the program has to close. The odd thing is the error accours after the mid function has done its job. but if i take out the mid function the error does not accour. i have found that if i do cout <<mid(newString.GetString(),iPosition,3);
2
2220
by: Debbie | last post by:
Hi I have developed an application that access an SQL database and installed it on a different machine The installation is successful but when I try to run the application I get the following error Application has generated an exception that could not be handled Process id = 0x610 (1552), Thread id=0x1d0(464)
7
2687
by: Matthew Del Buono | last post by:
Don't try to solve the problem. I've found a way -- around or fixing it. I'm just curious as to whether this is Microsoft's problem in their compiler or if there's a standard saying this is to be true (not necessarily an internal compiler error, but still an error) This may just a bit OT, but I decided to post it here instead of Microsoft because my question is more directed towards standards... Of course, any other day I would have...
2
1666
by: Aravind | last post by:
Unable to consume Process reserved memory Hi , This is a Windows form application which interacts with the unmanaged C++ codes . In unmanaged c++ code we allocate around 130MB on the heap for annalysing high resolution images . Earlier during the processing ee do lot of process on the image and the memory reaches high at one point of time to 1.2GB , after that we clear all the memory being used so the memory in the task manager comes to...
1
1384
by: Slav | last post by:
Hi, I trying to process an XML file using a XSL but am getting a Sablotron error ("...mismatched tag") when I entered an accented letter such as "é". I tried to play around with the encoding and am currently using UTF-8. When I process my XML file using XMLSpy the ouput is fine (the é letter is properly displayed), which leads me to believe that there is nothing wrong with my XML file strcuture.
2
6711
by: Ian Griffiths | last post by:
I have been given a schema, instances of which I'm required to be able to consume and generate. I'd like to be able to manipulate these instances as DataSets internally in my application. The schema defines the following simpleType: <xs:simpleType name="cs"> <xs:restriction base="xs:token"> <xs:pattern value="*"/> </xs:restriction> </xs:simpleType>
12
6207
by: Sharon | last post by:
I’m wrote a small DLL that used the FreeImage.DLL (that can be found at http://www.codeproject.com/bitmap/graphicsuite.asp). I also wrote a small console application in C++ (unmanaged) that uses the DLL above. Now the application, together with the above DLL’s is successfully loading a TIF image file (62992 x 113386 Pixels, Huffman RLE compression, 3200 x 3200 DPI resolution, binary colored (1 Bit Per Pixel), file on disk size 43.08...
0
1388
by: =?Utf-8?B?dGVzaHRyYWRlQGdtYWlsLmNvbQ==?= | last post by:
Hi All, I am still new to Webservices in .NET Basically, This is what I am trying to accomplish. My Client has given me the soft copy of the WSDL file and XSD Files and has asked me to create an executable that will consume the webservice and write the output to a log file. I do not have access to the webservice. However, they told me that I can create a proxy class using the WSDL they provided me. When they actually run the...
1
2765
by: Alexander Higgins | last post by:
>>Thanks for the response.... Point Taken but this is not the case. Thus, if a person writes a text file on her or his computer and does not use UNICODE to save it, the current code page is used. If this file is given to someone with some other current codepage, the file is not displayed correctly. Simply converting the file to Unicode will make the data display properly. When performing the encoding process the encoding will escape...
13
4752
by: problem. | last post by:
#include <stdio.h> #include <stdlib.h> int main(void) { int a, b; float result = 0.0f; char symbol = '\0'; int loop = 0;
0
10164
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11174
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11352
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10694
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9896
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8256
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4948
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4540
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3544
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.