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 "Pete Robbins (JIRA)" <ji...@apache.org> on 2006/04/13 17:09:00 UTC

[jira] Created: (AXIS2C-123) There is no way to set the SOAP version using the mep_client api

There is no way to set the SOAP version using the mep_client api
----------------------------------------------------------------

         Key: AXIS2C-123
         URL: http://issues.apache.org/jira/browse/AXIS2C-123
     Project: Axis2-C
        Type: Bug

    Versions: Current (Nightly)    
    Reporter: Pete Robbins
    Priority: Minor


I tried using AXIS2_MEP_CLIENT_SET_SOAP_VERSION_URI but when I call AXIS2_MEP_CLIENT_PREPARE_SOAP_ENVELOPE it always uses SOAP12 to build the soap envelope.
 
I think the problem is in mep_client. The axis2_mep_client_prepare_soap_envelope creates a msg_ctx which will always have the default isSoap11 set to false. This flag is then used to call axis2_soap_envelope_create_default_soap_envelope. 
 
Rather than checking AXIS2_MSG_CTX_GET_IS_SOAP_11, which will always be false, the code could use the value set by AXIS2_MEP_CLIENT_SET_SOAP_VERSION_URI to determine the call to axis2_soap_envelope_create_default_soap_envelope?? 



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (AXIS2C-123) There is no way to set the SOAP version using the mep_client api

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-123?page=all ]

Samisa Abeysinghe reassigned AXIS2C-123:
----------------------------------------

    Assign To: Samisa Abeysinghe

> There is no way to set the SOAP version using the mep_client api
> ----------------------------------------------------------------
>
>          Key: AXIS2C-123
>          URL: http://issues.apache.org/jira/browse/AXIS2C-123
>      Project: Axis2-C
>         Type: Bug

>     Versions: Current (Nightly)
>     Reporter: Pete Robbins
>     Assignee: Samisa Abeysinghe
>     Priority: Minor

>
> I tried using AXIS2_MEP_CLIENT_SET_SOAP_VERSION_URI but when I call AXIS2_MEP_CLIENT_PREPARE_SOAP_ENVELOPE it always uses SOAP12 to build the soap envelope.
>  
> I think the problem is in mep_client. The axis2_mep_client_prepare_soap_envelope creates a msg_ctx which will always have the default isSoap11 set to false. This flag is then used to call axis2_soap_envelope_create_default_soap_envelope. 
>  
> Rather than checking AXIS2_MSG_CTX_GET_IS_SOAP_11, which will always be false, the code could use the value set by AXIS2_MEP_CLIENT_SET_SOAP_VERSION_URI to determine the call to axis2_soap_envelope_create_default_soap_envelope?? 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (AXIS2C-123) There is no way to set the SOAP version using the mep_client api

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-123?page=all ]
     
Samisa Abeysinghe resolved AXIS2C-123:
--------------------------------------

    Fix Version: 0.91
     Resolution: Fixed

Fixed the problem;  Now the prepare soap envelope method would take SOAP version set into account when creating the SOAP envelope


> There is no way to set the SOAP version using the mep_client api
> ----------------------------------------------------------------
>
>          Key: AXIS2C-123
>          URL: http://issues.apache.org/jira/browse/AXIS2C-123
>      Project: Axis2-C
>         Type: Bug

>     Versions: Current (Nightly)
>     Reporter: Pete Robbins
>     Assignee: Samisa Abeysinghe
>     Priority: Minor
>      Fix For: 0.91

>
> I tried using AXIS2_MEP_CLIENT_SET_SOAP_VERSION_URI but when I call AXIS2_MEP_CLIENT_PREPARE_SOAP_ENVELOPE it always uses SOAP12 to build the soap envelope.
>  
> I think the problem is in mep_client. The axis2_mep_client_prepare_soap_envelope creates a msg_ctx which will always have the default isSoap11 set to false. This flag is then used to call axis2_soap_envelope_create_default_soap_envelope. 
>  
> Rather than checking AXIS2_MSG_CTX_GET_IS_SOAP_11, which will always be false, the code could use the value set by AXIS2_MEP_CLIENT_SET_SOAP_VERSION_URI to determine the call to axis2_soap_envelope_create_default_soap_envelope?? 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (AXIS2C-123) There is no way to set the SOAP version using the mep_client api

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-123?page=all ]
     
Samisa Abeysinghe closed AXIS2C-123:
------------------------------------


Pete on mailing list: "That does the trick! Thank you."

Hence closing

> There is no way to set the SOAP version using the mep_client api
> ----------------------------------------------------------------
>
>          Key: AXIS2C-123
>          URL: http://issues.apache.org/jira/browse/AXIS2C-123
>      Project: Axis2-C
>         Type: Bug

>     Versions: Current (Nightly)
>     Reporter: Pete Robbins
>     Assignee: Samisa Abeysinghe
>     Priority: Minor
>      Fix For: 0.91

>
> I tried using AXIS2_MEP_CLIENT_SET_SOAP_VERSION_URI but when I call AXIS2_MEP_CLIENT_PREPARE_SOAP_ENVELOPE it always uses SOAP12 to build the soap envelope.
>  
> I think the problem is in mep_client. The axis2_mep_client_prepare_soap_envelope creates a msg_ctx which will always have the default isSoap11 set to false. This flag is then used to call axis2_soap_envelope_create_default_soap_envelope. 
>  
> Rather than checking AXIS2_MSG_CTX_GET_IS_SOAP_11, which will always be false, the code could use the value set by AXIS2_MEP_CLIENT_SET_SOAP_VERSION_URI to determine the call to axis2_soap_envelope_create_default_soap_envelope?? 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira