Thanks Azeez,

I should point out that I am referring to version Axis 1.2.1, not Axis2.  And I 
have Axis installed, and can query Axis for a list of services via HTTP in my 
browser.  I believe I am all set.  And like I said, when this same installation 
is used with Tomcat, it works.

But I am getting the 401 error when used in conjunction with Weblogic.  I have 
even traced into the code, but it is pretty low-level when I get the exception, 
during a socket read.  I never get to the actual service call that I have 
implemented.  

So I'm asking this group if there is something I need to do in order to be 
authorized correctly.  It has to be just a small adjustment.

Scott


----- Original Message ----
From: Afkham Azeez <[EMAIL PROTECTED]>
To: axis-user@ws.apache.org
Sent: Saturday, January 19, 2008 10:50:07 AM
Subject: Re: Axis 1.2.1 and Weblogic 10

You could get some tips on how to install Axis2 on WL from this article 
https://wso2.org/library/880

Azeez


On Jan 19, 2008 2:13 AM, Scott <[EMAIL PROTECTED]> wrote:



I have a web services application that uses Axis (I) with Tomcat 5.5.25. It 
works perfectly.

I've recently installed the application on WebLogic 10, but I am no longer able 
to connect. 

When I attempt my first call, I get a remote exception that says this: 

javax.xml.rpc.ServiceException: (401)Unauthorized


Also note that Axis appears to be installed correctly and is functioning, as I 
can invoke a service via http that returns me a list of deployed services.  
 
What authorization do I need to connect to the Axis servlet?  I'm sure I'm 
using the correct syntax when connecting to the AxisServlet.  Am I running into 
some kind of windows authentication issue that I see in some of the threads?  I 
am using Windows XP.  
 

Here is some of my wsdd:

<globalConfiguration>
<parameter name="sendMultiRefs" value="false"/>
<parameter name="disablePrettyXML" value="true"/>
<parameter name="adminPassword" value="admin"/>
<parameter name="attachments.Directory" 
value="C:\ProServer45\exploded\WEB-INF\attachments"/>
<parameter name="dotNetSoapEncFix" value="true"/>
<parameter name="enableNamespacePrefixOptimization" value="true"/>
<parameter name="sendXMLDeclaration" value="true"/>
<parameter name="sendXsiTypes" value="true"/>
<parameter name="attachments.implementation" 
value="org.apache.axis.attachments.AttachmentsImpl"/>
<requestFlow>
<handler type="java:org.apache.axis.handlers.JWSHandler">
<parameter name="scope" value="session"/>
</handler>
<handler type="java:org.apache.axis.handlers.JWSHandler">
<parameter name="scope" value="request"/>
<parameter name="extension" value=".jwr"/>
</handler>
</requestFlow>
</globalConfiguration>
<handler name="LocalResponder" 
type="java:org.apache.axis.transport.local.LocalResponder"/>
<handler name="URLMapper" type="java:org.apache.axis.handlers.http.URLMapper"/>
<handler name="Authenticate" 
type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
<service name="AdminService" provider="java:MSG">
<parameter name="allowedMethods" value="AdminService"/>
<parameter name="enableRemoteAdmin" value="false"/>
<parameter name="className" value="org.apache.axis.utils.Admin"/>
<namespace>http://xml.apache.org/axis/wsdd/</namespace>
</service>
<service name="Version" provider="java:RPC">
<parameter name="allowedMethods" value="getVersion"/>
<parameter name="className" value="org.apache.axis.Version"/>
</service>

Here is the last part:

<transport name="http">
<requestFlow>
<handler type="URLMapper"/>
<handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
</requestFlow>
<parameter name="qs:list" value="org.apache.axis.transport.http.QSListHandler"/>
<parameter name="qs:wsdl" value="org.apache.axis.transport.http.QSWSDLHandler"/>
<parameter name="qs.list" value="org.apache.axis.transport.http.QSListHandler"/>
<parameter name="qs.method" 
value="org.apache.axis.transport.http.QSMethodHandler"/>
<parameter name="qs:method" 
value="org.apache.axis.transport.http.QSMethodHandler"/>
<parameter name="qs.wsdl" value="org.apache.axis.transport.http.QSWSDLHandler"/>
</transport>
<transport name="local">
<responseFlow>
<handler type="LocalResponder"/>
</responseFlow>
</transport>

Any ideas? 





-- 
Thanks
Afkham Azeez

http://www.wso2.org
GPG Fingerprint: 643F C2AF EB78 F886 40C9  B2A2 4AE2 C887 665E 0760

Reply via email to