Luiz Barbosa a écrit :
Hi Supareno,

Thank you for your answer!

Yes, that's the problem. I put axis-ant.jar and axis.jar, but now I have
another problem.

One of the operations in my WSDL is the following:
   <wsdl:operation name="importService">
        <wsdl:input message="tns:importServiceRequest"></wsdl:input>
        <wsdl:output message="tns:importServiceResponse"></wsdl:output>
    </wsdl:operation>

And, when the script cross through the line of verbose (that same previous
discussed line), I got the following in my Eclipse's console:

Emitter failure. The operation (importService) from portType (Connector) in
the WSDL document has no corresponding binding operation.
Hint: make sure that the binding has the same number of operations as its
portType.

Supplementary information:
  <wsdl:message name="importServiceRequest">
      <wsdl:part name="serviceName" type="xsd:string"></wsdl:part>
  </wsdl:message>
  <wsdl:message name="importServiceResponse">
      <wsdl:part name="importServiceReturn"
type="tns:JBossESBService"></wsdl:part>
  </wsdl:message>


What could be the problem now?

Thanks in advance!

Regards,

Luiz
It is more a WSDL question than an Ant question :-)
i'm not an expert with wsdl but i could help you a bit...
is your importService operation is in a portType?
if yes, is your binding type has the portType name?
if yes, are you sure that the binding has the operation than the portType?

i could suggest you to search on google about wsdl.

regards
supareno

On Fri, Apr 11, 2008 at 6:07 AM, supareno <[EMAIL PROTECTED]> wrote:

Luiz Barbosa a écrit :

Hi people,

Please, I have the following problem:

I wrote the following target:
<target name="wsdl2java-server" description="Gera os arquivos .wsdd e
stubs/skeletons a partir de um arquivo .wsdl">
[...]

When I run it, I get the following error message, on line  Could not
create task or type of type: axis-wsdl2java.

Please, how could I fix this?

Thanks in advance!

Regards,

Luiz



hi Luis,

are you sure that **axis-ant.jar** is in the ant classpath.
i think that the error is not specific on 'verbose="false"' (because it is
a correct argument), the error message said on line verbose="false" because
it is the end of the first task tag and ant does not know this task...

regards
supareno


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to