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 "Dimuthu Chathuranga (JIRA)" <ji...@apache.org> on 2006/08/08 14:50:14 UTC

[jira] Created: (AXIS2C-228) Woden/C doesnt provide the correct MEP for WSDL1.0

Woden/C doesnt provide the correct MEP for WSDL1.0
--------------------------------------------------

                 Key: AXIS2C-228
                 URL: http://issues.apache.org/jira/browse/AXIS2C-228
             Project: Axis2-C
          Issue Type: Bug
    Affects Versions: Current (Nightly)
         Environment: Linux
            Reporter: Dimuthu Chathuranga
            Priority: Minor


Codegen/C is using Woden for wsdl parser. MEP is essential in Codgeneration.

This is the code I used starting from interface_op

        interface_msg_refs = WODEN_INTERFACE_OP_GET_INTERFACE_MSG_REFS(
                interface_op, env);
        if(interface_msg_refs)
            msg_refs_size = AXIS2_ARRAY_LIST_SIZE(interface_msg_refs, env);
        for(j = 0; j < msg_refs_size; j++)
        {

            interface_msg_ref = AXIS2_ARRAY_LIST_GET(interface_msg_refs, env, j);
            direction =  WODEN_WSDL10_INTERFACE_MSG_REF_GET_DIRECTION
                                    (interface_msg_ref, env);
            str_direction = WODEN_DIRECTION_TO_STRING(direction, env);
            if(0 == AXIS2_STRCMP(str_direction, "in"))
            {
                in = AXIS2_TRUE;
            }
            if(0 == AXIS2_STRCMP(str_direction, "out"))
            {
                out = AXIS2_TRUE;
            }
        }


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

        

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


Re: Created: (AXIS2C-228) Woden/C doesnt provide the correct MEP for WSDL1.0

Posted by Dimuthu Chathuranga <di...@gmail.com>.
yea it is Message Exchange Pattern.
I was using the short name used in codegen template.
Sorry about that.

On 8/8/06, Franz Fehringer <fe...@isogmbh.de> wrote:
> I found Message Exchange Pattern
>
> Franz Fehringer schrieb:
> > What is MEP?
> >
> > Greetings
> >
> > Franz
> >
> > Dimuthu Chathuranga (JIRA) schrieb:
> >> Woden/C doesnt provide the correct MEP for WSDL1.0
> >> --------------------------------------------------
> >>
> >>                  Key: AXIS2C-228
> >>                  URL: http://issues.apache.org/jira/browse/AXIS2C-228
> >>              Project: Axis2-C
> >>           Issue Type: Bug
> >>     Affects Versions: Current (Nightly)
> >>          Environment: Linux
> >>             Reporter: Dimuthu Chathuranga
> >>             Priority: Minor
> >>
> >>
> >> Codegen/C is using Woden for wsdl parser. MEP is essential in
> >> Codgeneration.
> >>
> >> This is the code I used starting from interface_op
> >>
> >>         interface_msg_refs = WODEN_INTERFACE_OP_GET_INTERFACE_MSG_REFS(
> >>                 interface_op, env);
> >>         if(interface_msg_refs)
> >>             msg_refs_size = AXIS2_ARRAY_LIST_SIZE(interface_msg_refs,
> >> env);
> >>         for(j = 0; j < msg_refs_size; j++)
> >>         {
> >>
> >>             interface_msg_ref =
> >> AXIS2_ARRAY_LIST_GET(interface_msg_refs, env, j);
> >>             direction =  WODEN_WSDL10_INTERFACE_MSG_REF_GET_DIRECTION
> >>                                     (interface_msg_ref, env);
> >>             str_direction = WODEN_DIRECTION_TO_STRING(direction, env);
> >>             if(0 == AXIS2_STRCMP(str_direction, "in"))
> >>             {
> >>                 in = AXIS2_TRUE;
> >>             }
> >>             if(0 == AXIS2_STRCMP(str_direction, "out"))
> >>             {
> >>                 out = AXIS2_TRUE;
> >>             }
> >>         }
> >>
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>
>
>

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


Re: [jira] Created: (AXIS2C-228) Woden/C doesnt provide the correct MEP for WSDL1.0

Posted by Franz Fehringer <fe...@isogmbh.de>.
I found Message Exchange Pattern

