Asim Ali

Greenhorn
+ Follow
since Nov 05, 2003
Merit badge: grant badges
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Asim Ali

Try using this way.

<s:iterator value="#it.days" status="rowstatus">
<tr>
<s:if test="#rowstatus.odd == true">
<td style="background: grey"><s roperty/></td>
</s:if>
<s:else>
<td><s roperty/></td>
</s:else>
</tr>
</s:iterator>
14 years ago
Hi ALL,
I know this is not the right forum to ask such question but haven't find any appropriate forum. I am looking for the implementation of CDISC standrad in my application. I want tell "CDISK is a new XML standard for clinical data exchange. CDISC (Clinical Data Interchange Standards Consortium) is establishing new standards for exchange, storage, archival and submission of clinical data".
If any one having any idea about this please reply.
Thanks in advance.
Asim
15 years ago
I think in ur case the best and easiest way is to use JAXB.
16 years ago
Have u solved your problem? If not then brief your problem once again.
16 years ago
Hi,

If i understand correctly you are using webservices. If yes definitely support is there for Axis in WSAD 5x. What u r doing exactly?

Asim
16 years ago
Hi,

Information u had provided, is not sufficent.


Asim
16 years ago
Hi,

Please calarify ur question. What is that project?

Asim
16 years ago
Hi all,
i am using webservices with Axis. I am using SOAP with attachment in one of my webservice for FileUpload to the database. When i deploy application and webservices both on websphere 5.1.0.5 it is running fine but when i deploy application on tomcat5 and access webservice from websphere. It give the following error in the log on websphere.

If any one of you having any idea regards to this please help me.


TRAS0014I: The following exception was logged AxisFault faultCode: {http://xml.apache.org/axis/}Server.userException faultString: org.xml.sax.SAXException: Deserializing parameter 'dh': could not find deserializer for type {WSUploadAttachmentImpl}DataHandler faultActor: null faultDetail: stackTrace: org.xml.sax.SAXException: Deserializing parameter 'dh': could not find deserializer for type {WSUploadAttachmentImpl}DataHandler at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:276) at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:893) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:200) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:684) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:207) at org.apache.axis.message.RPCElement.getParams(RPCElement.java:265) at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:190) at org.apache.axis

Thanks,
Asim
16 years ago
If i am not wrong u should brief your problem, nobody here will understand the issue. What is the version of JDK and u r installing on which operating System.
17 years ago
Hi All,

I am facing this problem in webservice using DataHandler.

Thanks for any Idea.

---------------
AXIS error
Sorry, something seems to have gone wrong... here are the details:

Fault - org.apache.axis.InternalException: java.lang.Exception: The OperationDesc for uploadAttachment was not syncronized to a method of com.aithent.dm.services.WSUploadAttachmentImpl.
AxisFault
faultCode: {http://xml.apache.org/axis/}Server.userException
faultString: org.apache.axis.InternalException: java.lang.Exception: The OperationDesc for uploadAttachment was not syncronized to a method of com.aithent.dm.services.WSUploadAttachmentImpl.
faultActor: null
faultDetail:
stackTrace: org.apache.axis.InternalException: java.lang.Exception: The OperationDesc for uploadAttachment was not syncronized to a method of com.aithent.dm.services.WSUploadAttachmentImpl.
at org.apache.axis.description.ServiceDesc.syncOperationToClass(ServiceDesc.java:671)
at org.apache.axis.description.ServiceDesc.getSyncedOperationsForName(ServiceDesc.java:925)
at org.apache.axis.description.ServiceDesc.loadServiceDescByIntrospectionRecursive(ServiceDesc.java:801)
at org.apache.axis.description.ServiceDesc.loadServiceDescByIntrospection(ServiceDesc.java:768)
at org.apache.axis.providers.java.JavaProvider.initServiceDesc(JavaProvider.java:551)
at org.apache.axis.handlers.soap.SOAPService.getInitializedServiceDesc(SOAPService.java:322)
at org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java:477)
at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:312)
at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:298)
at org.apache.axis.deployment.wsdd.WSDDDeployment.getService(WSDDDeployment.java:492)
at org.apache.axis.configuration.FileProvider.getService(FileProvider.java:262)
at org.apache.axis.AxisEngine.getService(AxisEngine.java:275)
at org.apache.axis.MessageContext.setTargetService(MessageContext.java:586)
at org.apache.axis.handlers.http.URLMapper.invoke(URLMapper.java:89)
at org.apache.axis.handlers.http.URLMapper.generateWSDL(URLMapper.java:97)
at org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:72)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:143)
at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:456)
at org.apache.axis.transport.http.AxisServlet.processWsdlRequest(AxisServlet.java:428)
at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:280)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:335)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:555)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)

