You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "naveen bhat (JIRA)" <ji...@apache.org> on 2008/06/09 12:21:45 UTC

[jira] Created: (AXIS2C-1188) SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb

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

                 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


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Issue Comment Edited: (AXIS2C-1188) SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb

Posted by "Dushshantha Chandradasa (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609154#action_12609154 ] 

dchandradasa edited comment on AXIS2C-1188 at 6/29/08 9:58 PM:
--------------------------------------------------------------------------

patch looks ok. Now what we receive is :

HTTP/1.1 500 Internal Server Error
Date: Mon Jun 30 10:26:19 2008 GMT
Server: Axis2C/1.4.0 (Simple Axis2 HTTP Server)
Content-Type: text/xml;charset=UTF-8
Content-Length: 369

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header></soapenv:Header>
   <soapenv:Body>
      <soapenv:Fault>
         <faultcode>soapenv:Sender</faultcode>
         <faultstring>Data element of the OM Node is NULL</faultstring>
         <detail>
            <fault>Calculator|http://localhost/axis/Calculator failed</fault>
         </detail>
      </soapenv:Fault>
   </soapenv:Body></soapenv:Envelope>


      was (Author: dchandradasa):
    patch lokks ok. Now what we receive is :

HTTP/1.1 500 Internal Server Error
Date: Mon Jun 30 10:26:19 2008 GMT
Server: Axis2C/1.4.0 (Simple Axis2 HTTP Server)
Content-Type: text/xml;charset=UTF-8
Content-Length: 369

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header></soapenv:Header>
   <soapenv:Body>
      <soapenv:Fault>
         <faultcode>soapenv:Sender</faultcode>
         <faultstring>Data element of the OM Node is NULL</faultstring>
         <detail>
            <fault>Calculator|http://localhost/axis/Calculator failed</fault>
         </detail>
      </soapenv:Fault>
   </soapenv:Body></soapenv:Envelope>

  
> SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb
> --------------------------------------------------------------------------------------------------------
>
>                 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
>            Assignee: Supun Kamburugamuva
>         Attachments: raw_xml_recv.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (AXIS2C-1188) SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb

Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Supun Kamburugamuva updated AXIS2C-1188:
----------------------------------------

    Attachment: raw_xml_recv_corrected.patch

In the previous patch I didn't handle the robust in only case. Here is the correct patch with that case included.

> SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb
> --------------------------------------------------------------------------------------------------------
>
>                 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
>            Assignee: Supun Kamburugamuva
>         Attachments: raw_xml_recv.patch, raw_xml_recv_corrected.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Assigned: (AXIS2C-1188) SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb

Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Supun Kamburugamuva reassigned AXIS2C-1188:
-------------------------------------------

    Assignee: Supun Kamburugamuva

> SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb
> --------------------------------------------------------------------------------------------------------
>
>                 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
>            Assignee: Supun Kamburugamuva
>         Attachments: raw_xml_recv.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2C-1188) SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb

Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608284#action_12608284 ] 

Supun Kamburugamuva commented on AXIS2C-1188:
---------------------------------------------

Hi Naveen,

Did you solve the problem? It seems that this is a problem is in the Server side, Can you please send us the Axis2/C log file so that we can have a look?

Supun.

> SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb
> --------------------------------------------------------------------------------------------------------
>
>                 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
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2C-1188) SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb

Posted by "Dushshantha Chandradasa (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608997#action_12608997 ] 

Dushshantha Chandradasa commented on AXIS2C-1188:
-------------------------------------------------

I was able to reproduce this. When we have no implementation of business logic in the server side and returns just NULL, response message in the TCPMon is as follows.

HTTP/1.1 202 Accepted
Date: Sat Jun 28 16:22:12 2008 GMT
Server: Axis2C/1.4.0 (Simple Axis2 HTTP Server)



> SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb
> --------------------------------------------------------------------------------------------------------
>
>                 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
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2C-1188) SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb

Posted by "Dushshantha Chandradasa (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609154#action_12609154 ] 

