Hi Suyog,

I fixed the possible NPE pointed out in your stacktrace. You may try
again with the latest revision. (My fix is in revision 409974)

-- Chinthaka

Suyog Gandhi wrote:
> With the latest build ( as of 25 May nightly build) namespace problem
> seems to be solved. And now many of the calls started working.
> 
> One method returns Array of String and input parameter is String. That
> method is giving me following error. ( This method used to work with
> Axis 1.0 release version.)
> I am getting some error trace in server side but I cannot see SOAP
> Request in SOAP monitor. Why would this happen?
> 
> Exception in thread "main" org.apache.axis2.AxisFault: Exception
> occurred while trying to invoke service method getDimensionNames
>       at
> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO
> peration.java:287)
>       at
> com.vistaar.clemenza.shared.webs.stub.WS_MDS32Stub.getDimensionNames(WS_
> MDS32Stub.java:1429)
>       at
> com.vistaar.clemenza.shared.webs.client.WSClient.main(WSClient.java:61)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>       at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:585)
>       at
> com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
> Caused by: java.lang.Exception: org.apache.axis2.AxisFault: Exception
> occurred while trying to invoke service method getDimensionNames; nested
> exception is: 
>       java.lang.NullPointerException
>       at
> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RP
> CMessageReceiver.java:141)
>       at
> org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(Abst
> ractInOutSyncMessageReceiver.java:37)
>       at
> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:480)
>       at
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReques
> t(HTTPTransportUtils.java:284)
>       at
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:136)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>       at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:252)
>       at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:173)
>       at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.java:213)
>       at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> e.java:178)
>       at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :126)
>       at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :105)
>       at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
> java:107)
>       at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
> 48)
>       at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
> 8)
>       at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
> essConnection(Http11BaseProtocol.java:663)
>       at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
> .java:527)
>       at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
> erWorkerThread.java:80)
>       at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
> .java:684)
>       at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.NullPointerException
>       at
> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RP
> CMessageReceiver.java:86)
>       ... 20 more
> 
>       at org.apache.axis2.AxisFault.<init>(AxisFault.java:159)
>       ... 8 more
> 
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 25, 2006 2:10 PM
> To: [email protected]
> Subject: Re: Mentioning namespace for the SOAP Message
> 
> 
> Suyog,
> The WSDL generation has apparently been fixed as per:
> http://issues.apache.org/jira/browse/AXIS2-721
> 
> Check if this also fixes your original problem of namespace mismatch for
> the Response returned from the Web Service invocation.
> 
> - Junaid
> 
> 
> 
>  
> 
>              "Anne Thomas
> 
>              Manes"
> 
>              <[EMAIL PROTECTED]
> To 
>              m>                        [email protected]
> 
>  
> cc 
>              05/25/2006 08:54
> 
>              AM
> Subject 
>                                        Re: Mentioning namespace for the
> 
>                                        SOAP Message
> 
>              Please respond to
> 
>              [EMAIL PROTECTED]
> 
>                   he.org
> 
>  
> 
>  
> 
>  
> 
> 
> 
> 
> 
> It's a bug. I believe it's been fixed in the latest build.
> 
> Anne
> 
> On 5/24/06, Suyog Gandhi <[EMAIL PROTECTED] > wrote:
>   This WSDL is created by Axis2 upon the deploy of .aar
>   file. How do I avoid that namespace attribute? Is there
>   some kind of setting in some file?
> 
> 
>   On Wed, 24 May 2006 20:39:14 -0400
>     "Anne Thomas Manes" <[EMAIL PROTECTED]> wrote:
>   > You must remove the namespace attributes from your
>   ><binding>
>   > definitions, e.g., body definitions should be:
>   >
>   > <soap:body use="literal" />
>   >
>   >
>   > Make sure you're using the latest build of Axis2.
>   >
>   > Anne
>   >
>   >
>   > On 5/24/06, Suyog Gandhi < [EMAIL PROTECTED]
>   > <mailto:[EMAIL PROTECTED]> > wrote:
>   >
>   > Can somebody tell me how to set the namespace for the
>   >soap message on
>   > server side?
>   > I wrote my java file, created service.xml and deployed
>   >the .aar. Please
>   > find atached wsdl file.
>   > I am getting 2 different namesspaces for request and
>   >response, due to
>   > which I am getting Data Binding Error on the client
>   >side.
>   >
>   > SOAP Request: Note the name space for getDimensionNames
>   > <?xml version='1.0' encoding='utf-8'?>
>   > <soapenv:Envelope
>   > xmlns:soapenv="
>   > <http://schemas.xmlsoap.org/soap/envelope/ >
>   > http://schemas.xmlsoap.org/soap/envelope/";>
>   >  <soapenv:Header />
>   >  <soapenv:Body>
>   >    <getDimensionNames
>   > xmlns=" http://webs.shared.clemenza.vistaar.com/xsd
>   > <http://webs.shared.clemenza.vistaar.com/xsd >  " />
>   >  </soapenv:Body>
>   > </soapenv:Envelope>
>   >
>   >
>   > SOAP Reply (Upon successful server side execution) :
>   >Note the name space
>   > for getDimensioNamesResponse
>   > <?xml version='1.0' encoding='utf-8'?>
>   > <soapenv:Envelope
>   > xmlns:soapenv="
>   >http://schemas.xmlsoap.org/soap/envelope/
>   > < http://schemas.xmlsoap.org/soap/envelope/> ">
>   >  <soapenv:Header />
>   >  <soapenv:Body>
>   >    <ns:getDimensionNamesResponse
>   > xmlns:ns=" http://org.apache.axis2/xsd
>   ><http://org.apache.axis2/xsd> ">
>   >      <return>Part</return>
>   >      <return>Kit</return>
>   >      <return>Customer</return>
>   >      <return>Time</return>
>   >      <return>Sales Type</return>
>   >      <return>Campaign</return>
>   >      <return>Discount Table</return>
>   >      <return>Discount Code</return>
>   >      <return>Currency</return>
>   >      <return>Version</return>
>   >      <return>Engine</return>
>   >      <return>WhatIf</return>
>   >      <return>Measures</return>
>   >    </ns:getDimensionNamesResponse>
>   >  </soapenv:Body>
>   > </soapenv:Envelope>
>   >
>   >
>   >
>   >
>   >
>   >
>   >
> ---------------------------------------------------------------------
>   > To unsubscribe, e-mail:
>   >[EMAIL PROTECTED]
>   > <mailto:[EMAIL PROTECTED]>
>   >For additional commands, e-mail:
>   >[EMAIL PROTECTED]
>   > <mailto:[EMAIL PROTECTED]>
>   >
>   >
>   >
>   >
>   >
>   >
> 
> 
>   ---------------------------------------------------------------------
>   To unsubscribe, e-mail: [EMAIL PROTECTED]
>   For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to