[ 
http://issues.apache.org/jira/browse/AXIS-2246?page=comments#action_12356093 ] 

Philipp Neumann  commented on AXIS-2246:
----------------------------------------

The endless loop was an error on my side. Please ignore my last 2 posts.

> org.apache.axis.ConfigurationException while calling service through service 
> lcoator.
> -------------------------------------------------------------------------------------
>
>          Key: AXIS-2246
>          URL: http://issues.apache.org/jira/browse/AXIS-2246
>      Project: Apache Axis
>         Type: Bug
>     Versions: 1.2.1
>  Environment: Windows XP, JBOSS
>     Reporter: Damodharan Sampathkumar
>     Priority: Minor

>
> While accesing a service the following exception stack is seen in debug mode, 
> but the call succeeds and I get the result from the server. Find below the 
> exception stack, wsdl, client code. I am not sure if this is a bug or a wsdl 
> error, the java stub and complex types were created using WSDL2Java. 
> ********************** Exception stack *******************************
> 005-10-04 08:53:20,625 DEBUG [ProjectResourceBundle] 
> org.apache.axis.i18n.resource::handleGetObject(addBody00)
> 2005-10-04 08:53:20,625 DEBUG [SOAPBody] Adding body element to message...
> 2005-10-04 08:53:20,640 DEBUG [Call] Enter: Call::invoke()
> 2005-10-04 08:53:20,640 DEBUG [MessageContext] MessageContext: 
> setTargetService(xapi)
> 2005-10-04 08:53:20,640 DEBUG [ProjectResourceBundle] 
> org.apache.axis.i18n.resource::handleGetObject(noService10)
> 2005-10-04 08:53:20,656 DEBUG [ConfigurationException] Exception: 
> org.apache.axis.ConfigurationException: No service named xapi is available
> org.apache.axis.ConfigurationException: No service named xapi is available
>       at 
> org.apache.axis.configuration.FileProvider.getService(FileProvider.java:233)
>       at org.apache.axis.AxisEngine.getService(AxisEngine.java:311)
>       at 
> org.apache.axis.MessageContext.setTargetService(MessageContext.java:755)
>       at org.apache.axis.client.Call.invoke(Call.java:2671)
> ******************************************************************************************
> ******************************************WSDL********************************************
> <?xml version="1.0" encoding="UTF-8"?>
> <definitions xmlns="http://schemas.xmlsoap.org/wsdl/"; 
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
> xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; 
> xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
> xmlns:xapi="http://webservices.jdv.com/xapi"; 
> targetNamespace="http://webservices.jdv.com/xapi";>
>       <types>
>               <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
> xmlns:xapi="http://webservices.jdv.com/xapi"; 
> targetNamespace="http://webservices.jdv.com/xapi"; 
> elementFormDefault="qualified" attributeFormDefault="unqualified">
>                       <xs:complexType name="XAPIRequest">
>                               <xs:sequence>
>                                       <xs:element name="service" 
> type="xs:string"/>
>                                       <xs:element name="principal" 
> type="xs:string"/>
>                                       <xs:element name="credential" 
> type="xs:string" nillable="true" minOccurs="0"/>
>                               </xs:sequence>
>                       </xs:complexType>
>                       <xs:complexType name="XAPIResponse">
>                               <xs:sequence>
>                                       <xs:element name="operationStatus" 
> type="xapi:OperationStatus"/>
>                               </xs:sequence>
>                       </xs:complexType>
>                       <xs:complexType name="OperationStatus">
>                               <xs:sequence>
>                                       <xs:element name="success" 
> type="xs:boolean"/>
>                                       <xs:element name="executionTime" 
> type="xs:long"/>
>                                       <xs:element name="errors" 
> type="xapi:Errors" nillable="true" minOccurs="0"/>
>                               </xs:sequence>
>                       </xs:complexType>
>                       <xs:complexType name="Errors">
>                               <xs:sequence>
>                                       <xs:element name="error" 
> type="xapi:Error" maxOccurs="unbounded"/>
>                               </xs:sequence>
>                       </xs:complexType>
>                       <xs:complexType name="Error">
>                               <xs:sequence>
>                                       <xs:element name="code" 
> type="xs:string"/>
>                                       <xs:element name="message" 
> type="xs:string"/>
>                               </xs:sequence>
>                       </xs:complexType>
>                       <xs:complexType name="GetLinkedAccountsRequest">
>                               <xs:complexContent>
>                                       <xs:extension base="xapi:XAPIRequest"/>
>                               </xs:complexContent>
>                       </xs:complexType>
>                       <xs:complexType name="GetLinkedAccountsResponse">
>                               <xs:complexContent>
>                                       <xs:extension base="xapi:XAPIResponse">
>                                               <xs:sequence>
>                                                       <xs:element 
> name="accounts" nillable="true" minOccurs="0">
>                                                               <xs:complexType>
>                                                                       
> <xs:sequence>
>                                                                               
> <xs:element name="account" type="xapi:LinkedAccount" nillable="true" 
> minOccurs="0" maxOccurs="unbounded"/>
>                                                                       
> </xs:sequence>
>                                                               
> </xs:complexType>
>                                                       </xs:element>
>                                               </xs:sequence>
>                                       </xs:extension>
>                               </xs:complexContent>
>                       </xs:complexType>
>                       <xs:complexType name="LinkedAccount">
>                               <xs:sequence>
>                                       <xs:element name="serviceTypeID" 
> type="xs:long"/>
>                                       <xs:element name="accountNumber" 
> type="xs:long"/>
>                                       <xs:element 
> name="serviceTypeDescription" type="xs:string" nillable="true" minOccurs="0"/>
>                                       <xs:element name="default" 
> type="xs:boolean"/>
>                                       <xs:element name="authorisedToTrade" 
> type="xs:boolean"/>
>                                       <xs:element name="accountName" 
> type="xs:string" nillable="true" minOccurs="0"/>
>                     <xs:element name="settlementAccountNumber" type="xs:long" 
> nillable="true" minOccurs="0"/> 
>                 </xs:sequence>
>                       </xs:complexType>
>                       <xs:complexType name="GetOrdersRequest">
>                               <xs:complexContent>
>                                       <xs:extension base="xapi:XAPIRequest">
>                                               <xs:sequence>
>                                                       <xs:element 
> name="orderNumber" type="xs:long" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="serviceTypeID" type="xs:long"/>
>                                                       <xs:element 
> name="accountNumber" type="xs:long"/>
>                                                       <xs:element 
> name="adviserCode" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="orderPlacer" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="clientHIN" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="orderStatus" type="xs:string"/>
>                                                       <xs:element 
> name="startDate" type="xs:dateTime"/>
>                                                       <xs:element 
> name="endDate" type="xs:dateTime"/>
>                                                       <xs:element 
> name="skipRows" type="xs:int" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="maxRows" type="xs:int" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="sortMode" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="sortDirection" type="xs:string" nillable="true" minOccurs="0"/>
>                                               </xs:sequence>
>                                       </xs:extension>
>                               </xs:complexContent>
>                       </xs:complexType>
>                       <xs:complexType name="GetOrdersResponse">
>                               <xs:complexContent>
>                                       <xs:extension base="xapi:XAPIResponse">
>                                               <xs:sequence>
>                                                       <xs:element 
> name="orders" nillable="true" minOccurs="0">
>                                                               <xs:complexType>
>                                                                       
> <xs:sequence>
>                                                                               
> <xs:element name="order" type="xapi:Order" nillable="true" minOccurs="0" 
> maxOccurs="unbounded"/>
>                                                                       
> </xs:sequence>
>                                                               
> </xs:complexType>
>                                                       </xs:element>
>                                               </xs:sequence>
>                                       </xs:extension>
>                               </xs:complexContent>
>                       </xs:complexType>
>                       <xs:complexType name="Order">
>                               <xs:sequence>
>                                       <xs:element name="orderNumber" 
> type="xs:long"/>
>                                       <xs:element name="orderType" 
> type="xs:string"/>
>                                       <xs:element name="status" 
> type="xs:string"/>
>                                       <xs:element name="lastActionCode" 
> type="xs:string" nillable="true" minOccurs="0"/>
>                                       <xs:element name="reasonCode" 
> type="xs:string" nillable="true" minOccurs="0"/>
>                                       <xs:element name="serviceTypeID" 
> type="xs:long"/>
>                                       <xs:element name="accountNumber" 
> type="xs:long"/>
>                                       <xs:element name="userNumber" 
> type="xs:long"/>
>                                       <xs:element name="exchangeCode" 
> type="xs:string"/>
>                                       <xs:element name="securityCode" 
> type="xs:string"/>
>                                       <xs:element name="orderDateTime" 
> type="xs:dateTime"/>
>                                       <xs:element name="orderPlacer" 
> type="xs:string"/>
>                                       <xs:element name="orderTakenBy" 
> type="xs:string" nillable="true" minOccurs="0"/>
>                                       <xs:element name="adviceGiven" 
> type="xs:boolean"/>
>                                       <xs:element name="disclosuresGiven" 
> type="xs:boolean"/>
>                                       <xs:element name="clientReference" 
> type="xs:string" nillable="true" minOccurs="0"/>
>                                       <xs:element name="units" 
> type="xs:decimal"/>
>                                       <xs:element name="price" 
> type="xs:decimal" nillable="true" minOccurs="0"/>
>                                       <xs:element name="priceType" 
> type="xs:string"/>
>                                       <xs:element name="filled" 
> type="xs:decimal" nillable="true" minOccurs="0"/>
>                                       <xs:element name="expiryDate" 
> type="xs:date"/>
>                                       <xs:element name="expiryType" 
> type="xs:string"/>
>                                       <xs:element name="brokerageCode" 
> type="xs:string" nillable="true" minOccurs="0"/>
>                                       <xs:element name="brokerageAmount" 
> type="xs:decimal" nillable="true" minOccurs="0"/>
>                                       <xs:element name="brokeragePercent" 
> type="xs:decimal" nillable="true" minOccurs="0"/>
>                                       <xs:element name="adviserCode" 
> type="xs:string" nillable="true" minOccurs="0"/>
>                                       <xs:element name="clientHIN" 
> type="xs:string" nillable="true" minOccurs="0"/>
>                               </xs:sequence>
>                       </xs:complexType>
>                       <xs:complexType name="VerifyOrderRequest">
>                               <xs:complexContent>
>                                       <xs:extension base="xapi:XAPIRequest">
>                                               <xs:sequence>
>                                                       <xs:element name="PIN" 
> type="xs:string"/>
>                                                       <xs:element 
> name="serviceTypeID" type="xs:long"/>
>                                                       <xs:element 
> name="accountNumber" type="xs:long"/>
>                                                       <xs:element 
> name="instructionType" type="xs:string"/>
>                                                       <xs:element 
> name="clientRefNumber" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="orderNumber" type="xs:long" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="orderType" type="xs:string"/>
>                                                       <xs:element 
> name="securityCode" type="xs:string"/>
>                                                       <xs:element 
> name="exchangeCode" type="xs:string"/>
>                                                       <xs:element 
> name="orderPlacer" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="orderTakenBy" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="units" type="xs:decimal" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="price" type="xs:decimal" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="priceType" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="expiryDate" type="xs:date"/>
>                                                       <xs:element 
> name="expiryType" type="xs:string"/>
>                                                       <xs:element 
> name="amount" type="xs:decimal" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="orderTakenDateTime" type="xs:dateTime" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="brokerageFlatAmount" type="xs:decimal" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="brokerageCode" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="brokeragePercent" type="xs:decimal" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="adviceGiven" type="xs:boolean"/>
>                                                       <xs:element 
> name="disclosureGiven" type="xs:boolean"/>
>                                                       <xs:element 
> name="srnValue1" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="srnQuantity1" type="xs:decimal" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="srnValue2" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="srnQuantity2" type="xs:decimal" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="srnValue3" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="srnQuantity3" type="xs:decimal" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="cnoteComment" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="diaryComment" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="adviserCode" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="clientHIN" type="xs:string" nillable="true" minOccurs="0"/>
>                                               </xs:sequence>
>                                       </xs:extension>
>                               </xs:complexContent>
>                       </xs:complexType>
>                       <xs:complexType name="VerifyOrderResponse">
>                               <xs:complexContent>
>                                       <xs:extension base="xapi:XAPIResponse">
>                                               <xs:sequence>
>                                                       <xs:element 
> name="responseType" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="verificationID" type="xs:long" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="orderNumber" type="xs:long" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="accountNumber" type="xs:long" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="accountName" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="securityCode" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="securityName" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="exchangeCode" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="expiryDate" type="xs:date" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="expiryType" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="units" type="xs:decimal" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="delayedMarketPrice" type="xs:decimal" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="price" type="xs:decimal" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="priceType" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="orderType" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="instructionType" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="brokerageVal" type="xs:decimal" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="dutyVal" type="xs:decimal" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="taxVal" type="xs:decimal" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="adminVal" type="xs:decimal" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="tradeValue" type="xs:decimal" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="srnValue1" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="srnQuantity1" type="xs:decimal" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="srnValue2" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="srnQuantity2" type="xs:decimal" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="srnValue3" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="srnQuantity3" type="xs:decimal" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="messages" nillable="true" minOccurs="0">
>                                                               <xs:complexType>
>                                                                       
> <xs:sequence>
>                                                                               
> <xs:element name="message" type="xapi:VerifyMessage" maxOccurs="unbounded"/>
>                                                                       
> </xs:sequence>
>                                                               
> </xs:complexType>
>                                                       </xs:element>
>                                               </xs:sequence>
>                                       </xs:extension>
>                               </xs:complexContent>
>                       </xs:complexType>
>                       <xs:complexType name="ExecuteOrderRequest">
>                               <xs:complexContent>
>                                       <xs:extension base="xapi:XAPIRequest">
>                                               <xs:sequence>
>                                                       <xs:element 
> name="verificationID" type="xs:long"/>
>                                                       <xs:element 
> name="orderNumber" type="xs:long"/>
>                                               </xs:sequence>
>                                       </xs:extension>
>                               </xs:complexContent>
>                       </xs:complexType>
>                       <xs:complexType name="ExecuteOrderResponse">
>                               <xs:complexContent>
>                                       <xs:extension base="xapi:XAPIResponse">
>                                               <xs:sequence>
>                                                       <xs:element 
> name="responseType" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="messages" nillable="true" minOccurs="0">
>                                                               <xs:complexType>
>                                                                       
> <xs:sequence>
>                                                                               
> <xs:element name="message" type="xapi:VerifyMessage" maxOccurs="unbounded"/>
>                                                                       
> </xs:sequence>
>                                                               
> </xs:complexType>
>                                                       </xs:element>
>                                               </xs:sequence>
>                                       </xs:extension>
>                               </xs:complexContent>
>                       </xs:complexType>
>                       <xs:complexType name="VerifyMessage">
>                               <xs:sequence>
>                                       <xs:element name="type" 
> type="xs:string"/>
>                                       <xs:element name="code" 
> type="xs:string"/>
>                                       <xs:element name="text" 
> type="xs:string"/>
>                               </xs:sequence>
>                       </xs:complexType>
>                       <xs:complexType name="GetSponsoredHoldingsRequest">
>                               <xs:complexContent>
>                                       <xs:extension base="xapi:XAPIRequest">
>                                               <xs:sequence>
>                                                       <xs:element 
> name="serviceTypeID" type="xs:long"/>
>                                                       <xs:element 
> name="accountNumber" type="xs:long"/>
>                                                       <xs:element 
> name="securityCode" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="exchangeCode" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="skipRows" type="xs:int" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="maxRows" type="xs:int" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="sortMode" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="sortDirection" type="xs:string" nillable="true" minOccurs="0"/>
>                                               </xs:sequence>
>                                       </xs:extension>
>                               </xs:complexContent>
>                       </xs:complexType>
>                       <xs:complexType name="GetSponsoredHoldingsResponse">
>                               <xs:complexContent>
>                                       <xs:extension base="xapi:XAPIResponse">
>                                               <xs:sequence>
>                                                       <xs:element 
> name="holdings" nillable="true" minOccurs="0">
>                                                               <xs:complexType>
>                                                                       
> <xs:sequence>
>                                                                               
> <xs:element name="holding" type="xapi:Holding" maxOccurs="unbounded"/>
>                                                                       
> </xs:sequence>
>                                                               
> </xs:complexType>
>                                                       </xs:element>
>                                               </xs:sequence>
>                                       </xs:extension>
>                               </xs:complexContent>
>                       </xs:complexType>
>                       <xs:complexType name="Holding">
>                               <xs:sequence>
>                                       <xs:element name="HIN" 
> type="xs:string"/>
>                                       <xs:element name="securityCode" 
> type="xs:string"/>
>                                       <xs:element name="exchangeCode" 
> type="xs:string"/>
>                                       <xs:element name="securityName" 
> type="xs:string" nillable="true" minOccurs="0"/>
>                                       <xs:element name="issuerName" 
> type="xs:string" nillable="true" minOccurs="0"/>
>                                       <xs:element name="availableUnits" 
> type="xs:decimal"/>
>                                       <xs:element name="registeredUnits" 
> type="xs:decimal"/>
>                                       <xs:element name="marketPrice" 
> type="xs:decimal" nillable="true" minOccurs="0"/>
>                                       <xs:element name="marketValue" 
> type="xs:decimal" nillable="true" minOccurs="0"/>
>                               </xs:sequence>
>                       </xs:complexType>
>                       <xs:complexType name="GetNotionalCashBalanceRequest">
>                               <xs:complexContent>
>                                       <xs:extension base="xapi:XAPIRequest">
>                                               <xs:sequence>
>                                                       <xs:element 
> name="serviceTypeID" type="xs:long"/>
>                                                       <xs:element 
> name="accountNumber" type="xs:long"/>
>                                               </xs:sequence>
>                                       </xs:extension>
>                               </xs:complexContent>
>                       </xs:complexType>
>                       <xs:complexType name="GetNotionalCashBalanceResponse">
>                               <xs:complexContent>
>                                       <xs:extension base="xapi:XAPIResponse">
>                                               <xs:sequence>
>                                                       <xs:element 
> name="notionalBalance" type="xs:decimal"/>
>                                               </xs:sequence>
>                                       </xs:extension>
>                               </xs:complexContent>
>                       </xs:complexType>
>                       <xs:complexType name="GetContractNotesRequest">
>                               <xs:complexContent>
>                                       <xs:extension base="xapi:XAPIRequest">
>                                               <xs:sequence>
>                                                       <xs:element 
> name="contractNoteNumber" type="xs:long" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="orderNumber" type="xs:long" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="serviceTypeID" type="xs:long"/>
>                                                       <xs:element 
> name="accountNumber" type="xs:long"/>
>                                                       <xs:element 
> name="securityCode" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="exchangeCode" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="startDate" type="xs:dateTime"/>
>                                                       <xs:element 
> name="endDate" type="xs:dateTime"/>
>                                                       <xs:element 
> name="skipRows" type="xs:int" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="maxRows" type="xs:int" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="sortMode" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="sortDirection" type="xs:string" nillable="true" minOccurs="0"/>
>                                               </xs:sequence>
>                                       </xs:extension>
>                               </xs:complexContent>
>                       </xs:complexType>
>                       <xs:complexType name="GetContractNotesResponse">
>                               <xs:complexContent>
>                                       <xs:extension base="xapi:XAPIResponse">
>                                               <xs:sequence>
>                                                       <xs:element 
> name="contractNotes" nillable="true" minOccurs="0">
>                                                               <xs:complexType>
>                                                                       
> <xs:sequence>
>                                                                               
> <xs:element name="contractNote" type="xapi:ContractNote" 
> maxOccurs="unbounded"/>
>                                                                       
> </xs:sequence>
>                                                               
> </xs:complexType>
>                                                       </xs:element>
>                                               </xs:sequence>
>                                       </xs:extension>
>                               </xs:complexContent>
>                       </xs:complexType>
>                       <xs:complexType name="ContractNote">
>                               <xs:sequence>
>                                       <xs:element name="serviceTypeID" 
> type="xs:long"/>
>                                       <xs:element name="accountNumber" 
> type="xs:long"/>
>                                       <xs:element 
> name="externalAccountNumber" type="xs:string" nillable="true" minOccurs="0"/>
>                                       <xs:element name="adviserCode" 
> type="xs:string" nillable="true" minOccurs="0"/>
>                                       <xs:element name="HIN" type="xs:string" 
> nillable="true" minOccurs="0"/>
>                                       <xs:element name="contractNoteNumber" 
> type="xs:long"/>
>                                       <xs:element name="orderNumber" 
> type="xs:long"/>
>                                       <xs:element name="contractNoteDate" 
> type="xs:dateTime"/>
>                                       <xs:element name="settlementDate" 
> type="xs:date" nillable="true" minOccurs="0"/>
>                                       <xs:element name="contractNoteStatus" 
> type="xs:string"/>
>                                       <xs:element name="contractNoteType" 
> type="xs:string"/>
>                                       <xs:element name="securityCode" 
> type="xs:string"/>
>                                       <xs:element name="exchangeCode" 
> type="xs:string"/>
>                                       <xs:element name="issuerName" 
> type="xs:string" nillable="true" minOccurs="0"/>
>                                       <xs:element name="units" 
> type="xs:decimal"/>
>                                       <xs:element name="unitPrice" 
> type="xs:decimal"/>
>                                       <xs:element name="consideration" 
> type="xs:decimal"/>
>                                       <xs:element name="nettValue" 
> type="xs:decimal"/>
>                                       <xs:element name="brokerageValue" 
> type="xs:decimal"/>
>                                       <xs:element name="brokerageGST" 
> type="xs:decimal" nillable="true" minOccurs="0"/>
>                                       <xs:element name="adminValue" 
> type="xs:decimal" nillable="true" minOccurs="0"/>
>                                       <xs:element name="adminGST" 
> type="xs:decimal" nillable="true" minOccurs="0"/>
>                                       <xs:element name="orderPlacer" 
> type="xs:string"/>
>                                       <xs:element name="fullDescription" 
> type="xs:string"/>
>                                       <xs:element name="cancelDate" 
> type="xs:dateTime" nillable="true" minOccurs="0"/>
>                               </xs:sequence>
>                       </xs:complexType>
>                       <xs:complexType name="GetTransactionsRequest">
>                               <xs:complexContent>
>                                       <xs:extension base="xapi:XAPIRequest">
>                                               <xs:sequence>
>                                                       <xs:element 
> name="serviceTypeID" type="xs:long"/>
>                                                       <xs:element 
> name="accountNumber" type="xs:long"/>
>                                                       <xs:element 
> name="startDate" type="xs:dateTime"/>
>                                                       <xs:element 
> name="endDate" type="xs:dateTime"/>
>                                                       <xs:element 
> name="skipRows" type="xs:int" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="maxRows" type="xs:int" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="sortMode" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="sortDirection" type="xs:string" nillable="true" minOccurs="0"/>
>                                               </xs:sequence>
>                                       </xs:extension>
>                               </xs:complexContent>
>                       </xs:complexType>
>                       <xs:complexType name="GetTransactionsResponse">
>                               <xs:complexContent>
>                                       <xs:extension base="xapi:XAPIResponse">
>                                               <xs:sequence>
>                                                       <xs:element 
> name="transactions" nillable="true" minOccurs="0">
>                                                               <xs:complexType>
>                                                                       
> <xs:sequence>
>                                                                               
> <xs:element name="transaction" type="xapi:Transaction" maxOccurs="unbounded"/>
>                                                                       
> </xs:sequence>
>                                                               
> </xs:complexType>
>                                                       </xs:element>
>                                               </xs:sequence>
>                                       </xs:extension>
>                               </xs:complexContent>
>                       </xs:complexType>
>                       <xs:complexType name="Transaction">
>                               <xs:sequence>
>                                       <xs:element name="transactionNumber" 
> type="xs:long"/>
>                                       <xs:element name="serviceTypeID" 
> type="xs:long"/>
>                                       <xs:element name="accountNumber" 
> type="xs:long"/>
>                                       <xs:element name="referenceNumber" 
> type="xs:string"/>
>                                       <xs:element name="details" 
> type="xs:string" nillable="true" minOccurs="0"/>
>                                       <xs:element name="transactionDate" 
> type="xs:dateTime"/>
>                                       <xs:element name="transactionValue" 
> type="xs:decimal"/>
>                               </xs:sequence>
>                       </xs:complexType>
>                       <xs:complexType name="GetCompanyAnnouncementsRequest">
>                               <xs:complexContent>
>                                       <xs:extension base="xapi:XAPIRequest">
>                                               <xs:sequence>
>                                                       <xs:element 
> name="securityCode" type="xs:string"/>
>                                                       <xs:element 
> name="exchangeCode" type="xs:string"/>
>                                                       <xs:element 
> name="delayedOnly" type="xs:boolean"/>
>                                                       <xs:element 
> name="startDate" type="xs:dateTime"/>
>                                                       <xs:element 
> name="endDate" type="xs:dateTime"/>
>                                                       <xs:element 
> name="skipRows" type="xs:int" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="maxRows" type="xs:int" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="sortMode" type="xs:string" nillable="true" minOccurs="0"/>
>                                                       <xs:element 
> name="sortDirection" type="xs:string" nillable="true" minOccurs="0"/>
>                                               </xs:sequence>
>                                       </xs:extension>
>                               </xs:complexContent>
>                       </xs:complexType>
>                       <xs:complexType name="GetCompanyAnnouncementsResponse">
>                               <xs:complexContent>
>                                       <xs:extension base="xapi:XAPIResponse">
>                                               <xs:sequence>
>                                                       <xs:element 
> name="announcements" nillable="true" minOccurs="0">
>                                                               <xs:complexType>
>                                                                       
> <xs:sequence>
>                                                                               
> <xs:element name="announcement" type="xapi:CompanyAnnouncement" 
> maxOccurs="unbounded"/>
>                                                                       
> </xs:sequence>
>                                                               
> </xs:complexType>
>                                                       </xs:element>
>                                               </xs:sequence>
>                                       </xs:extension>
>                               </xs:complexContent>
>                       </xs:complexType>
>                       <xs:complexType name="CompanyAnnouncement">
>                               <xs:sequence>
>                                       <xs:element name="securityCode" 
> type="xs:string"/>
>                                       <xs:element name="exchangeCode" 
> type="xs:string"/>
>                                       <xs:element name="date" 
> type="xs:dateTime"/>
>                                       <xs:element name="headline" 
> type="xs:string"/>
>                                       <xs:element name="sensitive" 
> type="xs:boolean"/>
>                               </xs:sequence>
>                       </xs:complexType>
>                       <xs:complexType name="GetIntradayCashBalancesRequest">
>                               <xs:complexContent>
>                                       <xs:extension base="xapi:XAPIRequest">
>                                               <xs:sequence>
>                                                       <xs:element 
> name="clientHIN" type="xs:string"/>
>                                               </xs:sequence>
>                                       </xs:extension>
>                               </xs:complexContent>
>                       </xs:complexType>
>                       <xs:complexType name="GetIntradayCashBalancesResponse">
>                               <xs:complexContent>
>                                       <xs:extension base="xapi:XAPIResponse">
>                                               <xs:sequence>
>                                                       <xs:element 
> name="completedOrderValue" type="xs:decimal"/>
>                                                       <xs:element 
> name="openBuyOrderValue" type="xs:decimal"/>
>                                               </xs:sequence>
>                                       </xs:extension>
>                               </xs:complexContent>
>                       </xs:complexType>
>                       <xs:complexType name="GetIntradayStockBalancesRequest">
>                               <xs:complexContent>
>                                       <xs:extension base="xapi:XAPIRequest">
>                                               <xs:sequence>
>                                                       <xs:element 
> name="clientHIN" type="xs:string"/>
>                                                       <xs:element 
> name="securityCode" type="xs:string"/>
>                                                       <xs:element 
> name="exchangeCode" type="xs:string" nillable="true" minOccurs="0"/>
>                                               </xs:sequence>
>                                       </xs:extension>
>                               </xs:complexContent>
>                       </xs:complexType>
>                       <xs:complexType name="GetIntradayStockBalancesResponse">
>                               <xs:complexContent>
>                                       <xs:extension base="xapi:XAPIResponse">
>                                               <xs:sequence>
>                                                       <xs:element 
> name="completedOrderUnits" type="xs:decimal"/>
>                                                       <xs:element 
> name="openSellOrderUnits" type="xs:decimal"/>
>                                               </xs:sequence>
>                                       </xs:extension>
>                               </xs:complexContent>
>                       </xs:complexType>
>                       <xs:complexType name="ChangePasswordRequest">
>                               <xs:complexContent>
>                                       <xs:extension base="xapi:XAPIRequest">
>                                               <xs:sequence>
>                                                       <xs:element 
> name="newCredentialOnce" type="xs:string"/>
>                                                       <xs:element 
> name="newCredentialTwice" type="xs:string"/>
>                                               </xs:sequence>
>                                       </xs:extension>
>                               </xs:complexContent>
>                       </xs:complexType>
>                       <xs:complexType name="ChangePasswordResponse">
>                               <xs:complexContent>
>                                       <xs:extension base="xapi:XAPIResponse"/>
>                               </xs:complexContent>
>                       </xs:complexType>
>                       <xs:element name="getLinkedAccountsRequest" 
> type="xapi:GetLinkedAccountsRequest"/>
>                       <xs:element name="getLinkedAccountsResponse" 
> type="xapi:GetLinkedAccountsResponse"/>
>                       <xs:element name="getOrdersRequest" 
> type="xapi:GetOrdersRequest"/>
>                       <xs:element name="getOrdersResponse" 
> type="xapi:GetOrdersResponse"/>
>                       <xs:element name="verifyOrderRequest" 
> type="xapi:VerifyOrderRequest"/>
>                       <xs:element name="verifyOrderResponse" 
> type="xapi:VerifyOrderResponse"/>
>                       <xs:element name="executeOrderRequest" 
> type="xapi:ExecuteOrderRequest"/>
>                       <xs:element name="executeOrderResponse" 
> type="xapi:ExecuteOrderResponse"/>
>                       <xs:element name="getSponsoredHoldingsRequest" 
> type="xapi:GetSponsoredHoldingsRequest"/>
>                       <xs:element name="getSponsoredHoldingsResponse" 
> type="xapi:GetSponsoredHoldingsResponse"/>
>                       <xs:element name="getNotionalCashBalanceRequest" 
> type="xapi:GetNotionalCashBalanceRequest"/>
>                       <xs:element name="getNotionalCashBalanceResponse" 
> type="xapi:GetNotionalCashBalanceResponse"/>
>                       <xs:element name="getContractNotesRequest" 
> type="xapi:GetContractNotesRequest"/>
>                       <xs:element name="getContractNotesResponse" 
> type="xapi:GetContractNotesResponse"/>
>                       <xs:element name="getTransactionsRequest" 
> type="xapi:GetTransactionsRequest"/>
>                       <xs:element name="getTransactionsResponse" 
> type="xapi:GetTransactionsResponse"/>
>                       <xs:element name="getCompanyAnnouncementsRequest" 
> type="xapi:GetCompanyAnnouncementsRequest"/>
>                       <xs:element name="getCompanyAnnouncementsResponse" 
> type="xapi:GetCompanyAnnouncementsResponse"/>
>                       <xs:element name="getIntradayCashBalancesRequest" 
> type="xapi:GetIntradayCashBalancesRequest"/>
>                       <xs:element name="getIntradayCashBalancesResponse" 
> type="xapi:GetIntradayCashBalancesResponse"/>
>                       <xs:element name="getIntradayStockBalancesRequest" 
> type="xapi:GetIntradayStockBalancesRequest"/>
>                       <xs:element name="getIntradayStockBalancesResponse" 
> type="xapi:GetIntradayStockBalancesResponse"/>
>                       <xs:element name="changePasswordRequest" 
> type="xapi:ChangePasswordRequest"/>
>                       <xs:element name="changePasswordResponse" 
> type="xapi:ChangePasswordResponse"/>
>               </xs:schema>
>       </types>
>       <message name="GetLinkedAccountsRequestMsg">
>               <part name="body" element="xapi:getLinkedAccountsRequest"/>
>       </message>
>       <message name="GetLinkedAccountsResponseMsg">
>               <part name="body" element="xapi:getLinkedAccountsResponse"/>
>       </message>
>       <message name="GetOrdersRequestMsg">
>               <part name="body" element="xapi:getOrdersRequest"/>
>       </message>
>       <message name="GetOrdersResponseMsg">
>               <part name="body" element="xapi:getOrdersResponse"/>
>       </message>
>       <message name="VerifyOrderRequestMsg">
>               <part name="body" element="xapi:verifyOrderRequest"/>
>       </message>
>       <message name="VerifyOrderResponseMsg">
>               <part name="body" element="xapi:verifyOrderResponse"/>
>       </message>
>       <message name="ExecuteOrderRequestMsg">
>               <part name="body" element="xapi:executeOrderRequest"/>
>       </message>
>       <message name="ExecuteOrderResponseMsg">
>               <part name="body" element="xapi:executeOrderResponse"/>
>       </message>
>       <message name="GetSponsoredHoldingsRequestMsg">
>               <part name="body" element="xapi:getSponsoredHoldingsRequest"/>
>       </message>
>       <message name="GetSponsoredHoldingsResponseMsg">
>               <part name="body" element="xapi:getSponsoredHoldingsResponse"/>
>       </message>
>       <message name="GetNotionalCashBalanceRequestMsg">
>               <part name="body" element="xapi:getNotionalCashBalanceRequest"/>
>       </message>
>       <message name="GetNotionalCashBalanceResponseMsg">
>               <part name="body" 
> element="xapi:getNotionalCashBalanceResponse"/>
>       </message>
>       <message name="GetContractNotesRequestMsg">
>               <part name="body" element="xapi:getContractNotesRequest"/>
>       </message>
>       <message name="GetContractNotesResponseMsg">
>               <part name="body" element="xapi:getContractNotesResponse"/>
>       </message>
>       <message name="GetTransactionsRequestMsg">
>               <part name="body" element="xapi:getTransactionsRequest"/>
>       </message>
>       <message name="GetTransactionsResponseMsg">
>               <part name="body" element="xapi:getTransactionsResponse"/>
>       </message>
>       <message name="GetCompanyAnnouncementsRequestMsg">
>               <part name="body" 
> element="xapi:getCompanyAnnouncementsRequest"/>
>       </message>
>       <message name="GetCompanyAnnouncementsResponseMsg">
>               <part name="body" 
> element="xapi:getCompanyAnnouncementsResponse"/>
>       </message>
>       <message name="GetIntradayCashBalancesRequestMsg">
>               <part name="body" 
> element="xapi:getIntradayCashBalancesRequest"/>
>       </message>
>       <message name="GetIntradayCashBalancesResponseMsg">
>               <part name="body" 
> element="xapi:getIntradayCashBalancesResponse"/>
>       </message>
>       <message name="GetIntradayStockBalancesRequestMsg">
>               <part name="body" 
> element="xapi:getIntradayStockBalancesRequest"/>
>       </message>
>       <message name="GetIntradayStockBalancesResponseMsg">
>               <part name="body" 
> element="xapi:getIntradayStockBalancesResponse"/>
>       </message>
>       <message name="ChangePasswordRequestMsg">
>               <part name="body" element="xapi:changePasswordRequest"/>
>       </message>
>       <message name="ChangePasswordResponseMsg">
>               <part name="body" element="xapi:changePasswordResponse"/>
>       </message>
>       <portType name="XAPIServicePortType">
>               <operation name="getLinkedAccounts">
>                       <input message="xapi:GetLinkedAccountsRequestMsg"/>
>                       <output message="xapi:GetLinkedAccountsResponseMsg"/>
>               </operation>
>               <operation name="getOrders">
>                       <input message="xapi:GetOrdersRequestMsg"/>
>                       <output message="xapi:GetOrdersResponseMsg"/>
>               </operation>
>               <operation name="verifyOrder">
>                       <input message="xapi:VerifyOrderRequestMsg"/>
>                       <output message="xapi:VerifyOrderResponseMsg"/>
>               </operation>
>               <operation name="executeOrder">
>                       <input message="xapi:ExecuteOrderRequestMsg"/>
>                       <output message="xapi:ExecuteOrderResponseMsg"/>
>               </operation>
>               <operation name="getSponsoredHoldings">
>                       <input message="xapi:GetSponsoredHoldingsRequestMsg"/>
>                       <output message="xapi:GetSponsoredHoldingsResponseMsg"/>
>               </operation>
>               <operation name="getNotionalCashBalance">
>                       <input message="xapi:GetNotionalCashBalanceRequestMsg"/>
>                       <output 
> message="xapi:GetNotionalCashBalanceResponseMsg"/>
>               </operation>
>               <operation name="getContractNotes">
>                       <input message="xapi:GetContractNotesRequestMsg"/>
>                       <output message="xapi:GetContractNotesResponseMsg"/>
>               </operation>
>               <operation name="getTransactions">
>                       <input message="xapi:GetTransactionsRequestMsg"/>
>                       <output message="xapi:GetTransactionsResponseMsg"/>
>               </operation>
>               <operation name="getCompanyAnnouncements">
>                       <input 
> message="xapi:GetCompanyAnnouncementsRequestMsg"/>
>                       <output 
> message="xapi:GetCompanyAnnouncementsResponseMsg"/>
>               </operation>
>               <operation name="getIntradayCashBalances">
>                       <input 
> message="xapi:GetIntradayCashBalancesRequestMsg"/>
>                       <output 
> message="xapi:GetIntradayCashBalancesResponseMsg"/>
>               </operation>
>               <operation name="getIntradayStockBalances">
>                       <input 
> message="xapi:GetIntradayStockBalancesRequestMsg"/>
>                       <output 
> message="xapi:GetIntradayStockBalancesResponseMsg"/>
>               </operation>
>               <operation name="changePassword">
>                       <input message="xapi:ChangePasswordRequestMsg"/>
>                       <output message="xapi:ChangePasswordResponseMsg"/>
>               </operation>
>       </portType>
>       <binding name="XAPIServiceBinding" type="xapi:XAPIServicePortType">
>               <soap:binding style="document" 
> transport="http://schemas.xmlsoap.org/soap/http"/>
>               <operation name="getLinkedAccounts">
>                       <soap:operation/>
>                       <input>
>                               <soap:body use="literal"/>
>                       </input>
>                       <output>
>                               <soap:body use="literal"/>
>                       </output>
>               </operation>
>               <operation name="getOrders">
>                       <soap:operation/>
>                       <input>
>                               <soap:body use="literal"/>
>                       </input>
>                       <output>
>                               <soap:body use="literal"/>
>                       </output>
>               </operation>
>               <operation name="verifyOrder">
>                       <soap:operation/>
>                       <input>
>                               <soap:body use="literal"/>
>                       </input>
>                       <output>
>                               <soap:body use="literal"/>
>                       </output>
>               </operation>
>               <operation name="executeOrder">
>                       <soap:operation/>
>                       <input>
>                               <soap:body use="literal"/>
>                       </input>
>                       <output>
>                               <soap:body use="literal"/>
>                       </output>
>               </operation>
>               <operation name="getSponsoredHoldings">
>                       <soap:operation/>
>                       <input>
>                               <soap:body use="literal"/>
>                       </input>
>                       <output>
>                               <soap:body use="literal"/>
>                       </output>
>               </operation>
>               <operation name="getNotionalCashBalance">
>                       <soap:operation/>
>                       <input>
>                               <soap:body use="literal"/>
>                       </input>
>                       <output>
>                               <soap:body use="literal"/>
>                       </output>
>               </operation>
>               <operation name="getContractNotes">
>                       <soap:operation/>
>                       <input>
>                               <soap:body use="literal"/>
>                       </input>
>                       <output>
>                               <soap:body use="literal"/>
>                       </output>
>               </operation>
>               <operation name="getTransactions">
>                       <soap:operation/>
>                       <input>
>                               <soap:body use="literal"/>
>                       </input>
>                       <output>
>                               <soap:body use="literal"/>
>                       </output>
>               </operation>
>               <operation name="getCompanyAnnouncements">
>                       <soap:operation/>
>                       <input>
>                               <soap:body use="literal"/>
>                       </input>
>                       <output>
>                               <soap:body use="literal"/>
>                       </output>
>               </operation>
>               <operation name="getIntradayCashBalances">
>                       <soap:operation/>
>                       <input>
>                               <soap:body use="literal"/>
>                       </input>
>                       <output>
>                               <soap:body use="literal"/>
>                       </output>
>               </operation>
>               <operation name="getIntradayStockBalances">
>                       <soap:operation/>
>                       <input>
>                               <soap:body use="literal"/>
>                       </input>
>                       <output>
>                               <soap:body use="literal"/>
>                       </output>
>               </operation>
>               <operation name="changePassword">
>                       <soap:operation/>
>                       <input>
>                               <soap:body use="literal"/>
>                       </input>
>                       <output>
>                               <soap:body use="literal"/>
>                       </output>
>               </operation>
>       </binding>
>       <service name="XAPIService">
>               <port name="xapi" binding="xapi:XAPIServiceBinding">
>                       <soap:address 
> location="http://webservices.jdv.com/xapi"/>
>               </port>
>       </service>
> </definitions>
> ***************************************************************************************************
> ***********************************Client 
> code****************************************************
>         xapiURL = new URL(p.getProperty("xapi.url"));
>         XAPI_SERVICE = p.getProperty("xapi.service");
>         XAPI_PRINCIPAL = p.getProperty("xapi.principal");
>         XAPI_CREDENTIAL = p.getProperty("xapi.credential");
>         locator = new XAPIServiceLocator();
>         xapiServicePortType = locator.getxapi(xapiURL);
>       GetLinkedAccountsRequest req = new GetLinkedAccountsRequest();
>         req.setService(getService());
>         req.setPrincipal(getPrincipal());
>         req.setCredential(getCredential());
>         log.info("Calling xapi service.linkedAccounts");
>         GetLinkedAccountsResponse res = 
> xapiServicePortType.getLinkedAccounts(req);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to