Dushshantha Chandradasa commented on AXIS2C-1188:
-------------------------------------------------

patch lokks ok. Now what we receive is :

HTTP/1.1 500 Internal Server Error
Date: Mon Jun 30 10:26:19 2008 GMT
Server: Axis2C/1.4.0 (Simple Axis2 HTTP Server)
Content-Type: text/xml;charset=UTF-8
Content-Length: 369

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header></soapenv:Header>
   <soapenv:Body>
      <soapenv:Fault>
         <faultcode>soapenv:Sender</faultcode>
         <faultstring>Data element of the OM Node is NULL</faultstring>
         <detail>
            <fault>Calculator|http://localhost/axis/Calculator failed</fault>
         </detail>
      </soapenv:Fault>
   </soapenv:Body></soapenv:Envelope>


> SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb
> --------------------------------------------------------------------------------------------------------
>
>                 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
>            Assignee: Supun Kamburugamuva
>         Attachments: raw_xml_recv.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2C-1188) SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb

Posted by "Damitha Kumarage (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609168#action_12609168 ] 

Damitha Kumarage commented on AXIS2C-1188:
------------------------------------------

I reviewd the patch and it is good to go with it. However it is good to apply our new coding convention of 100 columns per line since you are changing the function. Also use
!axutil_strcmp instead of 0== axutil_strcmp

> SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb
> --------------------------------------------------------------------------------------------------------
>
>                 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
>            Assignee: Supun Kamburugamuva
>         Attachments: raw_xml_recv.patch, raw_xml_recv_corrected.patch, readable_macro_correction2.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (AXIS2C-1188) SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb

Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Supun Kamburugamuva resolved AXIS2C-1188.
-----------------------------------------

    Resolution: Fixed

Fixed in the trunk.

> SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb
> --------------------------------------------------------------------------------------------------------
>
>                 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
>            Assignee: Supun Kamburugamuva
>         Attachments: raw_xml_recv.patch, raw_xml_recv_corrected.patch, readable_macro_correction2.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2C-1188) SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb

Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608983#action_12608983 ] 

Supun Kamburugamuva commented on AXIS2C-1188:
---------------------------------------------

It is hard to go on with this issue if a user input is not provided. The provided information is not enough to identify weather this is even a bug in the system.

> SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb
> --------------------------------------------------------------------------------------------------------
>
>                 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
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2C-1188) SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb

Posted by "Damitha Kumarage (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609179#action_12609179 ] 

Damitha Kumarage commented on AXIS2C-1188:
------------------------------------------

I have another question.
When service implementation is NULL(if service function return NULL) is it correct to send a soap fault of Data element of the OM Node is NULL?
Further where in the server side code does this message send. In the code AXIS2_ERROR_DATA_ELEMENT_IS_NULL error is set only in the axis2_conf_builder_get_phase_list() function which is called only in the load time.

> SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb
> --------------------------------------------------------------------------------------------------------
>
>                 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
>            Assignee: Supun Kamburugamuva
>         Attachments: raw_xml_recv.patch, raw_xml_recv_corrected.patch, readable_macro_correction2.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2C-1188) SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb

Posted by "Damitha Kumarage (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609195#action_12609195 ] 

Damitha Kumarage commented on AXIS2C-1188:
------------------------------------------

There are following scenarios to consider in in-out case

1) If the service implementor returns NULL or some fault status in the serivce function. But implement the on_fault in his service implementation. In this case I nicely get the soap fault saying something like service implementation not found.

2) Service function return NULL or some fault status. on_fault also returns NULL.
    In this case we just get accepted 202.

3) Service return NULL or some error status. A on_fault function is not implemented at all. i.e it is set to NULL in skeleton.
 In this case server segfault with 

#0  0x00000000 in ?? ()
#1  0xb7ef5675 in axis2_raw_xml_in_out_msg_recv_invoke_business_logic_sync (msg_recv=0x80b0c20, env=0x80cec70, 
    msg_ctx=0x80cf7a0, new_msg_ctx=0x80d58b0) at raw_xml_in_out_msg_recv.c:291
