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 "Clifford Audinet (JIRA)" <ji...@apache.org> on 2007/02/01 20:34:05 UTC

[jira] Created: (AXIS2C-519) [Axis2] axis2_svc_client_create_for_dynamic_invocation returns NULL

[Axis2] axis2_svc_client_create_for_dynamic_invocation returns NULL
-------------------------------------------------------------------

                 Key: AXIS2C-519
                 URL: https://issues.apache.org/jira/browse/AXIS2C-519
             Project: Axis2-C
          Issue Type: Bug
          Components: core/clientapi
    Affects Versions: 0.96
         Environment: axis2c v0.96 win binaries
WinXP Pro SP2
WinAMD (Athalon X2 3800, 1GB RAM)
MS Visual C++ 6.0 
            Reporter: Clifford Audinet
             Fix For: 0.96


I am attempting to create a C web services client capable of dynamic invocation using the Axis2C framework and have run into the following issue described below.

The Problem:
I modified the dynamic_client example to take all of the arguments
related to dynamic invocation (WSDL file, namespace, service URL,
operation, operation parameters, etc) from the command line and tested
it using the Calculator example and it worked.

When I changed the command line arguments to point to a remote service I started getting errors when the service client was being created.  I tried a couple of different things but got the same result.  Here's what I'm passing in:

axis2_svc_client_create_for_dynamic_invocation(
env,                                       //the usual pointer to an environment variable
config_stx,                           //In the example this is NULL, but the docs said it should be a pointer to a configuration struct...so I created one, although it's empty
wsdl_uri,                              //The URI to the WSDL file which, based on the output of AXIS2_URI_TO_STRING, WSDL URI is:
                                                 C:\axis2c\bin\samples\resources\jirasoapservice-v2.wsdl
wsdl_svc_qname              //The service qname which, based on the output of AXIS2_QNAME_TO_STRING, QNAME is:
                                                 JiraSoapServiceService|http://jira.atlassian.com/rpc/soap/jirasoapservice-v2
progParams->ws_name //The web service name: "JiraSoapServiceService"
client_home                       //The axis2c deploy location "C:\axis2c"
);

Note for wsdl_uri:  I had switched to a local WSDL URI but I got the same result regardless.  The remote WSDL URI was:
http://jira.atlassian.com/rpc/soap/jirasoapservice-v2?wsdl

The return from the function is, unfortunately, NULL (0x00000000).
Sometimes it goes into the error block and sometimes it results in an
unhandled exception in the AXIS_ENGINE.DLL: 0x00000005: Access Violation  .  I switched back to the original example and it still works.

I have changed the log output to DEBUG for logger but I don't see any difference in the output in the log file.  I also tried to get the error code from the env variable but the Access Violation error terminates the program.

So why do values for a local service work but not a remote service?

Please let me know what additional clarification or information you require and I will supply it via this issue.

Thanks,

Cliff 

-- 
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-519) [Axis2] axis2_svc_client_create_for_dynamic_invocation returns NULL

Posted by "Clifford Audinet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524701 ] 

Clifford Audinet commented on AXIS2C-519:
-----------------------------------------

Well that is certainly disappointing.  Thanks for letting me know, 
though...I do appreciate it.

Cliff

Clifford Audinet
Software Architect

Stonebranch, Inc.
950 North Point Parkway
Suite 200
Alpharetta, Ga 30005
(678) 366-7887 X316
http://www.stonebranch.com
mailto:clifford.audinet@stonebranch.com






