You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Dhananjay Makwana <ma...@semandex.net> on 2006/07/23 01:26:57 UTC

Newbie: XMLStreamException: end reached! error

Hi, 

I have been trying to write a client to the web service located at 
https://www.aislive.com/AISAdmin/AISLiveGateway/GatewayService2.asmx
The WSDL file is at the end of this message. Running one of the method tests
fails with following exception.

I tried googling for this error but could not get anything. Searching within
the archives of this list did not turn up anything. I am using axis2 1.0
release. Since I wanted the HTTPTransportProperties.BasicAuthentication
class, I am using axis2-SNAPSHOT.jar from nightly snapshot of July 12, 2006
(instead of axis2-1.0.jar). 

I am using xmlbeans binding and generating sync style code using WSDL2Java
tool. 

Thanks in advance, 
-Jay

org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException: end
reached!
	at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:206)
	at
org.apache.axiom.om.impl.llom.OMStAXWrapper.updateNextNode(OMStAXWrapper.jav
a:929)
	at
org.apache.axiom.om.impl.llom.OMStAXWrapper.<init>(OMStAXWrapper.java:194)
	at
org.apache.axiom.om.impl.llom.OMElementImpl.getXMLStreamReader(OMElementImpl
.java:638)
	at
org.apache.axiom.om.impl.llom.OMElementImpl.getXMLStreamReaderWithoutCaching
(OMElementImpl.java:621)
	at
org.apache.axiom.om.impl.util.OMSerializerUtil.serializeByPullStream(OMSeria
lizerUtil.java:314)
	at
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.
java:786)
	at
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMEl
ementImpl.java:809)
	at
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.
java:780)
	at
org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SOAPEnvel
opeImpl.java:171)
	at
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMEl
ementImpl.java:809)
	at
org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java
:381)
	at
org.apache.axis2.transport.http.SOAPOverHTTPSender$AxisSOAPRequestEntity.han
dleOMOutput(SOAPOverHTTPSender.java:197)
	at
org.apache.axis2.transport.http.SOAPOverHTTPSender$AxisSOAPRequestEntity.wri
teRequest(SOAPOverHTTPSender.java:233)
	at
org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody
(EntityEnclosingMethod.java:495)
	at
org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.jav
a:1973)
	at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993
)
	at
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethod
Director.java:397)
	at
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDir
ector.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(AbstractHTT
PSender.java:654)
	at
org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSender.j
ava:115)
	at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithC
ommons(CommonsHTTPTransportSender.java:298)
	at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTT
PTransportSender.java:206)
	at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:652)
	at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperatio
n.java:344)
	at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOpera
tion.java:280)
	at
net.semandex.adaptor.seaweb.webservice.QPS_x0020_Influx_x0020_GatewayStub.Ge
tTargetsByIMO(QPS_x0020_Influx_x0020_GatewayStub.java:940)
	at
net.semandex.adaptor.seaweb.webservice.WebServiceTestCase.testGetShipLocatio
nByIMO(WebServiceTestCase.java:183)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	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.RemoteTestRunner.runTests(RemoteTestRu
nner.java:478)
	at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.
java:344)
	at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner
.java:196)
Caused by: javax.xml.stream.XMLStreamException: end reached!
	at org.apache.axis2.util.StreamWrapper.next(StreamWrapper.java:85)
	at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:123)
	... 44 more


----------------------------------------------------------------------------
---------------------
WSDL:
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://www.aislive.com/InfluxGateway/"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
targetNamespace="http://www.aislive.com/InfluxGateway/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:types>
    <s:schema elementFormDefault="qualified"
targetNamespace="http://www.aislive.com/InfluxGateway/">
      <s:element name="GetAllMapNames">
        <s:complexType />
      </s:element>
      <s:element name="GetAllMapNamesResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1"
name="GetAllMapNamesResult" type="tns:ArrayOfString" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="ArrayOfString">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="string"
nillable="true" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:element name="GetMostDetailedMap">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="dLat"
type="s:double" />
            <s:element minOccurs="1" maxOccurs="1" name="dLon"
type="s:double" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetMostDetailedMapResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1"
name="GetMostDetailedMapResult" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="IsAuthenticated">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="userId"
type="s:int" />
            <s:element minOccurs="0" maxOccurs="1" name="key"
type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="IsAuthenticatedResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1"
name="IsAuthenticatedResult" type="s:boolean" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="RetrieveUserInfo">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="userId"
type="s:int" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="RetrieveUserInfoResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1"
name="RetrieveUserInfoResult" type="tns:ArrayOfString" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetTargets">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="nSinceSeconds"
type="s:int" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetTargetsResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetTargetsResult"
type="tns:ArrayOfSTarget" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="ArrayOfSTarget">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="sTarget"
nillable="true" type="tns:sTarget" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="sTarget">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="nMMSI" type="s:int"
/>
          <s:element minOccurs="1" maxOccurs="1" name="nIMO" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="dAgeMinutes"
type="s:double" />
          <s:element minOccurs="1" maxOccurs="1" name="dLat" type="s:double"
/>
          <s:element minOccurs="1" maxOccurs="1" name="dLon" type="s:double"
/>
          <s:element minOccurs="1" maxOccurs="1" name="dHeading"
type="s:double" />
          <s:element minOccurs="1" maxOccurs="1" name="dSoG" type="s:double"
