You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by SG...@intellicare.com on 2008/04/01 14:58:03 UTC

Re: Generating Stubs

Amila,

This was not originall my posting - I was replying to an earlier question.
An intermediate post in the thread did include the WSDL in question.
Here it is again, if you would like to follow up on my reply.

["soapinterface.wsdl" (soapinterface.wsdl)]

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
        name="MarketInterface"
        targetNamespace="http://xml.brokerhub.net/webservices/"
        xmlns:bhml="http://xml.brokerhub.net/bhml/"
        xmlns:otcxml="http://xml.brokerhub.net/otcxml/"
        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
        xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
        xmlns:wsv="http://xml.brokerhub.net/webservices/"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <!-- import uses relative paths. this way we dont have to hardcode
    the location of schemas which helps while developing new versions -->
    <wsdl:import
            location="webservices.xsd"
            namespace="http://xml.brokerhub.net/webservices/"/>
    <wsdl:types></wsdl:types>
    <wsdl:message name="updateTradeResponse">
        <wsdl:part element="wsv:response" name="updateTradeResponse"/>
    </wsdl:message>
    <wsdl:message name="getMarketDataRequest">
        <wsdl:part element="wsv:getMarketDataRequest"
name="getMarketDataRequest"/>
    </wsdl:message>
    <wsdl:message name="cancelMarketRequest">
        <wsdl:part element="wsv:cancelMarketRequest"
name="cancelMarketRequest"/>
    </wsdl:message>
    <wsdl:message name="cancelTradeRequest">
        <wsdl:part element="wsv:cancelTradeRequest"
name="cancelTradeRequest"/>
    </wsdl:message>
    <wsdl:message name="getLinkedBanksResponse">
        <wsdl:part element="wsv:organisations"
name="getLinkedBanksResponse"/>
    </wsdl:message>
    <wsdl:message name="getSWUsersResponse">
        <wsdl:part element="wsv:users" name="getSWUsersResponse"/>
    </wsdl:message>
    <wsdl:message name="getTradersResponse">
        <wsdl:part element="wsv:users" name="getTradersResponse"/>
    </wsdl:message>
    <wsdl:message name="logoutRequest">
        <wsdl:part element="wsv:authentication" name="logoutRequest"/>
    </wsdl:message>
    <wsdl:message name="addMarketResponse">
        <wsdl:part element="wsv:interestId" name="addMarketResponse"/>
    </wsdl:message>
    <wsdl:message name="cancelTradeResponse">
        <wsdl:part element="wsv:response" name="cancelTradeResponse"/>
    </wsdl:message>
    <wsdl:message name="logoutResponse">
        <wsdl:part element="wsv:response" name="logoutResponse"/>
    </wsdl:message>
    <wsdl:message name="replyToInterestResponse">
        <wsdl:part element="wsv:response" name="replyToInterestResponse"/>
    </wsdl:message>
    <wsdl:message name="invalidServerData">
        <wsdl:part element="wsv:message" name="errorMessage"/>
    </wsdl:message>
    <wsdl:message name="cancelAllMarketsResponse">
        <wsdl:part element="wsv:response"
name="cancelAllInterestResponse"/>
    </wsdl:message>
    <wsdl:message name="loginRequest">
        <wsdl:part element="wsv:loginRequest" name="loginRequest"/>
    </wsdl:message>
    <wsdl:message name="alertUserResponse">
        <wsdl:part element="wsv:response" name="alertUserResponse"/>
    </wsdl:message>
    <wsdl:message name="updateTradeRequest">
        <wsdl:part element="wsv:updateTradeRequest"
name="updateTradeRequest"/>
    </wsdl:message>
    <wsdl:message name="quoteMarketResponse">
        <wsdl:part element="wsv:response" name="quoteMarketResponse"/>
    </wsdl:message>
    <wsdl:message name="addTradeResponse">
        <wsdl:part element="wsv:tradeId" name="addTradeResponse"/>
    </wsdl:message>
    <wsdl:message name="updateMarketRequest">
        <wsdl:part element="wsv:updateMarketRequest"