> [Axis2] axis2_svc_client_create_for_dynamic_invocation returns NULL
> -------------------------------------------------------------------
>
>                 Key: AXIS2C-519
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-519
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/clientapi
>    Affects Versions: 0.96
>         Environment: axis2c v0.96 win binaries
> WinXP Pro SP2
> WinAMD (Athalon X2 3800, 1GB RAM)
> MS Visual C++ 6.0 
>            Reporter: Clifford Audinet
>
> I am attempting to create a C web services client capable of dynamic invocation using the Axis2C framework and have run into the following issue described below.
> The Problem:
> I modified the dynamic_client example to take all of the arguments
> related to dynamic invocation (WSDL file, namespace, service URL,
> operation, operation parameters, etc) from the command line and tested
> it using the Calculator example and it worked.
> When I changed the command line arguments to point to a remote service I started getting errors when the service client was being created.  I tried a couple of different things but got the same result.  Here's what I'm passing in:
> axis2_svc_client_create_for_dynamic_invocation(
> env,                                       //the usual pointer to an environment variable
> config_stx,                           //In the example this is NULL, but the docs said it should be a pointer to a configuration struct...so I created one, although it's empty
> wsdl_uri,                              //The URI to the WSDL file which, based on the output of AXIS2_URI_TO_STRING, WSDL URI is:
>                                                  C:\axis2c\bin\samples\resources\jirasoapservice-v2.wsdl
> wsdl_svc_qname              //The service qname which, based on the output of AXIS2_QNAME_TO_STRING, QNAME is:
>                                                  JiraSoapServiceService|http://jira.atlassian.com/rpc/soap/jirasoapservice-v2
> progParams->ws_name //The web service name: "JiraSoapServiceService"
> client_home                       //The axis2c deploy location "C:\axis2c"
> );
> Note for wsdl_uri:  I had switched to a local WSDL URI but I got the same result regardless.  The remote WSDL URI was:
> http://jira.atlassian.com/rpc/soap/jirasoapservice-v2?wsdl
> The return from the function is, unfortunately, NULL (0x00000000).
> Sometimes it goes into the error block and sometimes it results in an
> unhandled exception in the AXIS_ENGINE.DLL: 0x00000005: Access Violation  .  I switched back to the original example and it still works.
> I have changed the log output to DEBUG for logger but I don't see any difference in the output in the log file.  I also tried to get the error code from the env variable but the Access Violation error terminates the program.
> So why do values for a local service work but not a remote service?
> Please let me know what additional clarification or information you require and I will supply it via this issue.
> Thanks,
> Cliff 

-- 
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-519) [Axis2] axis2_svc_client_create_for_dynamic_invocation returns NULL

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

Samisa Abeysinghe resolved AXIS2C-519.
--------------------------------------

    Resolution: Won't Fix

We have retired Woden code. Hence it is unlikely that we would support the dynamic invocation code in the future.

> [Axis2] axis2_svc_client_create_for_dynamic_invocation returns NULL
> -------------------------------------------------------------------
>
>                 Key: AXIS2C-519
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-519
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/clientapi
>    Affects Versions: 0.96
>         Environment: axis2c v0.96 win binaries
> WinXP Pro SP2
> WinAMD (Athalon X2 3800, 1GB RAM)
> MS Visual C++ 6.0 
>            Reporter: Clifford Audinet
>
> I am attempting to create a C web services client capable of dynamic invocation using the Axis2C framework and have run into the following issue described below.
> The Problem:
> I modified the dynamic_client example to take all of the arguments
> related to dynamic invocation (WSDL file, namespace, service URL,
> operation, operation parameters, etc) from the command line and tested
> it using the Calculator example and it worked.
> When I changed the command line arguments to point to a remote service I started getting errors when the service client was being created.  I tried a couple of different things but got the same result.  Here's what I'm passing in:
> axis2_svc_client_create_for_dynamic_invocation(
> env,                                       //the usual pointer to an environment variable
> config_stx,                           //In the example this is NULL, but the docs said it should be a pointer to a configuration struct...so I created one, although it's empty
> wsdl_uri,                              //The URI to the WSDL file which, based on the output of AXIS2_URI_TO_STRING, WSDL URI is:
>                                                  C:\axis2c\bin\samples\resources\jirasoapservice-v2.wsdl
> wsdl_svc_qname              //The service qname which, based on the output of AXIS2_QNAME_TO_STRING, QNAME is:
>                                                  JiraSoapServiceService|http://jira.atlassian.com/rpc/soap/jirasoapservice-v2
> progParams->ws_name //The web service name: "JiraSoapServiceService"
> client_home                       //The axis2c deploy location "C:\axis2c"
> );
> Note for wsdl_uri:  I had switched to a local WSDL URI but I got the same result regardless.  The remote WSDL URI was:
> http://jira.atlassian.com/rpc/soap/jirasoapservice-v2?wsdl
> The return from the function is, unfortunately, NULL (0x00000000).
> Sometimes it goes into the error block and sometimes it results in an
> unhandled exception in the AXIS_ENGINE.DLL: 0x00000005: Access Violation  .  I switched back to the original example and it still works.
> I have changed the log output to DEBUG for logger but I don't see any difference in the output in the log file.  I also tried to get the error code from the env variable but the Access Violation error terminates the program.
> So why do values for a local service work but not a remote service?
> Please let me know what additional clarification or information you require and I will supply it via this issue.
> Thanks,
> Cliff 

