DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8598>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8598 Axis is generating wrong WSDL file Summary: Axis is generating wrong WSDL file Product: Axis Version: pre-release Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Major Priority: Other Component: Deployment / Registries AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Hi I have generated the Client and Server side skeletons using the WSDL. I was able to compile the code, with modification to the class generated by WSDL ( WSDL generated code for xsd:date, xsd:dateTime") I was able to compile and deploy the web service using the deploy.wsdd But when I compared my WSDL which I used to generate the class etc to Axis generated WSDL using the http://localhost:8080/axis/servides/webservice?WSDL is lot different then what I have used. Here are the primary differences: The namespace is wrong. All the string restrictions ets.. has changed. elements Types are coming with tns1:>SomTradeOrder, i don’t know why it has added grater then symbol">" <wsdl:part name="SomTradeOrder" type="tns1:>SomTradeOrder"/> wsdl:binding part name space are wrong. and more.... Name is wrong. <wsdl:service name="SOMSoapBindingImplService"> Here I am including both WSDL, my original WSDL file (SOMWebService.wsdl) and Axis generated WSDL (AxisGeneratedSOMWebService.wsdl) files my original WSDL SOMWebService.wsdl ######################################################################### <?xml version="1.0" encoding="UTF-8"?> <definitions name="SOMWebService" targetNamespace="urn:sor.som.swm.bns.com" xmlns:tns="urn:sor.som.swm.bns.com" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:order="urn:order.som.swm.bns.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <types> <xsd:schema targetNamespace="urn:order.som.swm.bns.com" xmlns:order="urn:order.som.swm.bns.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="qualified"> <xsd:element name="SomTradeOrder"> <xsd:complexType> <xsd:sequence> <xsd:element ref="order:ClientID"/> <xsd:element ref="order:ClientOrderID"/> <xsd:element ref="order:ClientOrderIDDate"/> <xsd:element ref="order:UseNextDayQueue"/> <xsd:element ref="order:ConfWaitTime"/> <xsd:element ref="order:FillWaitTime"/> <xsd:element ref="order:Action"/> <xsd:element ref="order:Instrument"/> <xsd:element ref="order:ADPOrderID"/> <xsd:element ref="order:HeldQueue"/> <xsd:element ref="order:DeleteFromHeldQueue"/> <xsd:element ref="order:ActivityRecord"/> <xsd:element ref="order:TempOrderID"/> <xsd:element ref="order:ADPOrderIDDate"/> <xsd:element ref="order:AccountGroupID"/> <xsd:element ref="order:AccountNumber"/> <xsd:element ref="order:Quantity"/> <xsd:element ref="order:SecuritySymbol"/> <xsd:element ref="order:TimeInForce"/> <xsd:element ref="order:TimeInForceDate"/> <xsd:element ref="order:OrderQualifiers"/> <xsd:element ref="order:SellerOption"/> <xsd:element ref="order:Price"/> <xsd:element ref="order:QuotedPrice"/> <xsd:element ref="order:HeldBy"/> <xsd:element ref="order:TelephoneNumber"/> <xsd:element ref="order:OptionExpirationMonth"/> <xsd:element ref="order:OptionStrikePrice"/> <xsd:element ref="order:OptionType"/> <xsd:element ref="order:OptionPositionType"/> <xsd:element ref="order:ReInvestCapital"/> <xsd:element ref="order:ReInvestDividend"/> <xsd:element ref="order:CancelQuantity"/> <xsd:element ref="order:CancelPrice"/> <xsd:element ref="order:CancelTimeInForce"/> <xsd:element ref="order:CancelTimeInForceDate"/> <xsd:element ref="order:CancelOrderQualifiers"/> <xsd:element ref="order:CancelSellerOption"/> <xsd:element ref="order:RemainingQuantity"/> <xsd:element ref="order:ProductCode"/> <xsd:element ref="order:ForceApproval"/> <xsd:element ref="order:Commission"/> <xsd:element ref="order:CommissionValue"/> <xsd:element ref="order:RouteCode"/> <xsd:element ref="order:UserClass"/> <xsd:element ref="order:SettlingCurrency"/> <xsd:element ref="order:TrailerCode1"/> <xsd:element ref="order:TrailerCode2"/> <xsd:element ref="order:TrailerCode3"/> <xsd:element ref="order:CommentTrailer"/> <xsd:element ref="order:PSTrailerCode1"/> <xsd:element ref="order:PSTrailerCode2"/> <xsd:element ref="order:PSTrailerCode3"/> <xsd:element ref="order:PSTrailer"/> <xsd:element ref="order:RegisteredRep"/> <xsd:element ref="order:SolicitedCode"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:simpleType name="ActionType"> <xsd:restriction base="xsd:string"> <xsd:whiteSpace value="collapse"/> <xsd:enumeration value="Buy"/> <xsd:enumeration value="Sell"/> <xsd:enumeration value="SellShort"/> <xsd:enumeration value="SellExempt"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="InstrumentType"> <xsd:restriction base="xsd:string"> <xsd:whiteSpace value="collapse"/> <xsd:enumeration value="Equity"/> <xsd:enumeration value="Bond"/> <xsd:enumeration value="MutualFund"/> <xsd:enumeration value="Option"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="ADPOrderIDFormat"> <xsd:restriction base="xsd:string"> <xsd:maxLength value="8"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="ActivityType"> <xsd:restriction base="xsd:string"> <xsd:whiteSpace value="collapse"/> <xsd:enumeration value="New"/> <xsd:enumeration value="Cancel"/> <xsd:enumeration value="Replace"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="QuantityFormat"> <xsd:restriction base="xsd:int"> <xsd:totalDigits value="18"/> <xsd:fractionDigits value="0"/> <xsd:whiteSpace value="collapse"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="SecuritySymbolFormat"> <xsd:restriction base="xsd:string"> <xsd:maxLength value="16"/> <xsd:minLength value="1"/> <xsd:whiteSpace value="preserve"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="TimeInForceType"> <xsd:restriction base="xsd:string"> <xsd:whiteSpace value="preserve"/> <xsd:enumeration value="GoodTillCanceled"/> <xsd:enumeration value="GoodTillEOD"/> <xsd:enumeration value="GoodTillET"/> <xsd:enumeration value="GoodThroughWeek"/> <xsd:enumeration value="GoodThroughMonth"/> <xsd:enumeration value="GoodThroughDate "/> <xsd:enumeration value="ImmediateOrCancel "/> <xsd:enumeration value="OnOpening"/> <xsd:enumeration value="FillOrKill"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="ADPOrderIDDateFormat"> <xsd:restriction base="xsd:date"> <xsd:whiteSpace value="collapse"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="SecurityHoldingType"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Customer"/> <xsd:enumeration value="Bank"/> <xsd:enumeration value="House"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="MonthType"> <xsd:restriction base="xsd:string"> <xsd:maxLength value="3"/> <xsd:minLength value="3"/> <xsd:whiteSpace value="collapse"/> <xsd:enumeration value="JAN"/> <xsd:enumeration value="FEB"/> <xsd:enumeration value="MAR"/> <xsd:enumeration value="APR"/> <xsd:enumeration value="MAY"/> <xsd:enumeration value="JUN"/> <xsd:enumeration value="JUL"/> <xsd:enumeration value="AUG"/> <xsd:enumeration value="SPE"/> <xsd:enumeration value="OCT"/> <xsd:enumeration value="NOV"/> <xsd:enumeration value="DEC"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="OptionType"> <xsd:restriction base="xsd:string"> <xsd:whiteSpace value="collapse"/> <xsd:enumeration value="Call"/> <xsd:enumeration value="Put"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="OptionPositionType"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Open"/> <xsd:enumeration value="Close"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="YesNoFlag"> <xsd:restriction base="xsd:boolean"> <xsd:pattern value="(true|false)"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="ForceApprovalType"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="PNF"/> <xsd:enumeration value="SVP"/> <xsd:enumeration value="DNS"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="CommissionType"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Total"/> <xsd:enumeration value="PerShare"/> <xsd:enumeration value="Percentage"/> <xsd:enumeration value="N/A"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="SecurityRoutingCodeType"> <xsd:restriction base="xsd:string"> <xsd:maxLength value="3"/> <xsd:enumeration value="CDN"/> <xsd:enumeration value="US"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="TrailerCodeFormat"> <xsd:restriction base="xsd:string"> <xsd:length value="3"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="SolicitedCodeType"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Solicited"/> <xsd:enumeration value="Unsolicited"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="PriceFormat"> <xsd:restriction base="xsd:string"> <xsd:maxLength value="25"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="TelephoneNumberFormat"> <xsd:restriction base="xsd:string"> <xsd:maxLength value="20"/> <xsd:whiteSpace value="collapse"/> <xsd:pattern value="[0-9]*"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="SellerOptionFormat"> <xsd:restriction base="xsd:string"> <xsd:length value="2"/> <xsd:whiteSpace value="preserve"/> <xsd:pattern value="[0-9]{2}"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="ProductCodeType"> <xsd:restriction base="xsd:string"> <xsd:maxLength value="3"/> <xsd:length value="3"/> <xsd:whiteSpace value="preserve"/> <xsd:enumeration value="API"/> <xsd:enumeration value="REA"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="CurrencyType"> <xsd:restriction base="xsd:string"> <xsd:maxLength value="2"/> <xsd:length value="2"/> <xsd:minLength value="2"/> <xsd:whiteSpace value="collapse"/> <xsd:pattern value="(C|U){1}$"/> <xsd:enumeration value="C$"/> <xsd:enumeration value="U$"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="RepCodeFormat"> <xsd:restriction base="xsd:string"> <xsd:length value="3"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="TimeInForceDateFormat"> <xsd:restriction base="xsd:date"/> </xsd:simpleType> <xsd:simpleType name="AccountNumberFormat"> <xsd:restriction base="xsd:string"> <xsd:maxLength value="9"/> <xsd:whiteSpace value="collapse"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="ClientIDFormat"> <xsd:restriction base="xsd:string"> <xsd:maxLength value="8"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="ClientOrderIDFormat"> <xsd:restriction base="xsd:string"> <xsd:maxLength value="14"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="ClientOrderIDDateFormat"> <xsd:restriction base="xsd:dateTime"/> </xsd:simpleType> <xsd:simpleType name="QueueType"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="NextDay"/> <xsd:enumeration value="Approval"/> <xsd:enumeration value="SameDay"/> <xsd:enumeration value="N/A"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="CommissionValueFormat"> <xsd:restriction base="xsd:string"> <xsd:maxLength value="15"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="OptionStrikePriceFormat"> <xsd:restriction base="xsd:string"> <xsd:maxLength value="10"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="AccountGroupFormat"> <xsd:restriction base="xsd:string"> <xsd:maxLength value="6"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="WaitTimeFormat"> <xsd:restriction base="xsd:dateTime"/> </xsd:simpleType> <xsd:element name="Action" type="order:ActionType"/> <xsd:element name="Instrument" type="order:InstrumentType"/> <xsd:element name="ADPOrderID" type="order:ADPOrderIDFormat"/> <xsd:element name="HeldQueue" type="order:QueueType"/> <xsd:element name="DeleteFromHeldQueue" type="order:YesNoFlag"/> <xsd:element name="ActivityRecord" type="order:ActivityType"/> <xsd:element name="TempOrderID" type="order:ADPOrderIDFormat"/> <xsd:element name="ADPOrderIDDate" type="order:ADPOrderIDFormat"/> <xsd:element name="AccountGroupID" type="xsd:string"/> <xsd:element name="AccountNumber" type="order:AccountNumberFormat"/> <xsd:element name="Quantity" type="order:QuantityFormat"/> <xsd:element name="SecuritySymbol" type="order:SecuritySymbolFormat"/> <xsd:element name="TimeInForce" type="order:TimeInForceType"/> <xsd:element name="TimeInForceDate" type="order:TimeInForceDateFormat"/> <xsd:element name="OrderQualifiers" type="order:Qualifiers"/> <xsd:element name="SellerOption" type="order:SellerOptionFormat"/> <xsd:element name="Price" type="order:PriceFormat"/> <xsd:element name="QuotedPrice" type="order:PriceFormat"/> <xsd:element name="HeldBy" type="order:SecurityHoldingType"/> <xsd:element name="TelephoneNumber" type="order:TelephoneNumberFormat"/> <xsd:element name="OptionExpirationMonth" type="order:MonthType"/> <xsd:element name="OptionStrikePrice" type="order:OptionStrikePriceFormat"/> <xsd:element name="OptionType" type="order:OptionType"/> <xsd:element name="OptionPositionType" type="order:OptionPositionType"/> <xsd:element name="ReInvestDividend" type="order:YesNoFlag"/> <xsd:element name="ReInvestCapital" type="order:YesNoFlag"/> <xsd:element name="CancelQuantity" type="order:QuantityFormat"/> <xsd:element name="CancelPrice" type="order:PriceFormat"/> <xsd:element name="CancelTimeInForce" type="order:TimeInForceType"/> <xsd:element name="CancelTimeInForceDate" type="order:TimeInForceDateFormat"/> <xsd:element name="CancelOrderQualifiers" type="order:Qualifiers"/> <xsd:element name="CancelSellerOption" type="order:SellerOptionFormat"/> <xsd:element name="RemainingQuantity" type="order:QuantityFormat"/> <xsd:element name="ProductCode" type="order:ProductCodeType"/> <xsd:element name="ForceApproval" type="order:ForceApprovalType"/> <xsd:element name="Commission" type="order:CommissionType"/> <xsd:element name="CommissionValue" type="order:CommissionValueFormat"/> <xsd:element name="RouteCode" type="order:SecurityRoutingCodeType"/> <xsd:element name="UserClass"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:maxLength value="15"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="SettlingCurrency" type="order:CurrencyType"/> <xsd:element name="TrailerCode1" type="order:TrailerCodeFormat"/> <xsd:element name="TrailerCode2" type="order:TrailerCodeFormat"/> <xsd:element name="TrailerCode3" type="order:TrailerCodeFormat"/> <xsd:element name="CommentTrailer"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:maxLength value="19"/> <xsd:whiteSpace value="preserve"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="PSTrailerCode1" type="order:TrailerCodeFormat"/> <xsd:element name="PSTrailerCode2" type="order:TrailerCodeFormat"/> <xsd:element name="PSTrailerCode3" type="order:TrailerCodeFormat"/> <xsd:element name="PSTrailer"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:maxLength value="11"/> <xsd:whiteSpace value="preserve"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="RegisteredRep" type="order:RepCodeFormat"/> <xsd:element name="SolicitedCode" type="order:SolicitedCodeType"/> <xsd:element name="ClientOrderID" type="order:ClientOrderIDFormat"/> <xsd:element name="ClientID" type="order:ClientIDFormat"/> <xsd:element name="ClientOrderIDDate" type="order:ClientOrderIDDateFormat"/> <xsd:element name="UseNextDayQueue" type="order:YesNoFlag"/> <xsd:element name="ConfWaitTime" type="order:WaitTimeFormat"/> <xsd:element name="FillWaitTime" type="order:WaitTimeFormat"/> <xsd:complexType name="Qualifiers"> <xsd:sequence> <xsd:element name="NotHeld" type="order:YesNoFlag"/> <xsd:element name="DoNotReduce" type="order:YesNoFlag"/> <xsd:element name="AllOrNone" type="order:YesNoFlag"/> <xsd:element name="ProfessionalTrader" type="order:YesNoFlag"/> <xsd:element name="NoProfit_NoLoss" type="order:YesNoFlag"/> <xsd:element name="CustomerSettlementInCash" type="order:YesNoFlag"/> <xsd:element name="NextDaySettlement" type="order:YesNoFlag"/> <xsd:element name="PrimayExchangeCode" type="order:YesNoFlag"/> <xsd:element name="OneSideTrade" type="order:YesNoFlag"/> <xsd:element name="TwoSideTrade" type="order:YesNoFlag"/> <xsd:element name="SellOptionSettleInDays" type="order:YesNoFlag"/> <xsd:element name="ExecuteTradeOnTick" type="order:YesNoFlag"/> </xsd:sequence> </xsd:complexType> <xsd:element name="SomOrderStatus"> <xsd:annotation> <xsd:documentation> Sent to client as a response to the placeOrder request</xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:sequence> <xsd:element name="SomRefID" type="xsd:string"/> <xsd:element name="Status" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:element> <!-- @@@Define three Falts 1. SOM System Exception, raised by system if any internal critical errors occurred Such as Our DB is down. 2. SOM Order Exception raised by SOM Web Service, in case of any order specific errors Such as if the Order is Duplicate order Or order fields does not contain the information. 3. SOM Unknown Client Exception is raised by SOM System if Client ID is not present or Client ID presented by client is unknown to the SOM. --> <xsd:complexType name="SomException"> <xsd:sequence> <xsd:element name="Code" type="xsd:string"/> <xsd:element name="Message" type="xsd:string"/> <xsd:element name="Description" type="xsd:string"/> </xsd:sequence> </xsd:complexType> <xsd:element name="SomSystemException" type="order:SomException"> <xsd:annotation> <xsd:documentation>SOM System Exception, raised by system if any internal critical errors occurred Such as Our DB is down.</xsd:documentation> </xsd:annotation> </xsd:element> <xsd:element name="SomOrderException"> <xsd:annotation> <xsd:documentation>SOM Order Exception raised by SOM Web Service, in case of any order specific errors Such as if the Order is Duplicate order Or order fields does not contain the information</xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:complexContent> <xsd:extension base="order:SomException"/> </xsd:complexContent> </xsd:complexType> </xsd:element> <xsd:element name="SomClientException"> <xsd:annotation> <xsd:documentation>SOM Unknown Client Exception is raised by SOM System if Client ID is not present or Client ID presented by client is unknown to the SOM. </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:complexContent> <xsd:extension base="order:SomException"> <xsd:sequence> <xsd:element ref="order:ClientID"/> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType> </xsd:element> </xsd:schema> </types> <message name="SOMOrderInput"> <part name="body" element="order:SomTradeOrder"/> </message> <message name="SOMOrderStatusOutput"> <part name="body" element="order:SomOrderStatus"/> </message> <message name="SOMSystemException"> <part name="SystemException" element="order:SomSystemException"/> </message> <portType name="ScotiaOrderRequestor"> <operation name="placeOrder"> <input message="tns:SOMOrderInput"/> <output message="tns:SOMOrderStatusOutput"/> <fault message="tns:SOMSystemException"/> </operation> </portType> <binding name="SOMSoapBinding" type="tns:ScotiaOrderRequestor"> <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <operation name="placeOrder"> <soap:operation soapAction=""/> <input> <soap:body use="encoded" namespace="urn:sor.som.swm.bns.com" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> </input> <output> <soap:body use="encoded" namespace="urn:sor.som.swm.bns.com" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> </output> <fault> <soap:body use="encoded" namespace="urn:sor.som.swm.bns.com" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> </fault> </operation> </binding> <service name="SOMWebService"> <port name="ScotiaOrderRequestor" binding="tns:SOMSoapBinding"> <soap:address location="http://localhost:8080/axis/services/ScotiaOrderRequestor"/> </port> </service> </definitions> ############################################################################### Axis Generated WSDL <?xml version="1.0" encoding="UTF8"?> <wsdl:definitions targetNamespace="http://24.103.131.85:8080/axis/services/ScotiaOrderRequestor" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:SOAPENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:impl="http://24.103.131.85:8080/axis/services/ScotiaOrderRequestorimpl" xmlns:intf="http://24.103.131.85:8080/axis/services/ScotiaOrderRequestor" xmlns:tns1="urn:order.som.swm.bns.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <types> <schema targetNamespace="urn:order.som.swm.bns.com" xmlns="http://www.w3.org/2001/XMLSchema"> <complexType name=">SomTradeOrder"> <sequence> <element name="ClientOrderID" nillable="true" type="tns1:ClientOrderIDFormat"/> <element name="ClientOrderIDDate" nillable="true" type="tns1:ClientOrderIDDateFormat"/> <element name="UseNextDayQueue" nillable="true" type="tns1:YesNoFlag"/> <element name="ConfWaitTime" nillable="true" type="tns1:WaitTimeFormat"/> <element name="FillWaitTime" nillable="true" type="tns1:WaitTimeFormat"/> <element name="Action" nillable="true" type="tns1:ActionType"/> <element name="Instrument" nillable="true" type="tns1:InstrumentType"/> <element name="ADPOrderID" nillable="true" type="tns1:ADPOrderIDFormat"/> <element name="HeldQueue" nillable="true" type="tns1:QueueType"/> <element name="DeleteFromHeldQueue" nillable="true" type="tns1:YesNoFlag"/> <element name="ActivityRecord" nillable="true" type="tns1:ActivityType"/> <element name="TempOrderID" nillable="true" type="tns1:ADPOrderIDFormat"/> <element name="ADPOrderIDDate" nillable="true" type="tns1:ADPOrderIDFormat"/> <element name="AccountGroupID" nillable="true" type="xsd:string"/> <element name="AccountNumber" nillable="true" type="tns1:AccountNumberFormat"/> <element name="Quantity" nillable="true" type="tns1:QuantityFormat"/> <element name="SecuritySymbol" nillable="true" type="tns1:SecuritySymbolFormat"/> <element name="TimeInForce" nillable="true" type="tns1:TimeInForceType"/> <element name="TimeInForceDate" nillable="true" type="tns1:TimeInForceDateFormat"/> <element name="OrderQualifiers" nillable="true" type="tns1:Qualifiers"/> <element name="SellerOption" nillable="true" type="tns1:SellerOptionFormat"/> <element name="Price" nillable="true" type="tns1:PriceFormat"/> <element name="QuotedPrice" nillable="true" type="tns1:PriceFormat"/> <element name="HeldBy" nillable="true" type="tns1:SecurityHoldingType"/> <element name="TelephoneNumber" nillable="true" type="tns1:TelephoneNumberFormat"/> <element name="OptionExpirationMonth" nillable="true" type="tns1:MonthType"/> <element name="OptionStrikePrice" nillable="true" type="tns1:OptionStrikePriceFormat"/> <element name="OptionType" nillable="true" type="tns1:OptionType"/> <element name="OptionPositionType" nillable="true" type="tns1:OptionPositionType"/> <element name="ReInvestCapital" nillable="true" type="tns1:YesNoFlag"/> <element name="ReInvestDividend" nillable="true" type="tns1:YesNoFlag"/> <element name="CancelQuantity" nillable="true" type="tns1:QuantityFormat"/> <element name="CancelPrice" nillable="true" type="tns1:PriceFormat"/> <element name="CancelTimeInForce" nillable="true" type="tns1:TimeInForceType"/> <element name="CancelTimeInForceDate" nillable="true" type="tns1:TimeInForceDateFormat"/> <element name="CancelOrderQualifiers" nillable="true" type="tns1:Qualifiers"/> <element name="CancelSellerOption" nillable="true" type="tns1:SellerOptionFormat"/> <element name="RemainingQuantity" nillable="true" type="tns1:QuantityFormat"/> <element name="ProductCode" nillable="true" type="tns1:ProductCodeType"/> <element name="ForceApproval" nillable="true" type="tns1:ForceApprovalType"/> <element name="Commission" nillable="true" type="tns1:CommissionType"/> <element name="CommissionValue" nillable="true" type="tns1:CommissionValueFormat"/> <element name="RouteCode" nillable="true" type="tns1:SecurityRoutingCodeType"/> <element name="UserClass" nillable="true" type="tns1:>UserClass"/> <element name="SettlingCurrency" nillable="true" type="tns1:CurrencyType"/> <element name="TrailerCode1" nillable="true" type="tns1:TrailerCodeFormat"/> <element name="TrailerCode2" nillable="true" type="tns1:TrailerCodeFormat"/> <element name="TrailerCode3" nillable="true" type="tns1:TrailerCodeFormat"/> <element name="CommentTrailer" nillable="true" type="tns1:>CommentTrailer"/> <element name="PSTrailerCode1" nillable="true" type="tns1:TrailerCodeFormat"/> <element name="PSTrailerCode2" nillable="true" type="tns1:TrailerCodeFormat"/> <element name="PSTrailerCode3" nillable="true" type="tns1:TrailerCodeFormat"/> <element name="PSTrailer" nillable="true" type="tns1:>PSTrailer"/> <element name="RegisteredRep" nillable="true" type="tns1:RepCodeFormat"/> <element name="SolicitedCode" nillable="true" type="tns1:SolicitedCodeType"/> </sequence> </complexType> <complexType name="ClientOrderIDFormat"> <simpleContent> <extension base="xsd:string"/> </simpleContent> </complexType> <complexType name="ClientOrderIDDateFormat"> <simpleContent> <extension base="xsd:dateTime"/> </simpleContent> </complexType> <complexType name="YesNoFlag"> <simpleContent> <extension base="xsd:boolean"/> </simpleContent> </complexType> <complexType name="WaitTimeFormat"> <simpleContent> <extension base="xsd:dateTime"/> </simpleContent> </complexType> <simpleType name="ActionType"> <restriction base="xsd:string"> <enumeration value="Buy"/> <enumeration value="Sell"/> <enumeration value="SellShort"/> <enumeration value="SellExempt"/> </restriction> </simpleType> <simpleType name="InstrumentType"> <restriction base="xsd:string"> <enumeration value="Equity"/> <enumeration value="Bond"/> <enumeration value="MutualFund"/> <enumeration value="Option"/> </restriction> </simpleType> <complexType name="ADPOrderIDFormat"> <simpleContent> <extension base="xsd:string"/> </simpleContent> </complexType> <simpleType name="QueueType"> <restriction base="xsd:string"> <enumeration value="NextDay"/> <enumeration value="Approval"/> <enumeration value="SameDay"/> <enumeration value="N/A"/> </restriction> </simpleType> <simpleType name="ActivityType"> <restriction base="xsd:string"> <enumeration value="New"/> <enumeration value="Cancel"/> <enumeration value="Replace"/> </restriction> </simpleType> <complexType name="AccountNumberFormat"> <simpleContent> <extension base="xsd:string"/> </simpleContent> </complexType> <complexType name="QuantityFormat"> <simpleContent> <extension base="xsd:int"/> </simpleContent> </complexType> <complexType name="SecuritySymbolFormat"> <simpleContent> <extension base="xsd:string"/> </simpleContent> </complexType> <simpleType name="TimeInForceType"> <restriction base="xsd:string"> <enumeration value="GoodTillCanceled"/> <enumeration value="GoodTillEOD"/> <enumeration value="GoodTillET"/> <enumeration value="GoodThroughWeek"/> <enumeration value="GoodThroughMonth"/> <enumeration value="GoodThroughDate"/> <enumeration value="ImmediateOrCancel"/> <enumeration value="OnOpening"/> <enumeration value="FillOrKill"/> </restriction> </simpleType> <complexType name="TimeInForceDateFormat"> <simpleContent> <extension base="xsd:dateTime"/> </simpleContent> </complexType> <complexType name="Qualifiers"> <sequence> <element name="NotHeld" nillable="true" type="tns1:YesNoFlag"/> <element name="DoNotReduce" nillable="true" type="tns1:YesNoFlag"/> <element name="AllOrNone" nillable="true" type="tns1:YesNoFlag"/> <element name="ProfessionalTrader" nillable="true" type="tns1:YesNoFlag"/> <element name="NoProfit_NoLoss" nillable="true" type="tns1:YesNoFlag"/> <element name="CustomerSettlementInCash" nillable="true" type="tns1:YesNoFlag"/> <element name="NextDaySettlement" nillable="true" type="tns1:YesNoFlag"/> <element name="PrimayExchangeCode" nillable="true" type="tns1:YesNoFlag"/> <element name="OneSideTrade" nillable="true" type="tns1:YesNoFlag"/> <element name="TwoSideTrade" nillable="true" type="tns1:YesNoFlag"/> <element name="SellOptionSettleInDays" nillable="true" type="tns1:YesNoFlag"/> <element name="ExecuteTradeOnTick" nillable="true" type="tns1:YesNoFlag"/> </sequence> </complexType> <complexType name="SellerOptionFormat"> <simpleContent> <extension base="xsd:string"/> </simpleContent> </complexType> <complexType name="PriceFormat"> <simpleContent> <extension base="xsd:string"/> </simpleContent> </complexType> <simpleType name="SecurityHoldingType"> <restriction base="xsd:string"> <enumeration value="Customer"/> <enumeration value="Bank"/> <enumeration value="House"/> </restriction> </simpleType> <complexType name="TelephoneNumberFormat"> <simpleContent> <extension base="xsd:string"/> </simpleContent> </complexType> <simpleType name="MonthType"> <restriction base="xsd:string"> <enumeration value="JAN"/> <enumeration value="FEB"/> <enumeration value="MAR"/> <enumeration value="APR"/> <enumeration value="MAY"/> <enumeration value="JUN"/> <enumeration value="JUL"/> <enumeration value="AUG"/> <enumeration value="SPE"/> <enumeration value="OCT"/> <enumeration value="NOV"/> <enumeration value="DEC"/> </restriction> </simpleType> <complexType name="OptionStrikePriceFormat"> <simpleContent> <extension base="xsd:string"/> </simpleContent> </complexType> <simpleType name="OptionType"> <restriction base="xsd:string"> <enumeration value="Call"/> <enumeration value="Put"/> </restriction> </simpleType> <simpleType name="OptionPositionType"> <restriction base="xsd:string"> <enumeration value="Open"/> <enumeration value="Close"/> </restriction> </simpleType> <simpleType name="ProductCodeType"> <restriction base="xsd:string"> <enumeration value="API"/> <enumeration value="REA"/> </restriction> </simpleType> <simpleType name="ForceApprovalType"> <restriction base="xsd:string"> <enumeration value="PNF"/> <enumeration value="SVP"/> <enumeration value="DNS"/> </restriction> </simpleType> <simpleType name="CommissionType"> <restriction base="xsd:string"> <enumeration value="Total"/> <enumeration value="PerShare"/> <enumeration value="Percentage"/> <enumeration value="N/A"/> </restriction> </simpleType> <complexType name="CommissionValueFormat"> <simpleContent> <extension base="xsd:string"/> </simpleContent> </complexType> <simpleType name="SecurityRoutingCodeType"> <restriction base="xsd:string"> <enumeration value="CDN"/> <enumeration value="US"/> </restriction> </simpleType> <complexType name=">UserClass"> <simpleContent> <extension base="xsd:string"/> </simpleContent> </complexType> <simpleType name="CurrencyType"> <restriction base="xsd:string"> <enumeration value="C$"/> <enumeration value="U$"/> </restriction> </simpleType> <complexType name="TrailerCodeFormat"> <simpleContent> <extension base="xsd:string"/> </simpleContent> </complexType> <complexType name=">CommentTrailer"> <simpleContent> <extension base="xsd:string"/> </simpleContent> </complexType> <complexType name=">PSTrailer"> <simpleContent> <extension base="xsd:string"/> </simpleContent> </complexType> <complexType name="RepCodeFormat"> <simpleContent> <extension base="xsd:string"/> </simpleContent> </complexType> <simpleType name="SolicitedCodeType"> <restriction base="xsd:string"> <enumeration value="Solicited"/> <enumeration value="Unsolicited"/> </restriction> </simpleType> <element name=">SomTradeOrder" nillable="true" type="tns1:>SomTradeOrder"/> <complexType name=">SomOrderStatus"> <sequence> <element name="SomRefID" nillable="true" type="xsd:string"/> <element name="Status" nillable="true" type="xsd:string"/> </sequence> </complexType> <element name=">SomOrderStatus" nillable="true" type="tns1:>SomOrderStatus"/> </schema> </types> <wsdl:message name="placeOrderRequest"> <wsdl:part name="SomTradeOrder" type="tns1:>SomTradeOrder"/> </wsdl:message> <wsdl:message name="placeOrderResponse"> <wsdl:part name="SomOrderStatus" type="tns1:>SomOrderStatus"/> </wsdl:message> <wsdl:portType name="SOMSoapBindingImpl"> <wsdl:operation name="placeOrder" parameterOrder="SomTradeOrder"> <wsdl:input message="intf:placeOrderRequest"/> <wsdl:output message="intf:placeOrderResponse"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="ScotiaOrderRequestorSoapBinding" type="intf:SOMSoapBindingImpl"> <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="placeOrder"> <wsdlsoap:operation soapAction=""/> <wsdl:input> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="SomTradeOrder" use="encoded"/> </wsdl:input> <wsdl:output> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="SomOrderStatus" use="encoded"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="SOMSoapBindingImplService"> <wsdl:port binding="intf:ScotiaOrderRequestorSoapBinding" name="ScotiaOrderRequestor"> <wsdlsoap:address location="http://24.103.131.85:8080/axis/services/ScotiaOrderRequestor"/> </wsdl:port> </wsdl:service> </wsdl:definitions> Thanks Reddy