<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; xmlns:tns="http://www.netrate.com/webservices"; xmlns:s="http://www.w3.org/2001/XMLSchema"; xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; targetNamespace="http://www.netrate.com/webservices"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>
 <wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://www.netrate.com/webservices";>
     <s:element name="CalculateQuote">
       <s:complexType>
         <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="QuoteXML" type="s:string"/>
         </s:sequence>
       </s:complexType>
     </s:element>
     <s:element name="CalculateQuoteResponse">
       <s:complexType>
         <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="CalculateQuoteResult" type="s:string"/>
         </s:sequence>
       </s:complexType>
     </s:element>
   </s:schema>
 </wsdl:types>
 <wsdl:message name="CalculateQuoteSoapIn">
   <wsdl:part name="parameters" element="tns:CalculateQuote"/>
 </wsdl:message>
 <wsdl:message name="CalculateQuoteSoapOut">
   <wsdl:part name="parameters" element="tns:CalculateQuoteResponse"/>
 </wsdl:message>
 <wsdl:portType name="RatingServiceSoap">
   <wsdl:operation name="CalculateQuote">
     <wsdl:input message="tns:CalculateQuoteSoapIn"/>
     <wsdl:output message="tns:CalculateQuoteSoapOut"/>
   </wsdl:operation>
 </wsdl:portType>
 <wsdl:binding name="RatingServiceSoap" type="tns:RatingServiceSoap">
   <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
   <wsdl:operation name="CalculateQuote">
<soap:operation soapAction="http://www.netrate.com/webservices/CalculateQuote"; style="document"/>
     <wsdl:input>
       <soap:body use="literal"/>
     </wsdl:input>
     <wsdl:output>
       <soap:body use="literal"/>
     </wsdl:output>
   </wsdl:operation>
 </wsdl:binding>
 <wsdl:binding name="RatingServiceSoap12" type="tns:RatingServiceSoap">
   <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
   <wsdl:operation name="CalculateQuote">
<soap12:operation soapAction="http://www.netrate.com/webservices/CalculateQuote"; style="document"/>
     <wsdl:input>
       <soap12:body use="literal"/>
     </wsdl:input>
     <wsdl:output>
       <soap12:body use="literal"/>
     </wsdl:output>
   </wsdl:operation>
 </wsdl:binding>
 <wsdl:service name="RatingService">
   <wsdl:port name="RatingServiceSoap" binding="tns:RatingServiceSoap">
<soap:address location="http://www.netratedemo.com/RatingService/RatingService.asmx"/>
   </wsdl:port>
   <wsdl:port name="RatingServiceSoap12" binding="tns:RatingServiceSoap12">
<soap12:address location="http://www.netratedemo.com/RatingService/RatingService.asmx"/>
   </wsdl:port>
 </wsdl:service>
</wsdl:definitions>

Martin Gainty wrote:
please post the wsdl
Thank You
--------------------------------------------------------------------------- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited.

----- Original Message ----- From: "Tom Muldoon" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, December 16, 2006 7:03 PM
Subject: AxisFault: null; nexted exception is: XmlStreamException

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]

>

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

Reply via email to