Re: How to pass Authentication credentials in apache Axis2 1.5

2011-06-30 Thread fire fox
Generally, we define operation to authenticate. If no method/operation is defined in the stub/wsdl you may try referring to the following link. Check the authentication constants in - http://wso2.org/library/230 On Fri, Jul 1, 2011 at 7:17 AM, Prasad Maddela wrote: > Hi, > > I have developed sta

[Axis2] How to find out the server side framework using Axis2?

2011-06-29 Thread fire fox
Hi all, I'm writing code to consume a webservice. I'm just curious to know the framework used on the server side. How do I do it programatically using Axis2. After going through the following article I came to know that if Axis2 is used on both ends, we could expect high improvements in

Re: Axis2 1.4 / 1.5.5 works but NOT Axis2 1.6 for stub generation

2011-06-26 Thread fire fox
Reminding again since it's just an inconsistency across releases. On Fri, Jun 24, 2011 at 11:03 AM, fire fox wrote: > Hi all, > I tried to generate stubs for the attached WSDL with Axis2 1.4 and > 1.5.5, and both of them worked. However, the *latest version Axis2 1.6 >

Re: Duplicate global type exception again in Axis2 1.5.4

2011-06-15 Thread fire fox
Help! Was it fixed? On Wed, Jun 8, 2011 at 2:15 PM, fire fox wrote: > Any idea whether it's been fixed in coming up release? Any workaround? > > On Thu, Jun 2, 2011 at 12:04 PM, fire fox wrote: >> People, it seems to be BUG. Please help me finding a workaround. >> &g

Re: Replacing 'encoded' with 'literal' in WSDL directly. [Axis2]

2011-06-11 Thread fire fox
article > http://axis.apache.org/axis2/java/core/docs/Axis2-rpc-support.html > > Axis2 doesn't  support "SOAP-ENC" name space, you need to move everything to > "xsd" > > > On 26/05/11 19:04, fire fox wrote: > > Hi all, >       I'm trying to edit wsdl

Re: [Axis2] wsdl to Java to wsdl to change style/use in initial WSDL?

2011-06-11 Thread fire fox
Could someone please give me some leads? On Fri, Jun 10, 2011 at 10:36 AM, fire fox wrote: > Please help. > > On Thu, Jun 9, 2011 at 3:42 PM, fire fox wrote: >> Hi all, >> >> -> I've created Java files using -ss -sd options using Axis2. >> >> -&g

Re: [Axis2] wsdl to Java to wsdl to change style/use in initial WSDL?

2011-06-09 Thread fire fox
Please help. On Thu, Jun 9, 2011 at 3:42 PM, fire fox wrote: > Hi all, > > -> I've created Java files using -ss -sd options using Axis2. > > -> I've used the skeleton class to create the WSDL from it. > > -> Apparently I've achieved what I've wa

[Axis2] wsdl to Java to wsdl to change style/use in initial WSDL?

2011-06-09 Thread fire fox
Hi all, -> I've created Java files using -ss -sd options using Axis2. -> I've used the skeleton class to create the WSDL from it. -> Apparently I've achieved what I've wanted, the binding style in the wsdl changed from rpc/encoded [axis2 does not support] to doc/literal. But, I'm suspicious ab

Re: Duplicate global type exception again in Axis2 1.5.4

2011-06-08 Thread fire fox
Any idea whether it's been fixed in coming up release? Any workaround? On Thu, Jun 2, 2011 at 12:04 PM, fire fox wrote: > People, it seems to be BUG. Please help me finding a workaround. > > On Tue, May 31, 2011 at 3:28 PM, fire fox wrote: >> >> Thanks for the reply. &

Re: Duplicate global type exception again in Axis2 1.5.4

2011-06-01 Thread fire fox
People, it seems to be *BUG*. Please help me finding a workaround. On Tue, May 31, 2011 at 3:28 PM, fire fox wrote: > Thanks for the reply. > > No, it doesn't work with either 1.6 or 1.4. I'm getting the same exception > again. > > > On Tue, May 31, 201

Duplicate global type exception again in Axis2 1.5.4

2011-05-31 Thread fire fox
Hi all, I've tried to generate stubs using *xmlbeans *data binding. I've got the following error. Caused by: org.apache.xmlbeans.XmlException: http://schemas.xmlsoap.org/soap/encoding/:48:1: error: sch-props-correct.2: Duplicate global type: Array@http://schemas.xmlsoap.org/soap/encoding/(

Duplicate global type exception while generating stubs using Axis2 (XMLBeans databinding)

2011-05-25 Thread fire fox
Hi all, *>* My WSDL contains two external schema imports. http://schemas.xmlsoap.org/soap/encoding/"; schemaLocation="http://schemas.xmlsoap.org/soap/encoding/"/> http://schemas.xmlsoap.org/wsdl/"; schemaLocation=" http://schemas.xmlsoap.org/wsdl/"/> *>* When I try generating stubs usi

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

