I am admittedly a web service beginner and I'm trying to write my first client program - the web service has been provided by a 3rd party. I used the wsdl2java maven2 plugin to generate my stub and I've worked my way through a number of issues due to runtime dependencies. That said, I'm now blocked by the following XmlStreamException. Due to some of the other problems that I already worked through, I'm wondering if I am missing another dependency. Of course, I could be way off base - remember, I'm a beginner.

Anyway, here's a stack trace. Any help is very much appreciated,

Tom


2006-12-15 15:19:15,906 INFO HttpMethodDirector executeWithRetry - I/O exception (org.apache.axis2.AxisFault) caught when processing request: null; nested exception is:
   javax.xml.stream.XMLStreamException
2006-12-15 15:19:15,921 INFO HttpMethodDirector executeWithRetry - Retrying request 2006-12-15 15:19:16,281 INFO HttpMethodDirector executeWithRetry - I/O exception (org.apache.axis2.AxisFault) caught when processing request: null; nested exception is:
   javax.xml.stream.XMLStreamException
2006-12-15 15:19:16,281 INFO HttpMethodDirector executeWithRetry - Retrying request 2006-12-15 15:19:16,578 INFO HttpMethodDirector executeWithRetry - I/O exception (org.apache.axis2.AxisFault) caught when processing request: null; nested exception is:
   javax.xml.stream.XMLStreamException
2006-12-15 15:19:16,593 INFO HttpMethodDirector executeWithRetry - Retrying request
org.apache.axis2.AxisFault: null; nested exception is:
   javax.xml.stream.XMLStreamException; nested exception is:
   org.apache.axis2.AxisFault: null; nested exception is:
   javax.xml.stream.XMLStreamException; nested exception is:
   org.apache.axis2.AxisFault: null; nested exception is:
   javax.xml.stream.XMLStreamException; nested exception is:
   org.apache.axis2.AxisFault: null; nested exception is:
   javax.xml.stream.XMLStreamException
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
   at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:670)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:365) at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:295) at com.firstbest.underwriting.rating.netrate.axis.RatingServiceStub.CalculateQuote(RatingServiceStub.java:114) at com.firstbest.underwriting.rating.netrate.axis.CalculateQuoteTest.test_axis(CalculateQuoteTest.java:25)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at junit.framework.TestCase.runTest(TestCase.java:154)
   at junit.framework.TestCase.runBare(TestCase.java:127)
   at junit.framework.TestResult$1.protect(TestResult.java:106)
   at junit.framework.TestResult.runProtected(TestResult.java:124)
   at junit.framework.TestResult.run(TestResult.java:109)
   at junit.framework.TestCase.run(TestCase.java:118)
   at junit.framework.TestSuite.runTest(TestSuite.java:208)
   at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Caused by: org.apache.axis2.AxisFault: null; nested exception is:
   javax.xml.stream.XMLStreamException; nested exception is:
   org.apache.axis2.AxisFault: null; nested exception is:
   javax.xml.stream.XMLStreamException
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:340) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:205)
   ... 23 more
Caused by: org.apache.axis2.AxisFault: null; nested exception is:
   javax.xml.stream.XMLStreamException
at org.apache.axis2.transport.http.SOAPOverHTTPSender$AxisSOAPRequestEntity.writeRequest(SOAPOverHTTPSender.java:246) at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:495) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1973) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:534) at org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSender.java:119) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:334)
   ... 24 more
Caused by: javax.xml.stream.XMLStreamException
   at com.bea.xml.stream.XMLWriterBase.flush(XMLWriterBase.java:444)
at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:119) at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:412) at org.apache.axis2.transport.http.SOAPOverHTTPSender$AxisSOAPRequestEntity.handleOMOutput(SOAPOverHTTPSender.java:190) at org.apache.axis2.transport.http.SOAPOverHTTPSender$AxisSOAPRequestEntity.writeRequest(SOAPOverHTTPSender.java:232)
   ... 34 more


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to