You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by "Dan Jemiolo (JIRA)" <ji...@apache.org> on 2006/12/15 16:22:20 UTC
[jira] Created: (MUSE-166) Add flag to wsdl2java so that methods
are generated with parameter for custom headers.
Add flag to wsdl2java so that methods are generated with parameter for custom headers.
--------------------------------------------------------------------------------------
Key: MUSE-166
URL: http://issues.apache.org/jira/browse/MUSE-166
Project: Muse
Issue Type: Improvement
Components: Tooling - Code Generation
Affects Versions: 2.1.0
Reporter: Dan Jemiolo
Assigned To: Andrew Eberbach
Fix For: 2.2.0
The goal here is to keep the clients stateless but to allow for custom SOAP headers (non-WS-A headers) for each request. There should be a code generation option/flag that causes wsdl2java to create an extra Element[] parameter for custom headers. Something like:
wsdl2java -wsdl MyResource.wsdl -headers
which would turn
void myOperation(String param);
into
void myOperation(String param, Element[] customHeaders);
If the flag were used, the new parameter would be applied to all operations.
This will require me to provide an overloaded version of AbstractResourceClient.invoke() that has the following parameter list:
Object invoke(ProxyHandler, Object[], Element[]);
This is the method that can be called by all generated methods; if the flag is not used, you can either call the invoke() that doesn't have the Element[] param *or* you can make an empty Element[] to pass it.
--
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: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org
[jira] Resolved: (MUSE-166) Add flag to wsdl2java so that methods
are generated with parameter for custom headers.
Posted by "Andrew Eberbach (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MUSE-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Eberbach resolved MUSE-166.
----------------------------------
Resolution: Fixed
Added the flag, flag help and support in both the proxy and server synthersizers.
> Add flag to wsdl2java so that methods are generated with parameter for custom headers.
> --------------------------------------------------------------------------------------
>
> Key: MUSE-166
> URL: https://issues.apache.org/jira/browse/MUSE-166
> Project: Muse
> Issue Type: Improvement
> Components: Tooling - Code Generation
> Affects Versions: 2.1.0
> Reporter: Dan Jemiolo
> Assigned To: Andrew Eberbach
> Fix For: 2.2.0
>
>
> The goal here is to keep the clients stateless but to allow for custom SOAP headers (non-WS-A headers) for each request. There should be a code generation option/flag that causes wsdl2java to create an extra Element[] parameter for custom headers. Something like:
> wsdl2java -wsdl MyResource.wsdl -headers
> which would turn
> void myOperation(String param);
> into
> void myOperation(String param, Element[] customHeaders);
> If the flag were used, the new parameter would be applied to all operations.
> This will require me to provide an overloaded version of AbstractResourceClient.invoke() that has the following parameter list:
> Object invoke(ProxyHandler, Object[], Element[]);
> This is the method that can be called by all generated methods; if the flag is not used, you can either call the invoke() that doesn't have the Element[] param *or* you can make an empty Element[] to pass it.
--
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: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org
[jira] Commented: (MUSE-166) Add flag to wsdl2java so that methods
are generated with parameter for custom headers.
Posted by "Dan Jemiolo (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/MUSE-166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12461796 ]
Dan Jemiolo commented on MUSE-166:
----------------------------------
Done - http://svn.apache.org/viewvc?view=rev&revision=491898
> Add flag to wsdl2java so that methods are generated with parameter for custom headers.
> --------------------------------------------------------------------------------------
>
> Key: MUSE-166
> URL: http://issues.apache.org/jira/browse/MUSE-166
> Project: Muse
> Issue Type: Improvement
> Components: Tooling - Code Generation
> Affects Versions: 2.1.0
> Reporter: Dan Jemiolo
> Assigned To: Andrew Eberbach
> Fix For: 2.2.0
>
>
> The goal here is to keep the clients stateless but to allow for custom SOAP headers (non-WS-A headers) for each request. There should be a code generation option/flag that causes wsdl2java to create an extra Element[] parameter for custom headers. Something like:
> wsdl2java -wsdl MyResource.wsdl -headers
> which would turn
> void myOperation(String param);
> into
> void myOperation(String param, Element[] customHeaders);
> If the flag were used, the new parameter would be applied to all operations.
> This will require me to provide an overloaded version of AbstractResourceClient.invoke() that has the following parameter list:
> Object invoke(ProxyHandler, Object[], Element[]);
> This is the method that can be called by all generated methods; if the flag is not used, you can either call the invoke() that doesn't have the Element[] param *or* you can make an empty Element[] to pass it.
--
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: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org
[jira] Commented: (MUSE-166) Add flag to wsdl2java so that methods
are generated with parameter for custom headers.
Posted by "Andrew Eberbach (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/MUSE-166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12461790 ]
Andrew Eberbach commented on MUSE-166:
--------------------------------------
I added the server side code for this. Dan, can you tell me when you have the generic invoke ready?
> Add flag to wsdl2java so that methods are generated with parameter for custom headers.
> --------------------------------------------------------------------------------------
>
> Key: MUSE-166
> URL: http://issues.apache.org/jira/browse/MUSE-166
> Project: Muse
> Issue Type: Improvement
> Components: Tooling - Code Generation
> Affects Versions: 2.1.0
> Reporter: Dan Jemiolo
> Assigned To: Andrew Eberbach
> Fix For: 2.2.0
>
>
> The goal here is to keep the clients stateless but to allow for custom SOAP headers (non-WS-A headers) for each request. There should be a code generation option/flag that causes wsdl2java to create an extra Element[] parameter for custom headers. Something like:
> wsdl2java -wsdl MyResource.wsdl -headers
> which would turn
> void myOperation(String param);
> into
> void myOperation(String param, Element[] customHeaders);
> If the flag were used, the new parameter would be applied to all operations.
> This will require me to provide an overloaded version of AbstractResourceClient.invoke() that has the following parameter list:
> Object invoke(ProxyHandler, Object[], Element[]);
> This is the method that can be called by all generated methods; if the flag is not used, you can either call the invoke() that doesn't have the Element[] param *or* you can make an empty Element[] to pass it.
--
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: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org