name="updateMarketRequest"/>
    </wsdl:message>
    <wsdl:message name="loginResponse">
        <wsdl:part element="wsv:authentication" name="loginResponse"/>
    </wsdl:message>
    <wsdl:message name="getLinkedBanksRequest">
        <wsdl:part element="wsv:getLinkedBanksRequest"
name="getLinkedBanksRequest"/>
    </wsdl:message>
    <wsdl:message name="getSWUsersRequest">
        <wsdl:part element="wsv:getSWUsersRequest"
name="getSWUsersRequest"/>
    </wsdl:message>
    <wsdl:message name="getTradersRequest">
        <wsdl:part element="wsv:getTradersRequest"
name="getTradersRequest"/>
    </wsdl:message>
    <wsdl:message name="alertUserRequest">
        <wsdl:part element="wsv:alertUserRequest" name="alertUserRequest"/>
    </wsdl:message>
    <wsdl:message name="getMarketDataResponse">
        <wsdl:part element="otcxml:OTCxml" name="getMarketDataResponse"/>
    </wsdl:message>
    <wsdl:message name="replyToInterestRequest">
        <wsdl:part element="wsv:replyToInterestRequest" \
name="replyToInterestRequest"/>  </wsdl:message>
    <wsdl:message name="addTradeRequest">
        <wsdl:part element="wsv:addTradeRequest" name="addTradeRequest"/>
    </wsdl:message>
    <wsdl:message name="getLinkedBrokersResponse">
        <wsdl:part element="wsv:organisations"
name="getLinkedBrokersResponse"/>
    </wsdl:message>
    <wsdl:message name="addMarketRequest">
        <wsdl:part element="wsv:addMarketRequest" name="addMarketRequest"/>
    </wsdl:message>
    <wsdl:message name="updateMarketResponse">
        <wsdl:part element="wsv:response" name="updateMarketResponse"/>
    </wsdl:message>
    <wsdl:message name="cancelMarketResponse">
        <wsdl:part element="wsv:response" name="cancelMarketResponse"/>
    </wsdl:message>
    <wsdl:message name="cancelAllMarketsRequest">
        <wsdl:part element="wsv:cancelAllMarketsRequest" \
name="cancelAllMarketsRequest"/>  </wsdl:message>
    <wsdl:message name="getLinkedBrokersRequest">
        <wsdl:part element="wsv:getLinkedBrokersRequest" \
name="getLinkedBrokersRequest"/>  </wsdl:message>
    <wsdl:message name="quoteMarketRequest">
        <wsdl:part element="wsv:quoteMarketRequest"
name="quoteMarketResquest"/>
    </wsdl:message>
    <wsdl:portType name="MarketInterfacePortType">
        <wsdl:operation name="getMarketData">
            <wsdl:documentation \
                xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Requesting
market data \
                requires a valid
                login. Supply the sessionId received from the login with
the Market \
request:</wsdl:documentation>  <wsdl:input
message="wsv:getMarketDataRequest"/>
            <wsdl:output message="wsv:getMarketDataResponse"/>
            <wsdl:fault message="wsv:invalidServerData"
name="invalidServerData"/>
        </wsdl:operation>
        <wsdl:operation name="addMarket">
            <wsdl:documentation xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/">Adds a \
                market to the system. A program has
                to submit an InterestRequest to the SOAP Interface. The \
                InterestRequest consists of authentication data
                and market data. Please refer to the BHML Reference Manual
for more \
                detailed information about the
                market data structure. The authentication data is provided
as a \
sessionId.</wsdl:documentation>  <wsdl:input
message="wsv:addMarketRequest"/>
            <wsdl:output message="wsv:addMarketResponse"/>
            <wsdl:fault message="wsv:invalidServerData"
name="invalidServerData"/>
        </wsdl:operation>
        <wsdl:operation name="updateMarket">
            <wsdl:documentation xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/">Update \
                a market entered by the user
                currently logged in or within the same organization. The