2011-05-18 Thread fire fox
Please help guys. On Thu, Apr 14, 2011 at 6:01 PM, fire fox wrote: > 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

Re: Axis generates all classes but not Axis2?

2011-05-12 Thread fire fox
bumping, still no clue. Please go through the info in the 1st mail itself. On Mon, Apr 25, 2011 at 2:05 PM, fire fox wrote: > Any tips? > > > On Thu, Apr 21, 2011 at 2:58 PM, fire fox wrote: > >> Yeah, I did use it. I was referring to the size of all classes togethe

Re: [Axis2] How to add SOAP Header to the response (output) message ...

2011-04-27 Thread fire fox
Working with custom SOAP headers : http://wso2.org/library/3156 On Thu, Apr 28, 2011 at 12:24 AM, Raghu Upadhyayula < [email protected]> wrote: > Hi, > > > > I’m using Axis2 1.4 version. I want to add a SOAP Header to one of my APIs > response. And this is what I changed in have WSDL

Re: Axis generates all classes but not Axis2?

2011-04-25 Thread fire fox
Any tips? On Thu, Apr 21, 2011 at 2:58 PM, fire fox wrote: > Yeah, I did use it. I was referring to the size of all classes together, be > it packed or unpacked. Eventually, we have to place all of them in the > project. That's why I was confused. > > > On Thu, Apr 21,

Re: Axis generates all classes but not Axis2?

2011-04-21 Thread fire fox
[email protected][mailto: > [email protected]] *On > Behalf Of *fire fox > *Sent:* Thursday, April 21, 2011 01:44 > *To:* [email protected] > *Subject:* Re: Axis generates all classes but not Axis2? > > > > Please

Re: Axis generates all classes but not Axis2?

2011-04-20 Thread fire fox
required ones, with reasonable disk space. But, the goal itself is to *upgrade *from Axis 1.x to Axis2. Any ideas? Thanks. On Thu, Apr 21, 2011 at 9:04 AM, fire fox wrote: > Yeah, even I observed that. The problem is apparent since* we can't use -g > with out -ss option. * > * >

Re: Axis generates all classes but not Axis2?

2011-04-20 Thread fire fox
Yeah, even I observed that. The problem is apparent since* we can't use -g with out -ss option. * * * Please help. On Wed, Apr 20, 2011 at 6:38 PM, Supun Malinga wrote: > Hi All, > > On Wed, Apr 20, 2011 at 6:08 PM, fire fox wrote: > >> Hi All, >> >>

Axis generates all classes but not Axis2?

2011-04-20 Thread fire fox
Hi All, I've attached the WSDL file I'm working on. I've generated stubs using following commands Axis: java org.apache.axis.wsdl.WSDL2Java CrmDiscoveryServiceWsdl.xml : Generates all classes Axis2 : wsdl2java.bat -u -uri CrmDiscoveryServiceWsdl.xml : Generates only a few classes.

Re: [Axis2] Elements listed in wsdl:message did not show up as Objects?

2011-04-20 Thread fire fox
Only, 'fault' type messages were generated, whereas Input, Output type messages were not part of the Class list. On Wed, Apr 20, 2011 at 12:29 PM, fire fox wrote: > Hi, > I'm working on a WSDL which has some elements listed in wsdl:message > section. After stub

[Axis2] Elements listed in wsdl:message did not show up as Objects?

2011-04-19 Thread fire fox
Hi, I'm working on a WSDL which has some elements listed in wsdl:message section. After stub generation, I could not find most of them as objects. Details : WSDL - Microsoft CRM 2011, *Axis2* Options used : *-u, -ns2p* Please clarify. Thanks.

[Axis2] 'XMLBeans' stubs : no setters/getters in request/response objects : empty datatypes ?

2011-04-17 Thread fire fox
Hi all, I've created stubs using -d xmlbeans option. Here is the full command : wsdl2java.bat -u -d xmlbeans -ns2p http://www.sugarcrm.com/sugarcrm=com.sugarcrm.data,http://schemas.xmlsoap.org/soap/encoding/=com.sugarcrm.schema.import1,http://schemas.xmlsoap.org/wsdl/=com.sugarcrm.schema.

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

2011-04-14 Thread fire fox
hether I missed something or can I change my WSDL file by replacing 'encoded' with literal? Would it work? Thanks. On Thu, Apr 14, 2011 at 4:04 PM, fire fox wrote: > Thanks Strausz, I was generating stubs with wsdl2java.bat tool > provided by Axis2. It should automatically set eac

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