/>
          <s:element minOccurs="1" maxOccurs="1" name="nWidth" type="s:int"
/>
          <s:element minOccurs="1" maxOccurs="1" name="nLength" type="s:int"
/>
          <s:element minOccurs="1" maxOccurs="1" name="dDraught"
type="s:double" />
          <s:element minOccurs="0" maxOccurs="1" name="sName"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="sCallsign"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="sDestination"
type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="dtETA"
type="s:dateTime" />
          <s:element minOccurs="0" maxOccurs="1" name="sStatus"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="sVesselType"
type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="sExtraInfo"
type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:element name="GetTargetsInArea">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="nSinceSeconds"
type="s:int" />
            <s:element minOccurs="1" maxOccurs="1" name="dMinimumLat"
type="s:double" />
            <s:element minOccurs="1" maxOccurs="1" name="dMaximumLat"
type="s:double" />
            <s:element minOccurs="1" maxOccurs="1" name="dMinimumLong"
type="s:double" />
            <s:element minOccurs="1" maxOccurs="1" name="dMaximumLong"
type="s:double" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetTargetsInAreaResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1"
name="GetTargetsInAreaResult" type="tns:ArrayOfSTarget" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetTargetCount">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="nSinceSeconds"
type="s:int" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetTargetCountResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1"
name="GetTargetCountResult" type="s:int" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetTargetByMMSI">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="nMMSI" type="s:int"
/>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetTargetByMMSIResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1"
name="GetTargetByMMSIResult" type="tns:sTarget" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetTargetsByIMO">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="IMONumber"
type="s:int" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetTargetsByIMOResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1"
name="GetTargetsByIMOResult" type="tns:ArrayOfSTarget" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetTargetsByCallsign">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="callSign"
type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetTargetsByCallsignResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1"
name="GetTargetsByCallsignResult" type="tns:ArrayOfSTarget" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetTargetsByName">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="name"
type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetTargetsByNameResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1"
name="GetTargetsByNameResult" type="tns:ArrayOfSTarget" />
          </s:sequence>
        </s:complexType>
      </s:element>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="GetAllMapNamesSoapIn">
    <wsdl:part name="parameters" element="tns:GetAllMapNames" />
  </wsdl:message>
  <wsdl:message name="GetAllMapNamesSoapOut">
    <wsdl:part name="parameters" element="tns:GetAllMapNamesResponse" />
  </wsdl:message>
  <wsdl:message name="GetMostDetailedMapSoapIn">
    <wsdl:part name="parameters" element="tns:GetMostDetailedMap" />
  </wsdl:message>
  <wsdl:message name="GetMostDetailedMapSoapOut">
    <wsdl:part name="parameters" element="tns:GetMostDetailedMapResponse" />
  </wsdl:message>
  <wsdl:message name="IsAuthenticatedSoapIn">
    <wsdl:part name="parameters" element="tns:IsAuthenticated" />
  </wsdl:message>
  <wsdl:message name="IsAuthenticatedSoapOut">
    <wsdl:part name="parameters" element="tns:IsAuthenticatedResponse" />
  </wsdl:message>
  <wsdl:message name="RetrieveUserInfoSoapIn">
    <wsdl:part name="parameters" element="tns:RetrieveUserInfo" />
  </wsdl:message>
  <wsdl:message name="RetrieveUserInfoSoapOut">
    <wsdl:part name="parameters" element="tns:RetrieveUserInfoResponse" />
  </wsdl:message>
  <wsdl:message name="GetTargetsSoapIn">
    <wsdl:part name="parameters" element="tns:GetTargets" />
  </wsdl:message>
  <wsdl:message name="GetTargetsSoapOut">
    <wsdl:part name="parameters" element="tns:GetTargetsResponse" />
  </wsdl:message>
  <wsdl:message name="GetTargetsInAreaSoapIn">
    <wsdl:part name="parameters" element="tns:GetTargetsInArea" />
  </wsdl:message>
  <wsdl:message name="GetTargetsInAreaSoapOut">
    <wsdl:part name="parameters" element="tns:GetTargetsInAreaResponse" />
  </wsdl:message>
  <wsdl:message name="GetTargetCountSoapIn">
    <wsdl:part name="parameters" element="tns:GetTargetCount" />
  </wsdl:message>
  <wsdl:message name="GetTargetCountSoapOut">
    <wsdl:part name="parameters" element="tns:GetTargetCountResponse" />
  </wsdl:message>
  <wsdl:message name="GetTargetByMMSISoapIn">
    <wsdl:part name="parameters" element="tns:GetTargetByMMSI" />
  </wsdl:message>
  <wsdl:message name="GetTargetByMMSISoapOut">
    <wsdl:part name="parameters" element="tns:GetTargetByMMSIResponse" />
  </wsdl:message>
  <wsdl:message name="GetTargetsByIMOSoapIn">
    <wsdl:part name="parameters" element="tns:GetTargetsByIMO" />
  </wsdl:message>
  <wsdl:message name="GetTargetsByIMOSoapOut">
    <wsdl:part name="parameters" element="tns:GetTargetsByIMOResponse" />
  </wsdl:message>
  <wsdl:message name="GetTargetsByCallsignSoapIn">
    <wsdl:part name="parameters" element="tns:GetTargetsByCallsign" />
  </wsdl:message>
  <wsdl:message name="GetTargetsByCallsignSoapOut">
    <wsdl:part name="parameters" element="tns:GetTargetsByCallsignResponse"