interestId \
                of the market to be updated must be
                put into the interestId element of the BHML market of the \
InterestRequest.</wsdl:documentation>  <wsdl:input \
message="wsv:updateMarketRequest"/>  <wsdl:output \
                message="wsv:updateMarketResponse"/>
            <wsdl:fault message="wsv:invalidServerData"
name="invalidServerData"/>
        </wsdl:operation>
        <wsdl:operation name="cancelMarket">
            <wsdl:documentation xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/">Cancels \
                a single market specified by its
                interestId. You or somebody from your organisation must
have \
                submitted the market to be cancelled. You
                are not allowed to cancel somebody else’s \
interest.</wsdl:documentation>  <wsdl:input
message="wsv:cancelMarketRequest"/>
            <wsdl:output message="wsv:cancelMarketResponse"/>
            <wsdl:fault message="wsv:invalidServerData"
name="invalidServerData"/>
        </wsdl:operation>
        <wsdl:operation name="addTrade">
            <wsdl:documentation xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/">Adds a \
                trade to a market. A program has to
                submit a TradeRequest to the SOAP Interface. The
TradeRequest \
                consists of authentication data and market
                data. Please refer to the BHML Reference Manual for more
detailed \
                information about the market data
                structure. The authentication data is provided as a \
sessionId.</wsdl:documentation>  <wsdl:input
message="wsv:addTradeRequest"/>
            <wsdl:output message="wsv:addTradeResponse"/>
            <wsdl:fault message="wsv:invalidServerData"
name="invalidServerData"/>
        </wsdl:operation>
        <wsdl:operation name="cancelTrade">
            <wsdl:documentation xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/">Cancels \
                a single trade specified by its
                tradeId. You or somebody from your organisation must have
submitted \
                the trade to be cancelled. You are
                not allowed to cancel somebody else’s
trade.</wsdl:documentation>
            <wsdl:input message="wsv:cancelTradeRequest"/>
            <wsdl:output message="wsv:cancelTradeResponse"/>
            <wsdl:fault message="wsv:invalidServerData"
name="invalidServerData"/>
        </wsdl:operation>
        <wsdl:operation name="quoteMarket">
            <wsdl:documentation xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/">Add a \
                quote to a market. If the user you
                are logging in as has already entered a quote, it will get
updated. \
                The quoteMarketRequest requires the
                interestId of the market to quote and a bid/offer \
pair.</wsdl:documentation>  <wsdl:input message="wsv:quoteMarketRequest"/>
            <wsdl:output message="wsv:quoteMarketResponse"/>
            <wsdl:fault message="wsv:invalidServerData"
name="invalidServerData"/>
        </wsdl:operation>
        <wsdl:operation name="cancelAllMarkets">
            <wsdl:documentation xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/">Cancel \
                all markets associated with the
                user logged in. The association is established through the
sessionId \
                provided in the
                CancelAllMarketsRequest. If the optional RIC (Reuters
Instrument \
                Code) element in the request is
                specified then only markets with the instrument specified
will be \
cancelled.</wsdl:documentation>  <wsdl:input
message="wsv:cancelAllMarketsRequest"/>
            <wsdl:output message="wsv:cancelAllMarketsResponse"/>
            <wsdl:fault message="wsv:invalidServerData"
name="invalidServerData"/>
        </wsdl:operation>
        <wsdl:operation name="replyToInterest">
            <wsdl:documentation xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/">Send a \
                message to the creator of an
                interest. Similar to alertUser but the recipient is
specified via an \
interestId he added rather then a  username.</wsdl:documentation>
            <wsdl:input message="wsv:replyToInterestRequest"/>
            <wsdl:output message="wsv:replyToInterestResponse"/>
            <wsdl:fault message="wsv:invalidServerData"
name="invalidServerData"/>
        </wsdl:operation>
        <wsdl:operation name="alertUser">
            <wsdl:documentation xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/">Sends a \
                message to user specified with
                his/her username. You must be logged in to send an alert to
a user. \
                The recipient will see the message
                the next time he clicks on a link in the Brokerhub \
