axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <>
Subject [jira] Updated: (AXIS2-2680) Allow passing a WSDL to a Stub to have endpoint and binding read
Date Fri, 08 Jun 2007 14:24:26 GMT


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:
>             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(),
> 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:
For additional commands, e-mail:

View raw message