srinivas kumarr

Greenhorn
+ Follow
since Dec 16, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by srinivas kumarr

Gettign this exception while calling the webservice from the client




WSDL:
13 years ago
I am constantly getting this exception while generating service code using axis2






POM file:



Any help is appreciated.
13 years ago
Getting this exception always even my POM looks to have this notfound class in one of its jars. Am I missing something? Please suggest




POM FILE:

13 years ago
How to do this?
start your Java virtual machine with Spring's agent: -javaagent:org.springframework.instrument.jar

I am using eclipse and running simple java application without server

13 years ago
I have built jar using maven. Whenever trying to run the main class from the eclipse id, I am getting the following exception

13 years ago
I am getting this on the console of the QA environment but the same code is working fine the DEV environment. Not able to find the reason?

javax.xml.ws.WebServiceException: javax.xml.bind.MarshalException
- with linked exception:
[com.ctc.wstx.exc.WstxIOException: Broken pipe]
at com.sun.xml.ws.message.jaxb.JAXBMessage.writePayloadTo(JAXBMessage.java:322)
at com.sun.xml.ws.message.AbstractMessageImpl.writeTo(AbstractMessageImpl.java:142)
at com.sun.xml.ws.encoding.StreamSOAPCodec.encode(StreamSOAPCodec.java:108)
at com.sun.xml.ws.encoding.SOAPBindingCodec.encode(SOAPBindingCodec.java:258)
at com.sun.xml.ws.transport.http.HttpAdapter.encodePacket(HttpAdapter.java:320)
Truncated. see log file for complete stacktrace
javax.xml.bind.MarshalException
- with linked exception:
[com.ctc.wstx.exc.WstxIOException: Broken pipe]
at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:286)
at com.sun.xml.bind.v2.runtime.BridgeImpl.marshal(BridgeImpl.java:90)
at com.sun.xml.bind.api.Bridge.marshal(Bridge.java:107)
at com.sun.xml.ws.message.jaxb.JAXBMessage.writePayloadTo(JAXBMessage.java:317)
at com.sun.xml.ws.message.AbstractMessageImpl.writeTo(AbstractMessageImpl.java:142)
Truncated. see log file for complete stacktrace
com.ctc.wstx.exc.WstxIOException: Broken pipe
at com.ctc.wstx.sw.BaseStreamWriter.writeCharacters(BaseStreamWriter.java:511)
at com.sun.xml.bind.v2.runtime.output.XMLStreamWriterOutput.text(XMLStreamWriterOutput.java:150)
at com.sun.xml.bind.v2.runtime.XMLSerializer.leafElement(XMLSerializer.java:321)
at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$1.writeLeafElement(RuntimeBuiltinLeafInfoImpl.java:210)
at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$1.writeLeafElement(RuntimeBuiltinLeafInfoImpl.java:197)
Truncated. see log file for complete stacktrace
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at com.certicom.io.OutputSSLIOStream.write(Unknown Source)
at com.certicom.tls.record.WriteHandler.flushOutput(Unknown Source)
Truncated. see log file for complete stacktrace




and also

Couldn't create SOAP message due to exception: javax.xml.ws.WebServiceException: com.ctc.wstx.exc.WstxParsingException: Undeclared namespace prefix "jpmc"
at [row,col {unknown-source}]: [1,809]
com.sun.xml.ws.protocol.soap.MessageCreationException: Couldn't create SOAP message due to exception: javax.xml.ws.WebServiceException: com.ctc.wstx.exc.WstxParsingException: Undeclared namespace prefix "jpmc"
at [row,col {unknown-source}]: [1,809]
at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:292)
at com.sun.xml.ws.transport.http.HttpAdapter.decodePacket(HttpAdapter.java:276)
at com.sun.xml.ws.transport.http.HttpAdapter.access$500(HttpAdapter.java:93)
at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:432)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:134)
at weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke.run(HttpServletAdapter.java:272)
at weblogic.wsee.jaxws.HttpServletAdapter.post(HttpServletAdapter.java:185)
at weblogic.wsee.jaxws.JAXWSServlet.doPost(JAXWSServlet.java:180)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at weblogic.wsee.jaxws.JAXWSServlet.service(JAXWSServlet.java:64)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.jpmc.ts.session.filters.PostSessionCallbackFilter.doFilter(PostSessionCallbackFilter.java:134)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.jpmc.ts.session.filters.PreSessionCallbackFilter.doFilter_aroundBody0(PreSessionCallbackFilter.java:98)
at com.jpmc.ts.session.filters.PreSessionCallbackFilter$AjcClosure1.run(PreSessionCallbackFilter.java:1)
at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:101)
at com.jpmc.ts.log.core.aspect.trace.TraceAspect.logTrace(TraceAspect.java:54)
at com.jpmc.ts.session.filters.PreSessionCallbackFilter.doFilter(PreSessionCallbackFilter.java:51)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.jpmc.ts.pymts.simulation.filter.SimulationFilter.doFilter(SimulationFilter.java:103)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

13 years ago
There is a performance issue with the web services which is reported recently. The Service method i.e. in my case AccountBalanceService.initFactory is taking 380 milliseconds while the stub method is taking i.e. in my case availableBalanceServiceStub.availableBalance is taking 2 seconds. QA people reported about why it is taking more time while the service method is quick. What might be the cause here? For me, it's seems that it might be the networking issues, marshalling and unmarshalling of the soap files and the JVM settings on the machines.
13 years ago