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 Michelantonio Trizio <mi...@gmail.com> on 2008/04/11 12:58:53 UTC

service.xml and mtom

Hi,

I'd like to know what I should write in the service.xml for having  the
right wsdl with MTOM parameter.
Thank you.

                        Mikelantonio

-- 
It's creepy, but here we are, the Pilgrims, the crackpots of our time,
trying to establish our own alternate reality. To build a world out of rocks
and chaos. What it's going to be, I don't know. Even after all that rushing
around, where we've ended up is the middle of nowhere in the middle of the
night. And maybe knowing isn't the point. Where we're standing right now, in
the ruins in the dark, what we build could be anything. [Choke - Chuck
Palahniuk]

Re: service.xml and mtom

Posted by Thilina Gunarathne <cs...@gmail.com>.
>  <xs:element name="uploadMarketplace">
>     <xs:complexType>
>     <xs:sequence>
> <xs:element minOccurs="0" name="dh" nillable="true" type="xs:base64Binary"/>

Since you have base64Binary in your request message, this WSDL should
generated clients with MTOM support...

~Thilina


>  <xs:element minOccurs="0" name="Marketplace" nillable="true"
> type="xs:string"/>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
> ....
> ....
> <wsdl:message name="uploadMarketplaceRequest">
>  <wsdl:part name="parameters" element="ns0:uploadMarketplace"/>
> </wsdl:message>
> <wsdl:message name="uploadMarketplaceResponse">
> <wsdl:part name="parameters" element="ns0:uploadMarketplaceResponse"/>
>  </wsdl:message>
> ...
> ...
> <wsdl:operation name="uploadMarketplace">
> <wsdl:input message="ns0:uploadMarketplaceRequest"
> wsaw:Action="urn:uploadMarketplace"/>
> <wsdl:output message="ns0:uploadMarketplaceResponse"
> wsaw:Action="urn:uploadMarketplaceResponse"/>
>  <wsdl:fault message="ns0:Exception" name="Exception"
> wsaw:Action="urn:uploadMarketplaceException"/>
> </wsdl:operation>
> ...
> ...
> <wsdl:operation name="uploadMarketplace">
>  <soap:operation soapAction="urn:uploadMarketplace" style="document"/>
>     <wsdl:input>
> <soap:body use="literal"/>
> </wsdl:input>
>     <wsdl:output>
>  <soap:body use="literal"/>
> </wsdl:output>
>     <wsdl:fault name="Exception">
> <soap:fault use="literal" name="Exception"/>
> </wsdl:fault>
> </wsdl:operation>
>  ...
> ...
> <wsdl:operation name="uploadMarketplace">
> <soap12:operation soapAction="urn:uploadMarketplace" style="document"/>
>     <wsdl:input>
> <soap12:body use="literal"/>
>  </wsdl:input>
>     <wsdl:output>
> <soap12:body use="literal"/>
> </wsdl:output>
>     <wsdl:fault name="Exception">
> <soap12:fault use="literal" name="Exception"/>
>  </wsdl:fault>
> </wsdl:operation>
> ...
> ...
> <wsdl:operation name="uploadMarketplace">
> <http:operation location="MarketplaceService/uploadMarketplace"/>
>     <wsdl:input>
>  <mime:content type="text/xml" part="uploadMarketplace"/>
> </wsdl:input>
>     <wsdl:output>
> <mime:content type="text/xml" part="uploadMarketplace"/>
>  </wsdl:output>
> </wsdl:operation>
>
>
>
> Thank you.
>                              Mikelantonio
>
> 2008/4/11, Thilina Gunarathne <cs...@gmail.com>:
> > Here you go...
> > http://ws.apache.org/axis2/1_3/pojoguide.html
> >
> > Just change one method in the service as follows...
> >     public float getTemperature(DataHandler dataHandler){
> >
> >
> > ~Thilina
> >
> > On Fri, Apr 11, 2008 at 12:21 PM, Michelantonio Trizio
> >
> > <mi...@gmail.com> wrote:
> > > No. It doesn't contain base64binary.
> > > I'd like to know, if exists, a method to generate the right wsdl from
> the
> > > service class and service.xml file.
> > > You had said this:
> > >
> > >
> > > "then you would need to deploy a pojo service
> > >  using the RPCMessageReceiver with methods having DataHandlers as the
> > >  parameters or the return values"
> > >
> > > Can you give me an exampe of one RPCMessageReceiver done as you said.
> > >
> > >
> > > Thank you.
> > >
> > >                            Mikelantonio
> > >
> > > 2008/4/11, Thilina Gunarathne <cs...@gmail.com>:
> > > > Can you post your generated WSDL... Does it contain a base64Binary
> > > field...
> > > >
> > > > ~Thilina
> > > >
> > > > On Fri, Apr 11, 2008 at 11:50 AM, Michelantonio Trizio
> > > >
> > > > <mi...@gmail.com> wrote:
> > > > > Hi,
> > > > >
> > > > > I know that my wsdl doesn't work.
> > > > > I write the service in bottom  up way.
> > > > > First I write the service class and the service.xml.
> > > > > Than I deploy the service to tomcat and get the self generated wsdl.
> > > > >  From this wdsl  I create the service stub.
> > > > > Do I need to use another process?
> > > > > Thank you.
> > > > >
> > > > >                    Mikelantonio
> > > > >
> > > > > p.s.  I've seen this link
> www.apache.org/axis2/1_3/mtom-guide.html#31
> > > but I
> > > > > don't understand what I shall to do
> > > > >
> > > > >
> > > > >
> > > > > 2008/4/11, Thilina Gunarathne <cs...@gmail.com>:
> > > > > > Can you post the wsdl... It the service also authored by you..
> > > > > >
> > > > > > thanks,
> > > > > > Thilina
> > > > > >
> > > > > > On Fri, Apr 11, 2008 at 10:00 AM, Michelantonio Trizio
> > > > > >
> > > > > > <mi...@gmail.com> wrote:
> > > > > > > thank you,
> > > > > > >
> > > > > > > I'm using eclipse to generate the stubs.
> > > > > > > I want obtain this classes:
> > > > > > >
> > > > > > > AttachmentRequest attachmentRequest = new AttachmentRequest();
> > > > > > >  AttachmentType attachmentType = new AttachmentType();
> > > > > > >
> > > > > > >  Base64Binary base64Binary = new Base64Binary();
> > > > > > >
> > > > > > >
> > > > > > > How can I do?
> > > > > > > Thank you.
> > > > > > >  Mikelantonio
> > > > > > >
> > > > > > > 2008/4/11, Thilina Gunarathne <cs...@gmail.com>:
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Hi,
> > > > > > > > Are you looking for a way to enable MTOM in a per service
> basis...
> > > For
> > > > > > > > that you can add the following to your services.xml under the
> > > service
> > > > > > > > element..
> > > > > > > > <parameter name="enableMTOM" locked="false">true</parameter>
> > > > > > > >
> > > > > > > > If you are looking for a way to generate a WSDL with
> base64Binary
> > > > > > > > fields (MTOM equivalent), then you would need to deploy a pojo
> > > service
> > > > > > > > using the RPCMessageReceiver with methods having DataHandlers
> as
> > > the
> > > > > > > > parameters or the return values. Nothing special is needed in
> the
> > > > > > > > services.xml...
> > > > > > > >
> > > > > > > > thanks,
> > > > > > > > Thilina
> > > > > > > >
> > > > > > > >
> > > > > > > > On Fri, Apr 11, 2008 at 6:58 AM, Michelantonio Trizio
> > > > > > > > <mi...@gmail.com> wrote:
> > > > > > > > > Hi,
> > > > > > > > >
> > > > > > > > > I'd like to know what I should write in the service.xml for
> > > having
> > > > > the
> > > > > > > > > right wsdl with MTOM parameter.
> > > > > > > > > Thank you.
> > > > > > > > >
> > > > > > > > >                         Mikelantonio
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > It's creepy, but here we are, the Pilgrims, the crackpots of
> our
> > > > > time,
> > > > > > > > > trying to establish our own alternate reality. To build a
> world
> > > out
> > > > > of
> > > > > > > rocks
> > > > > > > > > and chaos. What it's going to be, I don't know. Even after
> all
> > > that
> > > > > > > rushing
> > > > > > > > > around, where we've ended up is the middle of nowhere in the
> > > middle
> > > > > of
> > > > > > > the
> > > > > > > > > night. And maybe knowing isn't the point. Where we're
> standing
> > > right
> > > > > > > now, in
> > > > > > > > > the ruins in the dark, what we build could be anything.
> [Choke -
> > > > > Chuck
> > > > > > > > > Palahniuk]
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Thilina Gunarathne - http://thilinag.blogspot.com
> > > > > > > >
> > > > > > > >
> > > ---------------------------------------------------------------------
> > > > > > > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > > > > > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > >
> > > > > > > It's creepy, but here we are, the Pilgrims, the crackpots of our
> > > time,
> > > > > > > trying to establish our own alternate reality. To build a world
> out
> > > of
> > > > > rocks
> > > > > > > and chaos. What it's going to be, I don't know. Even after all
> that
> > > > > rushing
> > > > > > > around, where we've ended up is the middle of nowhere in the
> middle
> > > of
> > > > > the
> > > > > > > night. And maybe knowing isn't the point. Where we're standing
> right
> > > > > now, in
> > > > > > > the ruins in the dark, what we build could be anything. [Choke -
> > > Chuck
> > > > > > > Palahniuk]
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > >
> > > > > > Thilina Gunarathne - http://thilinag.blogspot.com
> > > > > >
> > > > > >
> ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > > > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > It's creepy, but here we are, the Pilgrims, the crackpots of our
> time,
> > > > > trying to establish our own alternate reality. To build a world out
> of
> > > rocks
> > > > > and chaos. What it's going to be, I don't know. Even after all that
> > > rushing
> > > > > around, where we've ended up is the middle of nowhere in the middle
> of
> > > the
> > > > > night. And maybe knowing isn't the point. Where we're standing right
> > > now, in
> > > > > the ruins in the dark, what we build could be anything. [Choke -
> Chuck
> > > > > Palahniuk]
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Thilina Gunarathne - http://thilinag.blogspot.com
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > It's creepy, but here we are, the Pilgrims, the crackpots of our time,
> > > trying to establish our own alternate reality. To build a world out of
> rocks
> > > and chaos. What it's going to be, I don't know. Even after all that
> rushing
> > > around, where we've ended up is the middle of nowhere in the middle of
> the
> > > night. And maybe knowing isn't the point. Where we're standing right
> now, in
> > > the ruins in the dark, what we build could be anything. [Choke - Chuck
> > > Palahniuk]
> >
> >
> >
> >
> > --
> >
> > Thilina Gunarathne - http://thilinag.blogspot.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
>
> --
> It's creepy, but here we are, the Pilgrims, the crackpots of our time,
> trying to establish our own alternate reality. To build a world out of rocks
> and chaos. What it's going to be, I don't know. Even after all that rushing
> around, where we've ended up is the middle of nowhere in the middle of the
> night. And maybe knowing isn't the point. Where we're standing right now, in
> the ruins in the dark, what we build could be anything. [Choke - Chuck
> Palahniuk]



-- 
Thilina Gunarathne - http://thilinag.blogspot.com

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


Re: service.xml and mtom

Posted by Michelantonio Trizio <mi...@gmail.com>.
Can I do something with this wsdl?

<wsdl:definitions targetNamespace="http://server.it">
<wsdl:documentation>
        servizio relativo al marketplace
    </wsdl:documentation>
    <wsdl:types>
    <xs:schema attributeFormDefault="qualified"
elementFormDefault="qualified" targetNamespace="http://server.it">
....
....
<xs:element name="uploadMarketplace">
    <xs:complexType>
    <xs:sequence>
<xs:element minOccurs="0" name="dh" nillable="true" type="xs:base64Binary"/>
<xs:element minOccurs="0" name="Marketplace" nillable="true"
type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
....
....
<wsdl:message name="uploadMarketplaceRequest">
<wsdl:part name="parameters" element="ns0:uploadMarketplace"/>
</wsdl:message>
<wsdl:message name="uploadMarketplaceResponse">
<wsdl:part name="parameters" element="ns0:uploadMarketplaceResponse"/>
</wsdl:message>
...
...
<wsdl:operation name="uploadMarketplace">
<wsdl:input message="ns0:uploadMarketplaceRequest"
wsaw:Action="urn:uploadMarketplace"/>
<wsdl:output message="ns0:uploadMarketplaceResponse"
wsaw:Action="urn:uploadMarketplaceResponse"/>
<wsdl:fault message="ns0:Exception" name="Exception"
wsaw:Action="urn:uploadMarketplaceException"/>
</wsdl:operation>
...
...
<wsdl:operation name="uploadMarketplace">
<soap:operation soapAction="urn:uploadMarketplace" style="document"/>
    <wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
    <wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
    <wsdl:fault name="Exception">
<soap:fault use="literal" name="Exception"/>
</wsdl:fault>
</wsdl:operation>
...
...
<wsdl:operation name="uploadMarketplace">
<soap12:operation soapAction="urn:uploadMarketplace" style="document"/>
    <wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>
    <wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
    <wsdl:fault name="Exception">
<soap12:fault use="literal" name="Exception"/>
</wsdl:fault>
</wsdl:operation>
...
...
<wsdl:operation name="uploadMarketplace">
<http:operation location="MarketplaceService/uploadMarketplace"/>
    <wsdl:input>
<mime:content type="text/xml" part="uploadMarketplace"/>
</wsdl:input>
    <wsdl:output>
<mime:content type="text/xml" part="uploadMarketplace"/>
</wsdl:output>
</wsdl:operation>

Thank you.
                             Mikelantonio

2008/4/11, Thilina Gunarathne <cs...@gmail.com>:
>
> Here you go...
> http://ws.apache.org/axis2/1_3/pojoguide.html
>
> Just change one method in the service as follows...
>     public float getTemperature(DataHandler dataHandler){
>
>
> ~Thilina
>
> On Fri, Apr 11, 2008 at 12:21 PM, Michelantonio Trizio
>
> <mi...@gmail.com> wrote:
> > No. It doesn't contain base64binary.
> > I'd like to know, if exists, a method to generate the right wsdl from
> the
> > service class and service.xml file.
> > You had said this:
> >
> >
> > "then you would need to deploy a pojo service
> >  using the RPCMessageReceiver with methods having DataHandlers as the
> >  parameters or the return values"
> >
> > Can you give me an exampe of one RPCMessageReceiver done as you said.
> >
> >
> > Thank you.
> >
> >                            Mikelantonio
> >
> > 2008/4/11, Thilina Gunarathne <cs...@gmail.com>:
> > > Can you post your generated WSDL... Does it contain a base64Binary
> > field...
> > >
> > > ~Thilina
> > >
> > > On Fri, Apr 11, 2008 at 11:50 AM, Michelantonio Trizio
> > >
> > > <mi...@gmail.com> wrote:
> > > > Hi,
> > > >
> > > > I know that my wsdl doesn't work.
> > > > I write the service in bottom  up way.
> > > > First I write the service class and the service.xml.
> > > > Than I deploy the service to tomcat and get the self generated wsdl.
> > > >  From this wdsl  I create the service stub.
> > > > Do I need to use another process?
> > > > Thank you.
> > > >
> > > >                    Mikelantonio
> > > >
> > > > p.s.  I've seen this link
> www.apache.org/axis2/1_3/mtom-guide.html#31
> > but I
> > > > don't understand what I shall to do
> > > >
> > > >
> > > >
> > > > 2008/4/11, Thilina Gunarathne <cs...@gmail.com>:
> > > > > Can you post the wsdl... It the service also authored by you..
> > > > >
> > > > > thanks,
> > > > > Thilina
> > > > >
> > > > > On Fri, Apr 11, 2008 at 10:00 AM, Michelantonio Trizio
> > > > >
> > > > > <mi...@gmail.com> wrote:
> > > > > > thank you,
> > > > > >
> > > > > > I'm using eclipse to generate the stubs.
> > > > > > I want obtain this classes:
> > > > > >
> > > > > > AttachmentRequest attachmentRequest = new AttachmentRequest();
> > > > > >  AttachmentType attachmentType = new AttachmentType();
> > > > > >
> > > > > >  Base64Binary base64Binary = new Base64Binary();
> > > > > >
> > > > > >
> > > > > > How can I do?
> > > > > > Thank you.
> > > > > >  Mikelantonio
> > > > > >
> > > > > > 2008/4/11, Thilina Gunarathne <cs...@gmail.com>:
> > > > > >
> > > > > >
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Hi,
> > > > > > > Are you looking for a way to enable MTOM in a per service
> basis...
> > For
> > > > > > > that you can add the following to your services.xml under the
> > service
> > > > > > > element..
> > > > > > > <parameter name="enableMTOM" locked="false">true</parameter>
> > > > > > >
> > > > > > > If you are looking for a way to generate a WSDL with
> base64Binary
> > > > > > > fields (MTOM equivalent), then you would need to deploy a pojo
> > service
> > > > > > > using the RPCMessageReceiver with methods having DataHandlers
> as
> > the
> > > > > > > parameters or the return values. Nothing special is needed in
> the
> > > > > > > services.xml...
> > > > > > >
> > > > > > > thanks,
> > > > > > > Thilina
> > > > > > >
> > > > > > >
> > > > > > > On Fri, Apr 11, 2008 at 6:58 AM, Michelantonio Trizio
> > > > > > > <mi...@gmail.com> wrote:
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > I'd like to know what I should write in the service.xml for
> > having
> > > > the
> > > > > > > > right wsdl with MTOM parameter.
> > > > > > > > Thank you.
> > > > > > > >
> > > > > > > >                         Mikelantonio
> > > > > > > >
> > > > > > > > --
> > > > > > > > It's creepy, but here we are, the Pilgrims, the crackpots of
> our
> > > > time,
> > > > > > > > trying to establish our own alternate reality. To build a
> world
> > out
> > > > of
> > > > > > rocks
> > > > > > > > and chaos. What it's going to be, I don't know. Even after
> all
> > that
> > > > > > rushing
> > > > > > > > around, where we've ended up is the middle of nowhere in the
> > middle
> > > > of
> > > > > > the
> > > > > > > > night. And maybe knowing isn't the point. Where we're
> standing
> > right
> > > > > > now, in
> > > > > > > > the ruins in the dark, what we build could be anything.
> [Choke -
> > > > Chuck
> > > > > > > > Palahniuk]
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Thilina Gunarathne - http://thilinag.blogspot.com
> > > > > > >
> > > > > > >
> > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > > > > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > >
> > > > > > It's creepy, but here we are, the Pilgrims, the crackpots of our
> > time,
> > > > > > trying to establish our own alternate reality. To build a world
> out
> > of
> > > > rocks
> > > > > > and chaos. What it's going to be, I don't know. Even after all
> that
> > > > rushing
> > > > > > around, where we've ended up is the middle of nowhere in the
> middle
> > of
> > > > the
> > > > > > night. And maybe knowing isn't the point. Where we're standing
> right
> > > > now, in
> > > > > > the ruins in the dark, what we build could be anything. [Choke -
> > Chuck
> > > > > > Palahniuk]
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > Thilina Gunarathne - http://thilinag.blogspot.com
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > It's creepy, but here we are, the Pilgrims, the crackpots of our
> time,
> > > > trying to establish our own alternate reality. To build a world out
> of
> > rocks
> > > > and chaos. What it's going to be, I don't know. Even after all that
> > rushing
> > > > around, where we've ended up is the middle of nowhere in the middle
> of
> > the
> > > > night. And maybe knowing isn't the point. Where we're standing right
> > now, in
> > > > the ruins in the dark, what we build could be anything. [Choke -
> Chuck
> > > > Palahniuk]
> > >
> > >
> > >
> > >
> > > --
> > >
> > > Thilina Gunarathne - http://thilinag.blogspot.com
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > >
> > >
> >
> >
> >
> > --
> > It's creepy, but here we are, the Pilgrims, the crackpots of our time,
> > trying to establish our own alternate reality. To build a world out of
> rocks
> > and chaos. What it's going to be, I don't know. Even after all that
> rushing
> > around, where we've ended up is the middle of nowhere in the middle of
> the
> > night. And maybe knowing isn't the point. Where we're standing right
> now, in
> > the ruins in the dark, what we build could be anything. [Choke - Chuck
> > Palahniuk]
>
>
>
>
> --
>
> Thilina Gunarathne - http://thilinag.blogspot.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
It's creepy, but here we are, the Pilgrims, the crackpots of our time,
trying to establish our own alternate reality. To build a world out of rocks
and chaos. What it's going to be, I don't know. Even after all that rushing
around, where we've ended up is the middle of nowhere in the middle of the
night. And maybe knowing isn't the point. Where we're standing right now, in
the ruins in the dark, what we build could be anything. [Choke - Chuck
Palahniuk]

Re: service.xml and mtom

Posted by Thilina Gunarathne <cs...@gmail.com>.
Here you go...
http://ws.apache.org/axis2/1_3/pojoguide.html

Just change one method in the service as follows...
    public float getTemperature(DataHandler dataHandler){


~Thilina

On Fri, Apr 11, 2008 at 12:21 PM, Michelantonio Trizio
<mi...@gmail.com> wrote:
> No. It doesn't contain base64binary.
> I'd like to know, if exists, a method to generate the right wsdl from the
> service class and service.xml file.
> You had said this:
>
>
> "then you would need to deploy a pojo service
>  using the RPCMessageReceiver with methods having DataHandlers as the
>  parameters or the return values"
>
> Can you give me an exampe of one RPCMessageReceiver done as you said.
>
>
> Thank you.
>
>                            Mikelantonio
>
> 2008/4/11, Thilina Gunarathne <cs...@gmail.com>:
> > Can you post your generated WSDL... Does it contain a base64Binary
> field...
> >
> > ~Thilina
> >
> > On Fri, Apr 11, 2008 at 11:50 AM, Michelantonio Trizio
> >
> > <mi...@gmail.com> wrote:
> > > Hi,
> > >
> > > I know that my wsdl doesn't work.
> > > I write the service in bottom  up way.
> > > First I write the service class and the service.xml.
> > > Than I deploy the service to tomcat and get the self generated wsdl.
> > >  From this wdsl  I create the service stub.
> > > Do I need to use another process?
> > > Thank you.
> > >
> > >                    Mikelantonio
> > >
> > > p.s.  I've seen this link www.apache.org/axis2/1_3/mtom-guide.html#31
> but I
> > > don't understand what I shall to do
> > >
> > >
> > >
> > > 2008/4/11, Thilina Gunarathne <cs...@gmail.com>:
> > > > Can you post the wsdl... It the service also authored by you..
> > > >
> > > > thanks,
> > > > Thilina
> > > >
> > > > On Fri, Apr 11, 2008 at 10:00 AM, Michelantonio Trizio
> > > >
> > > > <mi...@gmail.com> wrote:
> > > > > thank you,
> > > > >
> > > > > I'm using eclipse to generate the stubs.
> > > > > I want obtain this classes:
> > > > >
> > > > > AttachmentRequest attachmentRequest = new AttachmentRequest();
> > > > >  AttachmentType attachmentType = new AttachmentType();
> > > > >
> > > > >  Base64Binary base64Binary = new Base64Binary();
> > > > >
> > > > >
> > > > > How can I do?
> > > > > Thank you.
> > > > >  Mikelantonio
> > > > >
> > > > > 2008/4/11, Thilina Gunarathne <cs...@gmail.com>:
> > > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > Hi,
> > > > > > Are you looking for a way to enable MTOM in a per service basis...
> For
> > > > > > that you can add the following to your services.xml under the
> service
> > > > > > element..
> > > > > > <parameter name="enableMTOM" locked="false">true</parameter>
> > > > > >
> > > > > > If you are looking for a way to generate a WSDL with base64Binary
> > > > > > fields (MTOM equivalent), then you would need to deploy a pojo
> service
> > > > > > using the RPCMessageReceiver with methods having DataHandlers as
> the
> > > > > > parameters or the return values. Nothing special is needed in the
> > > > > > services.xml...
> > > > > >
> > > > > > thanks,
> > > > > > Thilina
> > > > > >
> > > > > >
> > > > > > On Fri, Apr 11, 2008 at 6:58 AM, Michelantonio Trizio
> > > > > > <mi...@gmail.com> wrote:
> > > > > > > Hi,
> > > > > > >
> > > > > > > I'd like to know what I should write in the service.xml for
> having
> > > the
> > > > > > > right wsdl with MTOM parameter.
> > > > > > > Thank you.
> > > > > > >
> > > > > > >                         Mikelantonio
> > > > > > >
> > > > > > > --
> > > > > > > It's creepy, but here we are, the Pilgrims, the crackpots of our
> > > time,
> > > > > > > trying to establish our own alternate reality. To build a world
> out
> > > of
> > > > > rocks
> > > > > > > and chaos. What it's going to be, I don't know. Even after all
> that
> > > > > rushing
> > > > > > > around, where we've ended up is the middle of nowhere in the
> middle
> > > of
> > > > > the
> > > > > > > night. And maybe knowing isn't the point. Where we're standing
> right
> > > > > now, in
> > > > > > > the ruins in the dark, what we build could be anything. [Choke -
> > > Chuck
> > > > > > > Palahniuk]
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Thilina Gunarathne - http://thilinag.blogspot.com
> > > > > >
> > > > > >
> ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > > > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > It's creepy, but here we are, the Pilgrims, the crackpots of our
> time,
> > > > > trying to establish our own alternate reality. To build a world out
> of
> > > rocks
> > > > > and chaos. What it's going to be, I don't know. Even after all that
> > > rushing
> > > > > around, where we've ended up is the middle of nowhere in the middle
> of
> > > the
> > > > > night. And maybe knowing isn't the point. Where we're standing right
> > > now, in
> > > > > the ruins in the dark, what we build could be anything. [Choke -
> Chuck
> > > > > Palahniuk]
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Thilina Gunarathne - http://thilinag.blogspot.com
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > It's creepy, but here we are, the Pilgrims, the crackpots of our time,
> > > trying to establish our own alternate reality. To build a world out of
> rocks
> > > and chaos. What it's going to be, I don't know. Even after all that
> rushing
> > > around, where we've ended up is the middle of nowhere in the middle of
> the
> > > night. And maybe knowing isn't the point. Where we're standing right
> now, in
> > > the ruins in the dark, what we build could be anything. [Choke - Chuck
> > > Palahniuk]
> >
> >
> >
> >
> > --
> >
> > Thilina Gunarathne - http://thilinag.blogspot.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
>
> --
> It's creepy, but here we are, the Pilgrims, the crackpots of our time,
> trying to establish our own alternate reality. To build a world out of rocks
> and chaos. What it's going to be, I don't know. Even after all that rushing
> around, where we've ended up is the middle of nowhere in the middle of the
> night. And maybe knowing isn't the point. Where we're standing right now, in
> the ruins in the dark, what we build could be anything. [Choke - Chuck
> Palahniuk]



-- 
Thilina Gunarathne - http://thilinag.blogspot.com

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


Re: service.xml and mtom

Posted by Michelantonio Trizio <mi...@gmail.com>.
No. It doesn't contain base64binary.
I'd like to know, if exists, a method to generate the right wsdl from the
service class and service.xml file.
You had said this:

"then you would need to deploy a pojo service
using the RPCMessageReceiver with methods having DataHandlers as the
parameters or the return values"

Can you give me an exampe of one RPCMessageReceiver done as you said.
Thank you.

                           Mikelantonio

2008/4/11, Thilina Gunarathne <cs...@gmail.com>:
>
> Can you post your generated WSDL... Does it contain a base64Binary
> field...
>
> ~Thilina
>
> On Fri, Apr 11, 2008 at 11:50 AM, Michelantonio Trizio
>
> <mi...@gmail.com> wrote:
> > Hi,
> >
> > I know that my wsdl doesn't work.
> > I write the service in bottom  up way.
> > First I write the service class and the service.xml.
> > Than I deploy the service to tomcat and get the self generated wsdl.
> >  From this wdsl  I create the service stub.
> > Do I need to use another process?
> > Thank you.
> >
> >                    Mikelantonio
> >
> > p.s.  I've seen this link www.apache.org/axis2/1_3/mtom-guide.html#31but I
> > don't understand what I shall to do
> >
> >
> >
> > 2008/4/11, Thilina Gunarathne <cs...@gmail.com>:
> > > Can you post the wsdl... It the service also authored by you..
> > >
> > > thanks,
> > > Thilina
> > >
> > > On Fri, Apr 11, 2008 at 10:00 AM, Michelantonio Trizio
> > >
> > > <mi...@gmail.com> wrote:
> > > > thank you,
> > > >
> > > > I'm using eclipse to generate the stubs.
> > > > I want obtain this classes:
> > > >
> > > > AttachmentRequest attachmentRequest = new AttachmentRequest();
> > > >  AttachmentType attachmentType = new AttachmentType();
> > > >
> > > >  Base64Binary base64Binary = new Base64Binary();
> > > >
> > > >
> > > > How can I do?
> > > > Thank you.
> > > >  Mikelantonio
> > > >
> > > > 2008/4/11, Thilina Gunarathne <cs...@gmail.com>:
> > > >
> > > >
> > > >
> > > > >
> > > > >
> > > > >
> > > > > Hi,
> > > > > Are you looking for a way to enable MTOM in a per service basis...
> For
> > > > > that you can add the following to your services.xml under the
> service
> > > > > element..
> > > > > <parameter name="enableMTOM" locked="false">true</parameter>
> > > > >
> > > > > If you are looking for a way to generate a WSDL with base64Binary
> > > > > fields (MTOM equivalent), then you would need to deploy a pojo
> service
> > > > > using the RPCMessageReceiver with methods having DataHandlers as
> the
> > > > > parameters or the return values. Nothing special is needed in the
> > > > > services.xml...
> > > > >
> > > > > thanks,
> > > > > Thilina
> > > > >
> > > > >
> > > > > On Fri, Apr 11, 2008 at 6:58 AM, Michelantonio Trizio
> > > > > <mi...@gmail.com> wrote:
> > > > > > Hi,
> > > > > >
> > > > > > I'd like to know what I should write in the service.xml for
> having
> > the
> > > > > > right wsdl with MTOM parameter.
> > > > > > Thank you.
> > > > > >
> > > > > >                         Mikelantonio
> > > > > >
> > > > > > --
> > > > > > It's creepy, but here we are, the Pilgrims, the crackpots of our
> > time,
> > > > > > trying to establish our own alternate reality. To build a world
> out
> > of
> > > > rocks
> > > > > > and chaos. What it's going to be, I don't know. Even after all
> that
> > > > rushing
> > > > > > around, where we've ended up is the middle of nowhere in the
> middle
> > of
> > > > the
> > > > > > night. And maybe knowing isn't the point. Where we're standing
> right
> > > > now, in
> > > > > > the ruins in the dark, what we build could be anything. [Choke -
> > Chuck
> > > > > > Palahniuk]
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Thilina Gunarathne - http://thilinag.blogspot.com
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > It's creepy, but here we are, the Pilgrims, the crackpots of our
> time,
> > > > trying to establish our own alternate reality. To build a world out
> of
> > rocks
> > > > and chaos. What it's going to be, I don't know. Even after all that
> > rushing
> > > > around, where we've ended up is the middle of nowhere in the middle
> of
> > the
> > > > night. And maybe knowing isn't the point. Where we're standing right
> > now, in
> > > > the ruins in the dark, what we build could be anything. [Choke -
> Chuck
> > > > Palahniuk]
> > >
> > >
> > >
> > >
> > > --
> > >
> > > Thilina Gunarathne - http://thilinag.blogspot.com
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > >
> > >
> >
> >
> >
> > --
> > It's creepy, but here we are, the Pilgrims, the crackpots of our time,
> > trying to establish our own alternate reality. To build a world out of
> rocks
> > and chaos. What it's going to be, I don't know. Even after all that
> rushing
> > around, where we've ended up is the middle of nowhere in the middle of
> the
> > night. And maybe knowing isn't the point. Where we're standing right
> now, in
> > the ruins in the dark, what we build could be anything. [Choke - Chuck
> > Palahniuk]
>
>
>
>
> --
>
> Thilina Gunarathne - http://thilinag.blogspot.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
It's creepy, but here we are, the Pilgrims, the crackpots of our time,
trying to establish our own alternate reality. To build a world out of rocks
and chaos. What it's going to be, I don't know. Even after all that rushing
around, where we've ended up is the middle of nowhere in the middle of the
night. And maybe knowing isn't the point. Where we're standing right now, in
the ruins in the dark, what we build could be anything. [Choke - Chuck
Palahniuk]

Re: service.xml and mtom

Posted by Thilina Gunarathne <cs...@gmail.com>.
Can you post your generated WSDL... Does it contain a base64Binary field...

~Thilina

On Fri, Apr 11, 2008 at 11:50 AM, Michelantonio Trizio
<mi...@gmail.com> wrote:
> Hi,
>
> I know that my wsdl doesn't work.
> I write the service in bottom  up way.
> First I write the service class and the service.xml.
> Than I deploy the service to tomcat and get the self generated wsdl.
>  From this wdsl  I create the service stub.
> Do I need to use another process?
> Thank you.
>
>                    Mikelantonio
>
> p.s.  I've seen this link www.apache.org/axis2/1_3/mtom-guide.html#31 but I
> don't understand what I shall to do
>
>
>
> 2008/4/11, Thilina Gunarathne <cs...@gmail.com>:
> > Can you post the wsdl... It the service also authored by you..
> >
> > thanks,
> > Thilina
> >
> > On Fri, Apr 11, 2008 at 10:00 AM, Michelantonio Trizio
> >
> > <mi...@gmail.com> wrote:
> > > thank you,
> > >
> > > I'm using eclipse to generate the stubs.
> > > I want obtain this classes:
> > >
> > > AttachmentRequest attachmentRequest = new AttachmentRequest();
> > >  AttachmentType attachmentType = new AttachmentType();
> > >
> > >  Base64Binary base64Binary = new Base64Binary();
> > >
> > >
> > > How can I do?
> > > Thank you.
> > >  Mikelantonio
> > >
> > > 2008/4/11, Thilina Gunarathne <cs...@gmail.com>:
> > >
> > >
> > >
> > > >
> > > >
> > > >
> > > > Hi,
> > > > Are you looking for a way to enable MTOM in a per service basis... For
> > > > that you can add the following to your services.xml under the service
> > > > element..
> > > > <parameter name="enableMTOM" locked="false">true</parameter>
> > > >
> > > > If you are looking for a way to generate a WSDL with base64Binary
> > > > fields (MTOM equivalent), then you would need to deploy a pojo service
> > > > using the RPCMessageReceiver with methods having DataHandlers as the
> > > > parameters or the return values. Nothing special is needed in the
> > > > services.xml...
> > > >
> > > > thanks,
> > > > Thilina
> > > >
> > > >
> > > > On Fri, Apr 11, 2008 at 6:58 AM, Michelantonio Trizio
> > > > <mi...@gmail.com> wrote:
> > > > > Hi,
> > > > >
> > > > > I'd like to know what I should write in the service.xml for having
> the
> > > > > right wsdl with MTOM parameter.
> > > > > Thank you.
> > > > >
> > > > >                         Mikelantonio
> > > > >
> > > > > --
> > > > > It's creepy, but here we are, the Pilgrims, the crackpots of our
> time,
> > > > > trying to establish our own alternate reality. To build a world out
> of
> > > rocks
> > > > > and chaos. What it's going to be, I don't know. Even after all that
> > > rushing
> > > > > around, where we've ended up is the middle of nowhere in the middle
> of
> > > the
> > > > > night. And maybe knowing isn't the point. Where we're standing right
> > > now, in
> > > > > the ruins in the dark, what we build could be anything. [Choke -
> Chuck
> > > > > Palahniuk]
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Thilina Gunarathne - http://thilinag.blogspot.com
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > >
> > > It's creepy, but here we are, the Pilgrims, the crackpots of our time,
> > > trying to establish our own alternate reality. To build a world out of
> rocks
> > > and chaos. What it's going to be, I don't know. Even after all that
> rushing
> > > around, where we've ended up is the middle of nowhere in the middle of
> the
> > > night. And maybe knowing isn't the point. Where we're standing right
> now, in
> > > the ruins in the dark, what we build could be anything. [Choke - Chuck
> > > Palahniuk]
> >
> >
> >
> >
> > --
> >
> > Thilina Gunarathne - http://thilinag.blogspot.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
>
> --
> It's creepy, but here we are, the Pilgrims, the crackpots of our time,
> trying to establish our own alternate reality. To build a world out of rocks
> and chaos. What it's going to be, I don't know. Even after all that rushing
> around, where we've ended up is the middle of nowhere in the middle of the
> night. And maybe knowing isn't the point. Where we're standing right now, in
> the ruins in the dark, what we build could be anything. [Choke - Chuck
> Palahniuk]



-- 
Thilina Gunarathne - http://thilinag.blogspot.com

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


Re: service.xml and mtom

Posted by Michelantonio Trizio <mi...@gmail.com>.
Hi,

I know that my wsdl doesn't work.
I write the service in bottom  up way.
First I write the service class and the service.xml.
Than I deploy the service to tomcat and get the self generated wsdl.
>From this wdsl  I create the service stub.
Do I need to use another process?
Thank you.

                   Mikelantonio

p.s.  I've seen this link www.apache.org/axis2/1_3/mtom-guide.html#31 but I
don't understand what I shall to do

2008/4/11, Thilina Gunarathne <cs...@gmail.com>:
>
> Can you post the wsdl... It the service also authored by you..
>
> thanks,
> Thilina
>
> On Fri, Apr 11, 2008 at 10:00 AM, Michelantonio Trizio
>
> <mi...@gmail.com> wrote:
> > thank you,
> >
> > I'm using eclipse to generate the stubs.
> > I want obtain this classes:
> >
> > AttachmentRequest attachmentRequest = new AttachmentRequest();
> >  AttachmentType attachmentType = new AttachmentType();
> >
> >  Base64Binary base64Binary = new Base64Binary();
> >
> >
> > How can I do?
> > Thank you.
> >  Mikelantonio
> >
> > 2008/4/11, Thilina Gunarathne <cs...@gmail.com>:
> >
> >
> >
> > >
> > >
> > >
> > > Hi,
> > > Are you looking for a way to enable MTOM in a per service basis... For
> > > that you can add the following to your services.xml under the service
> > > element..
> > > <parameter name="enableMTOM" locked="false">true</parameter>
> > >
> > > If you are looking for a way to generate a WSDL with base64Binary
> > > fields (MTOM equivalent), then you would need to deploy a pojo service
> > > using the RPCMessageReceiver with methods having DataHandlers as the
> > > parameters or the return values. Nothing special is needed in the
> > > services.xml...
> > >
> > > thanks,
> > > Thilina
> > >
> > >
> > > On Fri, Apr 11, 2008 at 6:58 AM, Michelantonio Trizio
> > > <mi...@gmail.com> wrote:
> > > > Hi,
> > > >
> > > > I'd like to know what I should write in the service.xml for
> having  the
> > > > right wsdl with MTOM parameter.
> > > > Thank you.
> > > >
> > > >                         Mikelantonio
> > > >
> > > > --
> > > > It's creepy, but here we are, the Pilgrims, the crackpots of our
> time,
> > > > trying to establish our own alternate reality. To build a world out
> of
> > rocks
> > > > and chaos. What it's going to be, I don't know. Even after all that
> > rushing
> > > > around, where we've ended up is the middle of nowhere in the middle
> of
> > the
> > > > night. And maybe knowing isn't the point. Where we're standing right
> > now, in
> > > > the ruins in the dark, what we build could be anything. [Choke -
> Chuck
> > > > Palahniuk]
> > >
> > >
> > >
> > >
> > > --
> > > Thilina Gunarathne - http://thilinag.blogspot.com
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > >
> > >
> >
> >
> >
> > --
> >
> > It's creepy, but here we are, the Pilgrims, the crackpots of our time,
> > trying to establish our own alternate reality. To build a world out of
> rocks
> > and chaos. What it's going to be, I don't know. Even after all that
> rushing
> > around, where we've ended up is the middle of nowhere in the middle of
> the
> > night. And maybe knowing isn't the point. Where we're standing right
> now, in
> > the ruins in the dark, what we build could be anything. [Choke - Chuck
> > Palahniuk]
>
>
>
>
> --
>
> Thilina Gunarathne - http://thilinag.blogspot.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
It's creepy, but here we are, the Pilgrims, the crackpots of our time,
trying to establish our own alternate reality. To build a world out of rocks
and chaos. What it's going to be, I don't know. Even after all that rushing
around, where we've ended up is the middle of nowhere in the middle of the
night. And maybe knowing isn't the point. Where we're standing right now, in
the ruins in the dark, what we build could be anything. [Choke - Chuck
Palahniuk]

Re: service.xml and mtom

Posted by Thilina Gunarathne <cs...@gmail.com>.
Can you post the wsdl... It the service also authored by you..

thanks,
Thilina

On Fri, Apr 11, 2008 at 10:00 AM, Michelantonio Trizio
<mi...@gmail.com> wrote:
> thank you,
>
> I'm using eclipse to generate the stubs.
> I want obtain this classes:
>
> AttachmentRequest attachmentRequest = new AttachmentRequest();
>  AttachmentType attachmentType = new AttachmentType();
>
>  Base64Binary base64Binary = new Base64Binary();
>
>
> How can I do?
> Thank you.
>  Mikelantonio
>
> 2008/4/11, Thilina Gunarathne <cs...@gmail.com>:
>
>
>
> >
> >
> >
> > Hi,
> > Are you looking for a way to enable MTOM in a per service basis... For
> > that you can add the following to your services.xml under the service
> > element..
> > <parameter name="enableMTOM" locked="false">true</parameter>
> >
> > If you are looking for a way to generate a WSDL with base64Binary
> > fields (MTOM equivalent), then you would need to deploy a pojo service
> > using the RPCMessageReceiver with methods having DataHandlers as the
> > parameters or the return values. Nothing special is needed in the
> > services.xml...
> >
> > thanks,
> > Thilina
> >
> >
> > On Fri, Apr 11, 2008 at 6:58 AM, Michelantonio Trizio
> > <mi...@gmail.com> wrote:
> > > Hi,
> > >
> > > I'd like to know what I should write in the service.xml for having  the
> > > right wsdl with MTOM parameter.
> > > Thank you.
> > >
> > >                         Mikelantonio
> > >
> > > --
> > > It's creepy, but here we are, the Pilgrims, the crackpots of our time,
> > > trying to establish our own alternate reality. To build a world out of
> rocks
> > > and chaos. What it's going to be, I don't know. Even after all that
> rushing
> > > around, where we've ended up is the middle of nowhere in the middle of
> the
> > > night. And maybe knowing isn't the point. Where we're standing right
> now, in
> > > the ruins in the dark, what we build could be anything. [Choke - Chuck
> > > Palahniuk]
> >
> >
> >
> >
> > --
> > Thilina Gunarathne - http://thilinag.blogspot.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
>
> --
>
> It's creepy, but here we are, the Pilgrims, the crackpots of our time,
> trying to establish our own alternate reality. To build a world out of rocks
> and chaos. What it's going to be, I don't know. Even after all that rushing
> around, where we've ended up is the middle of nowhere in the middle of the
> night. And maybe knowing isn't the point. Where we're standing right now, in
> the ruins in the dark, what we build could be anything. [Choke - Chuck
> Palahniuk]



-- 
Thilina Gunarathne - http://thilinag.blogspot.com

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


Re: service.xml and mtom

Posted by Michelantonio Trizio <mi...@gmail.com>.
thank you,

I'm using eclipse to generate the stubs.
I want obtain this classes:

AttachmentRequest attachmentRequest = new AttachmentRequest();
		AttachmentType attachmentType = new AttachmentType();
		Base64Binary base64Binary = new Base64Binary();


How can I do?
Thank you.
                                         Mikelantonio

2008/4/11, Thilina Gunarathne <cs...@gmail.com>:

Hi,
> Are you looking for a way to enable MTOM in a per service basis... For
> that you can add the following to your services.xml under the service
> element..
> <parameter name="enableMTOM" locked="false">true</parameter>
>
> If you are looking for a way to generate a WSDL with base64Binary
> fields (MTOM equivalent), then you would need to deploy a pojo service
> using the RPCMessageReceiver with methods having DataHandlers as the
> parameters or the return values. Nothing special is needed in the
> services.xml...
>
> thanks,
> Thilina
>
>
> On Fri, Apr 11, 2008 at 6:58 AM, Michelantonio Trizio
> <mi...@gmail.com> wrote:
> > Hi,
> >
> > I'd like to know what I should write in the service.xml for having  the
> > right wsdl with MTOM parameter.
> > Thank you.
> >
> >                         Mikelantonio
> >
> > --
> > It's creepy, but here we are, the Pilgrims, the crackpots of our time,
> > trying to establish our own alternate reality. To build a world out of
> rocks
> > and chaos. What it's going to be, I don't know. Even after all that
> rushing
> > around, where we've ended up is the middle of nowhere in the middle of
> the
> > night. And maybe knowing isn't the point. Where we're standing right
> now, in
> > the ruins in the dark, what we build could be anything. [Choke - Chuck
> > Palahniuk]
>
>
>
>
> --
> Thilina Gunarathne - http://thilinag.blogspot.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
It's creepy, but here we are, the Pilgrims, the crackpots of our time,
trying to establish our own alternate reality. To build a world out of rocks
and chaos. What it's going to be, I don't know. Even after all that rushing
around, where we've ended up is the middle of nowhere in the middle of the
night. And maybe knowing isn't the point. Where we're standing right now, in
the ruins in the dark, what we build could be anything. [Choke - Chuck
Palahniuk]

Re: service.xml and mtom

Posted by Thilina Gunarathne <cs...@gmail.com>.
Hi,
Are you looking for a way to enable MTOM in a per service basis... For
that you can add the following to your services.xml under the service
element..
<parameter name="enableMTOM" locked="false">true</parameter>

If you are looking for a way to generate a WSDL with base64Binary
fields (MTOM equivalent), then you would need to deploy a pojo service
using the RPCMessageReceiver with methods having DataHandlers as the
parameters or the return values. Nothing special is needed in the
services.xml...

thanks,
Thilina

On Fri, Apr 11, 2008 at 6:58 AM, Michelantonio Trizio
<mi...@gmail.com> wrote:
> Hi,
>
> I'd like to know what I should write in the service.xml for having  the
> right wsdl with MTOM parameter.
> Thank you.
>
>                         Mikelantonio
>
> --
> It's creepy, but here we are, the Pilgrims, the crackpots of our time,
> trying to establish our own alternate reality. To build a world out of rocks
> and chaos. What it's going to be, I don't know. Even after all that rushing
> around, where we've ended up is the middle of nowhere in the middle of the
> night. And maybe knowing isn't the point. Where we're standing right now, in
> the ruins in the dark, what we build could be anything. [Choke - Chuck
> Palahniuk]



-- 
Thilina Gunarathne - http://thilinag.blogspot.com

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