Franz Fehringer schrieb:
> What is MEP?
>
> Greetings
>
> Franz
>
> Dimuthu Chathuranga (JIRA) schrieb:
>> Woden/C doesnt provide the correct MEP for WSDL1.0
>> --------------------------------------------------
>>
>>                  Key: AXIS2C-228
>>                  URL: http://issues.apache.org/jira/browse/AXIS2C-228
>>              Project: Axis2-C
>>           Issue Type: Bug
>>     Affects Versions: Current (Nightly)
>>          Environment: Linux
>>             Reporter: Dimuthu Chathuranga
>>             Priority: Minor
>>
>>
>> Codegen/C is using Woden for wsdl parser. MEP is essential in 
>> Codgeneration.
>>
>> This is the code I used starting from interface_op
>>
>>         interface_msg_refs = WODEN_INTERFACE_OP_GET_INTERFACE_MSG_REFS(
>>                 interface_op, env);
>>         if(interface_msg_refs)
>>             msg_refs_size = AXIS2_ARRAY_LIST_SIZE(interface_msg_refs, 
>> env);
>>         for(j = 0; j < msg_refs_size; j++)
>>         {
>>
>>             interface_msg_ref = 
>> AXIS2_ARRAY_LIST_GET(interface_msg_refs, env, j);
>>             direction =  WODEN_WSDL10_INTERFACE_MSG_REF_GET_DIRECTION
>>                                     (interface_msg_ref, env);
>>             str_direction = WODEN_DIRECTION_TO_STRING(direction, env);
>>             if(0 == AXIS2_STRCMP(str_direction, "in"))
>>             {
>>                 in = AXIS2_TRUE;
>>             }
>>             if(0 == AXIS2_STRCMP(str_direction, "out"))
>>             {
>>                 out = AXIS2_TRUE;
>>             }
>>         }
>>
>>
>>   
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Re: [jira] Created: (AXIS2C-228) Woden/C doesnt provide the correct MEP for WSDL1.0

Posted by Franz Fehringer <fe...@isogmbh.de>.
What is MEP?

Greetings

Franz

Dimuthu Chathuranga (JIRA) schrieb:
> Woden/C doesnt provide the correct MEP for WSDL1.0
> --------------------------------------------------
>
>                  Key: AXIS2C-228
>                  URL: http://issues.apache.org/jira/browse/AXIS2C-228
>              Project: Axis2-C
>           Issue Type: Bug
>     Affects Versions: Current (Nightly)
>          Environment: Linux
>             Reporter: Dimuthu Chathuranga
>             Priority: Minor
>
>
> Codegen/C is using Woden for wsdl parser. MEP is essential in Codgeneration.
>
> This is the code I used starting from interface_op
>
>         interface_msg_refs = WODEN_INTERFACE_OP_GET_INTERFACE_MSG_REFS(
>                 interface_op, env);
>         if(interface_msg_refs)
>             msg_refs_size = AXIS2_ARRAY_LIST_SIZE(interface_msg_refs, env);
>         for(j = 0; j < msg_refs_size; j++)
>         {
>
>             interface_msg_ref = AXIS2_ARRAY_LIST_GET(interface_msg_refs, env, j);
>             direction =  WODEN_WSDL10_INTERFACE_MSG_REF_GET_DIRECTION
>                                     (interface_msg_ref, env);
>             str_direction = WODEN_DIRECTION_TO_STRING(direction, env);
>             if(0 == AXIS2_STRCMP(str_direction, "in"))
>             {
>                 in = AXIS2_TRUE;
>             }
>             if(0 == AXIS2_STRCMP(str_direction, "out"))
>             {
>                 out = AXIS2_TRUE;
>             }
>         }
>
>
>   


[jira] Resolved: (AXIS2C-228) Woden/C doesnt provide the correct MEP for WSDL1.0

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

Samisa Abeysinghe resolved AXIS2C-228.
--------------------------------------

    Resolution: Won't Fix
      Assignee:     (was: Dushshantha Chandradasa)

We have retired Woden code, hence this would not be fixed

> Woden/C doesnt provide the correct MEP for WSDL1.0
> --------------------------------------------------
>
>                 Key: AXIS2C-228
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-228
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: Current (Nightly)
>         Environment: Linux
>            Reporter: Dimuthu Chathuranga
>            Priority: Minor
>
> Codegen/C is using Woden for wsdl parser. MEP is essential in Codgeneration.
> This is the code I used starting from interface_op
>         interface_msg_refs = WODEN_INTERFACE_OP_GET_INTERFACE_MSG_REFS(
>                 interface_op, env);
>         if(interface_msg_refs)
>             msg_refs_size = AXIS2_ARRAY_LIST_SIZE(interface_msg_refs, env);
>         for(j = 0; j < msg_refs_size; j++)
>         {
>             interface_msg_ref = AXIS2_ARRAY_LIST_GET(interface_msg_refs, env, j);
>             direction =  WODEN_WSDL10_INTERFACE_MSG_REF_GET_DIRECTION
>                                     (interface_msg_ref, env);
>             str_direction = WODEN_DIRECTION_TO_STRING(direction, env);
>             if(0 == AXIS2_STRCMP(str_direction, "in"))
>             {
>                 in = AXIS2_TRUE;
>             }
>             if(0 == AXIS2_STRCMP(str_direction, "out"))
>             {
>                 out = AXIS2_TRUE;
>             }
>         }

-- 
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-228) Woden/C doesnt provide the correct MEP for WSDL1.0

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

Samisa Abeysinghe updated AXIS2C-228:
-------------------------------------

    Fix Version/s:     (was: 1.0.0)

Would not be fixed for 1.0

