Hello Thilina,

no that isn't the point, I enabled both SWA parameters on client and server
side!
The problem is that I enable SwA and MTOM together :-(

No it works :-)

Thanks for yout help

Best Greetings



Hartmut Zimmermann


Phone: +49 621 60-49477, Fax: +49 621 60-78817, E-Mail:
[EMAIL PROTECTED]
Postal Address: BASF IT Services GmbH, HS-AA - J660, 67059 Ludwigshafen,
Germany


www.basf-it-services.com


BASF IT Services GmbH, Registered Office: 67059 Ludwigshafen, Germany
Companies' Register: Amtsgericht Ludwigshafen, HRB 3541
Managing Directors:
Dr. Kurt Ettmüller, Dr. Ralf Sonnberger
Chairman of the Supervisory Board: Andrew Pike




                                                                       
             Thilina                                                   
             Gunarathne                                                
             <[EMAIL PROTECTED]                                          An
             >                          [email protected]          
             Gesendet von:                                           Kopie
             esb-java-dev-boun                                         
             [EMAIL PROTECTED]                                            Thema
                                        Re: Antwort: Re: Antwort: Re:  
                                        [esb-java-dev] Problem running 
             26.01.2008 05:15           StatisticsService              
                                                                       
                                                                       
              Bitte antworten                                          
                    an                                                 
             [EMAIL PROTECTED]                                         
                   .org                                                
                                                                       
                                                                       




Hi,
Looks like SwA is not enabled for your service. Do you have the following
added to your services.xml
or the axis2.xml.. Check http://wso2.org/library/264 for more details.

    <parameter name="enableSwA" locked="false">true</parameter>

If SwA is enabled for a particular operation of a service, then you should
see a MIME/Multipart
message as the response..

thanks,
Thilina

[EMAIL PROTECTED] wrote:
> here my soap traffic:
>
> <?xml version='1.0' encoding='utf-8'?>
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
>   <soapenv:Body>
>     <swa:getStats xmlns:swa="http://service.sample/xsd";>
>       <swa:projectName>axis2</swa:projectName>
>     </swa:getStats>
>   </soapenv:Body>
> </soapenv:Envelope>
>
>
> <?xml version='1.0' encoding='utf-8'?>
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
>   <soapenv:Body>
>     <swa:getStatsResponse xmlns:swa="http://service.sample/xsd";>
>       <swa:projectName>Apache Axis2</swa:projectName>
>       <swa:month>2007 January</swa:month>
>       <swa:downloads>34000</swa:downloads>
>       <swa:graph href="cid:urn:uuid:E92AC150E677F25E4B1201077457445" />
>     </swa:getStatsResponse>
>   </soapenv:Body>
> </soapenv:Envelope>
>
> Hartmut Zimmermann
>
>
> Phone: +49 621 60-49477, Fax: +49 621 60-78817, E-Mail:
> [EMAIL PROTECTED]
> Postal Address: BASF IT Services GmbH, HS-AA - J660, 67059 Ludwigshafen,
> Germany
>
>
> www.basf-it-services.com
>
>
> BASF IT Services GmbH, Registered Office: 67059 Ludwigshafen, Germany
> Companies' Register: Amtsgericht Ludwigshafen, HRB 3541
> Managing Directors:
> Dr. Kurt Ettmüller, Dr. Ralf Sonnberger
> Chairman of the Supervisory Board: Andrew Pike
>
>
>
>
>

>              Thilina

>              Gunarathne

>              <[EMAIL PROTECTED]
An
>              >                          [email protected]

>              Gesendet von:
Kopie
>              esb-java-dev-boun          [EMAIL PROTECTED]

>              [EMAIL PROTECTED]
Thema
>                                         Re: Antwort: Re: [esb-java-dev]

>                                         Problem running StatisticsService

>              22.01.2008 21:37

>

>

>               Bitte antworten

>                     an

>              [EMAIL PROTECTED]

>                    .org

>

>

