AXIS error

2008-08-27 Thread sarika pramod
Hi Anne,

When I run my client to talk to the WSDL file, the following error is
generated in the console.


15:34:20,036 ERROR [EngineConfigurationFactoryServlet] Unable to find config
file.  Creating new servlet engine config file: /WEB-INF/server-config.w
dd
15:38:38,965 ERROR [STDERR] java.lang.NullPointerException
15:38:38,981 ERROR [STDERR] at
com.fci.server.ws.FCIPlannerServiceImpl.getHealthCheck(FCIPlannerServiceImpl.java:26)
15:38:38,981 ERROR [STDERR] at
com.fci.server.ws.FinanceplansSoapBindingImpl.getHealthCheck(FinanceplansSoapBindingImpl.java:14)
15:38:38,981 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
15:38:38,981 ERROR [STDERR] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
15:38:38,981 ERROR [STDERR] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
15:38:38,981 ERROR [STDERR] at
java.lang.reflect.Method.invoke(Method.java:324)
15:38:38,981 ERROR [STDERR] at
org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
15:38:38,981 ERROR [STDERR] at
org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
15:38:38,981 ERROR [STDERR] at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
15:38:38,981 ERROR [STDERR] at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
15:38:38,981 ERROR [STDERR] at
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
15:38:38,981 ERROR [STDERR] at
org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
15:38:38,981 ERROR [STDERR] at
org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
15:38:38,981 ERROR [STDERR] at
org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
15:38:38,981 ERROR [STDERR] at
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
15:38:38,981 ERROR [STDERR] at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
15:38:38,981 ERROR [STDERR] at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
15:38:38,981 ERROR [STDERR] at
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
15:38:38,981 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
15:38:38,981 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
15:38:38,981 ERROR [STDERR] at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
15:38:38,981 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
15:38:38,981 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
15:38:38,981 ERROR [STDERR] at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
15:38:38,981 ERROR [STDERR] at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
15:38:38,981 ERROR [STDERR] at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
15:38:38,981 ERROR [STDERR] at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
15:38:38,981 ERROR [STDERR] at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
15:38:38,981 ERROR [STDERR] at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
15:38:38,981 ERROR [STDERR] at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
15:38:38,981 ERROR [STDERR] at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
15:38:38,981 ERROR [STDERR] at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
15:38:38,981 ERROR [STDERR] at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
15:38:38,981 ERROR [STDERR] at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
15:38:38,981 ERROR [STDERR] at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
15:38:38,981 ERROR [STDERR] at java.lang.Thread.run(Thread.java:534)


I am having AXIS on JBOSS and am not able to figure out what this error
means? All help appreciated.

Regards,
Sarika


Re: Axis Web Service issue

2008-08-26 Thread sarika pramod
Hi Anne,

I have the web service code in a war file , FCC.war and we have the another
ear deployed in JBOSS/server/b2c/deploy/ folder..

I need the service deployed in
http://localhost:8080/FCIPlannerServer-1.0/services/FCIClientTestInfo?wsdl

I am able to deploy the AXIS Webservice as
http://localhost:8080/axis/services/FCIClientTestInfo?wsdl


I am not able to understand where I am going wrong in my approach. Can you
please please help me figure out. All help greatly appreciated.

Regards,
Sarika