> Woden/C doesnt provide the correct MEP for WSDL1.0
> --------------------------------------------------
>
>                 Key: AXIS2C-228
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-228
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: Current (Nightly)
>         Environment: Linux
>            Reporter: Dimuthu Chathuranga
>         Assigned To: Dushshantha Chandradasa
>            Priority: Minor
>
> Codegen/C is using Woden for wsdl parser. MEP is essential in Codgeneration.
> This is the code I used starting from interface_op
>         interface_msg_refs = WODEN_INTERFACE_OP_GET_INTERFACE_MSG_REFS(
>                 interface_op, env);
>         if(interface_msg_refs)
>             msg_refs_size = AXIS2_ARRAY_LIST_SIZE(interface_msg_refs, env);
>         for(j = 0; j < msg_refs_size; j++)
>         {
>             interface_msg_ref = AXIS2_ARRAY_LIST_GET(interface_msg_refs, env, j);
>             direction =  WODEN_WSDL10_INTERFACE_MSG_REF_GET_DIRECTION
>                                     (interface_msg_ref, env);
>             str_direction = WODEN_DIRECTION_TO_STRING(direction, env);
>             if(0 == AXIS2_STRCMP(str_direction, "in"))
>             {
>                 in = AXIS2_TRUE;
>             }
>             if(0 == AXIS2_STRCMP(str_direction, "out"))
>             {
>                 out = AXIS2_TRUE;
>             }
>         }

-- 
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-228) Woden/C doesnt provide the correct MEP for WSDL1.0

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

Samisa Abeysinghe updated AXIS2C-228:
-------------------------------------

    Fix Version/s: 1.0.0
         Assignee: Dushshantha Chandradasa

> Woden/C doesnt provide the correct MEP for WSDL1.0
> --------------------------------------------------
>
>                 Key: AXIS2C-228
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-228
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: Current (Nightly)
>         Environment: Linux
>            Reporter: Dimuthu Chathuranga
>         Assigned To: Dushshantha Chandradasa
>            Priority: Minor
>             Fix For: 1.0.0
>
>
> Codegen/C is using Woden for wsdl parser. MEP is essential in Codgeneration.
> This is the code I used starting from interface_op
>         interface_msg_refs = WODEN_INTERFACE_OP_GET_INTERFACE_MSG_REFS(
>                 interface_op, env);
>         if(interface_msg_refs)
>             msg_refs_size = AXIS2_ARRAY_LIST_SIZE(interface_msg_refs, env);
>         for(j = 0; j < msg_refs_size; j++)
>         {
>             interface_msg_ref = AXIS2_ARRAY_LIST_GET(interface_msg_refs, env, j);
>             direction =  WODEN_WSDL10_INTERFACE_MSG_REF_GET_DIRECTION
>                                     (interface_msg_ref, env);
>             str_direction = WODEN_DIRECTION_TO_STRING(direction, env);
>             if(0 == AXIS2_STRCMP(str_direction, "in"))
>             {
>                 in = AXIS2_TRUE;
>             }
>             if(0 == AXIS2_STRCMP(str_direction, "out"))
>             {
>                 out = AXIS2_TRUE;
>             }
>         }

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

        

---------------------------------------------------------------------
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-228) Woden/C doesnt provide the correct MEP for WSDL1.0

Posted by "Dimuthu Chathuranga (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2C-228?page=comments#action_12426869 ] 
            
Dimuthu Chathuranga commented on AXIS2C-228:
--------------------------------------------

Correction: Code I used to extract Message exchange pattern is as following. The problem is variable mep_uri is always NULL.

axis2_uri_t *mep_uri = NULL;
axis2_char_t *mep_str = NULL;

  mep_uri = WODEN_INTERFACE_OP_GET_MSG_EXCHANGE_PATTERN (interface_op,  env);
if(mep_uri)
{
            mep_str = AXIS2_URI_TO_STRING(mep_uri, env,
                                        AXIS2_URI_UNP_OMITUSERINFO);
}

thanks
Dimuthu

> Woden/C doesnt provide the correct MEP for WSDL1.0
> --------------------------------------------------
>
>                 Key: AXIS2C-228
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-228
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: Current (Nightly)
>         Environment: Linux
>            Reporter: Dimuthu Chathuranga
>            Priority: Minor
>
> Codegen/C is using Woden for wsdl parser. MEP is essential in Codgeneration.
> This is the code I used starting from interface_op
>         interface_msg_refs = WODEN_INTERFACE_OP_GET_INTERFACE_MSG_REFS(
>                 interface_op, env);
>         if(interface_msg_refs)
>             msg_refs_size = AXIS2_ARRAY_LIST_SIZE(interface_msg_refs, env);
>         for(j = 0; j < msg_refs_size; j++)
>         {
>             interface_msg_ref = AXIS2_ARRAY_LIST_GET(interface_msg_refs, env, j);
>             direction =  WODEN_WSDL10_INTERFACE_MSG_REF_GET_DIRECTION
>                                     (interface_msg_ref, env);
>             str_direction = WODEN_DIRECTION_TO_STRING(direction, env);
>             if(0 == AXIS2_STRCMP(str_direction, "in"))
>             {
>                 in = AXIS2_TRUE;
>             }
>             if(0 == AXIS2_STRCMP(str_direction, "out"))
>             {
>                 out = AXIS2_TRUE;
>             }
>         }

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

        

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