multiple WSDLs example

View: New views
4 Messages — Rating Filter:   Alert me  

multiple WSDLs example

by carljmosca :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I would like to use the maven java2wsdl plugin to create multiple WSDLs.  I have tried multiple <configuration> tags as well as moving to the <execution> but none of this has worked.  Is this supported and if so are there examples available?

TIA,
Carl

Re: multiple WSDLs example

by carljmosca :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sorry for the trouble. I must have had something misconfigured. All is well.

On 8/20/09, Carl Mosca <carljmosca@...> wrote:
> I would like to use the maven java2wsdl plugin to create multiple WSDLs.  I
> have tried multiple <configuration> tags as well as moving to the
> <execution> but none of this has worked.  Is this supported and if so are
> there examples available?
>
> TIA,
> Carl
>

--
Sent from my mobile device

Carl J. Mosca

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: multiple WSDLs example

by carljmosca :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It's been a long day of travel...apparently I was right the first time.

I cannot seem to get the <configuration> in the <execution> to work.  (I thought I had commented out the <configuration> in the <plugin> when I had not.)

What I would like to do is something like this:


      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>axistools-maven-plugin</artifactId>
        <version>1.3</version>            
        <executions>
          <execution>                   
            <id>myService</id>
            <configuration>
              <fileName>Some.wsdl</fileName>
              <location>location</location>
              <classOfPortType>package.MyClass</classOfPortType>
            </configuration>
            <goals>
              <goal>java2wsdl</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

Re: Re: multiple WSDLs example

by davidkarlsen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 20 Aug 2009, Carl Mosca wrote:

> It's been a long day of travel...apparently I was right the first time.
>
> I cannot seem to get the <configuration> in the <execution> to work.  (I
> thought I had commented out the <configuration> in the <plugin> when I had
> not.)
>
> What I would like to do is something like this:
>
>
>      <plugin>
>        <groupId>org.codehaus.mojo</groupId>
>        <artifactId>axistools-maven-plugin</artifactId>
>        <version>1.3</version>
>        <executions>
>          <execution>
>            <id>myService</id>
>            <configuration>
>              <fileName>Some.wsdl</fileName>
>              <location>location</location>
>              <classOfPortType>package.MyClass</classOfPortType>
>            </configuration>
>            <goals>
>              <goal>java2wsdl</goal>
>            </goals>
>          </execution>
>        </executions>
>      </plugin>

This works for me:
<plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>axistools-maven-plugin</artifactId>
         <version>1.3</version>
         <configuration>

<sourceDirectory>${project.build.directory}/dependency/WEB-INF/servicesWSDL</sourceDirectory>
           <typeMappingVersion>1.2</typeMappingVersion>
           <wrapArrays>false</wrapArrays>
         </configuration>
         <executions>
           <execution>
             <id>ProcessFlowConfigurationWS</id>
             <configuration>
               <wsdlFiles>
                 <wsdlFile>ProcessFlowConfigurationWS.wsdl</wsdlFile>
               </wsdlFiles>

<packageSpace>com.te.jpay.ws.client.processflowconfigurationws</packageSpace>
             </configuration>
             <goals>
               <goal>wsdl2java</goal>
             </goals>
           </execution>
           <execution>
             <id>PropayProcessingsConfigurationWS</id>
             <configuration>
               <wsdlFiles>
                 <wsdlFile>PropayProcessingsConfigurationWS.wsdl</wsdlFile>
               </wsdlFiles>

<packageSpace>com.te.jpay.ws.client.propayprocessingsconfigurationws</packageSpace>
             </configuration>
             <goals>
               <goal>wsdl2java</goal>
             </goals>
           </execution>


--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email