On 8/26/08, Anne Thomas Manes <[EMAIL PROTECTED]> wrote:
>
> This is a 404 Not Found message.
> You must have specified a wrong URL.
>
> Anne
>
> On Tue, Aug 26, 2008 at 8:35 AM, sarika pramod <[EMAIL PROTECTED]>
> wrote:
> > Hi all,
> >
> > I am getting this error when i am deploying the AXIS webservice in JBOSS
> >
> > C:\FCIPlannerServer-1.0\WEB-INF\classes\com\fci\server\ws>java
> > org.apache.axis.client.AdminClient
> > -l"http://localhost:8080/FCIPlannerServer-1.0/servic
> > es/AdminService" deploy.wsdd
> > Processing file deploy.wsdd
> > Exception: AxisFault
> >  faultCode: {http://xml.apache.org/axis/}HTTP
> >  faultSubcode:
> >  faultString: (404)/FCIPlannerServer-1.0/services/AdminService
> >  faultActor:
> >  faultNode:
> >  faultDetail:
> > {}:return code:  404
> > <html><head><title>Apache Tomcat/5.5.17 - Error
> > report</title><style><!--H1
> > {font-family:Tahoma,Arial,sans-serif;colo
> > r:white;background-color:#525D76;font-size:22px;} H2
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
> > H3 {fo
> >
> nt-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
> > BODY {font-family:Tahoma,Arial,sans-serif;color:black;backgrou
> > nd-color:white;} B
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
> > P {font-family:Tahoma,Arial,sans-serif;background:white
> > ;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR
> > {color : #525D76;}--></style>
> > </head><body><h1>HTT
> > P Status 404 -
> /FCIPlannerServer-1.0/services/AdminService</h1><HR
> > size="1"
> noshade="noshade"><p><b>type&l
> > t;/b> Status report</p><p><b>message</b>
> >
> <u>/FCIPlannerServer-1.0/services/AdminService</u></p><p>&
> > lt;b>description</b> <u>The requested resource
> > (/FCIPlannerServer-1.0/services/AdminService) is not
> > available.</u></p><H
> > R size="1" noshade="noshade"><h3>Apache
> > Tomcat/5.5.17</h3></body></html>
> > {http://xml.apache.org/axis/}HttpErrorCode:404
> >
> > Any help appreciated.
> >
> > Regards,
> > Sarika
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Axis Web Service issue

2008-08-26 Thread sarika pramod
Hi all,

I am getting this error when i am deploying the AXIS webservice in JBOSS

C:\FCIPlannerServer-1.0\WEB-INF\classes\com\fci\server\ws>java
org.apache.axis.client.AdminClient -l"
http://localhost:8080/FCIPlannerServer-1.0/servic
es/AdminService" deploy.wsdd
Processing file deploy.wsdd
Exception: AxisFault
 faultCode: {http://xml.apache.org/axis/}HTTP
 faultSubcode:
 faultString: (404)/FCIPlannerServer-1.0/services/AdminService
 faultActor:
 faultNode:
 faultDetail:
{}:return code:  404
Apache Tomcat/5.5.17 - Error
report

HTT P Status 404 - /FCIPlannerServer-1.0/services/AdminService


type&l t;/b> Status report

message /FCIPlannerServer-1.0/services/AdminService

& lt;b>description The requested resource (/FCIPlannerServer-1.0/services/AdminService) is not available.

Apache Tomcat/5.5.17

{http://xml.apache.org/axis/}HttpErrorCode:404 Any help appreciated. Regards, Sarika

Hi

2008-08-20 Thread sarika pramod
Hi everyone,

When I deploy my web service using the following command on JBOSS, Windows
env


C:\b2c\server\target\classes\com\fci\server\ws>java
org.apache.axis.client.AdminClient -l"
http://localhost:8080/b2c/services/AdminService"; deploy.wsdd

I get this error

Processing file deploy.wsdd
Exception: AxisFault
 faultCode: {http://xml.apache.org/axis/}HTTP
 faultSubcode:
 faultString: (404)/b2c/404.html
 faultActor:
 faultNode:
 faultDetail:
{}:return code:  404

{http://xml.apache.org/axis/}HttpErrorCode:404

Any help greatky appreciated.



Regards,

Sarika


Re: Having issues with creating stub

2008-08-20 Thread sarika pramod
this means u have mostly included a lot of unwanted jars in the classpath. I
faced the same issue and it went when I removed the unwanted jars...

Regards,
Sarika


On 8/20/08, Shovan Kanjilal <[EMAIL PROTECTED]> wrote:
>
> Sarika,
>   Here is the output. Thanks for your response.
> regards,
> Shovan
>
>
> Using AXIS2_HOME:   C:\axis2-1.4
> Using JAVA_HOME:C:\jdk1.6.0_05
> Retrieving document at 'c:\pinapp.wsdl'.
> Exception in thread "main"
> org.apache.axis2.wsdl.codegen.CodeGenerationException:
> java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
>  at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
>  at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>  at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
> Caused by: java.lang.RuntimeException:
> java.lang.reflect.InvocationTargetException
>  at
> org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53)
>  at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)
>  ... 2 more
> Caused by: java.lang.reflect.InvocationTargetException
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>  at java.lang.reflect.Method.invoke(Method.java:597)
>  at
> org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50)
>  ... 3 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: can not find
> type 
> {http://schemas.xmlsoap.org/soap/encoding/}Array<http://schemas.xmlsoap.org/soap/encoding/%7DArray>from
>  the parent schema
> http://www.themindelectric.com/package/com.workscape.ps.gmpin/
>  at
> org.apache.axis2.schema.SchemaCompiler.copyMetaInfoHierarchy(SchemaCompiler.java:1296)
>  at
> org.apache.axis2.schema.SchemaCompiler.processComplexContent(SchemaCompiler.java:1258)
>  at
> org.apache.axis2.schema.SchemaCompiler.processContentModel(SchemaCompiler.java:1153)
>  at
> org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:1097)
>  at
> org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:1017)
>  at
> org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:931)
>  at
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:592)
>  at
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:552)
>  at
> org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1991)
>  at
> org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1874)
>  at
> org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:1081)
>  at
> org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:1017)
>  at
> org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:931)
>  at
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:766)
>  at
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:552)
>  at
> org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1991)
>  at
> org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1874)
>  at
> org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:1081)
>  at
> org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaType(SchemaCompiler.java:980)
>  at
> org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:934)
>  at
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:592)
>  at
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:563)
>  at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:370)
>  at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:280)
>  at
> org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:103)
>  ... 8 more
>
> Tool completed successfully
>
>
> On 8/20/08, sarika pramod <[EMAIL PROTECTED]> wrote:
>>
>> Shovan,
>>
>> wht is the error u r getting...
>>
>> Regards,
>> Sarika
>>
>>  On 8/20/08, Shovan Kanjilal <[EMAIL PROTECTED]> wrote:
>>
>>>  Hi,
>>>   I am new to axis; I tried to run wsdl2java on the attached wsdl and
>>> getting errors.
>>>   Any help is appreciated.
>>>
>>> -
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>
>


