This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Web Services and the fly likes Jax-rpc Webservice with JDK 1.6 problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Jax-rpc Webservice with JDK 1.6 problem" Watch "Jax-rpc Webservice with JDK 1.6 problem" New topic
Author

Jax-rpc Webservice with JDK 1.6 problem

Ramakrishna Kandukuri
Greenhorn

Joined: Apr 24, 2012
Posts: 2
Hi folks,

I got a problem with JAX-RPC Webservice. I am a service provider, As I created one JAX-RPC Webservice with JDK 1.5 in my system and it is working fine in my system.

and client wants to change the Java Version to JDK 1.6 so I Just un installed JDK 1.5 from my local system and installed JDK 1.6 Version. So right now JDK 1.6 java version in my local system.

Now I am deploying JAX-RPC Web service by clicking ant build, it builds properly and generated some aaa.war file. So for testing i Used SOAP UI 1.6 tool kit. in that screen i entered user name and

pass word for credential test. than it works properly in the back end means in the server out put coming properly but in SOAP UI tool it is not displaying required results getting ArrayStoreException.

I am using Jboss-4.0.2 server, JAX-RPC and JDK 1.6 Version. Please find the exception list below for your response. Please response as quickly as possible.

16:30:22,958 INFO [LogTracer] (L:null, LU:null) - BusinessHandler : Business Handler======: : com.qfund.bl.crossbrand.CrossBrandHandler
16:30:22,961 INFO [LogTracer] (L:null, LU:null) - DataAccessManager : insert : Data Passed
Value for 0 Argument= 464654656
Value for 1 Argument= test
Value for 2 Argument= test122*****
16:30:22,963 INFO [LogTracer] (L:null, LU:null) - DataAccessManager : insert : *****INSERT INTO CROSS_BRAND_REQUEST( SSN,USER_NAME,PASS_WORD) VALUES(?,?,? )*****
16:30:23,062 INFO [LogTracer] (L:null, LU:null) - DataAccessManager : insert : No of rows inserted:1
16:30:23,070 INFO [LogTracer] (L:null, LU:null) - DataAccessManager : insert : Query Elapsed time0.108sec
16:30:23,072 INFO [LogTracer] (L:null, LU:null) - DataAccessManager : select : ***** SELECT USER_NAME,PASS_WORD FROM CROSS_BRAND_CREDENTIALS WHERE USER_NAME LIKE ? AND SS_WORD LIKE ? *****
16:30:23,082 INFO [LogTracer] (L:null, LU:null) - DataAccessManager : select : Data Passed
Value for 0 Argument= test
Value for 1 Argument= test122*****
16:30:23,238 INFO [LogTracer] (L:null, LU:null) - DataAccessManager : select : No of rows returned:0
16:30:23,239 INFO [LogTracer] (L:null, LU:null) - DataAccessManager : select : Query Elapsed time0.168sec
16:30:23,244 INFO [STDOUT] before inserting response =========>>
16:30:23,245 INFO [STDOUT] *** lookupResDetEntity : null
16:30:23,245 INFO [STDOUT] *** StatusCode : -1
16:30:23,245 INFO [STDOUT] *** StatusDesc : Errors Found !
16:30:23,246 INFO [STDOUT] *** allErrors : com.qfund.ml.jaxrpcwebservices.types.crossbrandservice.ErrorsEntity@18414fa
16:30:23,246 INFO [STDOUT] *** ErrorCode : -4
16:30:23,247 INFO [STDOUT] *** ErrorDesc : Invalid Credentials !
16:30:23,247 INFO [STDOUT] *** Final SSN : 464654656
16:30:23,248 INFO [LogTracer] (L:null, LU:null) - DataAccessManager : insert : Data Passed
Value for 0 Argument= 464654656
Value for 1 Argument=
Value for 2 Argument=
Value for 3 Argument= null
Value for 4 Argument= null
Value for 5 Argument= null
Value for 6 Argument= null
Value for 7 Argument= -1
Value for 8 Argument= Errors Found !
Value for 9 Argument= -4
Value for 10 Argument= Invalid Credentials !*****
16:30:23,249 INFO [LogTracer] (L:null, LU:null) - DataAccessManager : insert : *****INSERT INTO CROSS_BRAND_RESPONSE( S
SN,FIRST_NAME,LAST_NAME,ST_CODE,ST_PHONE_NUM,TOTAL_DUE,CHECK_STATUS_ID,STATUS_CODE,STATUS_DESC,ERROR_CODE,ERROR_DESC) VA
LUES(?,?,?,?,?,?,?,?,?,?,? )*****
16:30:23,306 INFO [LogTracer] (L:null, LU:null) - DataAccessManager : insert : No of rows inserted:1
16:30:23,307 INFO [LogTracer] (L:null, LU:null) - DataAccessManager : insert : Query Elapsed time0.059sec
16:30:23,308 INFO [STDOUT] TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
16:30:23,309 INFO [STDOUT] after inserting response =========>>
16:30:23,310 INFO [STDOUT] responseBean::::::::::::com.qfund.ml.crossbrand.CrossBrandResponseBean@172be2a
16:30:23,390 INFO [STDOUT] java.lang.ArrayStoreException
16:30:23,391 INFO [STDOUT] at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)
16:30:23,391 INFO [STDOUT] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)
16:30:23,391 INFO [STDOUT] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
16:30:23,392 INFO [STDOUT] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
16:30:23,392 INFO [STDOUT] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
16:30:23,393 INFO [STDOUT] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
16:30:23,393 INFO [STDOUT] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
16:30:23,393 INFO [STDOUT] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
16:30:23,394 INFO [STDOUT] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
16:30:23,394 INFO [STDOUT] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
16:30:23,394 INFO [STDOUT] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
16:30:23,394 INFO [STDOUT] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
16:30:23,395 INFO [STDOUT] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
16:30:23,395 INFO [STDOUT] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
16:30:23,395 INFO [STDOUT] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
16:30:23,396 INFO [STDOUT] at org.jboss.invocation.MarshalledValue.get(MarshalledValue.java:78)
16:30:23,396 INFO [STDOUT] at org.jboss.invocation.InvokerInterceptor.invokeMarshalled(InvokerInterceptor.java:203)

