Click here to Skip to main content
15,885,957 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Example web sites Pin
MatrixCoder12-Feb-07 12:23
MatrixCoder12-Feb-07 12:23 
QuestionDrag/drop Pin
Jerry Evans12-Feb-07 3:49
Jerry Evans12-Feb-07 3:49 
AnswerRe: Drag/drop Pin
Bradml12-Feb-07 12:02
Bradml12-Feb-07 12:02 
QuestionRotbots.txt Pin
militiaware12-Feb-07 3:17
militiaware12-Feb-07 3:17 
QuestionRefresh and unload ? Pin
ALAQUNAIBI12-Feb-07 2:23
ALAQUNAIBI12-Feb-07 2:23 
Questionconnection with Microsoft Active Directory.. Pin
hiral_shah11-Feb-07 21:25
hiral_shah11-Feb-07 21:25 
AnswerRe: connection with Microsoft Active Directory.. Pin
hiral_shah9-Mar-07 20:13
hiral_shah9-Mar-07 20:13 
QuestionWeb-service enforced authentication Pin
alabax11-Feb-07 20:45
alabax11-Feb-07 20:45 
Hello!
I have large Java application, which is controlled through web-services. Some functions are available for anonymous users, it works ok. Some functions are only for authenticated users. The service expects login credentials in the http request. The following .net code
<br />
using System;<br />
using System.Net;<br />
class Program<br />
{<br />
static void Main(string[] args)<br />
{<br />
WebServiceX.SomeAPI api = new WebServiceX.SomeAPI.SomeAPI();<br />
api.Credentials = new NetworkCredential("MyUserName", "MyPassword");<br />
api.PreAuthenticate = true;<br />
api.Url = "http://mysite/myapp/api";<br />
api.SoapVersion = System.Web.Services.Protocols.SoapProtocolVersion.Soap11;<br />
api.someMethod(parameter);<br />
}<br />
}


throws an exception:
System.Web.Services.Protocols.SoapException: java.rmi.RemoteException:<br />
---omitted---: CLQAHDEBUG: Permission Denied<br />
: User anonymous does not have permission ---internal method name---<br />
in System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClien<br />
tMessage message, WebResponse response, Stream responseStream, Boolean asyncCall<br />
)<br />
in System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodNa<br />
me, Object[] parameters)<br />
in WebServicesConsumer2.LMSRoster.LMSRosterAPI.unrosterUsers(String[] in0) in<br />
.\WebServicesConsumer2\Web References\LMSRoster\Reference.cs:line 1<br />
31<br />
in WebServicesConsumer2.Program.Main(String[] args) in .\WebService<br />
sConsumer2\Program.cs:line 19

Captured communication packets do not contain any credential data. Why? How to make it work?
AnswerHttp basic authentication for web-services Pin
alabax12-Feb-07 2:19
alabax12-Feb-07 2:19 
Questionclicking on a button Pin
liorep11-Feb-07 7:45
liorep11-Feb-07 7:45 
AnswerRe: clicking on a button Pin
Bradml11-Feb-07 19:31
Bradml11-Feb-07 19:31 
GeneralRe: clicking on a button Pin
liorep11-Feb-07 19:48
liorep11-Feb-07 19:48 
GeneralRe: clicking on a button Pin
Bradml11-Feb-07 19:53
Bradml11-Feb-07 19:53 
GeneralRe: clicking on a button Pin
liorep12-Feb-07 10:01
liorep12-Feb-07 10:01 
GeneralRe: clicking on a button Pin
Bradml12-Feb-07 11:17
Bradml12-Feb-07 11:17 
GeneralRe: clicking on a button Pin
liorep12-Feb-07 12:12
liorep12-Feb-07 12:12 
GeneralRe: clicking on a button Pin
Bradml12-Feb-07 12:14
Bradml12-Feb-07 12:14 
GeneralRe: clicking on a button Pin
liorep12-Feb-07 12:37
liorep12-Feb-07 12:37 
GeneralRe: clicking on a button Pin
Bradml12-Feb-07 12:43
Bradml12-Feb-07 12:43 
QuestionDisable selection [modified] Pin
SoftDeveloper10-Feb-07 18:01
SoftDeveloper10-Feb-07 18:01 
AnswerRe: Disable selection Pin
Bradml10-Feb-07 18:31
Bradml10-Feb-07 18:31 
GeneralRe: Disable selection Pin
SoftDeveloper12-Feb-07 1:03
SoftDeveloper12-Feb-07 1:03 
GeneralRe: Disable selection Pin
Bradml12-Feb-07 1:06
Bradml12-Feb-07 1:06 
Questionhow to implement editable table with several fixed columns? Pin
xiao bin bin10-Feb-07 6:55
xiao bin bin10-Feb-07 6:55 
AnswerRe: how to implement editable table with several fixed columns? Pin
Bradml10-Feb-07 12:57
Bradml10-Feb-07 12:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.