Click here to Skip to main content
15,914,488 members
Home / Discussions / Web Development
   

Web Development

 
QuestionSaving images to a database Pin
moseti12-Feb-07 5:19
moseti12-Feb-07 5:19 
AnswerRe: Saving images to a database Pin
Kschuler12-Feb-07 9:04
Kschuler12-Feb-07 9:04 
QuestionWEB application Pin
Mangorange12-Feb-07 4:43
Mangorange12-Feb-07 4:43 
GeneralCheck for file access [modified] Pin
Rage12-Feb-07 4:39
professionalRage12-Feb-07 4:39 
GeneralRe: Check for file access Pin
Bradml12-Feb-07 12:01
Bradml12-Feb-07 12:01 
GeneralRe: Check for file access Pin
Rage13-Feb-07 6:03
professionalRage13-Feb-07 6:03 
QuestionWeb Services Pin
LCI12-Feb-07 3:57
LCI12-Feb-07 3:57 
AnswerRe: Web Services Pin
Christian Graus13-Feb-07 8:51
protectorChristian Graus13-Feb-07 8:51 
QuestionExample web sites Pin
Jerry Evans12-Feb-07 3:50
Jerry Evans12-Feb-07 3:50 
AnswerRe: Example web sites Pin
Bradml12-Feb-07 12:01
Bradml12-Feb-07 12:01 
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 

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.