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 "Brian Davis (JIRA)" <ax...@ws.apache.org> on 2005/01/13 21:43:17 UTC

[jira] Commented: (AXIS-1763) Would be nice to have an Ant task to fill in the *StubBindingImpl.java file

     [ http://issues.apache.org/jira/browse/AXIS-1763?page=comments#action_57596 ]
     
Brian Davis commented on AXIS-1763:
-----------------------------------

Ack, I mean *SoapBindingImpl.java.

The task I wrote is used like this:

<taskdef name="fixwsdl2java" classname="com.willyloman.anttasks.FixWSDL2JavaTask"/>
<fixwsdl2java filename="your filename" classtocall="your fully qualified class" 
      extraarguments="your extra args" />

Example:
<fixwsdl2java filename="${webservices}/ContactExchangeSoapBindingImpl.java" 
      classtocall="com.willyloman.webservice.work.ContactExchangeFunctions" 
      extraarguments=", org.apache.axis.MessageContext.getCurrentContext()" />

Extra arguments are placed just inside the ending ')'. This part could definitely be improved (getting rid of the leading comma, etc.).

> Would be nice to have an Ant task to fill in the *StubBindingImpl.java file
> ---------------------------------------------------------------------------
>
>          Key: AXIS-1763
>          URL: http://issues.apache.org/jira/browse/AXIS-1763
>      Project: Axis
>         Type: Improvement
>   Components: WSDL processing
>     Reporter: Brian Davis
>  Attachments: FixWSDL2JavaTask.java, after.java, before.java
>
> I have written an Ant task for this already, Davanum recommended that I upload it. It could DEFINITELY be improved, but it's somewhere to start.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira