Sitemap

Amicuk Programming Answers

Org.apache.axis2.AxisFault: samples.quickstart.service.axiom.StockQuoteServ

-0001-11-30   Views:0

Advertisement

I am trying to run the axiom StockQuoteService sample as provided in the axis2-1.2 download. the AXIOMClient.java runs fine under tomcat 6.x and jre 6.x on my PC. After that I try to deploy the StockQuoteService.aar file on the tomcat running in a so

I am trying to run the axiom StockQuoteService sample as provided in the axis2-1.2 download. the AXIOMClient.java runs fine under tomcat 6.x and jre 6.x on my PC.
After that I try to deploy the StockQuoteService.aar file on the tomcat running in a solaris m/c. The version of tomcat, jre are the same. I matched all the axis2*.jars and the axiom-*.jars in the axis2/lib and tomcat/lib. I am able to have the access to the services page (http://<ip>:8080/axis2/services.., and display the wsdl file for the StockQuoteService using the URL.
But When I try to use the service using the AXIOMClient.java, it gives the following exception:
[java] send getPricePayload: <tns:getPrice xmlns:tns="http://quickstart.samples/xsd"><tns:symbol>WSO</tns:symbol></tns:getPrice>
[java] send updatePayload: <tns:update xmlns:tns="http://quickstart.samples/xsd"><tns:symbol>WSO</tns:symbol><tns:price>123.42</tns:price></tns:update>
[java] done
[java] org.apache.axis2.AxisFault: samples.quickstart.service.axiom.StockQuoteService
[java] at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:434)
[java] at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:373)
[java] at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)
[java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:520)
[java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:500)
[java] at samples.quickstart.clients.AXIOMClient.main(AXIOMClient.java:73)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[java] at java.lang.reflect.Method.invoke(Unknown Source)
[java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
[java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
[java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:764)
[java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:218)
[java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:132)
[java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:105)
[java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[java] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[java] at java.lang.reflect.Method.invoke(Unknown Source)
[java] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[java] at org.apache.tools.ant.Task.perform(Task.java:348)
[java] at org.apache.tools.ant.Target.execute(Target.java:357)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[java] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[java] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[java] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[java] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[java] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[java] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[java] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
Both the client and the server code is unchanged. The application runs fine on my PC but gives the above error on the solaris m/c. Can somebody give me some pointers what to look for?
Thanks in advance
Deepak

The replay answer
Advertisement
I am also facing the same problem. can any body help us?
Thanks
jaya

Go to See the other 2 answers

Org.apache.axis2.AxisFault: samples.quickstart.service.axiom.StockQuoteServ

Category:DefaultRelease time:-0001-11-30Views:130

I am trying to run the axiom StockQuoteService sample as provided in the axis2-1.2 download. the AXIOMClient.java runs fine under tomcat 6.x and jre 6.x on my PC. After that I try to deploy the StockQuoteService.aar file on the tomcat running in a so[More]

Exception (org.apache.axis2.AxisFault: Server) when accessing Web-Service

Category:DefaultRelease time:2015-10-11Views:130

Hi all, I have read already some interesting posts on Java implementation for Oracle CoD Web Services. Somehow I am stuck and can't find a way out. I try to access the LeadQuery command via the following code:           String sessionCookie = logon([More]

Org.apache.axis2.AxisFault: The service cannot be found for the endpoint

Category:DefaultRelease time:-0001-11-30Views:130

Hi Team, I'm getting following error while runnig WebServices [ERROR] The service cannot be found for the endpoint reference (EPR) /TestServices/services org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) /TestSe[More]

Apache.axis2.AxisFault: com.ctc.wstx.exc.WsUnexpCharExcep: Unexpted char ""

Category:DefaultRelease time:-0001-11-30Views:130

Dear All, I amfacing the following Exception when trying to call a web service to contact, i generated stubs using Apache axis2-1.5.4 and am using eclipse Galelio org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected ch[More]

Exception in thread "main" org.apache.axis2.AxisFault: Error in extracting

Category:DefaultRelease time:-0001-11-30Views:130

I am getting this exception when I call the web service from the client. Please help me here. Exception in thread "main" org.apache.axis2.AxisFault: Error in extracting message properties      at org.apache.rampart.handler.RampartSender.invoke(R[More]

Exception in thread "main" org.apache.axis2.AxisFault: Exception occurred w

Category:DefaultRelease time:-0001-11-30Views:130

Hi, My webservice is public List getRes(int a, int b) throws Exception { List list = new ArrayList(); list.add("ddd"); list.add("ddd"); list.add("ddd"); System.out.println(list); return list; I am using axis2 code generator t[More]

Crm OnDemand error -- org.apache.axis2.AxisFault: Client

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I am having some problem with the Administrative Services Web service of crm Ondemand . I want to Read the CustomRecordTypes from my crm instance through the web services. I have downloaded the WSDL for that from the crm sites Administrative Serv[More]

Bad Archive return org.apache.axis2.AxisFault: Deserialisation failed

Category:DefaultRelease time:-0001-11-30Views:130

We tried to generate stub using Axis2-1.5 tool from SAP WSDL file. We developed the Java client to consume the Web Services with Stub. When we tried to connect and send the required data received the following error. Bad Archive return org.apache.axi[More]

Org.apache.axis2.AxisFault: Read timed out

Category:DefaultRelease time:-0001-11-30Views:130

We have web service client generated from wsdl2jave of axis2-1.4.1, we are getting an error on calling webservice operation,  i have manually set timeout at one of the operation invocation, that looks fine now, but we have call so many places, do i n[More]

Org.apache.axis2.AxisFault: namespace mismatch require

Category:DefaultRelease time:-0001-11-30Views:130

hello Friends, I am doing an Axis2 WebService, i have done every thing like created .arr, Depoyed , i have generated stub , i wrote client every thing is working fine but when i run my client it is showing the following error. org.apache.axis2.AxisFa[More]

Axis2.AxisFault: Connection aborted by peer

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I developed a web service cliente using axis2 but I'm getting this error: org.apache.axis2.AxisFault: recv failed: Connection aborted by peer Does anyone know what this means? thanks in advance, Manuel LeiriaBijush.p.Jose <[email protected],com>[More]

Hot
Hi All, We are facing an issue in Briefing Book in OBIEE11g. When we click on PDF link of a briefing book, we get an error saying: A fatal error occurred while processing the request. The server responded with: The system cannot find the path specifi [More]
Hello We have changed the vendor''s reconciliation account.....now we have to transfer the balance of open items....from old recon a/c to new one.......... ....what is the best way to do this....... regardsIt says: A balance sheet eadjustment distrib [More]
Hi, I have one of the issue in Travel regarding posting of FI. Got an error in PRRW saying "Posting with ZEROs Posted". Right now trip status is transfer to fI but when i double click on PRRW error it is showing blank screen. May i know why it i [More]
helo, i tried to make an windows installer packge for my jar file using advance installer. There is one option for including JRE with this package. i included jre package also.otherwise ,the applicaiton will not work in client side,if java is not ins [More]
Whenever I open iPhoto it shows my iPhone as mounted. It does this even when the iPhone is not connected. The iPhone bar is automatically selected and shows "phantom" photo icons with file names in the window. When a phantom is selected, the inf [More]
When clicking on a link in AppleMail, after a recent update, opens a tab in a random window or perhaps the top window in Safari.  Until this update, clicking on the link used to open a new window.  This is driving me nuts.  I am getting links from ma [More]
I had to reinstall from a time machine backup. Now I get a message  saying "Licensing for this product has stopped working". This product has encountered a problem which requires that you restart your computer before it can be launched. If you c [More]
Dose the Partition by clause increase the perfomance then the normal group by clause ?? thanks, Raj.Analytic queries != Aggregate queries Therefore it depends on what you're doing as to whether you'd want to use Analytic vs Aggregate queries. Perform [More]
Hello Members, i have a problem with Fault Monitoring Device Administration. i have two devices which stuck in learning mode for almost forever. When the job is done the devices report an error SNMP timeout. I run a credential verfication job and the [More]
I have a boatload of movies, some of which are in excess of 300mb.  I use these in a projector.  I've been using this for years with no problems. However (yeah, the trusty, proverbial "however") - I am trying to modify an existing movie.  It's a [More]