AW: Field level variables

2010-10-05 Thread Stadelmann Josef
We use scope="soapsession" to get one instance per user-session-thread; that allows for long-lasting.-user-sessions and/or state-full service objects. We use it since years, and we use it with axis2-1.2; we did not test it with axis2-1.5.1; doing so, beware to adjust in /.conf/axis2.xml ConfigC

Problem when using complex data type.

2010-10-05 Thread paul nibin
Hi all, I am trying to make a web service that uses a complex type object as return value. My complex object looks like public class ComplexBean { private String[] str; private Object[][] val; public String[] getStr() { return str; } public void setStr(String[] s

Exception while the code generation

2010-10-05 Thread paul nibin
Hi all, I am trying to generate the stub code from a WSDL for a particular port (HTTPPort to be specific) using WSDL2Java. WSDL2Java.main(new String[] { "-uri", "http://localhost:8500/justFuction.cfc?wsdl";, "-o", ".", "-uw", "-pn", "justFuction.cfcHttpEndp

Axis 2 code generation issue.

2010-10-05 Thread paul nibin
I am trying to generate the stub code from a WSDL for a particular port (HTTPPort to be specific) using WSDL2Java. WSDL2Java.main(new String[] { "-uri", "http://localhost:8080/axis2/services/Version?wsdl";, "-o", ".", "-uw", "-pn", "VersionHttpEndpoint" });

enum type for axi2 1.5

2010-10-05 Thread haipeng du
I found it is still the problem to generate enumeration type with axis2 1.5. It generated wsdl: http://enums.chgws.chg.com/xsd";> - - - Also, I have already set up my scehma namespace with http://www.chg.com/ws"; /> inside my service.xml. It still created different schema for me. How cou

RE: class cast exception when creating ServiceClient

2010-10-05 Thread Iyengar, Kumar
Hi Deepal, I have upgraded to Axis 1.5.1 but I am not able to figure out how to resolve this error. Why am I getting a class cast exception? Should I be using a different type of client in Axis2 1.5.1? I have checked the documentation and they all indicate that what I am doing is correct. Than

how could I put all schema to the same namespace

2010-10-05 Thread haipeng du
I create webserice with axis2 and generate wsdl from url http://myserver/services/myservice?wsdl. But for pojo objects in different package, it generates different schema namespace. I know from java2wsdl command, I can map all package to same namespace. How could I do from service.xml? I give eleme

Re: class cast exception when creating ServiceClient

2010-10-05 Thread Glen Daniels
Hi Kumar, Are you in fact using the TCP transport? If not, you want to remove it from your client configuration file (that is where the transport senders are defined). If so, it seems you have an incompatible version - you probably have an old version on your classpath somewhere. Probably a goo

[Urgent] how could I put all schema to the same namespace

2010-10-05 Thread haipeng du
Please help me on these. Thanks. On Tue, Oct 5, 2010 at 10:15 AM, haipeng du wrote: > I create webserice with axis2 and generate wsdl from url > http://myserver/services/myservice?wsdl. But for pojo objects in different > package, it generates different schema namespace. I know from java2wsdl >

RE: class cast exception when creating ServiceClient

2010-10-05 Thread Iyengar, Kumar
Hi Glen, I don't have any client configuration file defined (is this the axis2.xml file or some other file?). That is what is confusing me. Is the default in Axis2 1.5.1 TCP instead of HTTP? Thanks for your help, --kumar -Original Message- From: Glen Daniels [mailto:g...@thoughtcraft

Re: enum type for axi2 1.5

2010-10-05 Thread haipeng du
Could somebody answer me this question? Thanks. On Tue, Oct 5, 2010 at 9:47 AM, haipeng du wrote: > I found it is still the problem to generate enumeration type with axis2 > 1.5. It generated wsdl: > > targetNamespace="http://enums.chgws.chg.com/xsd";> > - > > - > > - > > > > > > > > Al

Is this one still live? I ask this several times. how could I put all schema to the same namespace

2010-10-05 Thread haipeng du
> I create webserice with axis2 and generate wsdl from url > http://myserver/services/myservice?wsdl. But for pojo objects in different > package, it generates different schema namespace. I know from java2wsdl > command, I can map all package to same namespace. How could I do from > service.xml? I

Re: Is this one still live? I ask this several times. how could I put all schema to the same namespace

2010-10-05 Thread Charles Galpin
Hi Haipeng We are all busy and no-one has any obligation to respond, so posting several times in a row isn't productive (and often considered rude). I am changing the namespace reported by using a schema tag in my service definition (services.xml), specifically using the schemaNamespace and ta