>
>
>
>
> Hi Hartmut,
>
> Hope you set the resources directory as mentioned in the tutorial & did
set
> the path in the service
> class.
>
> Can you try capturing the message using the tcpmon
> (ws.apache.org/commons/tcpmon)...
>
> thanks,
> Thilina
>
>
> [EMAIL PROTECTED] wrote:
>> Hello asankha,
>>
>> thanks for your answer.
>> The problem exist without the ESB! Just a client direct against the
Axis2
>> WebService!
>>
>>
>> Hartmut Zimmermann
>>
>>
>> Phone: +49 621 60-49477, Fax: +49 621 60-78817, E-Mail:
>> [EMAIL PROTECTED]
>> Postal Address: BASF IT Services GmbH, HS-AA - J660, 67059 Ludwigshafen,
>> Germany
>>
>>
>> www.basf-it-services.com
>>
>>
>> BASF IT Services GmbH, Registered Office: 67059 Ludwigshafen, Germany
>> Companies' Register: Amtsgericht Ludwigshafen, HRB 3541
>> Managing Directors:
>> Dr. Kurt Ettmüller, Dr. Ralf Sonnberger
>> Chairman of the Supervisory Board: Andrew Pike
>>
>>
>>
>>
>>
>
>>              "Asankha C.
>
>>              Perera"
>
>>              <[EMAIL PROTECTED]
> An
>>              >                          [email protected]
>
>>              Gesendet von:
> Kopie
>>              esb-java-dev-boun
>
>>              [EMAIL PROTECTED]
> Thema
>>                                         Re: [esb-java-dev] Problem
> running
>>                                         StatisticsService
>
>>              22.01.2008 16:46
>
>
>
>>               Bitte antworten
>
>>                     an
>
>>              [EMAIL PROTECTED]
>
>>                    .org
>
>
>
>>
>>
>>
>> Hi Hartmut
>>
>> Welcome to the ESB dev list.. BTW.. the problem you mention below, is
>> this with the Tutorial alone? or when you try to access this service
>> through the ESB? For your last question - I would expect to see a
>> response over the comments made by Indika, and I guess these are
>> related.. more details from you would help us give you a solution
>>
>> asankha
>>
>> [EMAIL PROTECTED] wrote:
>>> Hello again,
>>>
>>> I have an problem running the StatisticsService from your tutorial
>> section
>>> "http://wso2.org/library/1675";.
>>> There is no DataHandler in the MessageContext on client site!?.
>>>
>>> Console Output:
>>> Project Name : Apache Axis2
>>> Month : 2007 JanuaryException in thread "main"
>>> Downloads : 34000
>>> urn:uuid:056A4E26AC7552A2141200985661347
>>> java.lang.Exception: Cannot find the data handler.
>>>       at sample.client.StatisticsServiceClient.processResponse(
>>> StatisticsServiceClient.java:120)
>>>       at sample.client.StatisticsServiceClient.getMonthlyDownloadStats(
>>> StatisticsServiceClient.java:90)
>>>       at sample.client.StatisticsServiceClient.main(
>>> StatisticsServiceClient.java:46)
>>>
>>>
>>> Hartmut Zimmermann
>>>
>>>
>>> Phone: +49 621 60-49477, Fax: +49 621 60-78817, E-Mail:
>>> [EMAIL PROTECTED]
>>> Postal Address: BASF IT Services GmbH, HS-AA - J660, 67059
Ludwigshafen,
>>> Germany
>>>
>>>
>>> www.basf-it-services.com
>>>
>>>
>>> BASF IT Services GmbH, Registered Office: 67059 Ludwigshafen, Germany
>>> Companies' Register: Amtsgericht Ludwigshafen, HRB 3541
>>> Managing Directors:
>>> Dr. Kurt Ettmüller, Dr. Ralf Sonnberger
>>> Chairman of the Supervisory Board: Andrew Pike
>>>
>>>
>>> _______________________________________________
>>> Esb-java-dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
>>>
>>>
>> _______________________________________________
>> Esb-java-dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
>>
>>
>>
>> _______________________________________________
>> Esb-java-dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
>>
>
>
> _______________________________________________
> Esb-java-dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
>
>
>
> _______________________________________________
> Esb-java-dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
>


_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev



_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to