Re: Having issues with creating stub

2008-08-20 Thread sarika pramod
Shovan,

wht is the error u r getting...

Regards,
Sarika

On 8/20/08, Shovan Kanjilal <[EMAIL PROTECTED]> wrote:
>
> Hi,
>   I am new to axis; I tried to run wsdl2java on the attached wsdl and
> getting errors.
>   Any help is appreciated.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: Returning Map / List from web service

2008-08-18 Thread sarika pramod
Hi jaki,

List/Map will not work - since those are Java specific types which may not
be representable in all languages -- hence web-services don't support them.

I am also facing the same issues currently.

Regards,
Sarika

On Mon, Aug 18, 2008 at 6:46 PM, jaki <[EMAIL PROTECTED]> wrote:

>
> Any help on this? :( I have exposed the ejbs using @Webservice annotations
> and not using the axis wsdd method. Should that be what's causing the
> problem? Please help
>
>
> jaki wrote:
> >
> > Hi all,
> >
> > I have an axis WS client calling a remote ejb3 web service as below:
> >
> >   Call call= (Call) service.createCall();
> >  call.setTargetEndpointAddress( new
> java.net.URL(endpoint) );
> >  call.setOperationName(new QName("http://session.um.com/
> ",
> > "getAuc") );
> >
> >
> >  call.addParameter("arg0",
> >org.apache.axis.Constants.XSD_INT,
> >
> > javax.xml.rpc.ParameterMode.IN
> );
> >
> >
> >  call.setReturnClass(HashMap.class);
> >  HashMap ret =  (HashMap) call.invoke( new Object[] {"1"}
> >
> > Thought it throws no error, the returned Map / List never has any
> contents
> > in them. Also, if instead of setReturnClass I try to use
> > setReturnType(org.apache.axis.Constants.XSD_ANY) it gives me the below
> > error:
> >
> > could not find deserializer for type {
> http://www.w3.org/2001/XMLSchema}any
> >
>
> --
> View this message in context:
> http://www.nabble.com/Returning-Map---List-from-web-service-tp19010233p19031177.html
>  Sent from the Axis - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Web Service error

2008-08-15 Thread sarika pramod
Hi all,

I created a WSDL file.using java2wsdl  and got the following WSDL
(attached for reference). I see the WSDL deployed on
http://localhost:8080/axis/services/Bingo?wsdl.


When I write a client , I get the folllowing error.. What could be the
reason and also , please let me know if the WSDL is created properly... I
have a doubt on the WSDL creation



AxisFault

faultCode: {
*http://schemas.xmlsoap.org/soap/envelope/}Server.userException
*

faultSubcode:

faultString:
*java.lang.reflect.InvocationTargetException*

faultActor:

faultNode:

faultDetail:

{http://xml.apache.org/axis/}hostname:builds
*

java.lang.reflect.InvocationTargetException
*

at org.apache.axis.message.SOAPFaultBuilder.createFault(
*SOAPFaultBuilder.java:222*)

at org.apache.axis.message.SOAPFaultBuilder.endElement(
*SOAPFaultBuilder.java:129*)

at org.apache.axis.encoding.DeserializationCo

Any help gr8ly appreciated.

Regards,

Sarika

http://xml.apache.org/xml-soap"; xmlns:impl="urn:com.fci.healthcheck.service" xmlns:intf="urn:com.fci.healthcheck.service" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";>

 
  http://www.w3.org/2001/XMLSchema";>
   http://schemas.xmlsoap.org/soap/encoding/"/>
   

 

   
  
 

   

  

   

   

  

   

   

  

 

 

  

   

   

  http://schemas.xmlsoap.org/soap/http"/>

  

 

 

http://schemas.xmlsoap.org/soap/encoding/"; namespace="urn:com.fci.healthcheck.service" use="encoded"/>

 

 

http://schemas.xmlsoap.org/soap/encoding/"; namespace="urn:com.fci.healthcheck.service" use="encoded"/>

 

  

   

   

  

 http://localhost:8080/axis/services/Bingo2"/>

  

   


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]