-- 
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-519) [Axis2] axis2_svc_client_create_for_dynamic_invocation returns NULL

Posted by "Clifford Audinet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470582 ] 

Clifford Audinet commented on AXIS2C-519:
-----------------------------------------

Dinesh,

Two quick items I hope you could comment on:

1) Is there a rough time frame for the Axis2/C 1.0 release?
2) How does the WSO2 WSF/C relate to Axis2/C (should I be investigating this for dynamic client functionality)?

Thanks for your time,

Cliff

> [Axis2] axis2_svc_client_create_for_dynamic_invocation returns NULL
> -------------------------------------------------------------------
>
>                 Key: AXIS2C-519
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-519
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/clientapi
>    Affects Versions: 0.96
>         Environment: axis2c v0.96 win binaries
> WinXP Pro SP2
> WinAMD (Athalon X2 3800, 1GB RAM)
> MS Visual C++ 6.0 
>            Reporter: Clifford Audinet
>             Fix For: 1.0.0
>
>
> I am attempting to create a C web services client capable of dynamic invocation using the Axis2C framework and have run into the following issue described below.
> The Problem:
> I modified the dynamic_client example to take all of the arguments
> related to dynamic invocation (WSDL file, namespace, service URL,
> operation, operation parameters, etc) from the command line and tested
> it using the Calculator example and it worked.
> When I changed the command line arguments to point to a remote service I started getting errors when the service client was being created.  I tried a couple of different things but got the same result.  Here's what I'm passing in:
> axis2_svc_client_create_for_dynamic_invocation(
> env,                                       //the usual pointer to an environment variable
> config_stx,                           //In the example this is NULL, but the docs said it should be a pointer to a configuration struct...so I created one, although it's empty
> wsdl_uri,                              //The URI to the WSDL file which, based on the output of AXIS2_URI_TO_STRING, WSDL URI is:
>                                                  C:\axis2c\bin\samples\resources\jirasoapservice-v2.wsdl
> wsdl_svc_qname              //The service qname which, based on the output of AXIS2_QNAME_TO_STRING, QNAME is:
>                                                  JiraSoapServiceService|http://jira.atlassian.com/rpc/soap/jirasoapservice-v2
> progParams->ws_name //The web service name: "JiraSoapServiceService"
> client_home                       //The axis2c deploy location "C:\axis2c"
> );
> Note for wsdl_uri:  I had switched to a local WSDL URI but I got the same result regardless.  The remote WSDL URI was:
> http://jira.atlassian.com/rpc/soap/jirasoapservice-v2?wsdl
> The return from the function is, unfortunately, NULL (0x00000000).
> Sometimes it goes into the error block and sometimes it results in an
> unhandled exception in the AXIS_ENGINE.DLL: 0x00000005: Access Violation  .  I switched back to the original example and it still works.
> I have changed the log output to DEBUG for logger but I don't see any difference in the output in the log file.  I also tried to get the error code from the env variable but the Access Violation error terminates the program.
> So why do values for a local service work but not a remote service?
> Please let me know what additional clarification or information you require and I will supply it via this issue.
> Thanks,
> Cliff 