system.</wsdl:documentation>  <wsdl:input message="wsv:alertUserRequest"/>
            <wsdl:output message="wsv:alertUserResponse"/>
            <wsdl:fault message="wsv:invalidServerData"
name="invalidServerData"/>
        </wsdl:operation>
        <wsdl:operation name="login">
            <wsdl:documentation \
                xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Validate
against the \
                Brokerhub SOAP
                Interface. A user can only be logged in once into the
Brokerhub SOAP \
                Interface. If a user logs in, he
                does automatically logout all other connections that use
his login \
username.</wsdl:documentation>  <wsdl:input message="wsv:loginRequest"/>
            <wsdl:output message="wsv:loginResponse"/>
            <wsdl:fault message="wsv:invalidServerData"
name="invalidServerData"/>
        </wsdl:operation>
        <wsdl:operation name="logout">
            <wsdl:documentation xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/">Logout \
your session. You cannot reuse your  sessionId after
logout.</wsdl:documentation>
            <wsdl:input message="wsv:logoutRequest"/>
            <wsdl:output message="wsv:logoutResponse"/>
            <wsdl:fault message="wsv:invalidServerData"
name="invalidServerData"/>
        </wsdl:operation>
        <wsdl:operation name="getLinkedBanks">
            <wsdl:documentation xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/">Get a \
                list of all associated banks for a
                broker user. The list is returned as OTCXml clients. The
OTCXml \
                schema is part of the WSDL definition of
                this web service. Please refer to the Schema documentation
for more \
detailed  reference.</wsdl:documentation>
            <wsdl:input message="wsv:getLinkedBanksRequest"/>
            <wsdl:output message="wsv:getLinkedBanksResponse"/>
            <wsdl:fault message="wsv:invalidServerData"
name="invalidServerData"/>
        </wsdl:operation>
        <wsdl:operation name="getSWUsers">
            <wsdl:documentation xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/">Get a \
                list of all Swapswire users. The
                list is returned as OTCXml Users. The OTCXml schema is part
of the \
                WSDL definition of this web service.
                Please refer to the Schema documentation for more detailed
\
reference.</wsdl:documentation>  <wsdl:input
message="wsv:getSWUsersRequest"/>
            <wsdl:output message="wsv:getSWUsersResponse"/>
            <wsdl:fault message="wsv:invalidServerData"
name="invalidServerData"/>
        </wsdl:operation>
        <wsdl:operation name="getTraders">
            <wsdl:documentation xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/">Get a \
                list of all traders (that the broker is permissioned to
see). The
                list is returned as OTCXml Users. The OTCXml schema is part
of the \
                WSDL definition of this web service.
                Please refer to the Schema documentation for more detailed
\
reference.</wsdl:documentation>  <wsdl:input
message="wsv:getTradersRequest"/>
            <wsdl:output message="wsv:getTradersResponse"/>
            <wsdl:fault message="wsv:invalidServerData"
name="invalidServerData"/>
        </wsdl:operation>
        <wsdl:operation name="getLinkedBrokers">
            <wsdl:documentation xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/"
>Get a \
                list of all associated brokers for a
                trader user. The list is returned as OTCXml clients. The
OTCXml \
                schema is part of the WSDL definition of
                this web service. Please refer to the Schema documentation
for more \
detailed  reference.</wsdl:documentation>
            <wsdl:input message="wsv:getLinkedBrokersRequest"/>
            <wsdl:output message="wsv:getLinkedBrokersResponse"/>
            <wsdl:fault message="wsv:invalidServerData"
name="invalidServerData"/>
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="MarketInterfaceBinding"
type="wsv:MarketInterfacePortType">
        <soap:binding style="document" \
transport="http://schemas.xmlsoap.org/soap/http"/>  <wsdl:operation \
name="getMarketData">  <soap:operation