/>
  </wsdl:message>
  <wsdl:message name="GetTargetsByNameSoapIn">
    <wsdl:part name="parameters" element="tns:GetTargetsByName" />
  </wsdl:message>
  <wsdl:message name="GetTargetsByNameSoapOut">
    <wsdl:part name="parameters" element="tns:GetTargetsByNameResponse" />
  </wsdl:message>
  <wsdl:portType name="QPS_x0020_Influx_x0020_GatewaySoap">
    <wsdl:operation name="GetAllMapNames">
      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Returns a list
of all current used map names</documentation>
      <wsdl:input message="tns:GetAllMapNamesSoapIn" />
      <wsdl:output message="tns:GetAllMapNamesSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetMostDetailedMap">
      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Returns a
string indicating the nearest map from the given location</documentation>
      <wsdl:input message="tns:GetMostDetailedMapSoapIn" />
      <wsdl:output message="tns:GetMostDetailedMapSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="IsAuthenticated">
      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Returns a
boolean indicating if a user is authenticated.</documentation>
      <wsdl:input message="tns:IsAuthenticatedSoapIn" />
      <wsdl:output message="tns:IsAuthenticatedSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="RetrieveUserInfo">
      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Returns an
array with user information. First element is the users name and the second
the email address.</documentation>
      <wsdl:input message="tns:RetrieveUserInfoSoapIn" />
      <wsdl:output message="tns:RetrieveUserInfoSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetTargets">
      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Returns an
array of target information updated in the given period</documentation>
      <wsdl:input message="tns:GetTargetsSoapIn" />
      <wsdl:output message="tns:GetTargetsSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetTargetsInArea">
      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Returns an
array of target information updated in the given period, within a specified
area</documentation>
      <wsdl:input message="tns:GetTargetsInAreaSoapIn" />
      <wsdl:output message="tns:GetTargetsInAreaSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetTargetCount">
      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Returns the
number of targets updated in the given period</documentation>
      <wsdl:input message="tns:GetTargetCountSoapIn" />
      <wsdl:output message="tns:GetTargetCountSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetTargetByMMSI">
      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Returns the
target information for the given MMSI</documentation>
      <wsdl:input message="tns:GetTargetByMMSISoapIn" />
      <wsdl:output message="tns:GetTargetByMMSISoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetTargetsByIMO">
      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Returns all
targets with the given IMO Number. Note that this is strict. Only targets
with the exact IMO number are returned.</documentation>
      <wsdl:input message="tns:GetTargetsByIMOSoapIn" />
      <wsdl:output message="tns:GetTargetsByIMOSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetTargetsByCallsign">
      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Returns the
target information for the given Call Sign. You can use SQL wildcards in the
callsign to search for multiple targets.</documentation>
      <wsdl:input message="tns:GetTargetsByCallsignSoapIn" />
      <wsdl:output message="tns:GetTargetsByCallsignSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetTargetsByName">
      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Returns the
target information for the given Name. You can use SQL wildcards in the name
to search for multiple targets.</documentation>
      <wsdl:input message="tns:GetTargetsByNameSoapIn" />
      <wsdl:output message="tns:GetTargetsByNameSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="QPS_x0020_Influx_x0020_GatewaySoap"
type="tns:QPS_x0020_Influx_x0020_GatewaySoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document" />
    <wsdl:operation name="GetAllMapNames">
      <soap:operation
soapAction="http://www.aislive.com/InfluxGateway/GetAllMapNames"
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetMostDetailedMap">
      <soap:operation
soapAction="http://www.aislive.com/InfluxGateway/GetMostDetailedMap"
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="IsAuthenticated">
      <soap:operation
soapAction="http://www.aislive.com/InfluxGateway/IsAuthenticated"
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="RetrieveUserInfo">
      <soap:operation
soapAction="http://www.aislive.com/InfluxGateway/RetrieveUserInfo"
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetTargets">
      <soap:operation
soapAction="http://www.aislive.com/InfluxGateway/GetTargets"
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetTargetsInArea">
      <soap:operation
soapAction="http://www.aislive.com/InfluxGateway/GetTargetsInArea"
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetTargetCount">
      <soap:operation
soapAction="http://www.aislive.com/InfluxGateway/GetTargetCount"
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetTargetByMMSI">
      <soap:operation
soapAction="http://www.aislive.com/InfluxGateway/GetTargetByMMSI"
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetTargetsByIMO">
      <soap:operation
soapAction="http://www.aislive.com/InfluxGateway/GetTargetsByIMO"
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetTargetsByCallsign">
      <soap:operation
soapAction="http://www.aislive.com/InfluxGateway/GetTargetsByCallsign"
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetTargetsByName">
      <soap:operation
soapAction="http://www.aislive.com/InfluxGateway/GetTargetsByName"
style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="QPS_x0020_Influx_x0020_Gateway">
    <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Welcome to the
QPS Influx Gateway. This service provides live AIS target information
retrieval.</documentation>
    <wsdl:port name="QPS_x0020_Influx_x0020_GatewaySoap"
binding="tns:QPS_x0020_Influx_x0020_GatewaySoap">
      <soap:address
location="https://www.aislive.com/AISAdmin/AISLiveGateway/GatewayService2.as
mx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


RE: Newbie: XMLStreamException: end reached! error

Posted by Dhananjay Makwana <ma...@semandex.net>.
One more data point:

I tried running with BasicAuthentication commented out and using the
standard axis2-kernel-1.0.jar and got back the same exception. I suspect
that exception is being thrown before connecting to the actual webservice. I
could confirm this with a typo in the webservice URL as well. 

Appreciate any help,

Thanks,
-Jay

> -----Original Message-----
> From: Dhananjay Makwana [mailto:makwana@semandex.net]
> Sent: Saturday, July 22, 2006 6:27 PM
> To: axis-user@ws.apache.org
> Cc: My Self
> Subject: Newbie: XMLStreamException: end reached! error
> 
> Hi,
> 
> I have been trying to write a client to the web service located at
> https://www.aislive.com/AISAdmin/AISLiveGateway/GatewayService2.asmx
> The WSDL file is at the end of this message. Running one of the method
> tests
> fails with following exception.
> 
> I tried googling for this error but could not get anything. Searching
> within
> the archives of this list did not turn up anything. I am using axis2 1.0
> release. Since I wanted the HTTPTransportProperties.BasicAuthentication
> class, I am using axis2-SNAPSHOT.jar from nightly snapshot of July 12,
> 2006
> (instead of axis2-1.0.jar).
> 
> I am using xmlbeans binding and generating sync style code using WSDL2Java
> tool.
> 
> Thanks in advance,
> -Jay
> 
> org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException: end
> reached!
> 	at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:206
> )
> 	at
> org.apache.axiom.om.impl.llom.OMStAXWrapper.updateNextNode(OMStAXWrapper.j
> av
> a:929)
> 	at
> org.apache.axiom.om.impl.llom.OMStAXWrapper.<init>(OMStAXWrapper.java:194)
> 	at
> org.apache.axiom.om.impl.llom.OMElementImpl.getXMLStreamReader(OMElementIm
> pl
> .java:638)
> 	at
> org.apache.axiom.om.impl.llom.OMElementImpl.getXMLStreamReaderWithoutCachi
> ng
> (OMElementImpl.java:621)
> 	at
> org.apache.axiom.om.impl.util.OMSerializerUtil.serializeByPullStream(OMSer
> ia
> lizerUtil.java:314)
> 	at
> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImp
> l.
> java:786)
> 	at
> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OM
> El
> ementImpl.java:809)
> 	at
> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImp
> l.
> java:780)
> 	at
> org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SOAPEnv
> el
> opeImpl.java:171)
> 	at
> org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OM
> El
> ementImpl.java:809)
> 	at
> org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.ja
> va
> :381)
> 	at
> org.apache.axis2.transport.http.SOAPOverHTTPSender$AxisSOAPRequestEntity.h
> an
> dleOMOutput(SOAPOverHTTPSender.java:197)
> 	at
> org.apache.axis2.transport.http.SOAPOverHTTPSender$AxisSOAPRequestEntity.w
> ri
> teRequest(SOAPOverHTTPSender.java:233)
> 	at
> org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBo
> dy
> (EntityEnclosingMethod.java:495)
> 	at
> org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.j
> av
> a:1973)
> 	at
> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:9
> 93
> )
> 	at
> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMeth
> od
> Director.java:397)
> 	at
> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodD
> ir
> ector.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(AbstractH
> TT
> PSender.java:654)
> 	at
> org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSender
> .j
> ava:115)
> 	at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWit
> hC
> ommons(CommonsHTTPTransportSender.java:298)
> 	at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsH
> TT
> PTransportSender.java:206)
> 	at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:652)
> 	at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperat
> io
> n.java:344)
> 	at
> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOpe
> ra
> tion.java:280)
> 	at
> net.semandex.adaptor.seaweb.webservice.QPS_x0020_Influx_x0020_GatewayStub.
> Ge
> tTargetsByIMO(QPS_x0020_Influx_x0020_GatewayStub.java:940)
> 	at
> net.semandex.adaptor.seaweb.webservice.WebServiceTestCase.testGetShipLocat
> io
> nByIMO(WebServiceTestCase.java:183)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 39
> )
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> pl
> .java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	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.RemoteTestRunner.runTests(RemoteTest
> Ru
> nner.java:478)
> 	at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunne
> r.
> java:344)
> 	at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunn
> er
> .java:196)
> Caused by: javax.xml.stream.XMLStreamException: end reached!
> 	at org.apache.axis2.util.StreamWrapper.next(StreamWrapper.java:85)
> 	at
> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:123
> )
> 	... 44 more
> 
> 
> --------------------------------------------------------------------------
> --
> ---------------------
> WSDL:
> <?xml version="1.0" encoding="utf-8"?>
> <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
> xmlns:s="http://www.w3.org/2001/XMLSchema"
> xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:tns="http://www.aislive.com/InfluxGateway/"
> xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
> xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
> targetNamespace="http://www.aislive.com/InfluxGateway/"
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
>   <wsdl:types>
>     <s:schema elementFormDefault="qualified"
> targetNamespace="http://www.aislive.com/InfluxGateway/">
>       <s:element name="GetAllMapNames">
>         <s:complexType />
>       </s:element>
>       <s:element name="GetAllMapNamesResponse">
>         <s:complexType>
>           <s:sequence>
>             <s:element minOccurs="0" maxOccurs="1"
> name="GetAllMapNamesResult" type="tns:ArrayOfString" />
>           </s:sequence>
>         </s:complexType>
>       </s:element>
>       <s:complexType name="ArrayOfString">
>         <s:sequence>
>           <s:element minOccurs="0" maxOccurs="unbounded" name="string"
> nillable="true" type="s:string" />
>         </s:sequence>
>       </s:complexType>
>       <s:element name="GetMostDetailedMap">
>         <s:complexType>
>           <s:sequence>
>             <s:element minOccurs="1" maxOccurs="1" name="dLat"
> type="s:double" />
>             <s:element minOccurs="1" maxOccurs="1" name="dLon"
> type="s:double" />
>           </s:sequence>
>         </s:complexType>
>       </s:element>
>       <s:element name="GetMostDetailedMapResponse">
>         <s:complexType>
>           <s:sequence>
>             <s:element minOccurs="0" maxOccurs="1"
> name="GetMostDetailedMapResult" type="s:string" />
>           </s:sequence>
>         </s:complexType>
>       </s:element>
>       <s:element name="IsAuthenticated">
>         <s:complexType>
>           <s:sequence>
>             <s:element minOccurs="1" maxOccurs="1" name="userId"
> type="s:int" />
>             <s:element minOccurs="0" maxOccurs="1" name="key"
> type="s:string" />
>           </s:sequence>
>         </s:complexType>
>       </s:element>
>       <s:element name="IsAuthenticatedResponse">
>         <s:complexType>
>           <s:sequence>
>             <s:element minOccurs="1" maxOccurs="1"
> name="IsAuthenticatedResult" type="s:boolean" />
>           </s:sequence>
>         </s:complexType>
>       </s:element>
>       <s:element name="RetrieveUserInfo">
>         <s:complexType>
>           <s:sequence>
>             <s:element minOccurs="1" maxOccurs="1" name="userId"
> type="s:int" />
>           </s:sequence>
>         </s:complexType>
>       </s:element>
>       <s:element name="RetrieveUserInfoResponse">
>         <s:complexType>
>           <s:sequence>
>             <s:element minOccurs="0" maxOccurs="1"
> name="RetrieveUserInfoResult" type="tns:ArrayOfString" />
>           </s:sequence>
>         </s:complexType>
>       </s:element>
>       <s:element name="GetTargets">
>         <s:complexType>
>           <s:sequence>
>             <s:element minOccurs="1" maxOccurs="1" name="nSinceSeconds"
> type="s:int" />
>           </s:sequence>
>         </s:complexType>
>       </s:element>
>       <s:element name="GetTargetsResponse">
>         <s:complexType>
>           <s:sequence>
>             <s:element minOccurs="0" maxOccurs="1" name="GetTargetsResult"
> type="tns:ArrayOfSTarget" />
>           </s:sequence>
>         </s:complexType>
>       </s:element>
>       <s:complexType name="ArrayOfSTarget">
>         <s:sequence>
>           <s:element minOccurs="0" maxOccurs="unbounded" name="sTarget"
> nillable="true" type="tns:sTarget" />
>         </s:sequence>
>       </s:complexType>
>       <s:complexType name="sTarget">
>         <s:sequence>
>           <s:element minOccurs="1" maxOccurs="1" name="nMMSI" type="s:int"
> />
>           <s:element minOccurs="1" maxOccurs="1" name="nIMO" type="s:int"
> />
>           <s:element minOccurs="1" maxOccurs="1" name="dAgeMinutes"
> type="s:double" />
>           <s:element minOccurs="1" maxOccurs="1" name="dLat"
> type="s:double"
> />
>           <s:element minOccurs="1" maxOccurs="1" name="dLon"
> type="s:double"
> />
>           <s:element minOccurs="1" maxOccurs="1" name="dHeading"
> type="s:double" />
>           <s:element minOccurs="1" maxOccurs="1" name="dSoG"
> type="s:double"
> />
>           <s:element minOccurs="1" maxOccurs="1" name="nWidth"
> type="s:int"
> />
>           <s:element minOccurs="1" maxOccurs="1" name="nLength"
> type="s:int"
> />
>           <s:element minOccurs="1" maxOccurs="1" name="dDraught"
> type="s:double" />
>           <s:element minOccurs="0" maxOccurs="1" name="sName"
> type="s:string" />
>           <s:element minOccurs="0" maxOccurs="1" name="sCallsign"
> type="s:string" />
>           <s:element minOccurs="0" maxOccurs="1" name="sDestination"
> type="s:string" />
>           <s:element minOccurs="1" maxOccurs="1" name="dtETA"
> type="s:dateTime" />
>           <s:element minOccurs="0" maxOccurs="1" name="sStatus"
> type="s:string" />
>           <s:element minOccurs="0" maxOccurs="1" name="sVesselType"
> type="s:string" />
>           <s:element minOccurs="0" maxOccurs="1" name="sExtraInfo"
> type="s:string" />
>         </s:sequence>
>       </s:complexType>
>       <s:element name="GetTargetsInArea">
>         <s:complexType>
>           <s:sequence>
>             <s:element minOccurs="1" maxOccurs="1" name="nSinceSeconds"
> type="s:int" />
>             <s:element minOccurs="1" maxOccurs="1" name="dMinimumLat"
> type="s:double" />
>             <s:element minOccurs="1" maxOccurs="1" name="dMaximumLat"
> type="s:double" />
>             <s:element minOccurs="1" maxOccurs="1" name="dMinimumLong"
> type="s:double" />
>             <s:element minOccurs="1" maxOccurs="1" name="dMaximumLong"
> type="s:double" />
>           </s:sequence>
>         </s:complexType>
>       </s:element>
>       <s:element name="GetTargetsInAreaResponse">
>         <s:complexType>
>           <s:sequence>
>             <s:element minOccurs="0" maxOccurs="1"
> name="GetTargetsInAreaResult" type="tns:ArrayOfSTarget" />
>           </s:sequence>
>         </s:complexType>
>       </s:element>
>       <s:element name="GetTargetCount">
>         <s:complexType>
>           <s:sequence>
>             <s:element minOccurs="1" maxOccurs="1" name="nSinceSeconds"
> type="s:int" />
>           </s:sequence>
>         </s:complexType>
>       </s:element>
>       <s:element name="GetTargetCountResponse">
>         <s:complexType>
>           <s:sequence>
>             <s:element minOccurs="1" maxOccurs="1"
> name="GetTargetCountResult" type="s:int" />
>           </s:sequence>
>         </s:complexType>
>       </s:element>
>       <s:element name="GetTargetByMMSI">
>         <s:complexType>
>           <s:sequence>
>             <s:element minOccurs="1" maxOccurs="1" name="nMMSI"
> type="s:int"
> />
>           </s:sequence>
>         </s:complexType>
>       </s:element>
>       <s:element name="GetTargetByMMSIResponse">
>         <s:complexType>
>           <s:sequence>
>             <s:element minOccurs="0" maxOccurs="1"
> name="GetTargetByMMSIResult" type="tns:sTarget" />
>           </s:sequence>
>         </s:complexType>
>       </s:element>
>       <s:element name="GetTargetsByIMO">
>         <s:complexType>
>           <s:sequence>
>             <s:element minOccurs="1" maxOccurs="1" name="IMONumber"
> type="s:int" />
>           </s:sequence>
>         </s:complexType>
>       </s:element>
>       <s:element name="GetTargetsByIMOResponse">
>         <s:complexType>
>           <s:sequence>
>             <s:element minOccurs="0" maxOccurs="1"
> name="GetTargetsByIMOResult" type="tns:ArrayOfSTarget" />
>           </s:sequence>
>         </s:complexType>
>       </s:element>
>       <s:element name="GetTargetsByCallsign">
>         <s:complexType>
>           <s:sequence>
>             <s:element minOccurs="0" maxOccurs="1" name="callSign"
> type="s:string" />
>           </s:sequence>
>         </s:complexType>
>       </s:element>
>       <s:element name="GetTargetsByCallsignResponse">
>         <s:complexType>
>           <s:sequence>
>             <s:element minOccurs="0" maxOccurs="1"
> name="GetTargetsByCallsignResult" type="tns:ArrayOfSTarget" />
>           </s:sequence>
>         </s:complexType>
>       </s:element>
>       <s:element name="GetTargetsByName">
>         <s:complexType>
>           <s:sequence>
>             <s:element minOccurs="0" maxOccurs="1" name="name"
> type="s:string" />
>           </s:sequence>
>         </s:complexType>
>       </s:element>
>       <s:element name="GetTargetsByNameResponse">
>         <s:complexType>
>           <s:sequence>
>             <s:element minOccurs="0" maxOccurs="1"
> name="GetTargetsByNameResult" type="tns:ArrayOfSTarget" />
>           </s:sequence>
>         </s:complexType>
>       </s:element>
>     </s:schema>
>   </wsdl:types>
>   <wsdl:message name="GetAllMapNamesSoapIn">
>     <wsdl:part name="parameters" element="tns:GetAllMapNames" />
>   </wsdl:message>
>   <wsdl:message name="GetAllMapNamesSoapOut">
>     <wsdl:part name="parameters" element="tns:GetAllMapNamesResponse" />
>   </wsdl:message>
>   <wsdl:message name="GetMostDetailedMapSoapIn">
>     <wsdl:part name="parameters" element="tns:GetMostDetailedMap" />
>   </wsdl:message>
>   <wsdl:message name="GetMostDetailedMapSoapOut">
>     <wsdl:part name="parameters" element="tns:GetMostDetailedMapResponse"
> />
>   </wsdl:message>
>   <wsdl:message name="IsAuthenticatedSoapIn">
>     <wsdl:part name="parameters" element="tns:IsAuthenticated" />
>   </wsdl:message>
>   <wsdl:message name="IsAuthenticatedSoapOut">
>     <wsdl:part name="parameters" element="tns:IsAuthenticatedResponse" />
>   </wsdl:message>
>   <wsdl:message name="RetrieveUserInfoSoapIn">
>     <wsdl:part name="parameters" element="tns:RetrieveUserInfo" />
>   </wsdl:message>
>   <wsdl:message name="RetrieveUserInfoSoapOut">
>     <wsdl:part name="parameters" element="tns:RetrieveUserInfoResponse" />
>   </wsdl:message>
>   <wsdl:message name="GetTargetsSoapIn">
>     <wsdl:part name="parameters" element="tns:GetTargets" />
>   </wsdl:message>
>   <wsdl:message name="GetTargetsSoapOut">
>     <wsdl:part name="parameters" element="tns:GetTargetsResponse" />
>   </wsdl:message>
>   <wsdl:message name="GetTargetsInAreaSoapIn">
>     <wsdl:part name="parameters" element="tns:GetTargetsInArea" />
>   </wsdl:message>
>   <wsdl:message name="GetTargetsInAreaSoapOut">
>     <wsdl:part name="parameters" element="tns:GetTargetsInAreaResponse" />
>   </wsdl:message>
>   <wsdl:message name="GetTargetCountSoapIn">
>     <wsdl:part name="parameters" element="tns:GetTargetCount" />
>   </wsdl:message>
>   <wsdl:message name="GetTargetCountSoapOut">
>     <wsdl:part name="parameters" element="tns:GetTargetCountResponse" />
>   </wsdl:message>
>   <wsdl:message name="GetTargetByMMSISoapIn">
>     <wsdl:part name="parameters" element="tns:GetTargetByMMSI" />
>   </wsdl:message>
>   <wsdl:message name="GetTargetByMMSISoapOut">
>     <wsdl:part name="parameters" element="tns:GetTargetByMMSIResponse" />
>   </wsdl:message>
>   <wsdl:message name="GetTargetsByIMOSoapIn">
>     <wsdl:part name="parameters" element="tns:GetTargetsByIMO" />
>   </wsdl:message>
>   <wsdl:message name="GetTargetsByIMOSoapOut">
>     <wsdl:part name="parameters" element="tns:GetTargetsByIMOResponse" />
>   </wsdl:message>
>   <wsdl:message name="GetTargetsByCallsignSoapIn">
>     <wsdl:part name="parameters" element="tns:GetTargetsByCallsign" />
>   </wsdl:message>
>   <wsdl:message name="GetTargetsByCallsignSoapOut">
>     <wsdl:part name="parameters"
> element="tns:GetTargetsByCallsignResponse"
> />
>   </wsdl:message>
>   <wsdl:message name="GetTargetsByNameSoapIn">
>     <wsdl:part name="parameters" element="tns:GetTargetsByName" />
>   </wsdl:message>
>   <wsdl:message name="GetTargetsByNameSoapOut">
>     <wsdl:part name="parameters" element="tns:GetTargetsByNameResponse" />
>   </wsdl:message>
>   <wsdl:portType name="QPS_x0020_Influx_x0020_GatewaySoap">
>     <wsdl:operation name="GetAllMapNames">
>       <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Returns a
> list
> of all current used map names</documentation>
>       <wsdl:input message="tns:GetAllMapNamesSoapIn" />
>       <wsdl:output message="tns:GetAllMapNamesSoapOut" />
>     </wsdl:operation>
>     <wsdl:operation name="GetMostDetailedMap">
>       <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Returns a
> string indicating the nearest map from the given location</documentation>
>       <wsdl:input message="tns:GetMostDetailedMapSoapIn" />
>       <wsdl:output message="tns:GetMostDetailedMapSoapOut" />
>     </wsdl:operation>
>     <wsdl:operation name="IsAuthenticated">
>       <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Returns a
> boolean indicating if a user is authenticated.</documentation>
>       <wsdl:input message="tns:IsAuthenticatedSoapIn" />
>       <wsdl:output message="tns:IsAuthenticatedSoapOut" />
>     </wsdl:operation>
>     <wsdl:operation name="RetrieveUserInfo">
>       <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Returns an
> array with user information. First element is the users name and the
> second
> the email address.</documentation>
>       <wsdl:input message="tns:RetrieveUserInfoSoapIn" />
>       <wsdl:output message="tns:RetrieveUserInfoSoapOut" />
>     </wsdl:operation>
>     <wsdl:operation name="GetTargets">
>       <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Returns an
> array of target information updated in the given period</documentation>
>       <wsdl:input message="tns:GetTargetsSoapIn" />
>       <wsdl:output message="tns:GetTargetsSoapOut" />
>     </wsdl:operation>
>     <wsdl:operation name="GetTargetsInArea">
>       <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Returns an
> array of target information updated in the given period, within a
> specified
> area</documentation>
>       <wsdl:input message="tns:GetTargetsInAreaSoapIn" />
>       <wsdl:output message="tns:GetTargetsInAreaSoapOut" />
>     </wsdl:operation>
>     <wsdl:operation name="GetTargetCount">
>       <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Returns the
> number of targets updated in the given period</documentation>
>       <wsdl:input message="tns:GetTargetCountSoapIn" />
>       <wsdl:output message="tns:GetTargetCountSoapOut" />
>     </wsdl:operation>
>     <wsdl:operation name="GetTargetByMMSI">
>       <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Returns the
> target information for the given MMSI</documentation>
>       <wsdl:input message="tns:GetTargetByMMSISoapIn" />
>       <wsdl:output message="tns:GetTargetByMMSISoapOut" />
>     </wsdl:operation>
>     <wsdl:operation name="GetTargetsByIMO">
>       <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Returns all
> targets with the given IMO Number. Note that this is strict. Only targets
> with the exact IMO number are returned.</documentation>
>       <wsdl:input message="tns:GetTargetsByIMOSoapIn" />
>       <wsdl:output message="tns:GetTargetsByIMOSoapOut" />
>     </wsdl:operation>
>     <wsdl:operation name="GetTargetsByCallsign">
>       <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Returns the
> target information for the given Call Sign. You can use SQL wildcards in
> the
> callsign to search for multiple targets.</documentation>
>       <wsdl:input message="tns:GetTargetsByCallsignSoapIn" />
>       <wsdl:output message="tns:GetTargetsByCallsignSoapOut" />
>     </wsdl:operation>
>     <wsdl:operation name="GetTargetsByName">
>       <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Returns the
> target information for the given Name. You can use SQL wildcards in the
> name
> to search for multiple targets.</documentation>
>       <wsdl:input message="tns:GetTargetsByNameSoapIn" />
>       <wsdl:output message="tns:GetTargetsByNameSoapOut" />
>     </wsdl:operation>
>   </wsdl:portType>
>   <wsdl:binding name="QPS_x0020_Influx_x0020_GatewaySoap"
> type="tns:QPS_x0020_Influx_x0020_GatewaySoap">
>     <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
> style="document" />
>     <wsdl:operation name="GetAllMapNames">
>       <soap:operation
> soapAction="http://www.aislive.com/InfluxGateway/GetAllMapNames"
> style="document" />
>       <wsdl:input>
>         <soap:body use="literal" />
>       </wsdl:input>
>       <wsdl:output>
>         <soap:body use="literal" />
>       </wsdl:output>
>     </wsdl:operation>
>     <wsdl:operation name="GetMostDetailedMap">
>       <soap:operation
> soapAction="http://www.aislive.com/InfluxGateway/GetMostDetailedMap"
> style="document" />
>       <wsdl:input>
>         <soap:body use="literal" />
>       </wsdl:input>
>       <wsdl:output>
>         <soap:body use="literal" />
>       </wsdl:output>
>     </wsdl:operation>
>     <wsdl:operation name="IsAuthenticated">
>       <soap:operation
> soapAction="http://www.aislive.com/InfluxGateway/IsAuthenticated"
> style="document" />
>       <wsdl:input>
>         <soap:body use="literal" />
>       </wsdl:input>
>       <wsdl:output>
>         <soap:body use="literal" />
>       </wsdl:output>
>     </wsdl:operation>
>     <wsdl:operation name="RetrieveUserInfo">
>       <soap:operation
> soapAction="http://www.aislive.com/InfluxGateway/RetrieveUserInfo"
> style="document" />
>       <wsdl:input>
>         <soap:body use="literal" />
>       </wsdl:input>
>       <wsdl:output>
>         <soap:body use="literal" />
>       </wsdl:output>
>     </wsdl:operation>
>     <wsdl:operation name="GetTargets">
>       <soap:operation
> soapAction="http://www.aislive.com/InfluxGateway/GetTargets"
> style="document" />
>       <wsdl:input>
>         <soap:body use="literal" />
>       </wsdl:input>
>       <wsdl:output>
>         <soap:body use="literal" />
>       </wsdl:output>
>     </wsdl:operation>
>     <wsdl:operation name="GetTargetsInArea">
>       <soap:operation
> soapAction="http://www.aislive.com/InfluxGateway/GetTargetsInArea"
> style="document" />
>       <wsdl:input>
>         <soap:body use="literal" />
>       </wsdl:input>
>       <wsdl:output>
>         <soap:body use="literal" />
>       </wsdl:output>
>     </wsdl:operation>
>     <wsdl:operation name="GetTargetCount">
>       <soap:operation
> soapAction="http://www.aislive.com/InfluxGateway/GetTargetCount"
> style="document" />
>       <wsdl:input>
>         <soap:body use="literal" />
>       </wsdl:input>
>       <wsdl:output>
>         <soap:body use="literal" />
>       </wsdl:output>
>     </wsdl:operation>
>     <wsdl:operation name="GetTargetByMMSI">
>       <soap:operation
> soapAction="http://www.aislive.com/InfluxGateway/GetTargetByMMSI"
> style="document" />
>       <wsdl:input>
>         <soap:body use="literal" />
>       </wsdl:input>
>       <wsdl:output>
>         <soap:body use="literal" />
>       </wsdl:output>
>     </wsdl:operation>
>     <wsdl:operation name="GetTargetsByIMO">
>       <soap:operation
> soapAction="http://www.aislive.com/InfluxGateway/GetTargetsByIMO"
> style="document" />
>       <wsdl:input>
>         <soap:body use="literal" />
>       </wsdl:input>
>       <wsdl:output>
>         <soap:body use="literal" />
>       </wsdl:output>
>     </wsdl:operation>
>     <wsdl:operation name="GetTargetsByCallsign">
>       <soap:operation
> soapAction="http://www.aislive.com/InfluxGateway/GetTargetsByCallsign"
> style="document" />
>       <wsdl:input>
>         <soap:body use="literal" />
>       </wsdl:input>
>       <wsdl:output>
>         <soap:body use="literal" />
>       </wsdl:output>
>     </wsdl:operation>
>     <wsdl:operation name="GetTargetsByName">
>       <soap:operation
> soapAction="http://www.aislive.com/InfluxGateway/GetTargetsByName"
> style="document" />
>       <wsdl:input>
>         <soap:body use="literal" />
>       </wsdl:input>
>       <wsdl:output>
>         <soap:body use="literal" />
>       </wsdl:output>
>     </wsdl:operation>
>   </wsdl:binding>
>   <wsdl:service name="QPS_x0020_Influx_x0020_Gateway">
>     <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Welcome to the
> QPS Influx Gateway. This service provides live AIS target information
> retrieval.</documentation>
>     <wsdl:port name="QPS_x0020_Influx_x0020_GatewaySoap"
> binding="tns:QPS_x0020_Influx_x0020_GatewaySoap">
>       <soap:address
> location="https://www.aislive.com/AISAdmin/AISLiveGateway/GatewayService2.
> as
> mx" />
>     </wsdl:port>
>   </wsdl:service>
> </wsdl:definitions>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org