-- 
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-519) [Axis2] axis2_svc_client_create_for_dynamic_invocation returns NULL

Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470801 ] 

Dinesh Premalal commented on AXIS2C-519:
----------------------------------------

Cliff,
   
     1.) Yes, we are planning to release Axis2/C 1.0 by end of March 2007. [1].

     2.) WSO2 WSF/C is an open sorce web services framwork , based on axis2/c,  I think there is some modifications going on related to dynamic client. [2].

thanks,
Dinesh

[1].http://marc.theaimsgroup.com/?l=axis-c-dev&m=117065703214780&w=3
[2].http://marc.theaimsgroup.com/?l=axis-c-dev&m=117038446004101&w=3

> [Axis2] axis2_svc_client_create_for_dynamic_invocation returns NULL
> -------------------------------------------------------------------
>
>                 Key: AXIS2C-519
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-519
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/clientapi
>    Affects Versions: 0.96
>         Environment: axis2c v0.96 win binaries
> WinXP Pro SP2
> WinAMD (Athalon X2 3800, 1GB RAM)
> MS Visual C++ 6.0 
>            Reporter: Clifford Audinet
>             Fix For: 1.0.0
>
>
> I am attempting to create a C web services client capable of dynamic invocation using the Axis2C framework and have run into the following issue described below.
> The Problem:
> I modified the dynamic_client example to take all of the arguments
> related to dynamic invocation (WSDL file, namespace, service URL,
> operation, operation parameters, etc) from the command line and tested
> it using the Calculator example and it worked.
> When I changed the command line arguments to point to a remote service I started getting errors when the service client was being created.  I tried a couple of different things but got the same result.  Here's what I'm passing in:
> axis2_svc_client_create_for_dynamic_invocation(
> env,                                       //the usual pointer to an environment variable
> config_stx,                           //In the example this is NULL, but the docs said it should be a pointer to a configuration struct...so I created one, although it's empty
> wsdl_uri,                              //The URI to the WSDL file which, based on the output of AXIS2_URI_TO_STRING, WSDL URI is:
>                                                  C:\axis2c\bin\samples\resources\jirasoapservice-v2.wsdl
> wsdl_svc_qname              //The service qname which, based on the output of AXIS2_QNAME_TO_STRING, QNAME is:
>                                                  JiraSoapServiceService|http://jira.atlassian.com/rpc/soap/jirasoapservice-v2
> progParams->ws_name //The web service name: "JiraSoapServiceService"
> client_home                       //The axis2c deploy location "C:\axis2c"
> );
> Note for wsdl_uri:  I had switched to a local WSDL URI but I got the same result regardless.  The remote WSDL URI was:
> http://jira.atlassian.com/rpc/soap/jirasoapservice-v2?wsdl
> The return from the function is, unfortunately, NULL (0x00000000).
> Sometimes it goes into the error block and sometimes it results in an
> unhandled exception in the AXIS_ENGINE.DLL: 0x00000005: Access Violation  .  I switched back to the original example and it still works.
> I have changed the log output to DEBUG for logger but I don't see any difference in the output in the log file.  I also tried to get the error code from the env variable but the Access Violation error terminates the program.
> So why do values for a local service work but not a remote service?
> Please let me know what additional clarification or information you require and I will supply it via this issue.
> Thanks,
> Cliff 

-- 
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-519) [Axis2] axis2_svc_client_create_for_dynamic_invocation returns NULL

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481808 ] 

Samisa Abeysinghe commented on AXIS2C-519:
------------------------------------------

Dynamic client code is in exprimental stage. This is based on woden/C implementation which is far from complete and buggy. I do not think we would be able to fix this for 1.0