soapAction="capeconnect:MarketInterface:MarketInterfacePortType#ge \
tMarketData"/>  <wsdl:input>
                <soap:body parts="getMarketDataRequest" use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body parts="getMarketDataResponse" use="literal"/>
            </wsdl:output>
            <wsdl:fault name="invalidServerData">
                <soap:fault name="invalidServerData" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="addMarket">
            <soap:operation

soapAction="capeconnect:MarketInterface:MarketInterfacePortType#ad \
dMarket"/>  <wsdl:input>
                <soap:body parts="addMarketRequest" use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body parts="addMarketResponse" use="literal"/>
            </wsdl:output>
            <wsdl:fault name="invalidServerData">
                <soap:fault name="invalidServerData" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="updateMarket">
            <soap:operation

soapAction="capeconnect:MarketInterface:MarketInterfacePortType#up \
dateMarket"/>  <wsdl:input>
                <soap:body parts="updateMarketRequest" use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body parts="updateMarketResponse" use="literal"/>
            </wsdl:output>
            <wsdl:fault name="invalidServerData">
                <soap:fault name="invalidServerData" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="cancelMarket">
            <soap:operation

soapAction="capeconnect:MarketInterface:MarketInterfacePortType#ca \
ncelMarket"/>  <wsdl:input>
                <soap:body parts="cancelMarketRequest" use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body parts="cancelMarketResponse" use="literal"/>
            </wsdl:output>
            <wsdl:fault name="invalidServerData">
                <soap:fault name="invalidServerData" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="addTrade">
            <soap:operation

soapAction="capeconnect:MarketInterface:MarketInterfacePortType#ad \
dTrade"/>  <wsdl:input>
                <soap:body parts="addTradeRequest" use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body parts="addTradeResponse" use="literal"/>
            </wsdl:output>
            <wsdl:fault name="invalidServerData">
                <soap:fault name="invalidServerData" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="cancelTrade">
            <soap:operation

soapAction="capeconnect:MarketInterface:MarketInterfacePortType#ca \
ncelTrade"/>  <wsdl:input>
                <soap:body parts="cancelTradeRequest" use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body parts="cancelTradeResponse" use="literal"/>
            </wsdl:output>
            <wsdl:fault name="invalidServerData">
                <soap:fault name="invalidServerData" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="quoteMarket">
            <soap:operation

soapAction="capeconnect:MarketInterface:MarketInterfacePortType#qu \
oteMarket"/>  <wsdl:input>
                <soap:body parts="quoteMarketResquest" use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body parts="quoteMarketResponse" use="literal"/>
            </wsdl:output>
            <wsdl:fault name="invalidServerData">
                <soap:fault name="invalidServerData" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="cancelAllMarkets">
            <soap:operation

soapAction="capeconnect:MarketInterface:MarketInterfacePortType#ca \
ncelAllMarkets"/>  <wsdl:input>
                <soap:body parts="cancelAllMarketsRequest" use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body parts="cancelAllInterestResponse"
use="literal"/>
            </wsdl:output>
            <wsdl:fault name="invalidServerData">
                <soap:fault name="invalidServerData" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="replyToInterest">
            <soap:operation

soapAction="capeconnect:MarketInterface:MarketInterfacePortType#re \
plyToInterest"/>  <wsdl:input>
                <soap:body parts="replyToInterestRequest" use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body parts="replyToInterestResponse" use="literal"/>
            </wsdl:output>
            <wsdl:fault name="invalidServerData">
                <soap:fault name="invalidServerData" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="alertUser">
            <soap:operation

soapAction="capeconnect:MarketInterface:MarketInterfacePortType#al \
ertUser"/>  <wsdl:input>
                <soap:body parts="alertUserRequest" use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body parts="alertUserResponse" use="literal"/>
            </wsdl:output>
            <wsdl:fault name="invalidServerData">
                <soap:fault name="invalidServerData" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="login">
            <soap:operation

soapAction="brokerhub:MarketInterface:MarketInterfacePortType#logi \
n"/>  <wsdl:input>
                <soap:body parts="loginRequest" use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body parts="loginResponse" use="literal"/>
            </wsdl:output>
            <wsdl:fault name="invalidServerData">
                <soap:fault name="invalidServerData" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="logout">
            <soap:operation