#2  0xb7ef48f4 in axis2_msg_recv_invoke_business_logic (msg_recv=0x80b0c20, env=0x80cec70, in_msg_ctx=0x80cf7a0, 
    out_msg_ctx=0x80d58b0) at msg_recv.c:397
#3  0xb7ef4f02 in axis2_msg_recv_receive_impl (msg_recv=0x80b0c20, env=0x80cec70, msg_ctx=0x80cf7a0, 
    callback_recv_param=0x0) at msg_recv.c:319
#4  0xb7ef4974 in axis2_msg_recv_receive (msg_recv=0x80b0c20, env=0x80cec70, msg_ctx=0x80cf7a0, callback_recv_param=0x0)
    at msg_recv.c:436
#5  0xb7eea066 in axis2_engine_receive (engine=0x80d4488, env=0x80cec70, msg_ctx=0x80cf7a0) at engine.c:318
#6  0xb7f3a83b in axis2_http_transport_utils_process_http_post_request (env=0x80cec70, msg_ctx=0x80cf7a0, 
    in_stream=0x80ceca0, out_stream=0x80ceeb0, content_type=0x80cecd0 "application/soap+xml;charset=UTF-8", 
    content_length=512, soap_action_header=0x0, request_uri=0x80cfba8 "http://127.0.0.1:9091/axis2/services/echo")
    at http_transport_utils.c:658
#7  0xb7f375c3 in axis2_http_worker_process_request (http_worker=0x80ce1b8, env=0x80cec70, svr_conn=0x80cec90, 
    simple_request=0x80ced48) at http_worker.c:908
#8  0xb7eab011 in axis2_svr_thread_worker_func (thd=0x80ceba0, data=0x80ceb88) at http_svr_thread.c:259
#9  0xb7f5b226 in dummy_worker (opaque=0x80ceba0) at thread_unix.c:93
#10 0xb7e6b4fb in start_thread () from /lib/i686/cmov/libpthread.so.0
#11 0xb7dd5d7e in clone () from /lib/i686/cmov/libc.so.6


My suggestion to fix this is in raw_xml_msg_receiver
if there is a errror in service invoke then first check whether on_fault function is set.
if set and return NULL then handle it and send a soap fualt appropriately. If not set then 
send a soap fault.


> SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb
> --------------------------------------------------------------------------------------------------------
>
>                 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
>            Assignee: Supun Kamburugamuva
>         Attachments: raw_xml_recv.patch, raw_xml_recv_corrected.patch, readable_macro_correction2.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2C-1188) SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb

Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609181#action_12609181 ] 

Supun Kamburugamuva commented on AXIS2C-1188:
---------------------------------------------

In in-out MEP we are supposed to send a reply. If the service implementation is not going to send anything it is our responsibility to send the response. In this case the logical response is a fault.

> SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb
> --------------------------------------------------------------------------------------------------------
>
>                 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
>            Assignee: Supun Kamburugamuva
>         Attachments: raw_xml_recv.patch, raw_xml_recv_corrected.patch, readable_macro_correction2.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (AXIS2C-1188) SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb

Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Supun Kamburugamuva updated AXIS2C-1188:
----------------------------------------

    Attachment: raw_xml_recv.patch

Sorry I was missing the part saying no implementation. Here I have attached a patch for the bug. Can someone please have a look at the patch before I apply it?



> SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb
> --------------------------------------------------------------------------------------------------------
>
>                 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
>         Attachments: raw_xml_recv.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (AXIS2C-1188) SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb

Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Supun Kamburugamuva updated AXIS2C-1188:
----------------------------------------

    Attachment: readable_macro_correction2.patch

Sorry I have typed && as || in the previous patch. This is the correct one.

> SOAP fault not working with axis2c latest revision(663886) from code generated from axis2/java using adb
> --------------------------------------------------------------------------------------------------------
>
>                 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
>            Assignee: Supun Kamburugamuva
>         Attachments: raw_xml_recv.patch, raw_xml_recv_corrected.patch, readable_macro_correction2.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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