You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by naveen bhat <na...@googlemail.com> on 2008/06/06 12:55:59 UTC

SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb

Hello group,

I used axis2/java 1.4 to generate server side code from wsdl.
I did not write the business logic in the service skeleton(i.e all empty
operations returning NULL).
I compiled the code to generate libMyService.so.
I deployed the service(libMyService.so and services.xml).
I made a request from the axis2/java client.
Ideally client should receive a soap fault from server.
But server is not sending any response.
I monitored the soap messages using tcpmon and found that the server is
sending only http header, and there was no soap message in response.
I also experimented the same steps using axis2/java nightly build(available
at http://people.apache.org/dist/axis2/nightly) but the result remained the
same.

Need help in this regard.Let me know if you need more details

*PS*: command used to generate the server side code
WSDL2C.sh -uri <wsdl path> -ss -sd -d adb -u.
*Environment*:
axis2c revision number 663886.
axis2/java 1.4 and also axis2/java nighlty build

Thanks in advance
Navin Bhat

Re: SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb

Posted by naveen bhat <na...@googlemail.com>.
Hi Dimuthu,

I have raised a JIRA for this issue.Please refer below details.

                Key: AXIS2C-1188
                URL: https://issues.apache.org/jira/browse/AXIS2C-1188
            Project: Axis2-C
         Issue Type: Bug
         Components: core/engine
   Affects Versions: Current (Nightly)
        Environment: axis2c revision number 663886.
axis2/java 1.4 and also axis2/java nighlty build
           Reporter: naveen bhat

Thanks,
Naveen Bhat

On Fri, Jun 6, 2008 at 7:57 AM, Dimuthu Gamage <di...@gmail.com> wrote:

> Hi,
> The idea case should be the server responding with a fault. I think issue
> for another JIRA. :(
>
> Thanks
> Dimuthu
>
> On Fri, Jun 6, 2008 at 4:25 PM, naveen bhat <na...@googlemail.com>
> wrote:
>
>> Hello group,
>>
>> I used axis2/java 1.4 to generate server side code from wsdl.
>> I did not write the business logic in the service skeleton(i.e all empty
>> operations returning NULL).
>> I compiled the code to generate libMyService.so.
>> I deployed the service(libMyService.so and services.xml).
>> I made a request from the axis2/java client.
>> Ideally client should receive a soap fault from server.
>> But server is not sending any response.
>> I monitored the soap messages using tcpmon and found that the server is
>> sending only http header, and there was no soap message in response.
>> I also experimented the same steps using axis2/java nightly
>> build(available at http://people.apache.org/dist/axis2/nightly) but the
>> result remained the same.
>>
>> Need help in this regard.Let me know if you need more details
>>
>> *PS*: command used to generate the server side code
>> WSDL2C.sh -uri <wsdl path> -ss -sd -d adb -u.
>> *Environment*:
>> axis2c revision number 663886.
>> axis2/java 1.4 and also axis2/java nighlty build
>>
>> Thanks in advance
>> Navin Bhat
>>
>
>

Re: SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb

Posted by Dimuthu Gamage <di...@gmail.com>.
Hi,
The idea case should be the server responding with a fault. I think issue
for another JIRA. :(

Thanks
Dimuthu
On Fri, Jun 6, 2008 at 4:25 PM, naveen bhat <na...@googlemail.com>
wrote:

> Hello group,
>
> I used axis2/java 1.4 to generate server side code from wsdl.
> I did not write the business logic in the service skeleton(i.e all empty
> operations returning NULL).
> I compiled the code to generate libMyService.so.
> I deployed the service(libMyService.so and services.xml).
> I made a request from the axis2/java client.
> Ideally client should receive a soap fault from server.
> But server is not sending any response.
> I monitored the soap messages using tcpmon and found that the server is
> sending only http header, and there was no soap message in response.
> I also experimented the same steps using axis2/java nightly build(available
> at http://people.apache.org/dist/axis2/nightly) but the result remained
> the same.
>
> Need help in this regard.Let me know if you need more details
>
> *PS*: command used to generate the server side code
> WSDL2C.sh -uri <wsdl path> -ss -sd -d adb -u.
> *Environment*:
> axis2c revision number 663886.
> axis2/java 1.4 and also axis2/java nighlty build
>
> Thanks in advance
> Navin Bhat
>