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 Luca Manganelli <ma...@itc.it> on 2004/10/25 13:11:50 UTC

Problems in AXIS 1.2RC1 (as in beta3)?

Hi, I have the following wsdl (in attach) that I cannot modify.

If I do WSDL2Java, there are two strange things:

    * the service name in "deploy.wsdd" is mistaken. It is named as
      clientServicePort and NOT clientService (as in <service> of the WSDL)

    * as you can see, in same file there's a (?) wrong namespace name:
      qname="ns:>documento". What's that ">" ?

    * If I correct that error by hand and I deploy it, my Axis Server
      gives this error:

    <soapenv:Fault>
<faultcode>soapenv:Server.generalException</faultcode>
    <faultstring>
makeTypeElement() was told to create a type 
"{http://clientService}>documento", with no containing element
</faultstring>
    <detail>
    <ns1:stackTrace>
makeTypeElement() was told to create a type 
"{http://clientService}>documento", with no containing element
    at org.apache.axis.wsdl.fromJava.Types.makeTypeElement(Types.java:1723)
    at org.apache.axis.wsdl.fromJava.Types.writeTypeForPart(Types.java:395)
    at 
org.apache.axis.wsdl.fromJava.Types.writeTypeAndSubTypeForPart(Types.java:416)
    at 
org.apache.axis.wsdl.fromJava.Emitter.writePartToMessage(Emitter.java:1864)
    at 
org.apache.axis.wsdl.fromJava.Emitter.writeRequestMessage(Emitter.java:1460)
    at 
org.apache.axis.wsdl.fromJava.Emitter.writeMessages(Emitter.java:1087)
    at 
org.apache.axis.wsdl.fromJava.Emitter.writePortType(Emitter.java:1056)
    at org.apache.axis.wsdl.fromJava.Emitter.getWSDL(Emitter.java:471)
    at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:322)
    at 
org.apache.axis.providers.BasicProvider.generateWSDL(BasicProvider.java:237)
    at 
org.apache.axis.strategies.WSDLGenStrategy.visit(WSDLGenStrategy.java:33)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.generateWSDL(SimpleChain.java:104)
    at 
org.apache.axis.handlers.soap.SOAPService.generateWSDL(SOAPService.java:316)
    at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:467)
    at 
org.apache.axis.transport.http.SimpleAxisWorker.execute(SimpleAxisWorker.java:328)
    at 
org.apache.axis.transport.http.SimpleAxisWorker.run(SimpleAxisWorker.java:155)
    at 
org.apache.axis.transport.http.SimpleAxisServer.run(SimpleAxisServer.java:241)
    at 
org.apache.axis.transport.http.SimpleAxisServer.start(SimpleAxisServer.java:284)
    at 
org.apache.axis.transport.http.SimpleAxisServer.start(SimpleAxisServer.java:292)
    at 
org.apache.axis.transport.http.SimpleAxisServer.main(SimpleAxisServer.java:373)
</ns1:stackTrace>



Any idea?