You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Paul Fremantle (JIRA)" <ji...@apache.org> on 2007/05/17 10:26:16 UTC

[jira] Created: (AXIS2-2680) Allow passing a WSDL to a Stub to have endpoint and binding read

Allow passing a WSDL to a Stub to have endpoint and binding read
----------------------------------------------------------------

                 Key: AXIS2-2680
                 URL: https://issues.apache.org/jira/browse/AXIS2-2680
             Project: Axis 2.0 (Axis2)
          Issue Type: Improvement
          Components: codegen
    Affects Versions: 1.2
            Reporter: Paul Fremantle


Currently the Stub is generated from the WSDL, and I can pass a new Endpoint URL in. But suppose the WSDL change (just the SOAPActions and URL, say) then I would need to read the WSDL, find the endpoint and set it into the stub.

In fact I can *probably* do this this way:

ServiceClient sc = new ServiceClient(stub._getServiceClient().getServiceContext().getConfigurationContext(), wsdlURL);
stub._setServiceClient(sc);

But it would be nice to have a StubConstructor:

new MyStub(wsdlURL);

Of course if the porttype changes then its not gonna work, but you can't stop people shooting themselves in the foot!

-- 
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-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-2680) Allow passing a WSDL to a Stub to have endpoint and binding read

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

Srinath Perera resolved AXIS2-2680.
-----------------------------------

    Resolution: Won't Fix

discussed F2F 2007 june, we feel supporting this would lead to many new isseues and complex senarios in the future. So it is a wont Fix. If wsdl changed you should regenerate code.

> Allow passing a WSDL to a Stub to have endpoint and binding read
> ----------------------------------------------------------------
>
>                 Key: AXIS2-2680
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2680
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: codegen
>    Affects Versions: 1.2
>            Reporter: Paul Fremantle
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Blocker
>
> Currently the Stub is generated from the WSDL, and I can pass a new Endpoint URL in. But suppose the WSDL change (just the SOAPActions and URL, say) then I would need to read the WSDL, find the endpoint and set it into the stub.
> In fact I can *probably* do this this way:
> ServiceClient sc = new ServiceClient(stub._getServiceClient().getServiceContext().getConfigurationContext(), wsdlURL);
> stub._setServiceClient(sc);
> But it would be nice to have a StubConstructor:
> new MyStub(wsdlURL);
> Of course if the porttype changes then its not gonna work, but you can't stop people shooting themselves in the foot!

-- 
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-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-2680) Allow passing a WSDL to a Stub to have endpoint and binding read

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

Davanum Srinivas updated AXIS2-2680:
------------------------------------

    Priority: Blocker  (was: Major)

> Allow passing a WSDL to a Stub to have endpoint and binding read
> ----------------------------------------------------------------
>
>                 Key: AXIS2-2680
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2680
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: codegen
>    Affects Versions: 1.2
>            Reporter: Paul Fremantle
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Blocker
>
> Currently the Stub is generated from the WSDL, and I can pass a new Endpoint URL in. But suppose the WSDL change (just the SOAPActions and URL, say) then I would need to read the WSDL, find the endpoint and set it into the stub.
> In fact I can *probably* do this this way:
> ServiceClient sc = new ServiceClient(stub._getServiceClient().getServiceContext().getConfigurationContext(), wsdlURL);
> stub._setServiceClient(sc);
> But it would be nice to have a StubConstructor:
> new MyStub(wsdlURL);
> Of course if the porttype changes then its not gonna work, but you can't stop people shooting themselves in the foot!

-- 
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-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Assigned: (AXIS2-2680) Allow passing a WSDL to a Stub to have endpoint and binding read

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

Davanum Srinivas reassigned AXIS2-2680:
---------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> Allow passing a WSDL to a Stub to have endpoint and binding read
> ----------------------------------------------------------------
>
>                 Key: AXIS2-2680
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2680
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: codegen
>    Affects Versions: 1.2
>            Reporter: Paul Fremantle
>         Assigned To: Amila Chinthaka Suriarachchi
>
> Currently the Stub is generated from the WSDL, and I can pass a new Endpoint URL in. But suppose the WSDL change (just the SOAPActions and URL, say) then I would need to read the WSDL, find the endpoint and set it into the stub.
> In fact I can *probably* do this this way:
> ServiceClient sc = new ServiceClient(stub._getServiceClient().getServiceContext().getConfigurationContext(), wsdlURL);
> stub._setServiceClient(sc);
> But it would be nice to have a StubConstructor:
> new MyStub(wsdlURL);
> Of course if the porttype changes then its not gonna work, but you can't stop people shooting themselves in the foot!

-- 
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-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2680) Allow passing a WSDL to a Stub to have endpoint and binding read

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502822 ] 

Davanum Srinivas commented on AXIS2-2680:
-----------------------------------------

If we have to do this, let's do it for 1.3 or mark this as won't fix.

thanks,
dims

> Allow passing a WSDL to a Stub to have endpoint and binding read
> ----------------------------------------------------------------
>
>                 Key: AXIS2-2680
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2680
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: codegen
>    Affects Versions: 1.2
>            Reporter: Paul Fremantle
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Blocker
>
> Currently the Stub is generated from the WSDL, and I can pass a new Endpoint URL in. But suppose the WSDL change (just the SOAPActions and URL, say) then I would need to read the WSDL, find the endpoint and set it into the stub.
> In fact I can *probably* do this this way:
> ServiceClient sc = new ServiceClient(stub._getServiceClient().getServiceContext().getConfigurationContext(), wsdlURL);
> stub._setServiceClient(sc);
> But it would be nice to have a StubConstructor:
> new MyStub(wsdlURL);
> Of course if the porttype changes then its not gonna work, but you can't stop people shooting themselves in the foot!

-- 
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-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org