soapAction="brokerhub:MarketInterface:MarketInterfacePortType#logo \
ut"/>  <wsdl:input>
                <soap:body parts="logoutRequest" use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body parts="logoutResponse" use="literal"/>
            </wsdl:output>
            <wsdl:fault name="invalidServerData">
                <soap:fault name="invalidServerData" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="getLinkedBanks">
            <soap:operation

soapAction="brokerhub:MarketInterface:MarketInterfacePortType#getL \
inkedBanks"/>  <wsdl:input>
                <soap:body parts="getLinkedBanksRequest" use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body parts="getLinkedBanksResponse" use="literal"/>
            </wsdl:output>
            <wsdl:fault name="invalidServerData">
                <soap:fault name="invalidServerData" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="getSWUsers">
            <soap:operation

soapAction="capeconnect:MarketInterface:MarketInterfacePortType#ge \
tSWUsers"/>  <wsdl:input>
                <soap:body parts="getSWUsersRequest" use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body parts="getSWUsersResponse" use="literal"/>
            </wsdl:output>
            <wsdl:fault name="invalidServerData">
                <soap:fault name="invalidServerData" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="getTraders">
            <soap:operation

soapAction="capeconnect:MarketInterface:MarketInterfacePortType#ge \
tTraders"/>  <wsdl:input>
                <soap:body parts="getTradersRequest" use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body parts="getTradersResponse" use="literal"/>
            </wsdl:output>
            <wsdl:fault name="invalidServerData">
                <soap:fault name="invalidServerData" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>
        <wsdl:operation name="getLinkedBrokers">
            <soap:operation

soapAction="brokerhub:MarketInterface:MarketInterfacePortType#getL \
inkedBrokers"/>  <wsdl:input>
                <soap:body parts="getLinkedBrokersRequest" use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body parts="getLinkedBrokersResponse" use="literal"/>
            </wsdl:output>
            <wsdl:fault name="invalidServerData">
                <soap:fault name="invalidServerData" use="literal"/>
            </wsdl:fault>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="MarketInterface">
        <wsdl:port binding="wsv:MarketInterfaceBinding"
name="MarketInterface">
            <soap:address
                    location="
http://localhost/webservice/services/MarketInterface"/>
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>


- Steve

"Amila Suriarachchi" <am...@gmail.com> wrote on 03/30/2008
12:58:25 AM:

> here your have not attached the schema. or the part you referring?
>
> thanks,
> Amila.

> On Sat, Mar 29, 2008 at 3:14 AM, <SG...@intellicare.com> wrote:
> I'm too new to Axis to explain why this happens, but I can tell you that
> this is the intended behavior and that both files are needed. Basically
one
> is an "inner" bean that lets you get and set the parameters for that
> operation. The other is an "outer" bean that lets you get and set the
inner
> bean. (I rename the outer one something like "loginRequestWrapper" to
make
> it less confusing for me, although that gets lost whenever the WSDL
changes
> and I have to regenerate code).
>
> Experienced Axis folks: please set me straight on that if I've got it
wrong
> or explain it in more depth - thanks.
>
> ______________________________________________
> Steve Gruverman
> IntelliCare, Inc. | A Medco Health Solutions Company
>
>
> O Aiken <on...@brokerhub.net> wrote on 03/27/2008 05:47:50 PM:
>
> >
> > Hi,
> >
> > When generating stubs with Axis2 1.3  -- some of the class files are
> > generated twice, once with a number appended.
> >
> > ie. this wsdl snippit :
> >
> > ==
> > <wsdl:message name="loginRequest">
> >          <wsdl:part element="wsv:loginRequest" name="loginRequest"/>
> >      </wsdl:message>
> > ==
> >
> > will result in 2 classes :
> >
> > LoginRequest.java
> > LoginRequest15.java
> >
> >
> > Does anybody know why ?
> >
> > thank you & regards,
> >
> > -O Aiken
> >