16:30:23,396 INFO [STDOUT] at org.jboss.invocation.MarshallingInvokerInterceptor.invoke(MarshallingInvokerIntercept
or.java:35)
16:30:23,396 INFO [STDOUT] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
16:30:23,397 INFO [STDOUT] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
16:30:23,397 INFO [STDOUT] at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.ja
va:97)
16:30:23,397 INFO [STDOUT] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
16:30:23,397 INFO [STDOUT] at $Proxy1110.process(Unknown Source)
16:30:23,398 INFO [STDOUT] at com.qfund.wl.jaxrpcwebservices.crossbrandservice.CrossBrandServiceWSImplementation.lo
okup(CrossBrandServiceWSImplementation.java:59)
16:30:23,398 INFO [STDOUT] at com.qfund.wl.jaxrpcwebservices.crossbrandservice.CrossBrandServiceWS_Tie.invoke_looku
p(CrossBrandServiceWS_Tie.java:54)
16:30:23,398 INFO [STDOUT] at com.qfund.wl.jaxrpcwebservices.crossbrandservice.CrossBrandServiceWS_Tie.processingHo
ok(CrossBrandServiceWS_Tie.java:123)
16:30:23,398 INFO [STDOUT] at com.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:333)
16:30:23,399 INFO [STDOUT] at com.sun.xml.rpc.server.http.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate.java:4
48)
16:30:23,399 INFO [STDOUT] at com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:102)
16:30:23,399 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
16:30:23,399 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
16:30:23,400 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCha
in.java:252)
16:30:23,400 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
173)
16:30:23,400 INFO [STDOUT] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
16:30:23,400 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCha
in.java:202)
16:30:23,401 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
173)
16:30:23,401 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
16:30:23,401 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
16:30:23,401 INFO [STDOUT] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:3
9)
16:30:23,401 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValv
e.java:153)
16:30:23,401 INFO [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
16:30:23,401 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
16:30:23,401 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
16:30:23,402 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
16:30:23,402 INFO [STDOUT] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
16:30:23,402 INFO [STDOUT] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
16:30:23,402 INFO [STDOUT] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Htt
p11Protocol.java:744)
16:30:23,402 INFO [STDOUT] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
16:30:23,402 INFO [STDOUT] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:1
12)
16:30:23,402 INFO [STDOUT] at java.lang.Thread.run(Thread.java:619)
16:30:23,402 INFO [STDOUT] 33333333333333333333333333333
16:30:23,403 INFO [STDOUT] 4444444444444444444444444444
 
jQuery in Action, 2nd edition
 
subject: Jax-rpc Webservice with JDK 1.6 problem