axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay Kumar Gour" <aja...@s7solutions.com>
Subject Re: org.apache.axis2.AxisFault: Exception occurred while trying to invoke service method trackItemsAtPort
Date Fri, 27 Jul 2007 11:59:35 GMT

Can you send the code of your Tracker bean class?


On Fri, 27 Jul 2007 04:10:28 -0700 (PDT), ruchira  
<ruchira.sharma@ecanarys.com> wrote:

>
> Hi, Can someone help me find out the error in this simple client  
> program? I'm
> using axis2server.bat included in the Axis2 1.2,
>    I'm getting the following exception:
> org.apache.axis2.AxisFault: Exception occurred while trying to invoke
> service method trackItemsAtPort
> 	at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:271)
> 	at
> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:202)
> 	at
> com.canarys.rfid.webservice.service.SystemControlWSStub.trackItemsAtPort(SystemControlWSStub.java:507)
> 	at
> com.canarys.rfid.webservice.service.SystemControlAndTrackingClient.main(SystemControlAndTrackingClient.java:112)
>
> my code part is
>
> try {
> 			SystemControlWSStub trackItematPortStub=new SystemControlWSStub();
> 			SystemControlWSStub.TrackItemsAtPort trackItemAtPortRequest=new
> SystemControlWSStub.TrackItemsAtPort();
> 			trackItemAtPortRequest.setPortalID("1");
> 			Tracker t = new Tracker();
> 			t.setClientID("kkk");
> 			t.setName("jram");
> 			t.setTrackerID("2");
> 			trackItemAtPortRequest.setTracker(t);
> 			TrackItemsAtPortResponse
> trackItemsAtPortResponse=trackItematPortStub.trackItemsAtPort(trackItemAtPortRequest);
> 			System.out.println("call_Track_Items_At_Port_Response
> :"+trackItemsAtPortResponse.get_return());
> 		} catch (AxisFault e) {
> 			e.printStackTrace();
> 		} catch (RemoteException e) {
> 			e.printStackTrace();
> 		} catch (TrackItemsAtPortFaultException e) {
> 			e.printStackTrace();
> 		}
>
> Regards
> Ruchira



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


Mime
View raw message