> [Axis2] axis2_svc_client_create_for_dynamic_invocation returns NULL
> -------------------------------------------------------------------
>
>                 Key: AXIS2C-519
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-519
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/clientapi
>    Affects Versions: 0.96
>         Environment: axis2c v0.96 win binaries
> WinXP Pro SP2
> WinAMD (Athalon X2 3800, 1GB RAM)
> MS Visual C++ 6.0 
>            Reporter: Clifford Audinet
>             Fix For: 1.0.0
>
>
> I am attempting to create a C web services client capable of dynamic invocation using the Axis2C framework and have run into the following issue described below.
> The Problem:
> I modified the dynamic_client example to take all of the arguments
> related to dynamic invocation (WSDL file, namespace, service URL,
> operation, operation parameters, etc) from the command line and tested
> it using the Calculator example and it worked.
> When I changed the command line arguments to point to a remote service I started getting errors when the service client was being created.  I tried a couple of different things but got the same result.  Here's what I'm passing in:
> axis2_svc_client_create_for_dynamic_invocation(
> env,                                       //the usual pointer to an environment variable
> config_stx,                           //In the example this is NULL, but the docs said it should be a pointer to a configuration struct...so I created one, although it's empty
> wsdl_uri,                              //The URI to the WSDL file which, based on the output of AXIS2_URI_TO_STRING, WSDL URI is:
>                                                  C:\axis2c\bin\samples\resources\jirasoapservice-v2.wsdl
> wsdl_svc_qname              //The service qname which, based on the output of AXIS2_QNAME_TO_STRING, QNAME is:
>                                                  JiraSoapServiceService|http://jira.atlassian.com/rpc/soap/jirasoapservice-v2
> progParams->ws_name //The web service name: "JiraSoapServiceService"
> client_home                       //The axis2c deploy location "C:\axis2c"
> );
> Note for wsdl_uri:  I had switched to a local WSDL URI but I got the same result regardless.  The remote WSDL URI was:
> http://jira.atlassian.com/rpc/soap/jirasoapservice-v2?wsdl
> The return from the function is, unfortunately, NULL (0x00000000).
> Sometimes it goes into the error block and sometimes it results in an
> unhandled exception in the AXIS_ENGINE.DLL: 0x00000005: Access Violation  .  I switched back to the original example and it still works.
> I have changed the log output to DEBUG for logger but I don't see any difference in the output in the log file.  I also tried to get the error code from the env variable but the Access Violation error terminates the program.
> So why do values for a local service work but not a remote service?
> Please let me know what additional clarification or information you require and I will supply it via this issue.
> Thanks,
> Cliff 

-- 
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-519) [Axis2] axis2_svc_client_create_for_dynamic_invocation returns NULL

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

Samisa Abeysinghe updated AXIS2C-519:
-------------------------------------

    Fix Version/s:     (was: 1.0.0)

> [Axis2] axis2_svc_client_create_for_dynamic_invocation returns NULL
> -------------------------------------------------------------------
>
>                 Key: AXIS2C-519
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-519
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/clientapi
>    Affects Versions: 0.96
>         Environment: axis2c v0.96 win binaries
> WinXP Pro SP2
> WinAMD (Athalon X2 3800, 1GB RAM)
> MS Visual C++ 6.0 
>            Reporter: Clifford Audinet
>
> I am attempting to create a C web services client capable of dynamic invocation using the Axis2C framework and have run into the following issue described below.
> The Problem:
> I modified the dynamic_client example to take all of the arguments
> related to dynamic invocation (WSDL file, namespace, service URL,
> operation, operation parameters, etc) from the command line and tested
> it using the Calculator example and it worked.
> When I changed the command line arguments to point to a remote service I started getting errors when the service client was being created.  I tried a couple of different things but got the same result.  Here's what I'm passing in:
> axis2_svc_client_create_for_dynamic_invocation(
> env,                                       //the usual pointer to an environment variable
> config_stx,                           //In the example this is NULL, but the docs said it should be a pointer to a configuration struct...so I created one, although it's empty
> wsdl_uri,                              //The URI to the WSDL file which, based on the output of AXIS2_URI_TO_STRING, WSDL URI is:
>                                                  C:\axis2c\bin\samples\resources\jirasoapservice-v2.wsdl
> wsdl_svc_qname              //The service qname which, based on the output of AXIS2_QNAME_TO_STRING, QNAME is:
>                                                  JiraSoapServiceService|http://jira.atlassian.com/rpc/soap/jirasoapservice-v2
> progParams->ws_name //The web service name: "JiraSoapServiceService"
> client_home                       //The axis2c deploy location "C:\axis2c"
> );
> Note for wsdl_uri:  I had switched to a local WSDL URI but I got the same result regardless.  The remote WSDL URI was:
> http://jira.atlassian.com/rpc/soap/jirasoapservice-v2?wsdl
> The return from the function is, unfortunately, NULL (0x00000000).
> Sometimes it goes into the error block and sometimes it results in an
> unhandled exception in the AXIS_ENGINE.DLL: 0x00000005: Access Violation  .  I switched back to the original example and it still works.
> I have changed the log output to DEBUG for logger but I don't see any difference in the output in the log file.  I also tried to get the error code from the env variable but the Access Violation error terminates the program.
> So why do values for a local service work but not a remote service?
> Please let me know what additional clarification or information you require and I will supply it via this issue.
> Thanks,
> Cliff 

