Conflicting type generation across WSDLs

I have two WSDLs that refer to the same XSD. The XSD defines a complexType T that I use as the type for a soap:fault message in wsdl A. wsdl B does not define any faults.
The problem I am seeing is that if I generate interfaces for wsdl A followed by wsdl B, then the type generated for T does not extend java.lang.Exception. This makes sense, because without any fault definitions in B, WSA thinks T is just a regular type, not an Exception type. But it's tricky because it makes the output dependent on the order of generation, and in fact you could have cases where no order gives the desired output.
I can refactor my XSD so there is one common schema and separate schemas for A and B. But I'm also wondering if there is any way WSA can allow me to solve this problem without refactoring. For example can I generate interfaces/proxies for multiple wsdl files at the same time and have WSA resolve any such conflicts?
Thanks!
-Patrick

What exchange are you on? Sometimes it can be months before they get round to actually migrating your line over from the old 20CN DSLAMS to the 21CN MSANS.
Sometimes, and I'm not sure on the stipulations, but a regrade in contract is required before your circuit is upgraded to 21CN. I don't think that applies if you've had the email though.
If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the the reply answers your question then please mark as ’Mark as Accepted Solution’

Similar Messages

  • ABAP Proxy generation terminated (WSDl choice element not supported)

    Hello
    Im trying to generate ABAP proxy from WSDL file (A valid XSD file has imported as External definitions in to XI Integration Repository and created Out bound Interface which gives WSDL file for Proxy generation in SPROXY).
    Unfortunately one of the WSDL file element "<choice>" not supported by ABAP Proxy Generation. it gives the following error.
    Proxy generation terminated: WSDL error (<choice> not supported)
    Message no. SPRX038
    Syntax of <choice> element code in WSDL file:
    <xsd:choice minOccurs='1' maxOccurs='1'>
    <xsd:element name='Employees' minOccurs='1' maxOccurs='1'>
    </xsd:element>
    </xsd:choice>
    Can some one please help if already come across this kind of problem.
    Please suggest me if there any alternate element for WSDL <choice>.
    Regards
    Rajesh

    Hi Aamir
    Thanks for your help...
    I have gone through attached thread.
    Does It means should i change <choice> element with any alternate element. If it is the case can u suggest me any alternate to <choice> element.
    Can u pls tell what are all changes i need to do in WSDL file to support ABAP proxy generation. 
    Regards
    Rajesh

  • Proxy generation terminated: WSDL error ( EXTENSION not supported)

    Hi All,
    I am trying to create a service proxy in ABAP and I am getting this error:
    Proxy generation terminated: WSDL error (<extension> not supported)
    The long text says
    The language element
      "<extension>"
    was used in the WSDL document.
    This language element is not supported by ABAP proxy generation.
    Could anyone help me understand what is wrong?
    Is it bad WSDL or ABAP Service proxy generation limitation?
    Thanks
    Leonardo De Araujo
      <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.xignite.com/services/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://www.xignite.com/services/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    - <wsdl:types>
    - <s:schema elementFormDefault="qualified" targetNamespace="http://www.xignite.com/services/">
    - <s:element name="GetLastLondonFixing">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:FixingTypes" />
      <s:element minOccurs="1" maxOccurs="1" name="Currency" type="tns:FixingCurrencyTypes" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:simpleType name="FixingTypes">
    - <s:restriction base="s:string">
      <s:enumeration value="LondonGold" />
      <s:enumeration value="LondonSilver" />
      <s:enumeration value="LondonPlatinum" />
      <s:enumeration value="LondonPalladium" />
      </s:restriction>
      </s:simpleType>
    - <s:simpleType name="FixingCurrencyTypes">
    - <s:restriction base="s:string">
      <s:enumeration value="USD" />
      <s:enumeration value="GBP" />
      <s:enumeration value="EURO" />
      </s:restriction>
      </s:simpleType>
    - <s:element name="GetLastLondonFixingResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="GetLastLondonFixingResult" type="tns:LondonFixing" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:complexType name="LondonFixing">
    - <s:complexContent mixed="false">
    - <s:extension base="tns:Common">
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:FixingTypes" />
      <s:element minOccurs="0" maxOccurs="1" name="Symbol" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Currency" type="tns:FixingCurrencyTypes" />
      <s:element minOccurs="1" maxOccurs="1" name="Period" type="tns:PeriodType" />
      <s:element minOccurs="0" maxOccurs="1" name="Date" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Value" type="s:double" />
      <s:element minOccurs="0" maxOccurs="1" name="Text" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="Unit" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="Source" type="s:string" />
      </s:sequence>
      </s:extension>
      </s:complexContent>
      </s:complexType>
    - <s:complexType name="Common">
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="Outcome" type="tns:OutcomeTypes" />
      <s:element minOccurs="0" maxOccurs="1" name="Message" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="Identity" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Delay" type="s:double" />
      </s:sequence>
      </s:complexType>
    - <s:simpleType name="OutcomeTypes">
    - <s:restriction base="s:string">
      <s:enumeration value="Success" />
      <s:enumeration value="SystemError" />
      <s:enumeration value="RequestError" />
      <s:enumeration value="RegistrationError" />
      </s:restriction>
      </s:simpleType>
    - <s:simpleType name="PeriodType">
    - <s:restriction base="s:string">
      <s:enumeration value="Morning" />
      <s:enumeration value="Evening" />
      </s:restriction>
      </s:simpleType>
      <s:element name="Header" type="tns:Header" />
    - <s:complexType name="Header">
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="Username" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="Tracer" type="s:string" />
      </s:sequence>
      </s:complexType>
    - <s:element name="GetLastLondonFixings">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="Currency" type="tns:FixingCurrencyTypes" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetLastLondonFixingsResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="GetLastLondonFixingsResult" type="tns:ArrayOfLondonFixing" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:complexType name="ArrayOfLondonFixing">
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="unbounded" name="LondonFixing" nillable="true" type="tns:LondonFixing" />
      </s:sequence>
      </s:complexType>
    - <s:element name="GetHistoricalLondonFixing">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:FixingTypes" />
      <s:element minOccurs="1" maxOccurs="1" name="PeriodType" type="tns:PeriodType" />
      <s:element minOccurs="1" maxOccurs="1" name="Currency" type="tns:FixingCurrencyTypes" />
      <s:element minOccurs="0" maxOccurs="1" name="AsOfDate" type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetHistoricalLondonFixingResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="GetHistoricalLondonFixingResult" type="tns:LondonFixing" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetHistoricalLondonFixingRange">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:FixingTypes" />
      <s:element minOccurs="1" maxOccurs="1" name="PeriodType" type="tns:PeriodType" />
      <s:element minOccurs="1" maxOccurs="1" name="Currency" type="tns:FixingCurrencyTypes" />
      <s:element minOccurs="0" maxOccurs="1" name="StartDate" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="EndDate" type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetHistoricalLondonFixingRangeResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="GetHistoricalLondonFixingRangeResult" type="tns:ArrayOfLondonFixing" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetSpotMarketSummary">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:PureMetalTypes" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:simpleType name="PureMetalTypes">
    - <s:restriction base="s:string">
      <s:enumeration value="XAU" />
      <s:enumeration value="XPD" />
      <s:enumeration value="XPT" />
      <s:enumeration value="XAG" />
      </s:restriction>
      </s:simpleType>
    - <s:element name="GetSpotMarketSummaryResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="GetSpotMarketSummaryResult" type="tns:SpotMarketSummary" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:complexType name="SpotMarketSummary">
    - <s:complexContent mixed="false">
    - <s:extension base="tns:Common">
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:PureMetalTypes" />
      <s:element minOccurs="1" maxOccurs="1" name="USMarketStatus" type="tns:MarketStatuses" />
      <s:element minOccurs="1" maxOccurs="1" name="MarketHours" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="MarketMinutes" type="s:double" />
      <s:element minOccurs="0" maxOccurs="1" name="MarketMessage" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Bid" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="Ask" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="Mid" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="High" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="Low" type="s:double" />
      <s:element minOccurs="0" maxOccurs="1" name="OneDayDate" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="OneDayPrice" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="OneDayChange" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="OneDayChangePercent" type="s:double" />
      <s:element minOccurs="0" maxOccurs="1" name="OneMonthDate" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="OneMonthPrice" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="OneMonthChange" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="OneMonthChangePercent" type="s:double" />
      <s:element minOccurs="0" maxOccurs="1" name="OneYearDate" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="OneYearPrice" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="OneYearChange" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="OneYearChangePercent" type="s:double" />
      </s:sequence>
      </s:extension>
      </s:complexContent>
      </s:complexType>
    - <s:simpleType name="MarketStatuses">
    - <s:restriction base="s:string">
      <s:enumeration value="Open" />
      <s:enumeration value="Closed" />
      </s:restriction>
      </s:simpleType>
    - <s:element name="GetLastBasePrice">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:BaseMetalTypes" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:simpleType name="BaseMetalTypes">
    - <s:restriction base="s:string">
      <s:enumeration value="Platinum" />
      <s:enumeration value="Palladium" />
      <s:enumeration value="Rhodium" />
      <s:enumeration value="Iridium" />
      <s:enumeration value="Ruthenium" />
      </s:restriction>
      </s:simpleType>
    - <s:element name="GetLastBasePriceResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="GetLastBasePriceResult" type="tns:BaseMetalPrice" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:complexType name="BaseMetalPrice">
    - <s:complexContent mixed="false">
    - <s:extension base="tns:Common">
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:BaseMetalTypes" />
      <s:element minOccurs="0" maxOccurs="1" name="Symbol" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Currency" type="tns:MetalCurrencyTypes" />
      <s:element minOccurs="0" maxOccurs="1" name="Date" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="Time" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Value" type="s:double" />
      <s:element minOccurs="0" maxOccurs="1" name="Unit" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="Source" type="s:string" />
      </s:sequence>
      </s:extension>
      </s:complexContent>
      </s:complexType>
    - <s:simpleType name="MetalCurrencyTypes">
    - <s:restriction base="s:string">
      <s:enumeration value="USD" />
      <s:enumeration value="AUD" />
      <s:enumeration value="CHF" />
      <s:enumeration value="EUR" />
      <s:enumeration value="GBP" />
      <s:enumeration value="HKD" />
      <s:enumeration value="ZAR" />
      </s:restriction>
      </s:simpleType>
    - <s:element name="GetLastRealTimeMetalQuote">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:PureMetalTypes" />
      <s:element minOccurs="1" maxOccurs="1" name="Currency" type="tns:MetalCurrencyTypes" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetLastRealTimeMetalQuoteResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="GetLastRealTimeMetalQuoteResult" type="tns:MetalQuote" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:complexType name="MetalQuote">
    - <s:complexContent mixed="false">
    - <s:extension base="tns:Common">
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="Symbol" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:MetalTypes" />
      <s:element minOccurs="1" maxOccurs="1" name="Currency" type="tns:MetalCurrencyTypes" />
      <s:element minOccurs="0" maxOccurs="1" name="Date" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="Time" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Rate" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="Bid" type="s:double" />
      <s:element minOccurs="0" maxOccurs="1" name="BidTime" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Ask" type="s:double" />
      <s:element minOccurs="0" maxOccurs="1" name="AskTime" type="s:string" />
      </s:sequence>
      </s:extension>
      </s:complexContent>
      </s:complexType>
    - <s:simpleType name="MetalTypes">
    - <s:restriction base="s:string">
      <s:enumeration value="ARE" />
      <s:enumeration value="AUN" />
      <s:enumeration value="BRI" />
      <s:enumeration value="DOE" />
      <s:enumeration value="DOW" />
      <s:enumeration value="FRN" />
      <s:enumeration value="KRU" />
      <s:enumeration value="MAL" />
      <s:enumeration value="M5P" />
      <s:enumeration value="NBL" />
      <s:enumeration value="OSO" />
      <s:enumeration value="NSO" />
      <s:enumeration value="VRL" />
      <s:enumeration value="VRN" />
      <s:enumeration value="XAU" />
      <s:enumeration value="XPD" />
      <s:enumeration value="XPT" />
      <s:enumeration value="XAG" />
      <s:enumeration value="XAUNYC" />
      <s:enumeration value="XPDNYC" />
      <s:enumeration value="XPTNYC" />
      <s:enumeration value="XAGNYC" />
      </s:restriction>
      </s:simpleType>
    - <s:element name="GetLastRealTimeExtendedMetalQuote">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:PureMetalTypes" />
      <s:element minOccurs="1" maxOccurs="1" name="Currency" type="tns:MetalCurrencyTypes" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetLastRealTimeExtendedMetalQuoteResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="GetLastRealTimeExtendedMetalQuoteResult" type="tns:ExtendedMetalQuote" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:complexType name="ExtendedMetalQuote">
    - <s:complexContent mixed="false">
    - <s:extension base="tns:Common">
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="Symbol" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:MetalTypes" />
      <s:element minOccurs="1" maxOccurs="1" name="Currency" type="tns:MetalCurrencyTypes" />
      <s:element minOccurs="0" maxOccurs="1" name="Date" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="Time" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Rate" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="Bid" type="s:double" />
      <s:element minOccurs="0" maxOccurs="1" name="BidTime" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Ask" type="s:double" />
      <s:element minOccurs="0" maxOccurs="1" name="AskTime" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="High" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="Low" type="s:double" />
      <s:element minOccurs="0" maxOccurs="1" name="OneDayDate" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="OneDayPrice" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="OneDayChange" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="OneDayChangePercent" type="s:double" />
      </s:sequence>
      </s:extension>
      </s:complexContent>
      </s:complexType>
    - <s:element name="GetRealTimeMetalQuote">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:MetalTypes" />
      <s:element minOccurs="1" maxOccurs="1" name="Currency" type="tns:MetalCurrencyTypes" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetRealTimeMetalQuoteResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="GetRealTimeMetalQuoteResult" type="tns:MetalQuote" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetRealTimeMetalQuotes">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="Types" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Currency" type="tns:MetalCurrencyTypes" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetRealTimeMetalQuotesResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="GetRealTimeMetalQuotesResult" type="tns:ArrayOfMetalQuote" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:complexType name="ArrayOfMetalQuote">
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="unbounded" name="MetalQuote" nillable="true" type="tns:MetalQuote" />
      </s:sequence>
      </s:complexType>
    - <s:element name="GetLastRealTimeMetalQuotes">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="Types" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Currency" type="tns:MetalCurrencyTypes" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetLastRealTimeMetalQuotesResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="GetLastRealTimeMetalQuotesResult" type="tns:ArrayOfMetalQuote" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetLastRealTimeMetalQuoteGMT">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="Type" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Currency" type="tns:MetalCurrencyTypes" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetLastRealTimeMetalQuoteGMTResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="GetLastRealTimeMetalQuoteGMTResult" type="tns:MetalQuote" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetLastRealTimeMetalQuotesGMT">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="Types" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Currency" type="tns:MetalCurrencyTypes" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetLastRealTimeMetalQuotesGMTResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="GetLastRealTimeMetalQuotesGMTResult" type="tns:ArrayOfMetalQuote" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetHistoricalSpotPrice">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:MetalTypes" />
      <s:element minOccurs="1" maxOccurs="1" name="Currency" type="tns:MetalCurrencyTypes" />
      <s:element minOccurs="0" maxOccurs="1" name="AsOfDate" type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetHistoricalSpotPriceResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="GetHistoricalSpotPriceResult" type="tns:HistoricalMetalQuote" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:complexType name="HistoricalMetalQuote">
    - <s:complexContent mixed="false">
    - <s:extension base="tns:Common">
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="Symbol" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:MetalTypes" />
      <s:element minOccurs="1" maxOccurs="1" name="Currency" type="tns:MetalCurrencyTypes" />
      <s:element minOccurs="0" maxOccurs="1" name="Date" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="First" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="High" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="Low" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="Last" type="s:double" />
      </s:sequence>
      </s:extension>
      </s:complexContent>
      </s:complexType>
    - <s:element name="GetHistoricalSpotPriceRange">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:MetalTypes" />
      <s:element minOccurs="1" maxOccurs="1" name="Currency" type="tns:MetalCurrencyTypes" />
      <s:element minOccurs="0" maxOccurs="1" name="StartDate" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="EndDate" type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetHistoricalSpotPriceRangeResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="GetHistoricalSpotPriceRangeResult" type="tns:HistoricalMetalQuotes" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:complexType name="HistoricalMetalQuotes">
    - <s:complexContent mixed="false">
    - <s:extension base="tns:Common">
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="Symbol" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:MetalTypes" />
      <s:element minOccurs="1" maxOccurs="1" name="Currency" type="tns:MetalCurrencyTypes" />
      <s:element minOccurs="0" maxOccurs="1" name="StartDate" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="EndDate" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="MetalQuotes" type="tns:ArrayOfMetalQuoteItem" />
      </s:sequence>
      </s:extension>
      </s:complexContent>
      </s:complexType>
    - <s:complexType name="ArrayOfMetalQuoteItem">
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="unbounded" name="MetalQuoteItem" nillable="true" type="tns:MetalQuoteItem" />
      </s:sequence>
      </s:complexType>
    - <s:complexType name="MetalQuoteItem">
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="Date" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="First" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="High" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="Low" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="Last" type="s:double" />
      </s:sequence>
      </s:complexType>
    - <s:element name="GetMetalSpotChartCustom">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:MetalTypes" />
      <s:element minOccurs="1" maxOccurs="1" name="Currency" type="tns:MetalCurrencyTypes" />
      <s:element minOccurs="0" maxOccurs="1" name="StartDate" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="EndDate" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Style" type="tns:StockChartStyles" />
      <s:element minOccurs="1" maxOccurs="1" name="Width" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="Height" type="s:int" />
      <s:element minOccurs="0" maxOccurs="1" name="Design" type="tns:ChartDesign" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:simpleType name="StockChartStyles">
    - <s:restriction base="s:string">
      <s:enumeration value="Line" />
      <s:enumeration value="Candle" />
      <s:enumeration value="Stick" />
      <s:enumeration value="Area" />
      <s:enumeration value="Percentage" />
      <s:enumeration value="LinePercentage" />
      <s:enumeration value="CandlePercentage" />
      <s:enumeration value="StickPercentage" />
      <s:enumeration value="AreaPercentage" />
      </s:restriction>
      </s:simpleType>
    - <s:complexType name="ChartDesign">
    - <s:complexContent mixed="false">
    - <s:extension base="tns:Common">
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="Secure" type="s:boolean" />
      <s:element minOccurs="0" maxOccurs="1" name="TextTitle" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="TextHeader" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="TextFooter" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="TextPriceLine" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="TextVolumeBar" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="TextHighest" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="TextLowest" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="TextOpen" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="TextClose" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="TextUp" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="TextDown" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorBackground" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorBackWall" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorHighlight" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorPriceLine" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorVolumeBar" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorVolumeBarFill" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorHigh" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorConstant" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorLow" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorPoint" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorTitle" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorFooter" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorHeader" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorAxis" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorGrid" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorFonts" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorStripe" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorOpen" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorClose" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorVerticalGrid" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorHorizontalGrid" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorUp" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorDown" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorHighLowLine" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorCollection" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="GridHorizontalStyle" type="tns:LinePattern" />
      <s:element minOccurs="1" maxOccurs="1" name="GridVerticalStyle" type="tns:LinePattern" />
      <s:element minOccurs="1" maxOccurs="1" name="GridHorizontalWidth" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="GridVerticalWidth" type="s:int" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorFrame" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="FormatPriceLine" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="FormatVolume" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="FormatDate" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="GradeBackground" type="s:boolean" />
      <s:element minOccurs="1" maxOccurs="1" name="GradeBackwall" type="s:boolean" />
      <s:element minOccurs="0" maxOccurs="1" name="WaterMark" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="WaterMarkTopMargin" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="WaterMarkLeftMargin" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="WaterMarkTransparency" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="PointSize" type="s:float" />
      <s:element minOccurs="1" maxOccurs="1" name="StackVariationLabels" type="s:boolean" />
      <s:element minOccurs="1" maxOccurs="1" name="ShowAxisLabelInLegend" type="s:boolean" />
      <s:element minOccurs="1" maxOccurs="1" name="LineWidth" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="SplitPercent" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="ShowHigh" type="s:boolean" />
      <s:element minOccurs="1" maxOccurs="1" name="ShowLow" type="s:boolean" />
      <s:element minOccurs="1" maxOccurs="1" name="ShowOpen" type="s:boolean" />
      <s:element minOccurs="1" maxOccurs="1" name="ShowClose" type="s:boolean" />
      <s:element minOccurs="1" maxOccurs="1" name="ShowVolume" type="s:boolean" />
      <s:element minOccurs="1" maxOccurs="1" name="ShowUpVariation" type="s:boolean" />
      <s:element minOccurs="1" maxOccurs="1" name="ShowDownVariation" type="s:boolean" />
      <s:element minOccurs="1" maxOccurs="1" name="ShowLegend" type="s:boolean" />
      <s:element minOccurs="1" maxOccurs="1" name="VariationYear" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="VolumeDivider" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="VolumeTextOffset" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="PriceTextOffset" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="FrameType" type="tns:ImageFrameType" />
      <s:element minOccurs="1" maxOccurs="1" name="Projection" type="tns:PredefinedProjection" />
      <s:element minOccurs="1" maxOccurs="1" name="MarginTop" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="MarginBottom" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="MarginLeft" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="MarginRight" type="s:int" />
      <s:element minOccurs="0" maxOccurs="1" name="FontFamily" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="FontSizeHeader" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="FontSizeFooter" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="Height" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="Width" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="ZoomPercent" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="LegendBox" type="s:boolean" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorLegendBackground" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ColorLegendBorder" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="LegendVerticalPosition" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="LegendHorizontalPosition" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="Reload" type="s:boolean" />
      <s:element minOccurs="1" maxOccurs="1" name="ShowPriceChartLabels" type="s:boolean" />
      <s:element minOccurs="1" maxOccurs="1" name="TickPrecision" type="tns:TickPeriod" />
      <s:element minOccurs="1" maxOccurs="1" name="TickPeriods" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="WaterMarkHorizontalAlign" type="tns:HorizontalAlign" />
      <s:element minOccurs="1" maxOccurs="1" name="LightScheme" type="tns:LightScheme" />
      <s:element minOccurs="1" maxOccurs="1" name="FontSizeLegend" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="FontSizeAxes" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="FontSizeTitle" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="DaysForHourDisplay" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="DaysForDayDisplay" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="DaysForWeekDisplay" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="DaysForBiWeeklyDisplay" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="DaysForMonthDisplay" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="DaysForQuarterDisplay" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="DaysForSemiAnnualDisplay" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="DaysForAnnualDisplay" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="DaysForBiAnnualDisplay" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="DaysForPentaAnnualDisplay" type="s:int" />
      </s:sequence>
      </s:extension>
      </s:complexContent>
      </s:complexType>
    - <s:simpleType name="LinePattern">
    - <s:restriction base="s:string">
      <s:enumeration value="Solid" />
      <s:enumeration value="Dot" />
      <s:enumeration value="Dash" />
      <s:enumeration value="DashDot" />
      <s:enumeration value="DashDotDot" />
      </s:restriction>
      </s:simpleType>
    - <s:simpleType name="ImageFrameType">
    - <s:restriction base="s:string">
      <s:enumeration value="None" />
      <s:enumeration value="Colonial" />
      <s:enumeration value="Common" />
      <s:enumeration value="Embed" />
      <s:enumeration value="Emboss" />
      <s:enumeration value="FrameOpenRight" />
      <s:enumeration value="FrameOpenRL" />
      <s:enumeration value="OneBarGradient" />
      <s:enumeration value="RoundedUp" />
      <s:enumeration value="SlimRoundedShadowed" />
      </s:restriction>
      </s:simpleType>
    - <s:simpleType name="PredefinedProjection">
    - <s:restriction base="s:string">
      <s:enumeration value="Orthogonal" />
      <s:enumeration value="OrthogonalElevated" />
      <s:enumeration value="OrthogonalHorizontalLeft" />
      <s:enumeration value="OrthogonalHorizontalRight" />
      <s:enumeration value="OrthogonalHalf" />
      <s:enumeration value="OrthogonalHalfHorizontalLeft" />
      <s:enumeration value="OrthogonalHalfHorizontalRight" />
      <s:enumeration value="OrthogonalHalfRotated" />
      <s:enumeration value="OrthogonalHalfElevated" />
      <s:enumeration value="Perspective" />
      <s:enumeration value="PerspectiveHorizontalLeft" />
      <s:enumeration value="PerspectiveHorizontalRight" />
      <s:enumeration value="PerspectiveRotated" />
      <s:enumeration value="PerspectiveElevated" />
      <s:enumeration value="PerspectiveTilted" />
      </s:restriction>
      </s:simpleType>
    - <s:simpleType name="TickPeriod">
    - <s:restriction base="s:string">
      <s:enumeration value="Tick" />
      <s:enumeration value="Millisecond" />
      <s:enumeration value="Second" />
      <s:enumeration value="Minute" />
      <s:enumeration value="Hour" />
      <s:enumeration value="Day" />
      <s:enumeration value="Week" />
      <s:enumeration value="Month" />
      </s:restriction>
      </s:simpleType>
    - <s:simpleType name="HorizontalAlign">
    - <s:restriction base="s:string">
      <s:enumeration value="Right" />
      <s:enumeration value="Left" />
      <s:enumeration value="Center" />
      </s:restriction>
      </s:simpleType>
    - <s:simpleType name="LightScheme">
    - <s:restriction base="s:string">
      <s:enumeration value="NorthernLights" />
      <s:enumeration value="MetallicLustre" />
      <s:enumeration value="ShinyTopRight" />
      <s:enumeration value="ShinyFrontal" />
      <s:enumeration value="ShinyTopLeft" />
      <s:enumeration value="SoftTopRight" />
      <s:enumeration value="SoftFrontal" />
      <s:enumeration value="SoftTopLeft" />
      <s:enumeration value="None" />
      </s:restriction>
      </s:simpleType>
    - <s:element name="GetMetalSpotChartCustomResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="GetMetalSpotChartCustomResult" type="tns:HistoricalChart" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:complexType name="HistoricalChart">
    - <s:complexContent mixed="false">
    - <s:extension base="tns:StockChart">
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="PeriodType" type="tns:HistoricalPeriodTypes" />
      <s:element minOccurs="0" maxOccurs="1" name="StartDate" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="EndDate" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Width" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="Height" type="s:int" />
      <s:element minOccurs="0" maxOccurs="1" name="Title" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Style" type="tns:StockChartStyles" />
      <s:element minOccurs="0" maxOccurs="1" name="Url" type="s:string" />
      </s:sequence>
      </s:extension>
      </s:complexContent>
      </s:complexType>
    - <s:complexType name="StockChart">
    - <s:complexContent mixed="false">
    - <s:extension base="tns:Common">
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="Design" type="tns:ChartDesign" />
      </s:sequence>
      </s:extension>
      </s:complexContent>
      </s:complexType>
    - <s:simpleType name="HistoricalPeriodTypes">
    - <s:restriction base="s:string">
      <s:enumeration value="Daily" />
      </s:restriction>
      </s:simpleType>
    - <s:element name="GetCurrencyChartCustomBinary">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:MetalTypes" />
      <s:element minOccurs="1" maxOccurs="1" name="Currency" type="tns:MetalCurrencyTypes" />
      <s:element minOccurs="0" maxOccurs="1" name="StartDate" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="EndDate" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Style" type="tns:StockChartStyles" />
      <s:element minOccurs="1" maxOccurs="1" name="Width" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="Height" type="s:int" />
      <s:element minOccurs="0" maxOccurs="1" name="Design" type="tns:ChartDesign" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetCurrencyChartCustomBinaryResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="GetCurrencyChartCustomBinaryResult" type="tns:ChartBinary" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:complexType name="ChartBinary">
    - <s:complexContent mixed="false">
    - <s:extension base="tns:Common">
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="ByteArray" type="s:base64Binary" />
      </s:sequence>
      </s:extension>
      </s:complexContent>
      </s:complexType>
    - <s:element name="GetMetalSpotChart">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:MetalTypes" />
      <s:element minOccurs="1" maxOccurs="1" name="Currency" type="tns:MetalCurrencyTypes" />
      <s:element minOccurs="0" maxOccurs="1" name="StartDate" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="EndDate" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Style" type="tns:StockChartStyles" />
      <s:element minOccurs="1" maxOccurs="1" name="Width" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="Height" type="s:int" />
      <s:element minOccurs="0" maxOccurs="1" name="Preset" type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetMetalSpotChartResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="GetMetalSpotChartResult" type="tns:HistoricalChart" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetMetalSpotChartBinary">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:MetalTypes" />
      <s:element minOccurs="1" maxOccurs="1" name="Currency" type="tns:MetalCurrencyTypes" />
      <s:element minOccurs="0" maxOccurs="1" name="StartDate" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="EndDate" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Style" type="tns:StockChartStyles" />
      <s:element minOccurs="1" maxOccurs="1" name="Width" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="Height" type="s:int" />
      <s:element minOccurs="0" maxOccurs="1" name="Preset" type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetMetalSpotChartBinaryResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="GetMetalSpotChartBinaryResult" type="tns:ChartBinary" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetMetalSpotChartDesign">
      <s:complexType />
      </s:element>
    - <s:element name="GetMetalSpotChartDesignResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="GetMetalSpotChartDesignResult" type="tns:ChartDesign" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetDelayedMetalFuture">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:MetalFutureTypes" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:simpleType name="MetalFutureTypes">
    - <s:restriction base="s:string">
      <s:enumeration value="COMEXGold" />
      <s:enumeration value="COMEXSilver" />
      <s:enumeration value="NYMEXPlatinum" />
      <s:enumeration value="NYMEXPalladium" />
      <s:enumeration value="CBOTGold" />
      <s:enumeration value="CBOTSilver" />
      <s:enumeration value="CBOTGoldMiniSized" />
      <s:enumeration value="CBOTSilverMiniSized" />
      </s:restriction>
      </s:simpleType>
    - <s:element name="GetDelayedMetalFutureResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="GetDelayedMetalFutureResult" type="tns:FutureQuote" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:complexType name="FutureQuote">
    - <s:complexContent mixed="false">
    - <s:extension base="tns:Common">
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="Future" type="tns:Future" />
      <s:element minOccurs="0" maxOccurs="1" name="Date" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="Time" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Open" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="High" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="Low" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="Last" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="Settle" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="Volume" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="OpenInterest" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="PreviousClose" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="Change" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="PercentChange" type="s:double" />
      <s:element minOccurs="1" maxOccurs="1" name="Currency" type="tns:Currencies" />
      </s:sequence>
      </s:extension>
      </s:complexContent>
      </s:complexType>
    - <s:complexType name="Future">
    - <s:complexContent mixed="false">
    - <s:extension base="tns:Common">
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="Symbol" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Month" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="Year" type="s:int" />
      <s:element minOccurs="0" maxOccurs="1" name="Exchange" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="ExchangeSymbol" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:FutureTypes" />
      </s:sequence>
      </s:extension>
      </s:complexContent>
      </s:complexType>
    - <s:simpleType name="FutureTypes">
    - <s:restriction base="s:string">
      <s:enumeration value="Future" />
      <s:enumeration value="Swap" />
      </s:restriction>
      </s:simpleType>
    - <s:simpleType name="Currencies">
    - <s:restriction base="s:string">
      <s:enumeration value="USD" />
      <s:enumeration value="AED" />
      <s:enumeration value="AFA" />
      <s:enumeration value="AFN" />
      <s:enumeration value="ALL" />
      <s:enumeration value="AMD" />
      <s:enumeration value="ANG" />
      <s:enumeration value="AOA" />
      <s:enumeration value="ARA" />
      <s:enumeration value="ARE" />
      <s:enumeration value="ARS" />
      <s:enumeration value="ATS" />
      <s:enumeration value="AUD" />
      <s:enumeration value="AUN" />
      <s:enumeration value="AWG" />
      <s:enumeration value="AZM" />
      <s:enumeration value="BAM" />
      <s:enumeration value="BBD" />
      <s:enumeration value="BDT" />
      <s:enumeration value="BEF" />
      <s:enumeration value="BEL" />
      <s:enumeration value="BGL" />
      <s:enumeration value="BGN" />
      <s:enumeration value="BHD" />
      <s:enumeration value="BIF" />
      <s:enumeration value="BMD" />
      <s:enumeration value="BND" />
      <s:enumeration value="BOB" />
      <s:enumeration value="BOV" />
      <s:enumeration value="BRC" />
      <s:enumeration value="BRE" />
      <s:enumeration value="BRI" />
      <s:enumeration value="BRL" />
      <s:enumeration value="BRR" />
      <s:enumeration value="BSD" />
      <s:enumeration value="BTN" />
      <s:enumeration value="BWP" />
      <s:enumeration value="BYR" />
      <s:enumeration value="BZD" />
      <s:enumeration value="CAD" />
      <s:enumeration value="CDF" />
      <s:enumeration value="CHF" />
      <s:enumeration value="CHK" />
      <s:enumeration value="CLP" />
      <s:enumeration value="CNY" />
      <s:enumeration value="COP" />
      <s:enumeration value="CRC" />
      <s:enumeration value="CSD" />
      <s:enumeration value="CUP" />
      <s:enumeration value="CVE" />
      <s:enumeration value="CYP" />
      <s:enumeration value="CZK" />
      <s:enumeration value="DEM" />
      <s:enumeration value="DJF" />
      <s:enumeration value="DKK" />
      <s:enumeration value="DOP" />
      <s:enumeration value="DOE" />
      <s:enumeration value="DOW" />
      <s:enumeration value="DZD" />
      <s:enumeration value="ECS" />
      <s:enumeration value="EEK" />
      <s:enumeration value="EGP" />
      <s:enumeration value="ERN" />
      <s:enumeration value="ESP" />
      <s:enumeration value="ETB" />
      <s:enumeration value="EUR" />
      <s:enumeration value="FIM" />
      <s:enumeration value="FJD" />
      <s:enumeration value="FKP" />
      <s:enumeration value="FRF" />
      <s:enumeration value="FRN" />
      <s:enumeration value="GBP" />
      <s:enumeration value="GEL" />
      <s:enumeration value="GGP" />
      <s:enumeration value="GHC" />
      <s:enumeration value="GIP" />
      <s:enumeration value="GMD" />
      <s:enumeration value="GNF" />
      <s:enumeration value="GRD" />
      <s:enumeration value="GTQ" />
      <s:enumeration value="GYD" />
      <s:enumeration value="HKD" />
      <s:enumeration value="HNL" />
      <s:enumeration value="HRD" />
      <s:enumeration value="HRK" />
      <s:enumeration value="HTG" />
      <s:enumeration value="HUF" />
      <s:enumeration value="IDR" />
      <s:enumeration value="IEP" />
      <s:enumeration value="ILS" />
      <s:enumeration value="IMP" />
      <s:enumeration value="INR" />
      <s:enumeration value="IQD" />
      <s:enumeration value="IRR" />
      <s:enumeration value="ISK" />
      <s:enumeration value="ITL" />
      <s:enumeration value="JEP" />
      <s:enumeration value="JMD" />
      <s:enumeration value="JOD" />
      <s:enumeration value="JPY" />
      <s:enumeration value="KES" />
      <s:enumeration value="KGS" />
      <s:enumeration value="KHR" />
      <s:enumeration value="KMF" />
      <s:enumeration value="KPW" />
      <s:enumeration value="KRU" />
      <s:enumeration value="KRW" />
      <s:enumeration value="KWD" />
      <s:enumeration value="KYD" />
      <s:enumeration value="KZT" />
      <s:enumeration value="LAK" />
      <s:enumeration value="LBP" />
      <s:enumeration value="LKR" />
      <s:enumeration value="LRD" />
      <s:enumeration value="LSL" />
      <s:enumeration value="LTL" />
      <s:enumeration value="LUF" />
      <s:enumeration value="LVL" />
      <s:enumeration value="LYD" />
      <s:enumeration value="M5P" />
      <s:enumeration value="MAD" />
      <s:enumeration value="MAL" />
      <s:enumeration value="MDL" />
      <s:enumeration value="MFG" />
      <s:enumeration value="MGA" />
      <s:enumeration value="MKD" />
      <s:enumeration value="MMK" />
      <s:enumeration value="MNT" />
      <s:enumeration value="MOP" />
      <s:enumeration value="MRO" />
      <s:enumeration value="MTL" />
      <s:enumeration value="MTP" />
      <s:enumeration value="MUR" />
      <s:enumeration value="MVR" />
      <s:enumeration value="MWK" />
      <s:enumeration value="MXN" />
      <s:enumeration value="MXP" />
      <s:enumeration value="MXV" />
      <s:enumeration value="MYR" />
      <s:enumeration value="MZM" />
      <s:enumeration value="MZN" />
      <s:enumeration value="NAD" />
      <s:enumeration value="NBL" />
      <s:enumeration value="NGN" />
      <s:enumeration value="NIC" />
      <s:enumeration value="NIO" />
      <s:enumeration value="NLG" />
      <s:enumeration value="NOK" />
      <s:enumeration value="NPR" />
      <s:enumeration value="NSO" />
      <s:enumeration value="NZD" />
      <s:enumeration value="OMR" />
      <s:enumeration value="OSO" />
      <s:enumeration value="PAB" />
      <s:enumeration value="PEI" />
      <s:enumeration value="PEN" />
      <s:enumeration value="PES" />
      <s:enumeration value="PGK" />
      <s:enumeration value="PHP" />
      <s:enumeration value="PKR" />
      <s:enumeration value="PLN" />
      <s:enumeration value="PLZ" />
      <s:enumeration value="PTE" />
      <s:enumeration value="PYG" />
      <s:enumeration value="QAR" />
      <s:enumeration value="ROL" />
      <s:enumeration value="RON" />
      <s:enumeration value="RUB" />
      <s:enumeration value="RUR" />
      <s:enumeration value="RWF" />
      <s:enumeration value="SAR" />
      <s:enumeration value="SBD" />
      <s:enumeration value="SCR" />
      <s:enumeration value="SDD" />
      <s:enumeration value="SDP" />
      <s:enumeration value="SDR" />
      <s:enumeration value="SEK" />
      <s:enumeration value="SGD" />
      <s:enumeration value="SHP" />
      <s:enumeration value="SIT" />
      <s:enumeration value="SKK" />
      <s:enumeration value="SLL" />
      <s:enumeration value="SOS" />
      <s:enumeration value="SPL" />
      <s:enumeration value="SRG" />
      <s:enumeration value="STD" />
      <s:enumeration value="SUR" />
      <s:enumeration value="SVC" />
      <s:enumeration value="SYP" />
      <s:enumeration value="SZL" />
      <s:enumeration value="THB" />
      <s:enumeration value="TJR" />
      <s:enumeration value="TJS" />
      <s:enumeration value="TMM" />
      <s:enumeration value="TND" />
      <s:enumeration value="TOP" />
      <s:enumeration value="TRL" />
      <s:enumeration value="TRY" />
      <s:enumeration value="TTD" />
      <s:enumeration value="TVD" />
      <s:enumeration value="TWD" />
      <s:enumeration value="TZS" />
      <s:enumeration value="UAH" />
      <s:enumeration value="UGX" />
      <s:enumeration value="UNK" />
      <s:enumeration value="UYP" />
      <s:enumeration value="UYU" />
      <s:enumeration value="UZS" />
      <s:enumeration value="VEB" />
      <s:enumeration value="VND" />
      <s:enumeration value="VRL" />
      <s:enumeration value="VRN" />
      <s:enumeration value="VUV" />
      <s:enumeration value="WST" />
      <s:enumeration value="XAF" />
      <s:enumeration value="XAG" />
      <s:enumeration value="XAU" />
      <s:enumeration value="XCD" />
      <s:enumeration value="XDR" />
      <s:enumeration value="XEU" />
      <s:enumeration value="XOF" />
      <s:enumeration value="XPD" />
      <s:enumeration value="XPF" />
      <s:enumeration value="XPT" />
      <s:enumeration value="YER" />
      <s:enumeration value="YUD" />
      <s:enumeration value="YUM" />
      <s:enumeration value="ZAL" />
      <s:enumeration value="ZAR" />
      <s:enumeration value="ZMK" />
      <s:enumeration value="ZRN" />
      <s:enumeration value="ZRZ" />
      <s:enumeration value="ZWD" />
      <s:enumeration value="BAD" />
      <s:enumeration value="NOCURRENCY" />
      </s:restriction>
      </s:simpleType>
    - <s:element name="GetAllDelayedMetalFutures">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:MetalFutureTypes" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetAllDelayedMetalFuturesResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="GetAllDelayedMetalFuturesResult" type="tns:ArrayOfFutureQuote" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:complexType name="ArrayOfFutureQuote">
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="unbounded" name="FutureQuote" nillable="true" type="tns:FutureQuote" />
      </s:sequence>
      </s:complexType>
    - <s:element name="GetHistoricalMetalFuture">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:MetalFutureTypes" />
      <s:element minOccurs="0" maxOccurs="1" name="AsOfDate" type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetHistoricalMetalFutureResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="GetHistoricalMetalFutureResult" type="tns:FutureQuote" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetHistoricalMetalFutureRange">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:MetalFutureTypes" />
      <s:element minOccurs="0" maxOccurs="1" name="StartDate" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="EndDate" type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetHistoricalMetalFutureRangeResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="GetHistoricalMetalFutureRangeResult" type="tns:FutureQuotes" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:complexType name="FutureQuotes">
    - <s:complexContent mixed="false">
    - <s:extension base="tns:Common">
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="Future" type="tns:Future" />
      <s:element minOccurs="0" maxOccurs="1" name="StartDate" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="EndDate" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="Quotes" type="tns:ArrayOfFutureQuote" />
      </s:sequence>
      </s:extension>
      </s:complexContent>
      </s:complexType>
    - <s:element name="GetIntradayMetalFutureChart">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:MetalFutureTypes" />
      <s:element minOccurs="0" maxOccurs="1" name="StartTime" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="EndTime" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Style" type="tns:StockChartStyles" />
      <s:element minOccurs="1" maxOccurs="1" name="Width" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="Height" type="s:int" />
      <s:element minOccurs="0" maxOccurs="1" name="Preset" type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetIntradayMetalFutureChartResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="GetIntradayMetalFutureChartResult" type="tns:IntradayChart" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:complexType name="IntradayChart">
    - <s:complexContent mixed="false">
    - <s:extension base="tns:StockChart">
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="Future" type="tns:Future" />
      <s:element minOccurs="0" maxOccurs="1" name="StartTime" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="EndTime" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Width" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="Height" type="s:int" />
      <s:element minOccurs="0" maxOccurs="1" name="Title" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Style" type="tns:StockChartStyles" />
      <s:element minOccurs="0" maxOccurs="1" name="Url" type="s:string" />
      </s:sequence>
      </s:extension>
      </s:complexContent>
      </s:complexType>
    - <s:element name="GetIntradayMetalFutureChartBinary">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:MetalFutureTypes" />
      <s:element minOccurs="0" maxOccurs="1" name="StartTime" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="EndTime" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Style" type="tns:StockChartStyles" />
      <s:element minOccurs="1" maxOccurs="1" name="Width" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="Height" type="s:int" />
      <s:element minOccurs="0" maxOccurs="1" name="Preset" type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetIntradayMetalFutureChartBinaryResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="GetIntradayMetalFutureChartBinaryResult" type="tns:ChartBinary" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetIntradayMetalFutureChartCustom">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:MetalFutureTypes" />
      <s:element minOccurs="0" maxOccurs="1" name="StartTime" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="EndTime" type="s:string" />
      <s:element minOccurs="1" maxOccurs="1" name="Style" type="tns:StockChartStyles" />
      <s:element minOccurs="1" maxOccurs="1" name="Width" type="s:int" />
      <s:element minOccurs="1" maxOccurs="1" name="Height" type="s:int" />
      <s:element minOccurs="0" maxOccurs="1" name="Design" type="tns:ChartDesign" />
      </s:sequ

    That helps, thanks.
    But my error is different. How can I make sure the cause is the same?
    The error I get is the following:
    Proxy generation terminated: WSDL error (<extension> not supported)
    Diagnosis
    The language element
      "<extension>"
    was used in the WSDL document.
    This language element is not supported by ABAP proxy generation.
    Thanks again.
    Leonardo

  • Effectv don't compile. error: conflicting types for 'trunc'

    hello all.
    i'm full newbie, so please, be kind
    I try to install effectv from AUR, but when i try to 'make' - i receive error:
    error: conflicting types for 'trunc'
    then i download sources and try to compile them - and again receive this error.
    Please advice, what should i do to correct this error?
    Thank you and sorry for my english.

    Please contact the author of the PKGBUILD to have it changed in the AUR. This fixes your issues:
    PKGBUILD
    # Contributor: Luiz Ribeiro <luizribeiro>
    pkgname=effectv
    pkgver=0.3.11
    pkgrel=1
    pkgdesc="EffecTV is a real-time video effector. You can watch TV or video through amazing effectors."
    url="http://effectv.sourceforge.net/"
    depends=('sdl')
    makedepends=('nasm')
    conflicts=()
    license=
    install=
    source=('http://jaist.dl.sourceforge.net/sourceforge/effectv/effectv-0.3.11.tar.gz'
    'gcc.patch' 'timedist.patch')
    md5sums=('71570b71009df0f1ff53e31de6f50cee')
    build() {
    cd $startdir/src/$pkgname-$pkgver
    patch -Np0 < $startdir/src/gcc.patch || return 1
    patch -Np0 < $startdir/src/timedist.patch || return 1
    sed -i -e 's_/usr/local_/usr_g' config.mk
    make || return 1
    mkdir -p $startdir/pkg/usr/bin
    mkdir -p $startdir/pkg/usr/man/man1
    make install INSTALL=/bin/install -c DESTDIR=$startdir/pkg || return 1
    gcc.patch : fixes compile problem
    --- utils.c.orig 2006-02-14 15:06:17.000000000 +0100
    +++ utils.c 2006-08-30 22:47:19.514145536 +0200
    @@ -26,7 +26,7 @@
    * HSI color system utilities
    -static int trunc(double f)
    +static int trunc_color(double f)
    int i;
    @@ -44,9 +44,9 @@
    Gv=1+S*sin(H);
    Bv=1+S*sin(H+2*M_PI/3);
    T=255.999*I/2;
    - *r=trunc(Rv*T);
    - *g=trunc(Gv*T);
    - *b=trunc(Bv*T);
    + *r=trunc_color(Rv*T);
    + *g=trunc_color(Gv*T);
    + *b=trunc_color(Bv*T);
    timedist.patch : fixes bug
    This is a quick fix for bugs of effectv-0.3.11. TimeDistortion has a border
    crossing bug and a buffer uninitializing bug.
    Index: effects/timedist.c
    ===================================================================
    --- effects/timedist.c (revision 478)
    +++ effects/timedist.c (working copy)
    @@ -27,7 +27,16 @@
    static int plane;
    static int *warptime[2];
    static int warptimeFrame;
    +static int bgIsSet;
    +static int setBackground(RGB32 *src)
    +{
    + image_bgset_y(src);
    + bgIsSet = 1;
    +
    + return 0;
    +}
    +
    effect *timeDistortionRegister(void)
    effect *entry;
    @@ -70,6 +79,7 @@
    plane = 0;
    image_set_threshold_y(MAGIC_THRESHOLD);
    + bgIsSet = 0;
    state = 1;
    return 0;
    @@ -94,6 +104,9 @@
    int *p, *q;
    memcpy(planetable[plane], src, PIXEL_SIZE * video_area);
    + if(!bgIsSet) {
    + setBackground(src);
    + }
    diff = image_bgsubtract_update_y(src);
    p = warptime[warptimeFrame ] + video_width + 1;
    @@ -109,7 +122,7 @@
    q += 2;
    - q = warptime[warptimeFrame ^ 1] + video_width + 1;
    + q = warptime[warptimeFrame ^ 1];
    for(i=0; i<video_area; i++) {
    if(*diff++) {
    *q = PLANES - 1;

  • Proxy generation terminated: WSDL error ( union not supported)

    Hi All,
    I am getting the following error when using SPROXY to generate a proxy definition based on an XSD schema:
    Proxy generation terminated: WSDL error (<union> not supported)
    Is <union> really not supported? Here is a snippet from the XSD schema:
    <xs:simpleType name="UnitOfMeasureCodeCommonData">
         <xs:union memberTypes="UnitOfMeasureCodeEnumeration TypeCodeExtension" />
    </xs:simpleType>
    and here:
    <xs:simpleType name="MessageTypeCodes">
         <xs:union memberTypes="MessageTypeCodesEnumeration TypeCodeExtension" />
    </xs:simpleType>
    Any ideas appreciated.
    Che

    Hello,
    I was facing the same trouble as you, I found note 944029, it explains depending on your ABAP version, which wsdl tags are supported or not.
    In your case union is not supported on any version, so the only way is to consume the WS from java or .net (for instance), and send the info without the error to SAP , Im guessing you are consumming a public WS that is not possible to change on its wsdl definition.
    Bye
    Gabriel P.-

  • Proxy generation terminated:WSDL error

    Hi all,
    I am trying to generate ABAP proxy using a WSDL deployed on EP development server but ended up in getting an error message "Proxy generation terminated:WSDL error -<extension> not suppported". WSDL file we are using has got the schema element <extension>. Please let me know if you know any work around for this either from Portal end or from ABAP end.
    Thanks,
    Venkat

    Hi Venkatrao,
    I am also facing same problem ,did you get solution ? Please help me
    Thanks and regards,
    Shivanand

  • Error: conflicting types for 'myFunctionOne'

    Hello,
    The LabWindows/CVI 2013 help page for C Language Extensions appears to show function overloading being supported in the C99 extensions:
     "Function Overloading in C | Yes"
    The table in the following link shows the same thing:
    http://digital.ni.com/public.nsf/allkb/73AEAD30C8AF681A86257BBB0054A26B
    I tried compiling a source file with the following overloaded function definitions with C99 extensions enabled in the Build Options:
     void myFunctionOne(double d) {
      printf ("Value = %f\n", d);
     void myFunctionOne(int d) {
      printf ("Value = %d\n", d);
    and I get the error:
     "conflicting types for 'myFunctionOne'
    Is function overloading truly supported, and if so, how does one enable it?
    Thanks,
    Mark B.
    Solved!
    Go to Solution.

    Hello Mark,
    You have to add __attribute__((overloadable)) at the definitions of the functions you want to overload.
    void __attribute__((overloadable)) myFunctionOne(double d) {
    printf ("Value = %f\n", d);
    void __attribute__((overloadable)) myFunctionOne(int d) {
    printf ("Value = %d\n", d);
    You can see an examples of clang extensions here.
    Constantin

  • Re-generation of WSDL causes schemalocation tag to change

    We cloned our production instance to a qa instance. After cloning I regenerated the wsdl's using the "Integration Repository" "Regenerate WSDL" button. One of the regenerated wsdl's now contains schemalocation tags that are different the source instance.
    The key difference between these two WSDL's is found in the schemaLocation attribute. An example of the difference is:
    From the production WSDL:
    <include schemaLocation="http://ebs.xxxserver.com:8010/webservices/SOAProvider/plsql/xxmsc_inv_tnt_product_pkg/APPS_ISG_GETALLPRODUCTTYPES_XXMSC_INV_TNT_PRODUCT_PKG-24GE4.xsd"/>
    From the qa WSDL:
    <include schemaLocation="http://devorapp1.xxxserver.com:8050/webservices/SOAProvider/plsql/xxmsc_inv_tnt_product_pkg/APPS_ISG_GETALLPRODUCTTYPES_XXMSC_INV_TNT_PRODUCT_PKG-24GE8.xsd"/>
    Note the difference in the xsd file names. Source xsd ends in 24GE4.xsd. Cloned xsd ends in 24GE8.xsd.
    Is there a way to make the qa wsdl match the production wsdl ?
    Thank you,
    Dave

    Hi,
    You should be able to edit the generated wsdl as you suggested, changing the
    "return" to something else. Then save the wsdl to a file, say
    "filename.wsdl", and then at the top of your jws add the following:
    * @jws:wsdl file="filename.wsdl"
    This will force the jws to use the wsdl you specify and you won't have to
    edit any maps. Of course, as your jws changes, you will need to regenerate
    the wsdl and change the "return" to something else.
    Mike Kaufman
    Software Engineer
    BEA Systems
    "sherlock" <[email protected]> wrote in message
    news:3cbbe81f$[email protected]..
    >
    I have created a webservice in workshop that has some methods what returnstring-data.
    Now I want to create clients with different software-products. Because Igot some
    errors with one of these products, I looked into the WSDL and noticed thatthe
    name of the response-datatype is 'return' (by default).
    You can see this here:
    - <s:element name="addUserResponse">
    - <s:complexType>
    - <s:sequence>
    <s:element minOccurs="1" maxOccurs="1" name="return" nillable="true"type="s:string"
    />
    This 'return' is interpreted as a keyword in the client-generation tool.If I
    change this manually to another word then it works.
    When I try to change the 'Return XML' in the 'Edit Maps and Interface'Dialog,
    than the WSDL looks like this:
    - <s:element name="addUserResponse">
    - <s:complexType mixed="true">
    - <s:sequence>
    <s:any minOccurs="1" maxOccurs="unbounded" />
    Now the name- and type-definitions are completely missing.
    The question is now: how to change the name of the response-datatype from'return'
    to another (not-keyword-) name?
    I think this is important because I don't know what software a customeruses to
    generate a client and I can not expect that he manually edits myWSDL-file.
    >
    Thanks.

  • Problem in client generation from wsdl file

    Hi i am trying to generate client from a wsdl file through apache cxf framework, but it throws WSDLRefValidator error.
    Here is the error statment:
    Oct 11, 2012 11:51:33 AM org.apache.cxf.tools.validator.internal.WSDLRefValidator collectValidationPoints
    WARNING: WSDL document file:/D:/latestWS20120925/WebServiceTest26092012/WebContent/wsdl/PlmWebserviceImportGcas.wsdl does not define any services
    WSDLToJava Error:
    line 5 column 646 of file:/D:/latestWS20120925/WebServiceTest26092012/WebContent/wsdl/PlmWebserviceImportGcas.wsdl: cvc-complex-type.2.4.a: Invalid content was found starting with element 'WL5G3N0:definitions'. One of '{"http://www.w3.org/2001/XMLSchema":include, "http://www.w3.org/2001/XMLSchema":import, "http://www.w3.org/2001/XMLSchema":redefine, "http://www.w3.org/2001/XMLSchema":annotation, "http://www.w3.org/2001/XMLSchema":simpleType, "http://www.w3.org/2001/XMLSchema":complexType, "http://www.w3.org/2001/XMLSchema":group, "http://www.w3.org/2001/XMLSchema":attributeGroup, "http://www.w3.org/2001/XMLSchema":element, "http://www.w3.org/2001/XMLSchema":attribute, "http://www.w3.org/2001/XMLSchema":notation}' is expected.
    org.apache.cxf.tools.common.ToolException:
    line 5 column 646 of file:/D:/latestWS20120925/WebServiceTest26092012/WebContent/wsdl/PlmWebserviceImportGcas.wsdl: cvc-complex-type.2.4.a: Invalid content was found starting with element 'WL5G3N0:definitions'. One of '{"http://www.w3.org/2001/XMLSchema":include, "http://www.w3.org/2001/XMLSchema":import, "http://www.w3.org/2001/XMLSchema":redefine, "http://www.w3.org/2001/XMLSchema":annotation, "http://www.w3.org/2001/XMLSchema":simpleType, "http://www.w3.org/2001/XMLSchema":complexType, "http://www.w3.org/2001/XMLSchema":group, "http://www.w3.org/2001/XMLSchema":attributeGroup, "http://www.w3.org/2001/XMLSchema":element, "http://www.w3.org/2001/XMLSchema":attribute, "http://www.w3.org/2001/XMLSchema":notation}' is expected.
         at org.apache.cxf.tools.validator.internal.SchemaValidator.validate(SchemaValidator.java:203)
         at org.apache.cxf.tools.validator.internal.SchemaValidator.validate(SchemaValidator.java:119)
         at org.apache.cxf.tools.validator.internal.SchemaValidator.isValid(SchemaValidator.java:103)
         at org.apache.cxf.tools.validator.internal.WSDL11Validator.isValid(WSDL11Validator.java:157)
         at org.apache.cxf.tools.wsdlto.frontend.jaxws.wsdl11.JAXWSDefinitionBuilder.validate(JAXWSDefinitionBuilder.java:204)
         at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.processWsdl(WSDLToJavaContainer.java:182)
         at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:142)
         at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:300)
    The excerpt from wsdl file is provided below:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="PlmWebserviceImportGcas.wsdl" targetNamespace="D:/webservice">
    <wsdl:types>
    <xsd:schema xmlns="http://www.pg.com/css/webservice" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.pg.com/css/webservice">
    *<WL5G3N0:definitions xmlns="" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/" xmlns:WL5G3N1="http://www.pg.com/Inputs/HubPollForTSStatusInput" xmlns:WL5G3N2="http://www.pg.com/Outputs/HubPollForTSStatusOutput" xmlns:WL5G3N3="http:/www.pg.com/productNet/HubSubmitForumlatoCSSInput" xmlns:WL5G3N4="http:/www.pg.com/productNet/HubSubmitForumlatoCSSOutput" xmlns:WL5G3N5="http://www.pg.com/Inputs/HubDeleteTSRequestInput" xmlns:WL5G3N6="http://www.pg.com/Outputs/HubDeleteTSRequestOutput" xmlns:WL5G3N7="http://www.pg.com/WS/FormulaHubWS" xmlns:WL5G3N8="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://www.pg.com/WS/FormulaHubWS">*
    <WL5G3N0:types>
    <xsd:schema xmlns="http:/www.pg.com/productNet/HubSubmitForumlatoCSSOutput" xmlns:CSS_SubmitFormulaOutput.xsd="http://pg.com/Inputs/CSS_SubmitFormulaOutput" xmlns:ns2="http://www.pg.com/Inputs/HubPollForTSStatusInput" xmlns:ns3="http://www.pg.com/Outputs/HubPollForTSStatusOutput" xmlns:ns4="http:/www.pg.com/productNet/HubSubmitForumlatoCSSInput" xmlns:ns5="http:/www.pg.com/productNet/HubSubmitForumlatoCSSOutput" xmlns:ns6="http://www.pg.com/Inputs/HubDeleteTSRequestInput" xmlns:ns7="http://www.pg.com/Outputs/HubDeleteTSRequestOutput" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.pg.com/WS/FormulaHubWS" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http:/www.pg.com/productNet/HubSubmitForumlatoCSSOutput">
                                  <xsd:import namespace="http://pg.com/Inputs/CSS_SubmitFormulaOutput"/>
                                  <xsd:element name="SubmitFormulatoCSSOutput">
                                       <xsd:complexType>
                                            <xsd:sequence>
                                                 <xsd:element ref="CSS_SubmitFormulaOutput.xsd:SubmitFormulatoCSS_Output"/>
    It seems to be problem with tag WL5G3NO declaration.
    Can anyone suggest how to rectify this?
    Thanks

    Have you tried pulling the schema out of the wsdl and putting it in a xsd file and see if it validates?
    Otherwise, have you tried removing the xmlns:"" from <WL5G3N0:definitions xmlns:"".
    Edited by: C.Stodden on Oct 11, 2012 8:52 AM

  • Client API generation from WSDL.

    Hi,
    Could any one guide as how to generate the client from WSDL? I am using RAD7/Eclipse.
    When i try to generate it gives below error.
    Errors occurred during wsimport.
      warning: src-resolve.4.2: Error resolving component 'ns1:pagedata'. It was detected that 'ns1:pagedata' is in namespace 'urn:SCenter-Data-Svc-SubmissionWorkflowSvc:CreateSubmissionWorkItemRequest', but components from this namespace are not referenceable from schema document 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema8'. If this is the incorrect namespace, perhaps the prefix of 'ns1:pagedata' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema8'.
      line 0 of file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema8
    warning: src-resolve.4.2: Error resolving component 'ns2:pagedata'. It was detected that 'ns2:pagedata' is in namespace 'urn:SCenter-Data-Svc-SubmissionWorkflowSvc:CreateSubmissionWorkItemResponse', but components from this namespace are not referenceable from schema document 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema8'. If this is the incorrect namespace, perhaps the prefix of 'ns2:pagedata' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema8'.
      line 0 of file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema8
    warning: src-resolve.4.2: Error resolving component 'ns3:pagedata'. It was detected that 'ns3:pagedata' is in namespace 'urn:SCenter-Data-Svc-BrokerInfo:pyDefault', but components from this namespace are not referenceable from schema document 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema1'. If this is the incorrect namespace, perhaps the prefix of 'ns3:pagedata' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema1'.
      line 0 of file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema1
    warning: src-resolve.4.2: Error resolving component 'ns4:pagedata'. It was detected that 'ns4:pagedata' is in namespace 'urn:SCenter-Data-Svc-ClientInfo:pyDefault', but components from this namespace are not referenceable from schema document 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema1'. If this is the incorrect namespace, perhaps the prefix of 'ns4:pagedata' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema1'.
      line 0 of file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema1
    warning: src-resolve.4.2: Error resolving component 'ns5:pagedata'. It was detected that 'ns5:pagedata' is in namespace 'urn:SCenter-Data-Svc-State:pyDefault', but components from this namespace are not referenceable from schema document 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema1'. If this is the incorrect namespace, perhaps the prefix of 'ns5:pagedata' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema1'.
      line 0 of file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema1
    warning: src-resolve.4.2: Error resolving component 'ns6:pagedata'. It was detected that 'ns6:pagedata' is in namespace 'urn:SCenter-Data-Svc-SubmissionInfo:pyDefault', but components from this namespace are not referenceable from schema document 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema1'. If this is the incorrect namespace, perhaps the prefix of 'ns6:pagedata' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema1'.
      line 0 of file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema1
    warning: src-resolve.4.2: Error resolving component 'ns7:pagedata'. It was detected that 'ns7:pagedata' is in namespace 'urn:SCenter-Data-Svc-Exception:pyDefault', but components from this namespace are not referenceable from schema document 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema2'. If this is the incorrect namespace, perhaps the prefix of 'ns7:pagedata' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema2'.
      line 0 of file:/C:/rad7/workspace/WebService/WebContent/META-INF/com/Submissions.WSDL#types?schema2
    error: Invalid header "ServiceInvoker" of binding operation "CreateSubmissionWorkItem": not literal
      Invalid header "ServiceInvoker" of binding operation "CreateSubmissionWorkItem": not literalCan any one tell us what is happening?

    just like the error message says, you are using some namespaces in your wsdl, e.g. "urn:SCenter-Data-Svc-SubmissionWorkflowSvc:CreateSubmissionWorkItemRequest" for which there is no relevant schema import. thus, the code generator cannot find the definition of the types in those namespaces.

  • Stub/Client Generation of WSDL for Windows Communication Foundation Service

    Hii,
    I am building a client for the WCF service using Soap1.2 and ws-security. I have tried building a stub for the service using JDeveloper 10 g and also tried to validate the wsdl using XML spy. Both are giving errors. I wanna know how could i genrate the stub for the service and also Validate WSDL? I know i might have to modify the WSDL, but dont know what changes must be required? And Also which std i must adhere?
    Here is the WSDL
    <?xml version="1.0" encoding="utf-8"?>
    <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                      xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
                      xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
                      xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
                      xmlns:wsap10="http://www.w3.org/2005/08/addressing"
                      xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
                      xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
                      xmlns:i0="http://Corona.Services.UserMgmt.UserMgmtSrv"
                      xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/09/policy/addressing"
                      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                      xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract"
                      xmlns:tns="http://tempuri.org/"
                      xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
                      xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"
                      xmlns:wsa10="http://www.w3.org/2005/08/addressing"
                      targetNamespace="http://tempuri.org/" name="UserMgmtSrv">
      <wsdl:import namespace="http://Corona.Services.UserMgmt.UserMgmtSrv"
                   location="http://debugger/Corona.Services/Corona.Services.svc?wsdl"/>
      <wsdl:types/>
      <wsdl:binding name="WSHttpBinding_UserMgmtSrv" type="i0:UserMgmtSrv">
        <wsp:PolicyReference URI="#WSHttpBinding_UserMgmtSrv_policy"/>
        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
        <wsdl:operation name="Authenticate">
          <wsdl:input>
            <soap12:body use="literal"/>
          </wsdl:input>
          <wsdl:output>
            <soap12:body use="literal"/>
          </wsdl:output>
          <wsdl:fault name="ArgumentExceptionFault">
            <soap12:fault name="ArgumentExceptionFault"
                          namespace="http://Corona.Services.UserMgmt.UserMgmtSrv.FaultException"/>
          </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="SaveHealthProfileWrapper">
          <wsdl:input>
            <soap12:body use="literal"/>
          </wsdl:input>
          <wsdl:output>
            <soap12:body use="literal"/>
          </wsdl:output>
        </wsdl:operation>
      </wsdl:binding>
      <wsdl:service name="UserMgmtSrv">
        <wsdl:port name="WSHttpBinding_UserMgmtSrv"
                   binding="tns:WSHttpBinding_UserMgmtSrv">
          <soap12:address location="https://debugger/Corona.Services/Corona.Services.svc"/>
          <wsa10:EndpointReference>
            <wsa10:Address>https://debugger/Corona.Services/Corona.Services.svc</wsa10:Address>
          </wsa10:EndpointReference>
        </wsdl:port>
      </wsdl:service>
      <wsp:Policy wsu:Id="WSHttpBinding_UserMgmtSrv_policy">
        <wsp:ExactlyOne>
          <wsp:All>
            <wspe:Utf816FFFECharacterEncoding xmlns:wspe="http://schemas.xmlsoap.org/ws/2004/09/policy/encoding"/>
            <sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
              <wsp:Policy>
                <sp:TransportToken>
                  <wsp:Policy>
                    <sp:HttpsToken RequireClientCertificate="false"/>
                  </wsp:Policy>
                </sp:TransportToken>
                <sp:AlgorithmSuite>
                  <wsp:Policy>
                    <sp:Basic128/>
                  </wsp:Policy>
                </sp:AlgorithmSuite>
                <sp:Layout>
                  <wsp:Policy>
                    <sp:Strict/>
                  </wsp:Policy>
                </sp:Layout>
                <sp:IncludeTimestamp/>
              </wsp:Policy>
            </sp:TransportBinding>
            <sp:EndorsingSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
              <wsp:Policy>
                <sp:SecureConversationToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
                  <wsp:Policy>
                    <mssp:RequireCancel wsp:Optional="true"
                                        xmlns:mssp="http://schemas.microsoft.com/ws/2005/07/securitypolicy"/>
                    <sp:BootstrapPolicy>
                      <wsp:Policy>
                        <sp:TransportBinding>
                          <wsp:Policy>
                            <sp:TransportToken>
                              <wsp:Policy>
                                <sp:HttpsToken RequireClientCertificate="false"/>
                              </wsp:Policy>
                            </sp:TransportToken>
                            <sp:AlgorithmSuite>
                              <wsp:Policy>
                                <sp:Basic128/>
                              </wsp:Policy>
                            </sp:AlgorithmSuite>
                            <sp:Layout>
                              <wsp:Policy>
                                <sp:Strict/>
                              </wsp:Policy>
                            </sp:Layout>
                            <sp:IncludeTimestamp/>
                          </wsp:Policy>
                        </sp:TransportBinding>
                        <sp:EndorsingSupportingTokens>
                          <wsp:Policy>
                            <sp:SpnegoContextToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
                              <wsp:Policy>
                                <mssp:RequireCancel wsp:Optional="true"
                                                    xmlns:mssp="http://schemas.microsoft.com/ws/2005/07/securitypolicy"/>
                              </wsp:Policy>
                            </sp:SpnegoContextToken>
                          </wsp:Policy>
                        </sp:EndorsingSupportingTokens>
                        <sp:Trust10>
                          <wsp:Policy>
                            <sp:MustSupportIssuedTokens/>
                            <sp:RequireClientEntropy/>
                            <sp:RequireServerEntropy/>
                          </wsp:Policy>
                        </sp:Trust10>
                      </wsp:Policy>
                    </sp:BootstrapPolicy>
                  </wsp:Policy>
                </sp:SecureConversationToken>
              </wsp:Policy>
            </sp:EndorsingSupportingTokens>
            <sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
              <wsp:Policy>
                <sp:MustSupportIssuedTokens/>
                <sp:RequireClientEntropy/>
                <sp:RequireServerEntropy/>
              </wsp:Policy>
            </sp:Trust10>
            <wsap10:UsingAddressing/>
          </wsp:All>
        </wsp:ExactlyOne>
      </wsp:Policy>
      <wsp:UsingPolicy/>
    </wsdl:definitions>

    I had the problem with JDev (9.0.4) when trying to generate server side classes from a homemade wsdl which took a complex type as a parameter. The only thing I got from JDeveloper was a class receiving an Element. Which pretty much means you have to do the work yourself.
    Quite disappointing....!
    I see to possibilities:
    1) If you are stuck with 9.0.4 you will have to parse to and from xml yourself. For this you can use jax-b which is a Sun API used to create classes for a given XML Schema to parse and validate XML. You have some work creating the classes, but it runs very fast when you have generated the classes.
    2) You use the topdown approach described on OTN. http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/doc-lit/index.html
    I think this is the example for OC4J (9.0.4). There is a new and improved version of the tool (wsa.jar) with the new OC4J (10.1.3)
    Have fun......and I am sure that Oracle quite soon will deliver the functionality directly from JDev....:-)
    /Peter

  • Dbms_xmlschema's automatic type generation

    Hi,
    I would like to import XML documents in Oracle 9i Release 2 which contain a structure like this:
    <TEST>
    <TEST/>
    <TEST/>
    </TEST>
    I am using the following schema definition:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="qualified"
    targetNamespace="http://www.informatik.hu-berlin.de/~vitt/test"
    xmlns:t="http://www.informatik.hu-berlin.de/~vitt/test"
    >
    <xs:complexType name="C_TEST">
    <xs:sequence>
    <xs:element minOccurs="0" maxOccurs="unbounded" ref="t:TEST" />
    </xs:sequence>
    </xs:complexType>
    <xs:element name="TEST" type="t:C_TEST"/>
    </xs:schema>
    I am importing this schema using PL/SQL's DBMS_XMLSCHEMA.registerURI with the default options, i.e. automatic type and table generation turned on. Unfortunately, this does not quite work as expected. If I ask SQL*Plus to describe the created table, Oracle disconnects:
    SQL> describe TEST4711_TAB
    ERROR:
    ORA-03113: end-of-file on communication channel
    Describing the created types shows that something went wrong:
    SQL> describe C_TEST4710_T
    C_TEST4710_T is NOT FINAL
    Name Null? Type
    SYS_XDBPD$ XDB.XDB$RAW_LIST_T
    TEST REF OF XMLTYPE
    SQL> describe TEST4712_COLL
    TEST4712_COLL VARRAY(2147483647) OF C_TEST4710_T
    TEST4712_COLL is NOT FINAL
    Name Null? Type
    SYS_XDBPD$ XDB.XDB$RAW_LIST_T
    TEST REF OF XMLTYPE
    As far as I understand, the TEST element of C_TEST4710_T should be of the TEST4712_COLL type, not simply a REF OF XMLTYPE, as there may be more than one TEST XML elements inside a TEST element.
    How can I get around this problem?
    TIA,
    Thorsten

    Hi,
    What version of Oracle are you using?9.2.0.1.0
    Have you looked at your server to see if the Oracle
    instance is creating any trace or dump files?The DESCRIBE command mentioned in my original post results in the following written to the alert_lehre.log file:
    Mon Aug 30 16:59:57 2004
    Errors in file /oracle/lehre/admin/lehre/udump/lehre_ora_7673.trc:
    ORA-07445: exception encountered: core dump [qmtAddProperty()+783] [SIGSEGV] [Address not mapped to object] [0x29] [] []
    Currently, I do not have access to the trace file, though.
    Have you tried a different version of SQLplus just to
    see if it does the describe?No. However, I get the same error (and the same alert.log entry) when I try to insert a sample XML file into the table, as well from SQLplus as from a third-party tool using OCI.
    I seem to have found a workaround now -- a slight reformulation of the XML Schema definition appears to make Oracle create a correct type definition:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="qualified"
    targetNamespace="http://www.informatik.hu-berlin.de/~vitt/test"
    xmlns:t="http://www.informatik.hu-berlin.de/~vitt/test"
    >
    <xs:complexType name="C_TEST">
    <xs:sequence>
    <!-- old: <xs:element minOccurs="0" maxOccurs="unbounded" ref="t:TEST" /> -->
    <xs:element minOccurs="0" maxOccurs="unbounded" name="TEST" type="t:C_TEST"/>
    </xs:sequence>
    </xs:complexType>
    <xs:element name="TEST" type="t:C_TEST"/>
    </xs:schema>
    SQL> describe C_TEST6847_T;
    C_TEST6847_T is NOT FINAL
    Name Null? Type
    SYS_XDBPD$ XDB.XDB$RAW_LIST_T
    TEST XDB.XDB$XMLTYPE_REF_LIST_T
    -- Thorsten

  • Java type extensions in WSDL

    Hi,
    I would really appreciate if someone could share an example of how java types can be used in WSDL.
    I am trying to define messages of type java.sql.Connection. The WSDL should look something like:
    But of course I cannot reference java.sql.Connection from the WSDL
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:tst="http://test.org/test/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    name="TestService"
    targetNamespace="http://test.org/TestService/">
    <wsdl:types>
    <xsd:schema targetNamespace="http://test.org/Test/">
    <?xml version="1.0" encoding="UTF-8"?>
    <element name="testType">
    <complexType>
    <sequence>
    <element name="connection" type="java:java.sql.Connection"/>
    </sequence>
    </complexType>
    </element>
    </xsd:schema>
    </wsdl:types>
    <wsdl:message name="testMessage">
    <wsdl:part name="RequestParameter" element="tst:testType"/>
    </wsdl:message>
    <wsdl:message name="testMessage">
    <wsdl:part name="ResponseParameter" element="tst:testType"/>
    </wsdl:message>
    <wsdl:portType name="testInterface">
    <wsdl:operation name="TestOper">
    <wsdl:input message="tst:testRequestMessage"/>
    <wsdl:output message="tst:testResponseMessage"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="testServiceSOAP" type="tst:testInterface">
    <soap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="test">
    <soap:operation soapAction="http://test.org/test/ "/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="testService">
    <wsdl:port binding="conn:testServiceSOAP" name="testServicePort">
    <soap:address location="http://localhost:8080/Axis/services/testServiceSOAP" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    Is there a workaround?
    Thanks.
    M

    OK, but what do we do if an application is using several database web services that should perform operations in the same session simply because it is too time consuming to authenticate every time a different web service is invoked?
    Do we ask for user name/password for every web service?
    Use the same connection (which you say is impossible) or
    Somehow keep the user name / password and reuse it when invoking another web service?
    Thanks

  • Type reference across CDS documents

    Hi,
    Is it possible in HANA SP07 to refer to a type define in CDS document 'A' in CDS document 'B'.
    Example
    CDS Document A is as follows
    namespace x.y;
    @Schema: 'FOO';
    context A{
    type status : String(2);
    CDS Document B is as follows
    namespace x.y;
    @Schema: 'FOO';
    context B{
         entity bar{
            barStatus : A.status;
    If I activate the CDS document B I get error stating artifact A.status not found. So is this error expected or is there a way by which we can refer to a type defined in a different CDS document.
    Thanks
    Kind Regards
    Chandan

    No there is not yet support for referencing entities or types across multiple HDBDD artifacts. This is planned for the future.

  • Text Fields of an External Content Type come across as Multiple Line of Text

    In SharePoint 2013 I have an external content type that consists of a couple of short (nvarchar)  fields (no more that 15 characters). When I use this ECT in a custom list the fields from the ECT end up as a "Note" type instead of "Text".
    I am not sure how this happens. I have verified this by accessing the list via poweshell where I see the Type being as "Note" and also the SchemaXml showing the colName attribute as "ntext".
    The strange thing is that initially when I created the web application and built my lists this was working.
    Any ideas or pointers would be appreciated.
    Thanks

    Hi,
    Based on your description, my understanding is that When you use the ECT in a custom list the fields from the ECT end up as a "Note" type instead of "Text".
    Have you ever changed column types from "Single line of text" to "Multiple Lines of Text" in list?http://www.sharepointdiary.com/2013/09/change-column-type-in-list-using-powershell.html
    External content types are made up of fields whose types are a subset of the primitive types of .NET. For each such .NET type, a rudimentary mapping to SharePoint’s field controls exists, describing a field’s visual appearance. Fields of type string for
    instance will, on the new and edit forms, render as a single-line text field.
    Besides, check whether the following link is useful:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/0fcb5a9f-8445-4a37-9e60-ac5e9e14e8f1/sharepoint-designer-external-content-type-shows-single-line-text?forum=sharepointgeneralprevious
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Lisa Chen
    TechNet Community Support

Maybe you are looking for

  • Error in Sender File content Conversion - how to ignore keyfieldName

    Dear Frndz, I'm new to SAP PI. I want to post a flat file to ECC. The Souce Structure is:   Record(1-unbounded)     |_Header(1.1)           field1           field2           field3     |_Detail(1.unbounded0         field4         field5         field

  • Keypress listener anywhere in a JFrame

    Hello! I want to listen for a keypress (F12) from anywhere in my JFrame window, exactly like if I added a menubar with an accelerator. I can't just register a KeyListener on the JFrame because I have serveral panels on it. Any ideas? //John

  • Iphone 4 lost all my things please read and respond fast :)

    Hi, I was using I tunes and it said if I wanted to upgrade my phone so I said yes (Not in purpose) and i lost all my things in my phone so I wanted to know if there is anyway I can have all my things back, please respond fast

  • Bluetooth Headset Not Working in Bootcamp/Windows XP

    I have a Plantronics Bluetooth headset that works fine in OSX, and is paired successfully in Windows XP. For some reason though, Skype doesn't recognize it, and it is not visible in the sound control panel. The latest Macintosh Drivers disk seems to

  • [svn:fx-trunk] 11732: * Another batch of compiler fixes.

    Revision: 11732 Author:   [email protected] Date:     2009-11-12 13:18:47 -0800 (Thu, 12 Nov 2009) Log Message: Another batch of compiler fixes. QE notes: The mxunit test           Namespaces_LibraryTag_Definition_GraphicalAssetTest failed,