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
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault><faultcode
xmlns:ns1="http://xml.apache.org/axis/">ns1:Server.Unauthenticated</faultcode><faultstring>User
'null' not authenticated (unknown
user)</faultstring><detail><ns2:hostname
xmlns:ns2="http://xml.apache.org/axis/">vibpj184</ns2:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
{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
>> <soapenv:Envelope
>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault><faultcode
>> xmlns:ns1="http://xml.apache.org/axis/">ns1:Server.Unauthenticated</faultcode><faultstring>User
>> 'null' not authenticated (unknown
>> user)</faultstring><detail><ns2:hostname
>> xmlns:ns2="http://xml.apache.org/axis/">vibpj184</ns2:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
>> {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
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault><faultcode
> xmlns:ns1="http://xml.apache.org/axis/">ns1:Server.Unauthenticated</faultcode><faultstring>User
> 'null' not authenticated (unknown
> user)</faultstring><detail><ns2:hostname
> xmlns:ns2="http://xml.apache.org/axis/">vibpj184</ns2:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
> {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