-- 
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-519) [Axis2] axis2_svc_client_create_for_dynamic_invocation returns NULL

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

Dinesh Premalal updated AXIS2C-519:
-----------------------------------

    Fix Version/s:     (was: 0.96)
                   1.0.0

> [Axis2] axis2_svc_client_create_for_dynamic_invocation returns NULL
> -------------------------------------------------------------------
>
>                 Key: AXIS2C-519
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-519
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/clientapi
>    Affects Versions: 0.96
>         Environment: axis2c v0.96 win binaries
> WinXP Pro SP2
> WinAMD (Athalon X2 3800, 1GB RAM)
> MS Visual C++ 6.0 
>            Reporter: Clifford Audinet
>             Fix For: 1.0.0
>
>
> I am attempting to create a C web services client capable of dynamic invocation using the Axis2C framework and have run into the following issue described below.
> The Problem:
> I modified the dynamic_client example to take all of the arguments
> related to dynamic invocation (WSDL file, namespace, service URL,
> operation, operation parameters, etc) from the command line and tested
> it using the Calculator example and it worked.
> When I changed the command line arguments to point to a remote service I started getting errors when the service client was being created.  I tried a couple of different things but got the same result.  Here's what I'm passing in:
> axis2_svc_client_create_for_dynamic_invocation(
> env,                                       //the usual pointer to an environment variable
> config_stx,                           //In the example this is NULL, but the docs said it should be a pointer to a configuration struct...so I created one, although it's empty
> wsdl_uri,                              //The URI to the WSDL file which, based on the output of AXIS2_URI_TO_STRING, WSDL URI is:
>                                                  C:\axis2c\bin\samples\resources\jirasoapservice-v2.wsdl
> wsdl_svc_qname              //The service qname which, based on the output of AXIS2_QNAME_TO_STRING, QNAME is:
>                                                  JiraSoapServiceService|http://jira.atlassian.com/rpc/soap/jirasoapservice-v2
> progParams->ws_name //The web service name: "JiraSoapServiceService"
> client_home                       //The axis2c deploy location "C:\axis2c"
> );
> Note for wsdl_uri:  I had switched to a local WSDL URI but I got the same result regardless.  The remote WSDL URI was:
> http://jira.atlassian.com/rpc/soap/jirasoapservice-v2?wsdl
> The return from the function is, unfortunately, NULL (0x00000000).
> Sometimes it goes into the error block and sometimes it results in an
> unhandled exception in the AXIS_ENGINE.DLL: 0x00000005: Access Violation  .  I switched back to the original example and it still works.
> I have changed the log output to DEBUG for logger but I don't see any difference in the output in the log file.  I also tried to get the error code from the env variable but the Access Violation error terminates the program.
> So why do values for a local service work but not a remote service?
> Please let me know what additional clarification or information you require and I will supply it via this issue.
> Thanks,
> Cliff 

-- 
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