Hi,
  Axis2 1.3 does not support rpc/encoded WSDLs.
I found out a discussion about rpc/encoded WSDL support in ADB for Axis 1.4
-
http://markmail.org/message/htchm4nsbywlnzi4?q=list:org%2Eapache%2Ews%2Eaxis-dev+date:20071201-20080404+Soap+Encoding&page=1
However I don't know how far they went with that.

Regards,
   Detelin

On Mon, Apr 7, 2008 at 3:45 PM, Chinmoy Chakraborty <[EMAIL PROTECTED]>
wrote:

> Hi,
>
> Thanks for the link. I have another point, does Axis2 supports WSDL with
> rpc encoded binding? My old wsdl is rpc encoded.
>
> Chinmoy
>
>
>
>
> On Mon, Apr 7, 2008 at 5:27 PM, Detelin Yordanov <
> [EMAIL PROTECTED]> wrote:
>
> > Hi,
> >   The "L<type>" means this is an instance of the corresponding object
> > type, if it was an array it would have been
> > "[Ljava/lang/String".See here
> > http://java.sun.com/docs/books/jvms/second_edition/html/ClassFile.doc.html#16252
> > .
> >
> > Anyway, you have these jars and the QName is correctly defined there,
> > however you might have some other (perhaps older)
> > jar that is loaded prior to these and its QName implementation (which
> > does not have the mentioned constructor) overrides the ones you have.
> > Or it could be something else, perhaps some experienced Axis2 developers
> > could help us here.
> > You are sure you have not tweaked the Axis2 1.3 distro somehow?
> >
> > Regards,
> >    Detelin
> >
> >
> > On Mon, Apr 7, 2008 at 1:55 PM, Chinmoy Chakraborty <[EMAIL PROTECTED]>
> > wrote:
> >
> > > Hi Detelin,
> > >
> > > I am using xml-apis-1.3.03.jar and xbean-2.2.0.jar. I am using JDK
> > > 1.4.08.
> > >
> > > Qname has 3 parameter constructor but I guess the issue is, the
> > > parameters are of type 'String' and in my case its
> > > 'Ljava/lang/String;Ljava/lang/String;Ljava/lang/String' i.e. String array.
> > >
> > > Chinmoy
> > >
> > >   On Mon, Apr 7, 2008 at 3:12 PM, Detelin Yordanov <
> > > [EMAIL PROTECTED]> wrote:
> > >
> > > > Hi,
> > > >    You should verify what version of the QName class is in use. If
> > > > you are using the one in the xml-apis-1.3.03.jar (which you should have 
> > > > in
> > > > the Axis2 1.3 lib folder) you should be fine. XMLBeans also includes 
> > > > this
> > > > class (in the xbean-2.2.0.jar) and it is OK since it has the 
> > > > 3-parameters
> > > > constructor.
> > > > Which JDK are you using and have you made any modifications to its
> > > > classpath?
> > > >
> > > > Regards,
> > > >    Detelin
> > > >
> > > >
> > > > On Mon, Apr 7, 2008 at 12:03 PM, Chinmoy Chakraborty <
> > > > [EMAIL PROTECTED]> wrote:
> > > >
> > > > > I am running Axis2 standalone. Just using WSDLToJava standalone.
> > > > >
> > > > >
> > > > > Chinmoy
> > > > >
> > > > >   On Mon, Apr 7, 2008 at 2:25 PM, Detelin Yordanov <
> > > > > [EMAIL PROTECTED]> wrote:
> > > > >
> > > > > > Hi,
> > > > > >   How do you start the Axis2 runtime - do you just run Axis2
> > > > > > standalone, or using a servlet container and if so which one?
> > > > > >
> > > > > > Regards,
> > > > > >    Detelin
> > > > > >
> > > > > > 2008/4/7 Chinmoy Chakraborty <[EMAIL PROTECTED]>:
> > > > > >
> > > > > > >   Hello,
> > > > > > >
> > > > > > > I am getting following error while I try to generate java
> > > > > > > classes from old (Axis 1.4) wsdl.
> > > > > > >
> > > > > > > log4j:WARN No appenders could be found for logger
> > > > > > > (org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder).
> > > > > > > log4j:WARN Please initialize the log4j system properly.
> > > > > > > java.lang.NoSuchMethodError:
> > > > > > > javax.xml.namespace.QName.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
> > > > > > >  at
> > > > > > > org.apache.axis2.description.WSDL11ToAxisServiceBuilder.createSchemaForPorttype(WSDL11ToAxisServiceBuilder.java:1586)
> > > > > > >  at
> > > > > > > org.apache.axis2.description.WSDL11ToAxisServiceBuilder.generateWrapperSchema(WSDL11ToAxisServiceBuilder.java:1431)
> > > > > > >  at
> > > > > > > org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:255)
> > > > > > >  at
> > > > > > > org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:109)
> > > > > > >  at
> > > > > > > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:141)
> > > > > > >  at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
> > > > > > >  at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
> > > > > > >  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > > > > > Method)
> > > > > > >  at
> > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > >  at
> > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > >  at java.lang.reflect.Method.invoke(Method.java:324)
> > > > > > >  at
> > > > > > > com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
> > > > > > > Exception in thread "main"
> > > > > > >
> > > > > > >
> > > > > > > Please find attached wsdl for which I am trying to generate
> > > > > > > java classes.
> > > > > > >
> > > > > > > Chinmoy
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Reply via email to