Web Service client authorization error: HTTP status 401
.NETters,
My .NET client program is invoking a simple "Hello World" Web Service written in ABAP. Here is the code:
Z_HWWSDServiceWse svc = new Z_HWWSDServiceWse();
try {
string msg = svc.ZHelloworld();
Console.WriteLine(msg);
}catch(Exception e) {
Console.WriteLine(e.Message);
The code uses WSE 2.0 framework.
This code works if I edit the properties on WSD service using transaction SICF and specify anonymous login options. However, I would like to pass the user token from the client program itself.
So I removed anonymous login options and supplied the required information programmatically.
UsernameToken ut = new UsernameToken("pradeep", "password", PasswordOption.SendPlainText);
svc.RequestSoapContext.Security.Tokens.Add(ut);
However, when I run this code, I get an error: "The request failed with HTTP status 401: Unauthorized"
I then tried supplementing this code with network credentials logic:
System.Net.CredentialCache cc = new System.Net.CredentialCache();
cc.Add(new Uri("http://servermachname"), "Basic", new System.Net.NetworkCredential("pradeep", "password", null));
svc.Credentials = cc;
The problem still doesn't go away :-(.
Does anyone have any idea on what is it that I am missing in my code?
Thank you in advance for your help.
Pradeep
In my tests with normal .NET WS client something like the following allways worked:
WSProxy proxy = new WSProxy();
proxy.Credentials = new System.Net.NetworkCredential("user", "password");
proxy.PreAuthenticate = true;
proxy.CallMethod();
As your code is very similar, it may be a compatibility problem between WSE and WAS. I would recommend that you use a network snippen and look what really goes over the wire.
I have also seen an issue where the settings in SICF where somehow corrupted (e.g. the fixed credentials checkbock was on, but no credentials where specified). The solution was just to "reset" the settings in SICF.
Similar Messages
-
Web service client compilation error
With the help of wscompile on JWSDP 1.6 I created all the files required for a web service client in SabreServerBridge.client.stub package. Now when I am trying to compile these files, I am getting the following stack trace. The stacktrace also includes the compile command:
C:\JWSE\Pool\SabreServerClient>compile *.java
C:\JWSE\Pool\SabreServerClient>javac -cp .;C:\Tomcat5\common\lib\servlet-api.jar
;C:\Tomcat5\common\lib\mssqlserver.jar;C:\Tomcat5\common\lib\msbase.jar;C:\Tomca
t5\common\lib\msutil.jar;C:\Tomcat5\common\lib\xercesImpl.jar;C:\Tomcat5\common\
lib\jaxp-api.jar;C:\Tomcat5\common\lib\sax.jar;C:\Tomcat5\common\lib\poolit.jar;
C:\Tomcat5\common\lib\databahn.jar;C:\Tomcat5\webapps\Book\WEB-INF\classes\DBSer
ver;C:\Tomcat5\webapps\Book\WEB-INF\classes\SabreServer\;C:\Tomcat5\commaon\lib\
jb2refscan-2.62.jar;C:\sun\jwsdp-1.6\jaxws\lib\jsr181-api.jar;C:\sun\jwsdp-1.6\j
axws\lib\jsr250-api.jar;C:\sun\jwsdp-1.6\jaxws\lib\jaxws-tools.jar;C:\sun\jwsdp-
1.6\jaxws\lib\jaxws-rt.jar;C:\sun\jwsdp-1.6\jaxws\lib\jaxws-api.jar;C:\sun\jwsdp
-1.6\jaxrpc\lib\jaxrpc-impl.jar;;;C:\sun\jwsdp-1.6\jaxrpc\lib\jaxrpc-api.jar;C:\
sun\jwsdp-1.6\jaxrpc\lib\jaxrpc-spi.jar;C:\sun\jwsdp-1.6\jaxrpc\lib\jaxrpc-impl.
jar;C:\sun\jwsdp-1.6\jwsdp-shared\lib\jax-qname.jar;C:\sun\jwsdp-1.6\jwsdp-share
d\lib\activation.jar;C:\sun\jwsdp-1.6\jwsdp-shared\lib\mail.jar;C:\sun\jwsdp-1.6
\saaj\lib\saaj-impl.jar;C:\sun\jwsdp-1.6\saaj\lib\saaj-api.jar;C:\sun\jwsdp-1.6\
jaxp\lib\endorsed\xercesImpl.jar;C:\sun\jwsdp-1.6\jaxp\lib\endorsed\dom.jar;C:\J
WSE\Pool\SabreServerClient\gen; -d gen src\SabreServerBridge\client\stub\*.java
src\SabreServerBridge\client\stub\SabreServerBridge.java:11: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
public SabreServerBridge.client.stub.SSBridge getSSBridgePort() throws Servi
ceException;
^
src\SabreServerBridge\client\stub\SabreServerBridge_Impl.java:55: cannot find sy
mbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
public SabreServerBridge.client.stub.SSBridge getSSBridgePort() {
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPBuilder.java:12
: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
private SabreServerBridge.client.stub.SSBridge_get_RequestStruct _instance;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPBuilder.java:1
2: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
private SabreServerBridge.client.stub.SSBridge_get_ResponseStruct _instance;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPBuilder
.java:12: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
private SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct _in
stance;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPBuilder.java:12
: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
private SabreServerBridge.client.stub.SSBridge_put_RequestStruct _instance;
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
implements SabreServerBridge.client.stub.SSBridge {
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:33: interface expected here
implements SabreServerBridge.client.stub.SSBridge {
^
src\SabreServerBridge\client\stub\SabreServerBridge_Impl.java:22: cannot find sy
mbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
private static final Class SSBridge_PortClass = SabreServerBridge.client.stu
b.SSBridge.class;
^
src\SabreServerBridge\client\stub\SabreServerBridge_Impl.java:28: cannot find sy
mbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
new SabreServerBridge.client.stub.SabreServerBridge_SerializerRegist
ry().getRegistry());
^
src\SabreServerBridge\client\stub\SabreServerBridge_Impl.java:59: cannot find sy
mbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_Stub stub = new SabreServerBridge
.client.stub.SSBridge_Stub(handlerChain);
^
src\SabreServerBridge\client\stub\SabreServerBridge_Impl.java:59: cannot find sy
mbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_Stub stub = new SabreServerBridge
.client.stub.SSBridge_Stub(handlerChain);
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:31:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
CombinedSerializer serializer = new SabreServerBridge.client.stub.SS
Bridge_getVersion_RequestStruct_SOAPSerializer(type,
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:34:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
registerSerializer(mapping,SabreServerBridge.client.stub.SSBridge_ge
tVersion_RequestStruct.class, type, serializer);
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:38:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
CombinedSerializer serializer = new SabreServerBridge.client.stub.SS
Bridge_getVersion_ResponseStruct_SOAPSerializer(type,
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:41:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
registerSerializer(mapping,SabreServerBridge.client.stub.SSBridge_ge
tVersion_ResponseStruct.class, type, serializer);
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:45:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
CombinedSerializer serializer = new SabreServerBridge.client.stub.SS
Bridge_get_RequestStruct_SOAPSerializer(type,
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:48:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
registerSerializer(mapping,SabreServerBridge.client.stub.SSBridge_ge
t_RequestStruct.class, type, serializer);
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:52:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
CombinedSerializer serializer = new SabreServerBridge.client.stub.SS
Bridge_put_RequestStruct_SOAPSerializer(type,
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:55:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
registerSerializer(mapping,SabreServerBridge.client.stub.SSBridge_pu
t_RequestStruct.class, type, serializer);
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:59:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
CombinedSerializer serializer = new SabreServerBridge.client.stub.SS
Bridge_put_ResponseStruct_SOAPSerializer(type,
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:62:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
registerSerializer(mapping,SabreServerBridge.client.stub.SSBridge_pu
t_ResponseStruct.class, type, serializer);
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:66:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
CombinedSerializer serializer = new SabreServerBridge.client.stub.SS
Bridge_get_ResponseStruct_SOAPSerializer(type,
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:69:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
registerSerializer(mapping,SabreServerBridge.client.stub.SSBridge_ge
t_ResponseStruct.class, type, serializer);
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPBuilder.java:57
: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
instance = (SabreServerBridge.client.stub.SSBridgeget_RequestStruct)in
stance;
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct instance = new
SabreServerBridge.client.stub.SSBridge_get_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct instance = new
SabreServerBridge.client.stub.SSBridge_get_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:34: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct_SOAPBuilder bui
lder = null;
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:46: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
builder = new SabreServerBridge.client.stub.SSBridge_get
RequestStructSOAPBuilder();
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:64: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_get_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:64: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_get_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:69: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_get_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:69: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_get_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPBuilder.java:5
7: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
instance = (SabreServerBridge.client.stub.SSBridgeget_ResponseStruct)i
nstance;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct instance = new
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct();
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct instance = new
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct();
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:34: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct_SOAPBuilder bu
ilder = null;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:46: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
builder = new SabreServerBridge.client.stub.SSBridge_get
ResponseStructSOAPBuilder();
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:64: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_get_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:64: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_get_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:69: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_get_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:69: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_get_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_RequestStruct_SOAPSerializ
er.java:28: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct instance
= new SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_RequestStruct_SOAPSerializ
er.java:28: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct instance
= new SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_RequestStruct_SOAPSerializ
er.java:39: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct instance
= (SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_RequestStruct_SOAPSerializ
er.java:39: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct instance
= (SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_RequestStruct_SOAPSerializ
er.java:44: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct instance
= (SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_RequestStruct_SOAPSerializ
er.java:44: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct instance
= (SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPBuilder
.java:57: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
instance = (SabreServerBridge.client.stub.SSBridgegetVersion_ResponseS
truct)instance;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct instanc
e = new SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct();
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct instanc
e = new SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct();
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:34: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct_SOAPBui
lder builder = null;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:46: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
builder = new SabreServerBridge.client.stub.SSBridge_get
Version_ResponseStruct_SOAPBuilder();
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:64: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct instanc
e = (SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:64: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct instanc
e = (SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:69: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct instanc
e = (SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:69: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct instanc
e = (SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPBuilder.java:68
: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
instance = (SabreServerBridge.client.stub.SSBridgeput_RequestStruct)in
stance;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:38: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct instance = new
SabreServerBridge.client.stub.SSBridge_put_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:38: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct instance = new
SabreServerBridge.client.stub.SSBridge_put_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:39: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct_SOAPBuilder bui
lder = null;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:54: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
builder = new SabreServerBridge.client.stub.SSBridge_put
RequestStructSOAPBuilder();
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:68: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
builder = new SabreServerBridge.client.stub.SSBridge_put
RequestStructSOAPBuilder();
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:87: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_put_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:87: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_put_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:92: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_put_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:92: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_put_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_ResponseStruct_SOAPSerializer.jav
a:28: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct instance = new
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct();
^
src\SabreServerBridge\client\stub\SSBridge_put_ResponseStruct_SOAPSerializer.jav
a:28: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct instance = new
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct();
^
src\SabreServerBridge\client\stub\SSBridge_put_ResponseStruct_SOAPSerializer.jav
a:39: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_put_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_ResponseStruct_SOAPSerializer.jav
a:39: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_put_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_ResponseStruct_SOAPSerializer.jav
a:44: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_put_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_ResponseStruct_SOAPSerializer.jav
a:44: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_put_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:58: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct _mySSBridge
getRequestStruct =
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:59: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
new SabreServerBridge.client.stub.SSBridge_get_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:72: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct _mySSBridg
e_get_ResponseStruct = null;
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:76: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
(SabreServerBridge.client.stub.SSBridge_get_ResponseStruct)(
(SOAPDeserializationState)_responseObj).getInstance();
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:79: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
(SabreServerBridge.client.stub.SSBridge_get_ResponseStruct)_
responseObj;
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:109: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct _myS
SBridge_getVersion_RequestStruct =
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:110: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
new SabreServerBridge.client.stub.SSBridge_getVersion_RequestStr
uct();
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:122: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct _my
SSBridge_getVersion_ResponseStruct = null;
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:126: cannot find symbol
symbol : class client
locatWith the help of wscompile on JWSDP 1.6 I created all the files required for a web service client in SabreServerBridge.client.stub package. Now when I am trying to compile these files, I am getting the following stack trace. The stacktrace also includes the compile command:
C:\JWSE\Pool\SabreServerClient>compile *.java
C:\JWSE\Pool\SabreServerClient>javac -cp .;C:\Tomcat5\common\lib\servlet-api.jar
;C:\Tomcat5\common\lib\mssqlserver.jar;C:\Tomcat5\common\lib\msbase.jar;C:\Tomca
t5\common\lib\msutil.jar;C:\Tomcat5\common\lib\xercesImpl.jar;C:\Tomcat5\common\
lib\jaxp-api.jar;C:\Tomcat5\common\lib\sax.jar;C:\Tomcat5\common\lib\poolit.jar;
C:\Tomcat5\common\lib\databahn.jar;C:\Tomcat5\webapps\Book\WEB-INF\classes\DBSer
ver;C:\Tomcat5\webapps\Book\WEB-INF\classes\SabreServer\;C:\Tomcat5\commaon\lib\
jb2refscan-2.62.jar;C:\sun\jwsdp-1.6\jaxws\lib\jsr181-api.jar;C:\sun\jwsdp-1.6\j
axws\lib\jsr250-api.jar;C:\sun\jwsdp-1.6\jaxws\lib\jaxws-tools.jar;C:\sun\jwsdp-
1.6\jaxws\lib\jaxws-rt.jar;C:\sun\jwsdp-1.6\jaxws\lib\jaxws-api.jar;C:\sun\jwsdp
-1.6\jaxrpc\lib\jaxrpc-impl.jar;;;C:\sun\jwsdp-1.6\jaxrpc\lib\jaxrpc-api.jar;C:\
sun\jwsdp-1.6\jaxrpc\lib\jaxrpc-spi.jar;C:\sun\jwsdp-1.6\jaxrpc\lib\jaxrpc-impl.
jar;C:\sun\jwsdp-1.6\jwsdp-shared\lib\jax-qname.jar;C:\sun\jwsdp-1.6\jwsdp-share
d\lib\activation.jar;C:\sun\jwsdp-1.6\jwsdp-shared\lib\mail.jar;C:\sun\jwsdp-1.6
\saaj\lib\saaj-impl.jar;C:\sun\jwsdp-1.6\saaj\lib\saaj-api.jar;C:\sun\jwsdp-1.6\
jaxp\lib\endorsed\xercesImpl.jar;C:\sun\jwsdp-1.6\jaxp\lib\endorsed\dom.jar;C:\J
WSE\Pool\SabreServerClient\gen; -d gen src\SabreServerBridge\client\stub\*.java
src\SabreServerBridge\client\stub\SabreServerBridge.java:11: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
public SabreServerBridge.client.stub.SSBridge getSSBridgePort() throws Servi
ceException;
^
src\SabreServerBridge\client\stub\SabreServerBridge_Impl.java:55: cannot find sy
mbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
public SabreServerBridge.client.stub.SSBridge getSSBridgePort() {
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPBuilder.java:12
: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
private SabreServerBridge.client.stub.SSBridge_get_RequestStruct _instance;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPBuilder.java:1
2: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
private SabreServerBridge.client.stub.SSBridge_get_ResponseStruct _instance;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPBuilder
.java:12: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
private SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct _in
stance;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPBuilder.java:12
: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
private SabreServerBridge.client.stub.SSBridge_put_RequestStruct _instance;
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
implements SabreServerBridge.client.stub.SSBridge {
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:33: interface expected here
implements SabreServerBridge.client.stub.SSBridge {
^
src\SabreServerBridge\client\stub\SabreServerBridge_Impl.java:22: cannot find sy
mbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
private static final Class SSBridge_PortClass = SabreServerBridge.client.stu
b.SSBridge.class;
^
src\SabreServerBridge\client\stub\SabreServerBridge_Impl.java:28: cannot find sy
mbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
new SabreServerBridge.client.stub.SabreServerBridge_SerializerRegist
ry().getRegistry());
^
src\SabreServerBridge\client\stub\SabreServerBridge_Impl.java:59: cannot find sy
mbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_Stub stub = new SabreServerBridge
.client.stub.SSBridge_Stub(handlerChain);
^
src\SabreServerBridge\client\stub\SabreServerBridge_Impl.java:59: cannot find sy
mbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_Stub stub = new SabreServerBridge
.client.stub.SSBridge_Stub(handlerChain);
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:31:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
CombinedSerializer serializer = new SabreServerBridge.client.stub.SS
Bridge_getVersion_RequestStruct_SOAPSerializer(type,
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:34:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
registerSerializer(mapping,SabreServerBridge.client.stub.SSBridge_ge
tVersion_RequestStruct.class, type, serializer);
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:38:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
CombinedSerializer serializer = new SabreServerBridge.client.stub.SS
Bridge_getVersion_ResponseStruct_SOAPSerializer(type,
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:41:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
registerSerializer(mapping,SabreServerBridge.client.stub.SSBridge_ge
tVersion_ResponseStruct.class, type, serializer);
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:45:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
CombinedSerializer serializer = new SabreServerBridge.client.stub.SS
Bridge_get_RequestStruct_SOAPSerializer(type,
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:48:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
registerSerializer(mapping,SabreServerBridge.client.stub.SSBridge_ge
t_RequestStruct.class, type, serializer);
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:52:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
CombinedSerializer serializer = new SabreServerBridge.client.stub.SS
Bridge_put_RequestStruct_SOAPSerializer(type,
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:55:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
registerSerializer(mapping,SabreServerBridge.client.stub.SSBridge_pu
t_RequestStruct.class, type, serializer);
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:59:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
CombinedSerializer serializer = new SabreServerBridge.client.stub.SS
Bridge_put_ResponseStruct_SOAPSerializer(type,
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:62:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
registerSerializer(mapping,SabreServerBridge.client.stub.SSBridge_pu
t_ResponseStruct.class, type, serializer);
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:66:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
CombinedSerializer serializer = new SabreServerBridge.client.stub.SS
Bridge_get_ResponseStruct_SOAPSerializer(type,
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:69:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
registerSerializer(mapping,SabreServerBridge.client.stub.SSBridge_ge
t_ResponseStruct.class, type, serializer);
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPBuilder.java:57
: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
instance = (SabreServerBridge.client.stub.SSBridgeget_RequestStruct)in
stance;
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct instance = new
SabreServerBridge.client.stub.SSBridge_get_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct instance = new
SabreServerBridge.client.stub.SSBridge_get_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:34: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct_SOAPBuilder bui
lder = null;
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:46: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
builder = new SabreServerBridge.client.stub.SSBridge_get
RequestStructSOAPBuilder();
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:64: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_get_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:64: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_get_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:69: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_get_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:69: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_get_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPBuilder.java:5
7: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
instance = (SabreServerBridge.client.stub.SSBridgeget_ResponseStruct)i
nstance;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct instance = new
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct();
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct instance = new
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct();
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:34: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct_SOAPBuilder bu
ilder = null;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:46: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
builder = new SabreServerBridge.client.stub.SSBridge_get
ResponseStructSOAPBuilder();
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:64: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_get_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:64: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_get_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:69: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_get_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:69: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_get_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_RequestStruct_SOAPSerializ
er.java:28: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct instance
= new SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_RequestStruct_SOAPSerializ
er.java:28: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct instance
= new SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_RequestStruct_SOAPSerializ
er.java:39: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct instance
= (SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_RequestStruct_SOAPSerializ
er.java:39: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct instance
= (SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_RequestStruct_SOAPSerializ
er.java:44: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct instance
= (SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_RequestStruct_SOAPSerializ
er.java:44: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct instance
= (SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPBuilder
.java:57: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
instance = (SabreServerBridge.client.stub.SSBridgegetVersion_ResponseS
truct)instance;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct instanc
e = new SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct();
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct instanc
e = new SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct();
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:34: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct_SOAPBui
lder builder = null;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:46: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
builder = new SabreServerBridge.client.stub.SSBridge_get
Version_ResponseStruct_SOAPBuilder();
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:64: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct instanc
e = (SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:64: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct instanc
e = (SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:69: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct instanc
e = (SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:69: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct instanc
e = (SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPBuilder.java:68
: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
instance = (SabreServerBridge.client.stub.SSBridgeput_RequestStruct)in
stance;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:38: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct instance = new
SabreServerBridge.client.stub.SSBridge_put_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:38: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct instance = new
SabreServerBridge.client.stub.SSBridge_put_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:39: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct_SOAPBuilder bui
lder = null;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:54: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
builder = new SabreServerBridge.client.stub.SSBridge_put
RequestStructSOAPBuilder();
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:68: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
builder = new SabreServerBridge.client.stub.SSBridge_put
RequestStructSOAPBuilder();
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:87: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_put_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:87: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_put_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:92: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_put_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:92: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_put_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_ResponseStruct_SOAPSerializer.jav
a:28: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct instance = new
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct();
^
src\SabreServerBridge\client\stub\SSBridge_put_ResponseStruct_SOAPSerializer.jav
a:28: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct instance = new
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct();
^
src\SabreServerBridge\client\stub\SSBridge_put_ResponseStruct_SOAPSerializer.jav
a:39: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_put_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_ResponseStruct_SOAPSerializer.jav
a:39: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_put_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_ResponseStruct_SOAPSerializer.jav
a:44: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_put_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_ResponseStruct_SOAPSerializer.jav
a:44: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_put_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:58: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct _mySSBridge
getRequestStruct =
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:59: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
new SabreServerBridge.client.stub.SSBridge_get_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:72: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct _mySSBridg
e_get_ResponseStruct = null;
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:76: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
(SabreServerBridge.client.stub.SSBridge_get_ResponseStruct)(
(SOAPDeserializationState)_responseObj).getInstance();
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:79: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
(SabreServerBridge.client.stub.SSBridge_get_ResponseStruct)_
responseObj;
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:109: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct _myS
SBridge_getVersion_RequestStruct =
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:110: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
new SabreServerBridge.client.stub.SSBridge_getVersion_RequestStr
uct();
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:122: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct _my
SSBridge_getVersion_ResponseStruct = null;
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:126: cannot find symbol
symbol : class client
locat -
" The request failed with HTTP status 401: Unauthorized." assembly webservice
Hi!
I have an assembly that calls a webpage for information to put in a table in SSRS. After struggling with the assembly that have been moved from a 2005 server to a 2012 server i finally got the reports to deploy and i can open them. But in the field where
the called information i supposed to be i get this error message.
How do i solve this problem?
Thanks in advance!
//A.Hi there,
Check the IIS logs on the web service server. Is the web page secured? What credentials are being passed to the web service? Turn on the report server trace logs and check them.
Some more info here, I find sysinternals.com tools very helpful in this case.
There are quite a few links with similar issue:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/86ce6376-71cd-44fe-9480-fff103395d6b/web-service-request-failed-with-http-status-401-unauthorized-in-ssrs-2008-r2?forum=sqlreportingservices
http://forums.iis.net/t/1149741.aspx?Intermittently+getting+401+Access+Denied+with+Web+Service
http://technet.microsoft.com/en-us/library/ee384252(v=sql.100).aspx
http://technet.microsoft.com/en-us/library/cc281309.aspx
http://connect.microsoft.com/SQLServer/feedback/details/323214/the-request-failed-with-http-status-401-unauthorized
Compare the settings in the Reporting Services configuration files and service accounts for the old and new servers to see any discrepancies.
cheers,
Andrew
Andrew Sears, T4G Limited, http://www.performancepointing.com -
HTTP Status 401. This request requires HTTP authentication ()
Hi!
Could you please help me with the following problem: i go to Infoview login page using the link: http://mostro-bo-web:8082/InfoViewApp/logon.jsp. When i use the IE there is no problem, i go to login page, but when i use Mozilla browser i have the following error:
HTTP Status 401 - type Status report
description This request requires HTTP authentication ().
Apache Tomcat/5.5.20
We use SSO for Infoview for domen users, but when i go to login page (http://mostro-bo-web:8082/InfoViewApp/logon.jsp) i'm not in domain (my computer isn't in domain) and when i use IE i go to login page of InfoView, but when i use Firefox i have error above.
What's the problem?
Thanks, ViktorHi,
try the following URL:
http://YOUR_BO_SERVER:8080/InfoViewApp/logonNoSso.jsp
Check also SAP Note 1326266 and 1263764
Regards
-Seb. -
Unable to create web service client
I am using NetBeans to build the the first-cup example but I have failed in all my attempts to create the web service client for first-cup web module.
The reported error is: "
init:
wsimport-init:
wsimport-client-check-DukesAgeService:
wsimport-client-DukesAgeService:
error: Connection timed out: connect
unknown location
error: java.net.ConnectException: Connection timed out: connect
I have tried to start the sun server application but that doesn't solve the problem.
I have strictly followed the following instructions taken from the first-cup tutorial, found at http://java.sun.com/javaee/5/docs/firstcup/doc/p8.html.
Creating a Web Service Client for the firstcup-war Web Module
The firstcup-war web module must consume the firstcup-dukes-age web service in order to get Duke's current age. For this to happen, you need to create a web service client for the firstcup-war web module.
Creating a Web Service Client for the firstcup-war Web Module
Select firstcup-war from the Project pane.
Select File -> New File.
Select Web Services from the Categories pane.
Select Web Service client from the File Types pane.
Click Next.
Select WSDL URL.
Into the WSDL URL field, enter the following location of the WSDL file of the web service that the web service client will consume.
http://localhost:8080/DukesAgeService/DukesAgeService?WSDL
Into the Package field, enter the following package where the client files will be generated.
com.sun.firstcup.webservice
Click Finish.
Thank you and look forward to hearing from you all.Hi there.
I don't know what the problem is with NetBeans, but if you see the local copy of the WSDL in the firstcup-war project, you will find that the name of your computer should be there as part of the URL. Change it to 'localhost' or to '127.0.0.1' and it should work.
Example:
<xsd:schema>
<xsd:import namespace="http://webservice.firstcup.sun.com/" schemaLocation="http://localhost:8080/DukesAgeService/DukesAgeService/__container$publishing$subctx/WEB-INF/wsdl/DukesAgeService_schema1.xsd" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"/>
</xsd:schema>And...
<port name="DukesAgePort" binding="tns:DukesAgePortBinding">
<soap:address location="http://localhost:8080/DukesAgeService/DukesAgeService" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"/>
</port> -
Service Clients failing with "The request failed with HTTP status 401: Unauthorized"
Hello,
We have implemented a solution using the SSRS web service clients as produced by the WSDLs. We have deployed the application on one server, and via the code we are calling the SSRS on another server (i.e., not using ReportViewer, etc.). We do
know that the user signed in has permissions since from the same staging server the Report Manager and Reports can both be accessed and viewed. However, it's only when we run the application and attempt to execute a report on the remote SSRS server that
we get the following error:
The request failed with HTTP status 401: Unauthorized. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters) at AMC.AssetTracker.Reporting.ReportExecution.ReportExecutionService.LoadReport(String Report, String HistoryID) at AMC.AssetTracker.Reporting.Report.GetReportByteArray() at AMC.AssetTracker.Reporting.Report.get_ReportStream()
at AMC.AssetTracker.Reporting.Report.get_GetWebUIDisplay() at AMC.AssetTracker.UserControls.AssetTrackerMain.btnGenerate_Click(Object sender, EventArgs e)
The credentials we have tried are the DefaultCredentials. One question I have is how do you use custom credentials if neither the DefaultCredentials or the DefaultNetworkCredentials work? Also, this service call does have to go through an ISA
server before reaching the SSRS server.
Any ideas?
Thanks.It sounds like Kerberos authentication is needed in your situation since it's not on the same box.
There is a one-hop limit with NTLM authentication.
For more info please see the link below:
http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/452e9627-cd8e-4709-bdd0-fbafcf9fd719
Hope this helps!
Thanks, Michael Mei -
Error when accessing BHOLD Self Service (HTTP status 401: Unauthorized)
Hi,
I have started looking at the BHOLD suite and installed it on a server running FIM2010R2. The installation of the BHOLD suite seemed to be completed without problems and the BHOLD service are up and running under the B1User account and all BHOLD
products can be started with my Administrator user.
However when I click on the link "BHOLD Self Service" in the FIM portal, the silverlight plugin starts and after a short while shows the following error message:
"UserViewModel.GetAuthenticatedUserCompleted 'http://IMCDBS301A:5151/BHOLD/RoleExchangePoint/BHOLDRoleExchangePoint.svc'
System.Net.WebException: [HttpWebRequest_WebException_RemoteServer]
Arguments: NotFound
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See
http://go.microsoft.com/fwlink/?linkid=106663&Version=4.1.10329.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer ---> System.Net.WebException: [HttpWebRequest_WebException_RemoteServer]
Arguments: NotFound
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See
http://go.microsoft.com/fwlink/?linkid=106663&Version=4.1.10329.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer
at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)
at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__1(Object sendState)
--- End of inner exception stack trace ---
at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
When I look in Application log (event log) I see:
Error in function call GetInfo fn:objectsbyattributep1:IDMDEMO\Administratorp2:3p3:25 Exception The request failed with
HTTP status 401: Unauthorized. StackTrace at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters) at BholdSvrProxy.BHOLDsvc.B1ScriptService.GetInfo(String functionName, String parameter1, String parameter2, String parameter3) in d:\_Bld\10\16\Sources\main\src\samples\BHOLD\2011 R2\Common\BholdSvrProxy\Web References\BHOLDsvc\Reference.cs:line
700 at BholdSvrProxy.BHOLDproxy.GetInfo(String fn, String p1, String p2, String p3) in d:\_Bld\10\16\Sources\main\src\samples\BHOLD\2011 R2\Common\BholdSvrProxy\BHOLDproxy.cs:line 115
Note that IDMDEMO\Administrator is my FIM and Domain administrator that I use in the portal.
I have ensured that the webhome containing 'http://IMCDBS301A:5151/BHOLD/RoleExchangePoint/BHOLDRoleExchangePoint.svc' has windows authentication enabled and that the user B1User is member of the BHOLDApplicationGroup and ISS_IUSRS groups.
I would really appreciate if someone is able to point me in the right direction so I get the BHOLD Self Service working.
thanks and best regards
Søren AamandCould it be that the spn of the servername is already registered by the service account of FIM? A workaround that worked in the past was to
remove the spn from the fim service account and adding it to the b1user service account.
I've also seen it happening that the IPv6 hostname was different from the IPv4 hostname which causes the
HTTP status 401: Unauthorized issue.
I hope this helps.
Regards,
Remy
Remy de Vries - BHOLD Expert - Technical Consultant - Elephant Security -
I want to Fill a drop down with Outlook Meeting of Current log-in user in SharePoint 2013 web part for default credentials I am using the following code
ExchangeServiceBinding binding = new ExchangeServiceBinding();
ServicePointManager.ServerCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => true;
binding.RequestServerVersionValue = new RequestServerVersion();
binding.RequestServerVersionValue.Version = ExchangeVersionType.Exchange2010_SP2;
binding.PreAuthenticate = true;
binding.UseDefaultCredentials = true;
binding.Credentials = CredentialCache.DefaultCredentials ;
string server = "https://*********/ews/Exchange.asmx";
binding.Url = server;
I Am Getting the Error "The request failed with HTTP status 401: Unauthorized."
but when I Replace the line
binding.Credentials = CredentialCache.DefaultCredentials ;
with
binding.Credentials = new NetworkCredential(userName, password, domain);
Its run fine. Is there any way I could able to use default credential.
Hi,
As this question is more relate to Exchange development, I suggest you post it to the corresponding forum, you will get more help and confirmed answers from there.
http://social.msdn.microsoft.com/Forums/office/en-US/home?category=exchangeserver
Best regards
Patrick Liang
TechNet Community Support -
Error http the request failed with http status 401: unauthorized
Hi,<o:p></o:p>
We are currently developing a Web Part for a
dashboard that connects from SharePoint 2010 to Project Server, we are trying
to connect via the PSI web service and fetch the project data but it is giving
the same error "The request failed with HTTP
status 401: Unauthorized". We are having a huge
issue with gaining authorization through the PSI and cannot figure out what the
problem is. We are using Project Server 2010, SharePoint 2010 and Visual Studio
2010.<o:p></o:p>
The person developing this has administrative
rights on both servers and it is running on his account. However, this is his
first experience with Project Server. Could some provide some guidance?<o:p></o:p>
Does anyone have any suggestions?<o:p></o:p>
Thanks,<o:p></o:p>
Aba
<o:p></o:p>Hi,
Have the credentials been set for the web service? Or are you trying to pass the credentials of the user accessing the webpart? In the second case, the user must have permissions in project server
It would be useful if you can share the part of the code that fails
Paul -
Configuring Reporting Service Add-in for sharepoint - HTTP status 401: Unauthorized.
I have the following setup
Machine 1
WSS 3.0
Installed Reporting Service Add-in
Machine 2
Reporting Service
Sharepoint Object Model
SQL Server
Sharepoint and Report Server DB
I have congigured Reporting Service for Sharepoint Integrated Mode adn Created new Reprot Server DB
Sahre Point Integration is Green and verified link
In Sharepoint Central Administration
Manage Reporting Service Integratio i have selected the URL and "Trusted Account" as my web applications use "Windows Integration - NTLM".
All services, DB access everything running under one domain user account.
I am logged into sharepoint with same account. When clieck on set server defaults i get following error
An unexpected error occurred while connecting to the report server. Verify that the report server is available and configured for SharePoint integrated mode. --> Server was unable to process request. ---> The request failed with HTTP status 401: Unauthorized.
Same error when i try to add a report to a sharepoint webapplication
The domain account is part of "Farm Administration", "site colletion administrato" and local administrator also on both servers.
Can someone let me know how to fix this.jpmartop,
were you able to get this to work?
We have a 4 server topolgy.
moss
wfe
sql
ssrs
and are using Kerberos.
I've installed the wfe on the ssrs and am using a domain user for services, web and pools.
I get all green dots in the ssrs config.
in Central Admin, Grant access seems to work with the domain user, but set defaults gives me:
HTTP status 401: Unauthorized.
What should my web security on the default web site and reports and reports server look like? Integrated Security
Should the SSRS WFE entry in MOSS have Web application service turned on?
I've checked that my SPNs are good.I've installed sql server sp2 and a did windows update on all servers..
Could it be the user I log into the Central Admin with.. it's got server administrator and Farm administrator?
Thanks for any help or information. -
Hi All,
My Web application is FBA application and I am using the lists.asmx services in my custom webpart. To run this lists.asmx service in FBA enabled site we need to use Authentication.asmx service..
I referred this link:
http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/21867e28-75d5-42c8-850b-bfb5c5894eed .
I wrote a code as mentioned in this article but now I am getting error "The request failed with HTTP status 401: Unauthorized " for Authentication.asmx service itself. Can somebody help me why it is not working even everything looks
correct?
Thank you.
Regards,
Rahul Shinde.Hi Rahul,
Give permissions to the user on the web application.
Central Admin -->Application Management --> Application Security -->Policy for web application --> Select the
web application --> Add User
For more information, refer to
http://microsoftdev.blogspot.com/2009/10/sharepoint-web-services-access-give.html
http://www.codeproject.com/Articles/24244/Access-a-Forms-Based-SharePoint-Site-s-Web-Service
Best Regards.
Kelly Chen
TechNet Community Support -
I got the error "The request failed with HTTP status 401: Unauthorized." when I call the Reporting Service Web Service.
The code is very simple:
// Initialise the reporting service Web Service
this.RSWebService = new ReportingService2010();
// Pass windos authentication credentials to Web Service
this.RSWebService.Credentials = System.Net.CredentialCache.DefaultCredentials;
// List children
List<CatalogItem> reports = this.RSWebService.ListChildren(folder, false).ToList();
The SQL Server is installed on a different machine (say server A) from the Web server (say server B). We are using Windows Server 2003.
The code work fine for all the scenario below:
i) Run locally (XP) to call the web service on the sql server
ii) Provide the Network Credentials with the username, password, and domain when calling the web service
iii) If the web server and sql server is using same server (i.e. not distributed)
I'm using windows authentication and impersonation. Any idea?Hi Raymond,
If I understand correctly, the issue only happens in the environment that the web server is different with the SQL Server Reporting Services server. This means the web server is a remote server of the Report Server. Windows Integrated authentication is used
in this case. When running the web page, the 401 error occurs.
If so, it is actually a double hop issue. The double-hop problem will usually only be an issue to those of you who write some sort of web-based code (a web application or web service) that uses impersonation.
To fix the issue, we can configure kerberos authentication for the web application and the SQL Server Reporting Services.
Below is a great article that has delivered many solutions to fix the issue you met:
http://odetocode.com/articles/216.aspx
Additionally, you can read the following article to know more about double-hop:
http://blogs.technet.com/b/askds/archive/2008/06/13/understanding-kerberos-double-hop.aspx
http://blogs.msdn.com/b/knowledgecast/archive/2007/01/31/the-double-hop-problem.aspx
If you have any more questions, please feel free to ask.
Thanks,
Jin Chen
Jin Chen - MSFT
Thanks Jin. I believe this is the cause of the problem as well.
I tried to register the SPN but unfortunately it still doesn't work. I'm not sure whether I'm using the correct SPN name.
I have 3 reporting server instance on the SQL box. So the Web Service URL is like
http://Server:80/VirtualDirectoryDev,
http://Server:80/VirtualDirectoryTest and
http://Server:80/VirtualDirectoryStaging .
What's the SPN I need to register?
I tried
Setspn -a http/Server:80/VirtualDirectoryDev domain\account
and
Setspn -a http/aerver:80 domain\account.
But both of them are not working :( -
Error "The request failed with HTTP status 401: Unauthorized"
Dear All,
While running ssrs report using reportviewer I am getting following error as "The request failed with HTTP status 401: Unauthorized". I have also added required entry in registry and rebooted the server. But same issue appears. So, please help
me to resolve this.
Thanks in advanceHi dsddsadsa,
According to your description, when trying to running report from the report viewer control, the error "The request failed with HTTP status 401: Unauthorized" is thrown out.
While running report viewer control without impersonation setting, by default it will use the process identity which is Network Service (the AppPool identity is Network Service). Depending on the identity of the AppPool the app is running under, the identity
might be rejected. In your scenario, you may haven’t enable ASP.NET impersonation, you will get this exception. Please set up the following impersonation in the Web.config file, so that ASP.NET will use the configured user name and password to access the report
server:
<configuration>
<system.web>
<identity impersonate="true"
userName="domain\user"
password="password" />
Reference:
Request failed with HTTP status 401: Unauthorized (ReportViewer
control)
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu -
Oracle Database Web Service Client using UTL_DBWS :: ORA-29532 Error
Hi,
I have the Oracle Database 10.2.0.1.0 :-
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - ProductionI have written a simple Web Services Client using the classes gfrom the UTL_DBWS package. I loaded the JAR file dbwsclient.jar in the SYS Schema and I am trying to use it in the USF Schema.
However, I have hit this error & I ma unable to proceed :-
SQL> select get_stock_price from dual;
select get_stock_price from dual
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
java.lang.IllegalAccessException: javax.xml.rpc.ServiceException:
java.security.AccessControlException: the Permission
(java.lang.RuntimePermission getClassLoader) has not been granted to USF. The
PL/SQL to grant this is dbms_java.grant_permission( 'USF',
'SYS:java.lang.RuntimePermission', 'getClassLoader', '' )
ORA-06512: at "USF.UTL_DBWS", line 193
ORA-06512: at "USF.UTL_DBWS", line 190
ORA-06512: at "USF.GET_STOCK_PRICE", line 17Can you please help me with this ?
Regards,
SandeepHi,
The error message said
the Permission(java.lang.RuntimePermission getClassLoader) has not been granted to USF.
I'd follow the suggestion
The PL/SQL to grant this is dbms_java.grant_permission( 'USF','SYS:java.lang.RuntimePermission', 'getClassLoader', '' )
In case you have not done so, consult the Callout Users Guide @
http://www.oracle.com/technology/sample_code/tech/java/jsp/callout_users_guide.htm
Kuassi http://db360.blogspot.com -
Hi,
I built a web service client using WWSAPI. The connection works via SSL (without HTTP proxy) and it works with SSL and proxy with basic authentication as well. When I try to connect using a proxy with NTLM authentication, then I get the errorCode
0x803d0016, HTTP status "407 (0x197)", "Proxy Authentication Required".
In WireShark I see only one HTTP request to connect to the proxy with NTLM Message Type: NTLMSSP_NEGOTIATE. The HTTP Response returns Status 407 and the connection ist closed. Comparing this to Internet Explorer - the Connection is not closed and
a second request with NTLMSSP_AUTH is sent.
Why doesn't it make the complete NTLM handshake? Why wasn't sent the NTLMSSP_AUTH directly?
I oriented in the HttpCalculatorWithKerberosOverSslClientExample.
Using WS_HTTP_HEADER_AUTH_SECURITY_BINDING,
WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_SCHEME was set to WS_HTTP_HEADER_AUTH_SCHEME_NTLM, WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_TARGET to WS_HTTP_HEADER_AUTH_TARGET_PROXY. I tried WS_DEFAULT_WINDOWS_INTEGRATED_AUTH_CREDENTIAL_TYPE but also WS_STRING_WINDOWS_INTEGRATED_AUTH_CREDENTIAL_TYPE.
Any idea?
ThanksHi,
I built a web service client using WWSAPI. The connection works via SSL (without HTTP proxy) and it works with SSL and proxy with basic authentication as well. When I try to connect using a proxy with NTLM authentication, then I get the errorCode
0x803d0016, HTTP status "407 (0x197)", "Proxy Authentication Required".
In WireShark I see only one HTTP request to connect to the proxy with NTLM Message Type: NTLMSSP_NEGOTIATE. The HTTP Response returns Status 407 and the connection ist closed. Comparing this to Internet Explorer - the Connection is not closed and
a second request with NTLMSSP_AUTH is sent.
Why doesn't it make the complete NTLM handshake? Why wasn't sent the NTLMSSP_AUTH directly?
I oriented in the HttpCalculatorWithKerberosOverSslClientExample.
Using WS_HTTP_HEADER_AUTH_SECURITY_BINDING,
WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_SCHEME was set to WS_HTTP_HEADER_AUTH_SCHEME_NTLM, WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_TARGET to WS_HTTP_HEADER_AUTH_TARGET_PROXY. I tried WS_DEFAULT_WINDOWS_INTEGRATED_AUTH_CREDENTIAL_TYPE but also WS_STRING_WINDOWS_INTEGRATED_AUTH_CREDENTIAL_TYPE.
Any idea?
Thanks
Maybe you are looking for
-
here's system specs: ¨ p4 3,2ghz msi 875p neo fisr 2 2*512mb some ram 2*150gb ata harddisks dvd cd writer firewire card multi card reader creative audigy 2 it like this.Windows would not start.It comes to login screen and freezes there.So I started t
-
Choppy Video at Specific points
I finally got my minidisk video onto my computer through a connected dvd-rom drive and then converting it to mpeg with handbrake. Once the video was in iMovie i set about splitting the chunk into chapters and taking out bits that I didn't need. Howev
-
Line itemwise Purchase details
Please help me get the logic to make a z report of purchased items (line itemwise) indicating the basic qty, basic value, excise duty, cess, Add. Excise Duty, freight, etc. Please tell me the tables and fields to pickup. Thanks in advance Shuvir
-
Business Engine Requisition Queue is not available
Hello, did anyone encounter the error I wrote in the title? I went to http://<Ciaca server>:8080/RequestCenter/businessengine/configdebug.jsp to check the business engine config, every thing seems fine. I'm going to use a clone/Backup of the VM where
-
Unable to restore or update iphone 5 to ios 6.1
Hi everyone!! I cannot update or restore my iphone 5 to IOS 6.1.I have downloaded the iPhone5,1_6.1_10B143_Restore ipsw file twice but in itunes it says that the fimware file is not compatible.I have restored a iphone 4,4S and ipad 3 as well from the