------------
17 years ago
Nimish,
When u use Administrative console for deploying and EAR/WAR/JAR, by default ur application installed in <WebSphere\AppServer\Installedapps....> u can use this location for changing ur application classes/files or copying new files.

Asim
17 years ago
Hi All,

I am working on webservices deployed on websphere. All my web services are working fine but soap attachment service is not working. If u know this is a problem of DataHandler. See the exception on the log when i am calling the webservice. Thanks for any help.

---------------------
TRAS0014I: The following exception was logged AxisFault faultCode: {http://xml.apache.org/axis/}Server.userException faultString: org.apache.axis.InternalException: java.lang.Exception: The OperationDesc for uploadAttachment was not syncronized to a method of com.aithent.dm.services.WSUploadAttachmentImpl. faultActor: null faultDetail: stackTrace: org.apache.axis.InternalException: java.lang.Exception: The OperationDesc for uploadAttachment was not syncronized to a method of com.aithent.dm.services.WSUploadAttachmentImpl. at org.apache.axis.description.ServiceDesc.syncOperationToClass(ServiceDesc.java:671) at org.apache.axis.description.ServiceDesc.getSyncedOperationsForName(ServiceDesc.java:925) at org.apache.axis.description.ServiceDesc.loadServiceDescByIntrospectionRecursive(ServiceDesc.java:801) at org.apache.axis.description.ServiceDesc.loadServiceDescByIntrospection(ServiceDesc.java:768) at org.apache.axis.providers.java.JavaProvider.initServiceDesc
-------------------
17 years ago
Hi faisal,

All jar files are executable, only thing is how u open that jar file. Do one thing when are u making jar file put main class entry in ur Manifest file.

Now select ur jar file and open it with javaw. Insh-Allah ur file gets executed.

Asim
17 years ago
Hi,

Which version u r using?
17 years ago
Hi All,

Here i am pasting exception occurs when accesing my application deployed on WebSphere. Some time it works fine and some time it gives critical exceptions below. One more thing i would like to state that it is working fine on tomcat5. All suggestions and comments are welcome. Thanks in advance.

=========================
RasMessagesjava.net.SocketException: Software caused connection abort: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:112)
at java.net.SocketOutputStream.write(SocketOutputStream.java:156)
at java.io.BufferedOutputStream.write(BufferedOutputStream.java:121)
at sun.nio.cs.StreamEncoder$ConverterSE.implWrite(StreamEncoder.java(Compiled Code))
at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:182)
at java.io.OutputStreamWriter.write(OutputStreamWriter.java:202)
at java.io.BufferedWriter.flushBuffer(BufferedWriter.java(Compiled Code))
at java.io.BufferedWriter.write(BufferedWriter.java(Compiled Code))
at java.io.Writer.write(Writer.java:143)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:280)
at org.apache.axis.Message.writeTo(Message.java:441)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:485)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:127)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182)
at org.apache.axis.client.Call.invokeEngine(Call.java:2113)
at org.apache.axis.client.Call.invoke(Call.java:2102)
at org.apache.axis.client.Call.invoke(Call.java:1851)
at org.apache.axis.client.Call.invoke(Call.java:1777)
at org.apache.axis.client.Call.invoke(Call.java:1315)
at com.aithent.dm.web.wsclient.WSUploadClient.addFile(WSUploadClient.java:47)
at com.aithent.dm.web.struts.common.UserDelegate.addFile(UserDelegate.java:29)
at com.aithent.dm.web.struts.action.upload.AddFileAction.execute(AddFileAction.java:59)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:555)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:443)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
==============
17 years ago