2011-04-14 Thread fire fox
;     1.2.11 > >     pom > >     > >     > >     org.apache.ws.commons.axiom > >     axiom-api > >     1.2.11 > >     > >

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

2011-04-14 Thread fire fox
n2Mw2Document.getOpenConnection2Mw2().setCClientLogin("XX"); >// openConnection2Mw2Document.getOpenConnection2Mw2().setCClientPwd("D"); >// OpenConnection2Mw2ResponseDocument result = stub.openConnection2Mw2(openConnection2Mw2Document); >// String result = result.ge

SOAP encoding for Axis2: Is XMLBeans the only solution?

2011-04-12 Thread fire fox
Hi All, When I tried to contact a web-service (SugarCRM) using Axis2, I was getting following exception - Unsupported type http://schemas.xmlsoap.org/soap/encoding/ Array. After an exhaustive exploration, I came to know that the only solution is to generate stubs using XMLBeans option, or s

: Could not find any schema type associated with the Element

2011-04-12 Thread fire fox
Hi All, Recently, I've generated stubs from a WSDL (SugarCRM) file which has element that refers to TWO locations. Here are my queries. 1) A warning was given by the compiler - [WARN] Could not find any schema type associated with the Element '{http://schemas.xmlsoap.org/soap/encoding/

generation of stubs using Axis2 - custom package not working

2011-02-22 Thread fire fox
Hi All, I'm using : Axis2 latest version, Web Services 2.0 compliant WSDL (Oracle CRM on demand). I'm having trouble creating proxies providing a custom package. Q) If I do not provide any custom package, I get all the classes in 'crmondemand' package. In case, I provide some custom package wi

stubs generated are very huge: Axis2, Oracle ondemandCRM

2011-02-21 Thread fire fox
Hi All, (I believe, the 2nd question is pretty much Axis2 specific.) I've downloaded Generic WSDL files of Oracle OndemandCRM's Account, Contact, Lead, and Opportunity of Web Services 2.0 version. When I used Axis2 to generate stubs, I had following problems. 1) Very surprisingly the generated

Re: problem while generating stubs itself : Axis2, SugarCRM WSDL

2011-01-20 Thread fire fox
ase help, I will not be able to progress if I can't create stubs. On Thu, Jan 20, 2011 at 7:00 PM, fire fox wrote: > Hi all, > > I have tried to generate the stubs from the SugarCRM WSDL file using > Axis2, but following exception occured. > > --> Command used : wsdl2jav

problem while generating stubs itself : Axis2, SugarCRM WSDL

2011-01-20 Thread fire fox
Hi all, I have tried to generate the stubs from the SugarCRM WSDL file using Axis2, but following exception occured. --> Command used : wsdl2java.bat -uri sugar.wsdl Illegal character in path at index 11: file:/E:/My Work/Frameworks/Apache Axis/axis2-1.5.3/bin/sugar.wsdl downloaded wsdl file fr

Re: TransportOutDescription problem while logging in : NullPointerException

2011-01-09 Thread fire fox
a nightly build? > > The actual problem is not the null pointer exception. it comes since there > is another problem which make > transportOut null. Can you run the code just commenting out the finally > block? > > thanks, > Amila. > > On Thu, Jan 6, 2011 at 11:05 PM,

TransportOutDescription problem while logging in : NullPointerException

2011-01-06 Thread fire fox
Hi all,  Details: partner.wsdl, Axis2., Salesforce API [I think problem is generic to Axis2]  1) Code used to login : - created stub by passing endpointurl - set HTTPConstants properties/options for stub, after creation - called stub.login by passing (Login, null, CallOptions (did set client I

Re: trouble in upgrading Object model (Axiom): Axis -> Axis2

2011-01-05 Thread fire fox
u in writing axis2 modules. > > thanks, > Amila. > > [1] http://wso2.org/library/articles/extending-axis2 > > On Wed, Dec 15, 2010 at 6:07 PM, fire fox wrote: > >> Hi All, >> I am very new to Axis2 and even Axis. I have to upgrade existing >> modul

Re: trouble in upgrading Object model (Axiom): Axis -> Axis2

2010-12-19 Thread fire fox
really sorry, but it's been 5 days. Please help! On Wed, Dec 15, 2010 at 6:07 PM, fire fox wrote: > Hi All, > I am very new to Axis2 and even Axis. I have to upgrade existing > module that uses Axis to Axis2. I think the object model has also been >

trouble in upgrading Object model (Axiom): Axis -> Axis2

2010-12-15 Thread fire fox
Hi All, I am very new to Axis2 and even Axis. I have to upgrade existing module that uses Axis to Axis2. I think the object model has also been upgraded to Axiom. --> MessageElement[] records = queryResult.getRecords(i).get_any(); [Salesforce WS API] I am wondering how should I change