You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by sh_santosh <sa...@gmail.com> on 2007/11/29 08:24:57 UTC

deploying problem with Axis 1.2

Hi,

I am getting an error when I am deploying deploy.wsdd

Here are the steps that I have followed so far.

I am using to Axis 1.2 for invoking the webservices.


1) I created an interface.
2) Java2WSDL
3) WSDL2Java which generated all necessary files.
4) Now when I am deploying deploy.wsdd using AdminClient I am getting an
error

Exception: AxisFault
 faultCode: {http://xml.apache.org/axis/}HTTP
 faultSubcode:
 faultString: (401)Unauthorized
 faultActor:
 faultNode:
 faultDetail:
    {}:return code:  401
&lt;soapenv:Envelope
xmlns:soapenv=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;
xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot;
xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt;&lt;soapenv:Body&gt;&lt;soapenv:Fault&gt;&lt;faultcode
xmlns:ns1=&quot;http://xml.apache.org/axis/&quot;&gt;ns1:Server.Unauthenticated&lt;/faultcode&gt;&lt;faultstring&gt;User
'null' not authenticated (unknown
user)&lt;/faultstring&gt;&lt;detail&gt;&lt;ns2:hostname
xmlns:ns2=&quot;http://xml.apache.org/axis/&quot;&gt;vibpj184&lt;/ns2:hostname&gt;&lt;/detail&gt;&lt;/soapenv:Fault&gt;&lt;/soapenv:Body&gt;&lt;/soapenv:Envelope&gt;
    {http://xml.apache.org/axis/}HttpErrorCode:401





Can anyone please help me in this?


-- 
View this message in context: http://www.nabble.com/deploying-problem-with-Axis-1.2-tf4895530.html#a14020632
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: deploying problem with Axis 1.2

Posted by sh_santosh <sa...@gmail.com>.
-
Arguments used by me to generated file by wsdl2java -: -o . -d Session -s -S
true  -Nurn:fibonacci testws  src/testws/fib.wsdl


please see the wsdd file :

<deployment
    xmlns="http://xml.apache.org/axis/wsdd/"
    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

  <!-- Services from FibonacciService WSDL service -->

  <service name="fibonacci" provider="java:RPC" style="rpc" use="encoded">
      <parameter name="wsdlTargetNamespace" value="urn:fibonacci"/>
      <parameter name="wsdlServiceElement" value="FibonacciService"/>
      <parameter name="schemaUnqualified" value="urn:fibonacci"/>
      <parameter name="wsdlServicePort" value="fibonacci"/>
      <parameter name="className"
value="webservices.testdev.FibonacciSoapBindingSkeleton"/>
      <parameter name="wsdlPortType" value="Fibonacci"/>
      <parameter name="typeMappingVersion" value="1.2"/>
      <parameter name="allowedMethods" value="*"/>
      <parameter name="scope" value="Session"/>

      <arrayMapping
        xmlns:ns="urn:fibonacci"
        qname="ns:ArrayOf_xsd_int"
        type="java:int[]"
        innerType="cmp-ns:int"
xmlns:cmp-ns="http://www.w3.org/2001/XMLSchema"
        encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      />
  </service>
</deployment>




------------------------------------------------------------------------------------------------------------------------------------


Vaibhav@Axis wrote:
> 
> 
> Pls post your WSDD file ...
> 
> 
> ----------------------------------------------------------------------------------------------------------------------------------
> 
> sh_santosh wrote:
>> 
>> Hi,
>> 
>> I am getting an error when I am deploying deploy.wsdd
>> 
>> Here are the steps that I have followed so far.
>> 
>> I am using to Axis 1.2 for invoking the webservices.
>> 
>> 
>> 1) I created an interface.
>> 2) Java2WSDL
>> 3) WSDL2Java which generated all necessary files.
>> 4) Now when I am deploying deploy.wsdd using AdminClient I am getting an
>> error
>> 
>> Exception: AxisFault
>>  faultCode: {http://xml.apache.org/axis/}HTTP
>>  faultSubcode:
>>  faultString: (401)Unauthorized
>>  faultActor:
>>  faultNode:
>>  faultDetail:
>>     {}:return code:  401
>> &lt;soapenv:Envelope
>> xmlns:soapenv=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;
>> xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot;
>> xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt;&lt;soapenv:Body&gt;&lt;soapenv:Fault&gt;&lt;faultcode
>> xmlns:ns1=&quot;http://xml.apache.org/axis/&quot;&gt;ns1:Server.Unauthenticated&lt;/faultcode&gt;&lt;faultstring&gt;User
>> 'null' not authenticated (unknown
>> user)&lt;/faultstring&gt;&lt;detail&gt;&lt;ns2:hostname
>> xmlns:ns2=&quot;http://xml.apache.org/axis/&quot;&gt;vibpj184&lt;/ns2:hostname&gt;&lt;/detail&gt;&lt;/soapenv:Fault&gt;&lt;/soapenv:Body&gt;&lt;/soapenv:Envelope&gt;
>>     {http://xml.apache.org/axis/}HttpErrorCode:401
>> 
>> 
>> 
>> 
>> 
>> Can anyone please help me in this?
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/deploying-problem-with-Axis-1.2-tf4895530.html#a14023740
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: deploying problem with Axis 1.2

Posted by "Vaibhav@Axis" <va...@gmail.com>.
Pls post your WSDD file ...

sh_santosh wrote:
> 
> Hi,
> 
> I am getting an error when I am deploying deploy.wsdd
> 
> Here are the steps that I have followed so far.
> 
> I am using to Axis 1.2 for invoking the webservices.
> 
> 
> 1) I created an interface.
> 2) Java2WSDL
> 3) WSDL2Java which generated all necessary files.
> 4) Now when I am deploying deploy.wsdd using AdminClient I am getting an
> error
> 
> Exception: AxisFault
>  faultCode: {http://xml.apache.org/axis/}HTTP
>  faultSubcode:
>  faultString: (401)Unauthorized
>  faultActor:
>  faultNode:
>  faultDetail:
>     {}:return code:  401
> &lt;soapenv:Envelope
> xmlns:soapenv=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;
> xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot;
> xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt;&lt;soapenv:Body&gt;&lt;soapenv:Fault&gt;&lt;faultcode
> xmlns:ns1=&quot;http://xml.apache.org/axis/&quot;&gt;ns1:Server.Unauthenticated&lt;/faultcode&gt;&lt;faultstring&gt;User
> 'null' not authenticated (unknown
> user)&lt;/faultstring&gt;&lt;detail&gt;&lt;ns2:hostname
> xmlns:ns2=&quot;http://xml.apache.org/axis/&quot;&gt;vibpj184&lt;/ns2:hostname&gt;&lt;/detail&gt;&lt;/soapenv:Fault&gt;&lt;/soapenv:Body&gt;&lt;/soapenv:Envelope&gt;
>     {http://xml.apache.org/axis/}HttpErrorCode:401
> 
> 
> 
> 
> 
> Can anyone please help me in this?
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/deploying-problem-with-Axis-1.2-tf4895530.html#a14022555
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org