Hello,
Somehow I could make a connection from the AXIS to the IIS-Listener.
But I have still a connection problem:
Access Denied
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:518)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.j
ava:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:154)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:121)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:174)
at org.apache.axis.client.Call.invoke(Call.java:1905)
at org.apache.axis.client.Call.invoke(Call.java:1690)
at org.apache.axis.client.Call.invoke(Call.java:1608)
at org.apache.axis.client.Call.invoke(Call.java:1169)
at
org.tempuri.InTempoLoginSoapBindingStub.makeConnection(InTempoLoginSoapB
indingStub.java:103)
at org.tempuri.start.main(start.java:16)
Exception in thread "main"
Explanation:
I want to access a dll through the IIS-Listener. This dll has the method
"makeConnection(user,password)" in it, and can log on through a COM to
the SQL-Server.
This is perfectly possible when I use an IIS-Client (ASP), but when I
try to do the Client Side from AXIS it says "Access denied".
I had to disable "anonymous Login" on IIS. (Just Windows-authenticated
is allowed) Otherwise the DLL couldn't be compiled, when a User accessed
it through an ASP side.
Maybe this is the same problem. IIS thinks the User on Axis-side is an
anonymous one, and do not allow to use and compile the dll.
But how can I realize this? How could the people who make a SOAP
Connection between MS SOAPToolkit and Axis make it?
I appreciate every help.
Houman
For the Archive:
CLASSNAME service = new CLASSNAMELocator();
CLASSNAMESoapPort port = service.getCLASSNAMESoapPort();
Port.METHODES(bla, bla);
e.g.:
package org.tempuri;
public class start {
public static void main(String[] args) throws Exception {
InTempo service = new InTempoLocator();
InTempoLoginSoapPort port =
service.getInTempoLoginSoapPort();
String result =
(String)port.makeConnection("user","password");
System.out.println(result);
}
}
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com