Re: Error parsing WSDL with Axis2

2012-03-23 Thread Sagara Gunathunga
On Fri, Mar 23, 2012 at 12:02 AM, JOSE L MARTINEZ-AVIAL wrote: > Well, the problem was that the servicename was wrong. But then I have > another issue. When I use the option unpackclasses="true" the class > AdminServiceException does not extend java.lang.Exception, and therefore the > code that tr

Re: Error parsing WSDL with Axis2

2012-03-23 Thread JOSE L MARTINEZ-AVIAL
no, it doesn't work for me. I got the same faulty class. C:\axis2-1.6.1\bin>wsdl2java -u -uri C:\TEMP\TEST.WSDL Using AXIS2_HOME: C:\axis2-1.6.1 Using JAVA_HOME: C:\Java\jdk1.6.0_27 Retrieving document at 'C:\TEMP\TEST.WSDL'. log4j:WARN No appenders could be found for logger (org.apache.axis2.desc

Re: Error parsing WSDL with Axis2

2012-03-23 Thread JOSE L MARTINEZ-AVIAL
Well, after some testing in Linux I noticed a message saying that AdminServiceException can not be overwritten(even when the target folder is empty) [email protected]:/opt/eco/ecoprd/axis2-1.6.1/bin >> ./wsdl2java.sh -u -uri test.wsdl Using AXIS2_HOME: /opt/eco/ecoprd/axis2-1.6.1 Usi

Re: Error parsing WSDL with Axis2

2012-03-23 Thread Sagara Gunathunga
On Fri, Mar 23, 2012 at 4:45 PM, JOSE L MARTINEZ-AVIAL wrote: > Well, after some testing in Linux I noticed a message saying that > AdminServiceException can not be overwritten(even when the target folder is > empty) > > [email protected]:/opt/eco/ecoprd/axis2-1.6.1/bin >> > ./wsdl2java

Re: Error parsing WSDL with Axis2

2012-03-23 Thread Sagara Gunathunga
On Fri, Mar 23, 2012 at 5:33 PM, JOSE L MARTINEZ-AVIAL wrote: > Well, the thing is that there is no code to overwrite. The target folder is > empty, totally empty, but it still complains that the class can not be > overwritten. So it seems that the wsdl2java is generating that class twice, > and t

Access Header from service (response header)

2012-03-23 Thread alessio . lunardelli
Hi all, i need to add somethings in the header of RESPONSE from service. I can use out handler but, unfortunately, this will be a pain for this service. So consider i have a web service with: public OMElement serviceFunction(OMElement element){ ... return [OMElement] } and i need to access to th

RE: namespace prefixes

2012-03-23 Thread George Stanchev
I traced the chain of unfortunate events and I was wondering if any of the XML gurus can advice on the problem. The XML being broken is a SAML statement. I originally get it in the form mailto:[email protected]] Sent: Thursday, March 22, 2012 9:54 PM To: [email protected] Subject: nam