Re: Simple Stub Methods Pls

2011-04-14 Thread Afkham Azeez
Use the unwrap (-uw) option when generating the stub. On Wed, Apr 6, 2011 at 8:53 AM, Android MD wrote: > Hi, > > Basically, I want my stub's method signatures to be same as the service > that was used. Please note that I am not creating a contract first web > service, where you create the wsdl

Re: server class

2011-04-14 Thread Afkham Azeez
Try http://wso2.com/products/data-services-server/ which is built on Axis2. On Wed, Apr 6, 2011 at 12:29 AM, Swetta Bhaskar wrote: > Hello, > > Can I not return Resultset as a return type from my Java class(Server.) > > > > I am getting error with following response. > > > > > > *-*

Defining Soap Headers in an axis service

2011-04-14 Thread Matt Brown
I'm need to replicate an exising web service written in .net, but I've having problems copying the AuthHeader part. To me, it looks like I just need to define this in the soap header, then this would be implemented automatically on the .net side when it reads the wsdl I thought I may be able to do

[Axis2] generating code for unreferenced types

2011-04-14 Thread Subramanian Krishnan
Hello, I'm using wsdl2java (1.5.4) command to generate the client stubs for the wsdl "http://tools.oasis-open.org/version-control/svn/cmis/trunk /SchemaProject/schema/CMISWS-Service.wsdl" I find that the stubs are not generating classes for some types which are not directly referenced but are e

Re: SOAP encoding for Axis2: Is XMLBeans the only solution?

2011-04-14 Thread fire fox
The WSDL I'm working specifies 'rpc/encoding' style. I've found a tutorial on Axis2 RPC Support: http://axis.apache.org/axis2/java/core/docs/Axis2-rpc-support.html However, in the tutorial, examples are based on rpc/literal style but not rpc/encoded. I'm just wondering, whether I missed something

Re: SOAP encoding for Axis2: Is XMLBeans the only solution?

2011-04-14 Thread fire fox
Thanks Strausz, I was generating stubs with wsdl2java.bat tool provided by Axis2. It should automatically set each and every required jar since I've not changed the file structure of lib & bin folders. Anyway, I would again check with the jar availability . Besides xmlbeans, It'd be great if someo

Re: SOAP encoding for Axis2: Is XMLBeans the only solution?

2011-04-14 Thread fire fox
Thanks for the reply Strausz. I'm not able to create Stubs using -d xmlbeans option. I could create stubs for the same WSDL with out xmlbeans option. Here is the stack trace. Retrieving document at 'Sugar\Sugar_V1_2.xml'. Retrieving schema at 'http://schemas.xmlsoap.org/soap/encoding/', r