Re: Content is not allowed in prolog Error in AXIS2 1.3 RC2

2007-07-23 Thread Ashok Kumar Rajendran

Thanks for your effort Keith . Here with I attached the sample wsdl that i
am using..

kindly let me to know the Errors

Thanks,
Ashok



On 7/24/07, keith chapman <[EMAIL PROTECTED]> wrote:


Hi Ashok,

Can u upload your WSDL please so that we can have a look.

Thanks,
Keith.

On 7/24/07, Ashok Kumar Rajendran < [EMAIL PROTECTED]> wrote:
>
> Hi all ,
>
> I downloaded the latest AXIS2 1.3 RC2 form Axis2 repository. While
> running the bundled  WSDL2Java to generate the Java stubs using WSDL 2.0file 
i got a exception saying Content is not allowed in prolog . I couldn't
> find the flaw .  can any one guide me to fix this one .
>  I hope the error is related to WSDL parser which is not able to parse
> ,the wsdl file which is  WSDL 2.0 based .
>
>  I am  using JDK 1.4 in Win 2000
>
> Heres the stack trace
>
>
>
> [Fatal Error] :1:1: Content is not allowed in prolog.
> org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing
> WSDL
>  at org.apache.axis2.wsdl.codegen.CodeGenerationEngine .(
> CodeGenerationEngine.java:153)
>  at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>  at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)Woden[Fatal
> Error],0:0,WSDL500,SAX Parsing error in document located at
> file:/C:/SoNoMa/., org.xml.sax.SAXParseException:Content is not allowed
> in prolog.
>
> Caused by: WSDLException: faultCode=OTHER_ERROR: Fatal error.: Content
> is not allowed in prolog.: org.xml.sax.SAXParseException: Content is not
> allowed in prolog.
>  at org.apache.xerces.parsers.DOMParser.parse (Unknown Source)
>  at org.apache.woden.internal.DOMWSDLReader.getDocument(
> DOMWSDLReader.java:724)
>  at org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java
> :245)
>  at org.apache.woden.internal.DOMWSDLReader.readWSDL (DOMWSDLReader.java
> :122)
>  at org.apache.axis2.description.WSDL20ToAxisServiceBuilder.(
> WSDL20ToAxisServiceBuilder.java:145)
>  at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(
> CodeGenerationEngine.java :97)
>  at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>  at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
>
>  at org.apache.woden.internal.ErrorReporterImpl.reportError(
> ErrorReporterImpl.java:236)
>  at org.apache.woden.internal.ErrorReporterImpl.reportError(
> ErrorReporterImpl.java :184)
>  at org.apache.woden.internal.DOMWSDLReader.getDocument (
> DOMWSDLReader.java:735)
>  at org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java
> :245)
>  at org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java
> :122)
>  at org.apache.axis2.description.WSDL20ToAxisServiceBuilder .(
> WSDL20ToAxisServiceBuilder.java:145)
>  at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(
> CodeGenerationEngine.java:97)
>  ... 2 more
> Exception in thread "main"
>
> Your help is appreciated .
>
> Thanks ,
>
> Ashok
>
>
>



--
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/

http://www.w3.org/ns/wsdl"; xmlns:yahoosrch="urn:yahoo:srch" xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:whttp="http://www.w3.org/ns/wsdl/http"; xmlns:wsdlx="http://www.w3.org/ns/wsdl-extensions"; xmlns:ysearchtypes="http://wso2.org/ns/2007/yahoo/srch/types/"; xmlns:tns="http://wso2.org/ns/2007/yahoo/srch/"; targetNamespace="http://wso2.org/ns/2007/yahoo/srch/";>
	
		WSDL 2.0 description for Yahoo REST Search API.
	
	
		http://wso2.org/ns/2007/yahoo/srch/types/"; xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:tns="http://wso2.org/ns/2007/yahoo/srch/types/"; elementFormDefault="qualified" attributeFormDefault="unqualified">
			

	
		
		
		
		
		
		
		
		
		
		
	

			
			
			

	
	
	

			
			

	
	
	
	
	
	
	
	

			
			

			
		
		http://www.w3.org/2001/XMLSchema"; targetNamespace="urn:yahoo:srch" xmlns="urn:yahoo:srch" elementFormDefault="qualified">
			

	
		
	
	
	
	

			
			
			

	
	
	
	
	
	
	
	

			
			

	
	

			
		
	
	
		http://www.w3.org/ns/wsdl/in-out"; wsdlx:safe="true">
			
			
		
	
	http://www.w3.org/ns/wsdl/http"; whttp:version="1.1">
		
	
	
		http://search.yahooapis.com/WebSearchService/V1/webSearch"/>
	

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Axis2 byte[] transfer/serialization bug ?!

2007-07-23 Thread Georgi Yonchev
Hi,
i developing a web service, based on Axis2,
and the client side on gSOAP
and i have a serious problem,
Each call, return a complex type Result,
how contains a String, int & comples type ResultData (i try with Object
(anyType) but always get a null, only if i set the object like a String)
so the ResultData contains again String, int & byte[]
everything goes well, but when i set something bigger in byte[], the
serialization crashes.
i don't want to use MTOM ...
only works when the return type of a call is byte[], isn't complex type

here is a part of my wsdl:


















can you give me some help ..

Best Regards
George


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Content is not allowed in prolog Error in AXIS2 1.3 RC2

2007-07-23 Thread Hariharasudhan.D Dhakshinamoorthy

Ashok,

Your WSDL is not proper.

To make sure if your WSDL is proper you can try generating the SOAP Request
with http://soapui.org

Regards,
Hariharasudhan.D


On 7/24/07, Ashok Kumar Rajendran <[EMAIL PROTECTED]> wrote:


Hi all ,

I downloaded the latest AXIS2 1.3 RC2 form Axis2 repository. While running
the bundled  WSDL2Java to generate the Java stubs using WSDL 2.0 file i
got a exception saying Content is not allowed in prolog . I couldn't find
the flaw .  can any one guide me to fix this one .
 I hope the error is related to WSDL parser which is not able to parse
,the wsdl file which is  WSDL 2.0 based .

 I am  using JDK 1.4 in Win 2000

Heres the stack trace



[Fatal Error] :1:1: Content is not allowed in prolog.
org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL
 at org.apache.axis2.wsdl.codegen.CodeGenerationEngine .(
CodeGenerationEngine.java:153)
 at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
 at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)Woden[Fatal
Error],0:0,WSDL500,SAX Parsing error in document located at
file:/C:/SoNoMa/., org.xml.sax.SAXParseException:Content is not allowed in
prolog.

Caused by: WSDLException: faultCode=OTHER_ERROR: Fatal error.: Content is
not allowed in prolog.: org.xml.sax.SAXParseException: Content is not
allowed in prolog.
 at org.apache.xerces.parsers.DOMParser.parse (Unknown Source)
 at org.apache.woden.internal.DOMWSDLReader.getDocument(DOMWSDLReader.java
:724)
 at org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java
:245)
 at org.apache.woden.internal.DOMWSDLReader.readWSDL (DOMWSDLReader.java
:122)
 at org.apache.axis2.description.WSDL20ToAxisServiceBuilder.(
WSDL20ToAxisServiceBuilder.java:145)
 at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(
CodeGenerationEngine.java :97)
 at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
 at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)

 at org.apache.woden.internal.ErrorReporterImpl.reportError(
ErrorReporterImpl.java:236)
 at org.apache.woden.internal.ErrorReporterImpl.reportError(
ErrorReporterImpl.java:184)
 at org.apache.woden.internal.DOMWSDLReader.getDocument (
DOMWSDLReader.java:735)
 at org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java
:245)
 at org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java
:122)
 at org.apache.axis2.description.WSDL20ToAxisServiceBuilder .(
WSDL20ToAxisServiceBuilder.java:145)
 at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(
CodeGenerationEngine.java:97)
 ... 2 more
Exception in thread "main"

Your help is appreciated .

Thanks ,

Ashok





Re: Content is not allowed in prolog Error in AXIS2 1.3 RC2

2007-07-23 Thread keith chapman

Hi Ashok,

Can u upload your WSDL please so that we can have a look.

Thanks,
Keith.

On 7/24/07, Ashok Kumar Rajendran <[EMAIL PROTECTED]> wrote:


Hi all ,

I downloaded the latest AXIS2 1.3 RC2 form Axis2 repository. While running
the bundled  WSDL2Java to generate the Java stubs using WSDL 2.0 file i
got a exception saying Content is not allowed in prolog . I couldn't find
the flaw .  can any one guide me to fix this one .
 I hope the error is related to WSDL parser which is not able to parse
,the wsdl file which is  WSDL 2.0 based .

 I am  using JDK 1.4 in Win 2000

Heres the stack trace



[Fatal Error] :1:1: Content is not allowed in prolog.
org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL
 at org.apache.axis2.wsdl.codegen.CodeGenerationEngine .(
CodeGenerationEngine.java:153)
 at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
 at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)Woden[Fatal
Error],0:0,WSDL500,SAX Parsing error in document located at
file:/C:/SoNoMa/., org.xml.sax.SAXParseException:Content is not allowed in
prolog.

Caused by: WSDLException: faultCode=OTHER_ERROR: Fatal error.: Content is
not allowed in prolog.: org.xml.sax.SAXParseException: Content is not
allowed in prolog.
 at org.apache.xerces.parsers.DOMParser.parse (Unknown Source)
 at org.apache.woden.internal.DOMWSDLReader.getDocument(DOMWSDLReader.java
:724)
 at org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java
:245)
 at org.apache.woden.internal.DOMWSDLReader.readWSDL (DOMWSDLReader.java
:122)
 at org.apache.axis2.description.WSDL20ToAxisServiceBuilder.(
WSDL20ToAxisServiceBuilder.java:145)
 at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(
CodeGenerationEngine.java :97)
 at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
 at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)

 at org.apache.woden.internal.ErrorReporterImpl.reportError(
ErrorReporterImpl.java:236)
 at org.apache.woden.internal.ErrorReporterImpl.reportError(
ErrorReporterImpl.java:184)
 at org.apache.woden.internal.DOMWSDLReader.getDocument (
DOMWSDLReader.java:735)
 at org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java
:245)
 at org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java
:122)
 at org.apache.axis2.description.WSDL20ToAxisServiceBuilder .(
WSDL20ToAxisServiceBuilder.java:145)
 at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(
CodeGenerationEngine.java:97)
 ... 2 more
Exception in thread "main"

Your help is appreciated .

Thanks ,

Ashok







--
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/


Content is not allowed in prolog Error in AXIS2 1.3 RC2

2007-07-23 Thread Ashok Kumar Rajendran

Hi all ,

I downloaded the latest AXIS2 1.3 RC2 form Axis2 repository. While running
the bundled  WSDL2Java to generate the Java stubs using WSDL 2.0 file i got
a exception saying Content is not allowed in prolog . I couldn't find the
flaw .  can any one guide me to fix this one .
I hope the error is related to WSDL parser which is not able to parse ,the
wsdl file which is  WSDL 2.0 based .

I am  using JDK 1.4 in Win 2000

Heres the stack trace



[Fatal Error] :1:1: Content is not allowed in prolog.
org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(
CodeGenerationEngine.java:153)
at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)Woden[Fatal
Error],0:0,WSDL500,SAX Parsing error in document located at
file:/C:/SoNoMa/.,org.xml.sax.SAXParseException:Content is not allowed in
prolog.

Caused by: WSDLException: faultCode=OTHER_ERROR: Fatal error.: Content is
not allowed in prolog.: org.xml.sax.SAXParseException: Content is not
allowed in prolog.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.woden.internal.DOMWSDLReader.getDocument(DOMWSDLReader.java
:724)
at org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java:245)
at org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java:122)
at org.apache.axis2.description.WSDL20ToAxisServiceBuilder.(
WSDL20ToAxisServiceBuilder.java:145)
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(
CodeGenerationEngine.java:97)
at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)

at org.apache.woden.internal.ErrorReporterImpl.reportError(
ErrorReporterImpl.java:236)
at org.apache.woden.internal.ErrorReporterImpl.reportError(
ErrorReporterImpl.java:184)
at org.apache.woden.internal.DOMWSDLReader.getDocument(DOMWSDLReader.java
:735)
at org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java:245)
at org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java:122)
at org.apache.axis2.description.WSDL20ToAxisServiceBuilder.(
WSDL20ToAxisServiceBuilder.java:145)
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.(
CodeGenerationEngine.java:97)
... 2 more
Exception in thread "main"

Your help is appreciated .

Thanks ,

Ashok


RE: Axis2 - Invoking Rampart UsernameToken-service using client written in PHP

2007-07-23 Thread Dimuthu
Hi Jaskin,

You have to use HTTP POST request for SOAP. I have never used HTTP GET
for SOAP messages.

The other thing I noticed is the endpoint address. It should be
http://localhost:8081/axis2/services/sample03 

You have added an extra "?wsdl" to the message. This will return the
wsdl of the service. 

So remove the end "?wsdl" and try with the POST request.

Regards,
Dimuthu

http://wso2.org

On Tue, 2007-07-24 at 11:56 +0800, Jaskin wrote:
> Hi,
> The soap body/header is empty and the following is the extract from
> TCPMon.
> 
> Request:
> GET /axis2/services/sample03?wsdl HTTP/1.0
> Host: localhost:8081
> 
> And, response returns entire WSDL message.
> 
> On the other hand, fault/exception should be thrown if security header
> is empty or auth failed.
> 
> Thanks,
> Jaskin
> 
> 
> 
> 
> __
> > Subject: RE: Axis2 - Invoking Rampart UsernameToken-service using
> client written in PHP
> > From: [EMAIL PROTECTED]
> > To: axis-user@ws.apache.org
> > Date: Tue, 24 Jul 2007 07:27:22 +0530
> > 
> > Hi Jaskin,
> > 
> > 
> > > On TCPMon, the request is oddly empty but the response returns the
> > > wsdl message.
> > 
> > Does this mean the SOAP body is empty or security header is empty?
> > 
> > Regards,
> > Dimuthu
> > 
> > 
> > On Mon, 2007-07-23 at 21:02 +0800, Jaskin wrote:
> & gt; > Hi Dimuthu,
> > > Appreciate your reply on this matter.
> > > For your information, I am using sample03's service as a test
> case.
> > > Basically, I followed the sample guide by starting the sample03's
> > > service and run the sample03's client, which is running just fine.
> > > 
> > > But, when using client written in PHP to access sample03's
> service,
> > > the problems occured (as described in previous email) and I am
> agreed
> > > with you that failure should be thrown if auth failed or security
> > > header is not processed correctly.
> > > 
> > > On TCPMon, the request is oddly empty but the response returns the
> > > wsdl message.
> > > 
> > > 
> > > Thanks,
> > > Jaskin
> > > 
> > > 
> > > 
> > > > Subject: Re: Axis2 - Invoking Rampart UsernameToken-service
> using
> > > client written in PHP
> > > > Fro m: [EMAIL PROTECTED]
> > > > To: axis-user@ws.apache.org
> > > > Date: Mon, 23 Jul 2007 14:05:09 +0530
> > > > 
> > > > Hi Jaskin,
> > > > 
> > > > Can u please check whether the UsernameToken is included in the
> > > > SecurityHeader by looking at the message on the wire. You can
> use
> > > the
> > > > TCPMonitor[1] to do this.
> > > > 
> > > > Security Header is a "Must Understand" header. I think if it is
> not
> > > > processed properly a "Must Understand" failure must be thrown
> > > without
> > > > invoking the service.
> > > > 
> > > > But also check whether you have configured the service properly.
> > > Have
> > > > you engaged rampart at the server side by editing the
> services.xml
> > > file.
> > > > Please have a look at sample03/services.xml
> > > > 
> > > > I t has engaged rampart using  element
> and
> > > > specified security items.
> > > > 
> > > > Regards,
> > > > Dimuthu
> > > > 
> > > > [1]http://ws.apache.org/commons/tcpmon/
> > > > 
> > > > On Mon, 2007-07-23 at 15:40 +0800, Jaskin wrote:
> > > > > Hi,
> > > > > I am trying out UsernameToken (plain text) authentication with
> > > > > Axis2-Rampart.
> > > > > However, I am encountered some issue on the CallbackHandler
> when
> > > > > in voking the service (Rampart’s sample03).
> > > > > 
> > > > > - The handle() method is not execute at all when invoking the
> > > service
> > > > > using client written in PHP
> > > > > 
> > > > > - This has caused the service to be invoked although the user
> > > > > name/password is inc orrect.
> > > > > 
> > > > > On the other hand, the client sample03 provided able to
> > > authenticate
> > > > > correctly.
> > > > > Appreciate any help/info from you guys.
> > > > > 
> > > > > Thanks,
> > > > > Jaskin
> > > > > 
> > > > > 
> > > > > 
> > > > >
> > >
> __
> > > > > Get 2GB of storage space with the new Windows Live Hotmail.
> Get it
> > > > > now!
> > > > 
> > > > 
> > > >
> > >
> -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED] he.org
> > > > 
> > > 
> > > 
> > > ___
> ___
> > > Get 2GB of storage space with the new Windows Live Hotmail. Get it
> > > now!
> > 
> > 
> >
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> __
> Windows Live Spaces is here! It’s easy to create your own personal Web
> site. Check it out!


-

Re: Getting Error on wsdl2java generation

2007-07-23 Thread Deepal Jayasinghe
Please send as the wsdl.

Thank
Deepal

DSL wrote:
> Hello all,
>
> I am getting an error on the wsdl2java generation of my wsdl:
>
> [axis-wsdl2java] Running Wsdl2javaAntTask with parameters:
> [axis-wsdl2java]verbose:true
> [axis-wsdl2java]debug:false
> [axis-wsdl2java]quiet:false
> [axis-wsdl2java]server-side:true
> [axis-wsdl2java]skeletonDeploy:false
> [axis-wsdl2java]helperGen:false
> [axis-wsdl2java]factory:null
> [axis-wsdl2java]nsIncludes:[]
> [axis-wsdl2java]nsExcludes:[]
> [axis-wsdl2java]factoryProps:[]
> [axis-wsdl2java]testCase:false
> [axis-wsdl2java]noImports:false
> [axis-wsdl2java]NStoPkg:{}
> [axis-wsdl2java]
> output:/Users/dlaprade/workspace/ContentService/server/target/generated-sources/src/main/java
>
> [axis-wsdl2java]protocolHandlerPkgs:
> [axis-wsdl2java]deployScope:Application
> [axis-wsdl2java]
> URL:/Users/dlaprade/workspace/ContentService/server/src/main/resources/contentservice.wsdl
>
> [axis-wsdl2java]all:false
> [axis-wsdl2java]typeMappingVersion:1.2
> [axis-wsdl2java]timeout:45000
> [axis-wsdl2java]failOnNetworkErrors:false
> [axis-wsdl2java]printStackTraceOnFailure:true
> [axis-wsdl2java]namespaceMappingFile:null
> [axis-wsdl2java]username:null
> [axis-wsdl2java]:passwordnull
> [axis-wsdl2java]:noWrappedfalse
> [axis-wsdl2java]:allowInvalidURLfalse
> [axis-wsdl2java]:implementationClassNamenull
> [axis-wsdl2java]:classpathnull
> [axis-wsdl2java]http.proxyHost=null
> [axis-wsdl2java]http.proxyPort=null
> [axis-wsdl2java]http.proxyUser=null
> [axis-wsdl2java]http.proxyPassword=null
> [axis-wsdl2java]socks.proxyHost=null
> [axis-wsdl2java]socks.proxyPort=null
> java.lang.NullPointerException
>at
> org.apache.axis.wsdl.toJava.JavaBeanHelperWriter.getAsFieldName(JavaBeanHelperWriter.java:435)
>
>at
> org.apache.axis.wsdl.toJava.JavaBeanHelperWriter.writeMetaData(JavaBeanHelperWriter.java:325)
>
>at
> org.apache.axis.wsdl.toJava.JavaBeanHelperWriter.writeFileBody(JavaBeanHelperWriter.java:183)
>
>at
> org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:127)
>at
> org.apache.axis.wsdl.toJava.JavaBeanWriter.writeFileBody(JavaBeanWriter.java:257)
>
>at
> org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:127)
>at
> org.apache.axis.wsdl.toJava.JavaBeanWriter.generate(JavaBeanWriter.java:1405)
>
>at
> org.apache.axis.wsdl.toJava.JavaTypeWriter.generate(JavaTypeWriter.java:113)
>
>at
> org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(JavaGeneratorFactory.java:421)
>
>at org.apache.axis.wsdl.gen.Parser.generateTypes(Parser.java:547)
>at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:432)
>at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:45)
>at
> org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:362)
>at java.lang.Thread.run(Thread.java:613)
>
> I have attached my wsdl/xsds for review
>
> All help is appreciated,
> Danny
> 
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Thanks,
Deepal

"The highest tower is built one brick at a time"



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Jar version changes between Axis2 1.2 and Axis2 1.3RC2

2007-07-23 Thread Deepal Jayasinghe
I think this has happen when we move from maven1 to maven2 , we really
need to address this before 1.3 release.

Thanks
Deepal
>
> Hi Guys,
>
> Doing a quick compare of axis2-1.2.zip and axis2-1.3RC2-bin.zip
> download lib directory jar files.
>
> http://ws.apache.org/axis2/download.cgi
>
> You have gone from
>
> xercesImpl-2.8.1.jar back to xercesImpl-2.6.2.jar
>
> commons-io-1.2.jar back to commons-io-1.1.jar
>
> You have included log4j-1.2.13.jar, the latest is 1.2.14
>
> http://logging.apache.org/log4j/docs/download.html
>
>
> <> <>
> regards
>
> */Alick Buckley/*
>
> LANSA Research and Development
> LANSA Pty Ltd
>
> Phone: +61289070243
>
> _http://www.lansa.com_
> _mailto:[EMAIL PROTECTED]
>
>
>
>
> 
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Thanks,
Deepal

"The highest tower is built one brick at a time"



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Axis2 - Invoking Rampart UsernameToken-service using client written in PHP

2007-07-23 Thread Jaskin
Hi,The soap body/header is empty and the following is the extract from 
TCPMon.Request:GET /axis2/services/sample03?wsdl HTTP/1.0Host: 
localhost:8081And, response returns entire WSDL message.On the other hand, 
fault/exception should be thrown if security header is empty or auth 
failed.Thanks,Jaskin> Subject: RE: Axis2 - Invoking Rampart 
UsernameToken-service using clientwritten in PHP> From: [EMAIL PROTECTED]> 
To: axis-user@ws.apache.org> Date: Tue, 24 Jul 2007 07:27:22 +0530> > Hi 
Jaskin,> > > > On TCPMon, the request is oddly empty but the response returns 
the> > wsdl message.> > Does this mean the SOAP body is empty or security 
header is empty?> > Regards,> Dimuthu> > > On Mon, 2007-07-23 at 21:02 +0800, 
Jaskin wrote:> > Hi Dimuthu,> > Appreciate your reply on this matter.> > For 
your information, I am using sample03's service as a test case.> > Basically, I 
followed the sample guide by starting the sample03's> > service and run the 
sample03's client, which is running ju
 st fine.> > > > But, when using client written in PHP to access sample03's 
service,> > the problems occured (as described in previous email) and I am 
agreed> > with you that failure should be thrown if auth failed or security> > 
header is not processed correctly.> > > > On TCPMon, the request is oddly empty 
but the response returns the> > wsdl message.> > > > > > Thanks,> > Jaskin> > > 
> > > > > > Subject: Re: Axis2 - Invoking Rampart UsernameToken-service using> 
> client written in PHP> > > From: [EMAIL PROTECTED]> > > To: 
axis-user@ws.apache.org> > > Date: Mon, 23 Jul 2007 14:05:09 +0530> > > > > > 
Hi Jaskin,> > > > > > Can u please check whether the UsernameToken is included 
in the> > > SecurityHeader by looking at the message on the wire. You can use> 
> the> > > TCPMonitor[1] to do this.> > > > > > Security Header is a "Must 
Understand" header. I think if it is not> > > processed properly a "Must 
Understand" failure must be thrown> > without> > > invoking the service.>
  > > > > > But also check whether you have configured the service properly.> > 
Have> > > you engaged rampart at the server side by editing the services.xml> > 
file.> > > Please have a look at sample03/services.xml> > > > > > It has 
engaged rampart using  element and> > > specified 
security items.> > > > > > Regards,> > > Dimuthu> > > > > > 
[1]http://ws.apache.org/commons/tcpmon/> > > > > > On Mon, 2007-07-23 at 15:40 
+0800, Jaskin wrote:> > > > Hi,> > > > I am trying out UsernameToken (plain 
text) authentication with> > > > Axis2-Rampart.> > > > However, I am 
encountered some issue on the CallbackHandler when> > > > in voking the service 
(Rampart’s sample03).> > > > > > > > - The handle() method is not execute at 
all when invoking the> > service> > > > using client written in PHP> > > > > > 
> > - This has caused the service to be invoked although the user> > > > 
name/password is incorrect.> > > > > > > > On the other hand, the client 
sample03 provided
  able to> > authenticate> > > > correctly.> > > > Appreciate any help/info 
from you guys.> > > > > > > > Thanks,> > > > Jaskin> > > > > > > > > > > > > > 
> >> > __> 
> > > Get 2GB of storage space with the new Windows Live Hotmail. Get it> > > > 
now!> > > > > > > > >> > 
-> > > To 
unsubscribe, e-mail: [EMAIL PROTECTED]> > > For additional commands, e-mail: 
[EMAIL PROTECTED] he.org> > > > > > > > > 
__> > Get 
2GB of storage space with the new Windows Live Hotmail. Get it> > now!> > > 
-> To 
unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: [EMAIL 
PROTECTED]> 
_
Windows Live Spaces is here! It’s easy to create your own personal Web site. 
http://spaces.live.com/?mkt=en-my

Re: NullPointer Exception on HTTPClient issue

2007-07-23 Thread keith chapman

Can you send the StackTrace Please.

Thanks,
Keith.


On 7/24/07, Sunny44 <[EMAIL PROTECTED]> wrote:



I have Async Web service that does not have any response.

1> I created the ADB Data binding classes
2> I have created the Client using Async procedure (Eclipse Plugin did
that
for me).
3< Regenerated AD classes to have defaultForm***="qualified" on wSDL and
XSD

When i call Service it throws NullPointerException on Execute method of
HTTPClient.

PLEASE Help me on this; I thought this should be simple but i couldn't
find
solution for this.

Is anyone has done Aync Web client creation and used it
--
View this message in context:
http://www.nabble.com/NullPointer-Exception-on-HTTPClient-issue-tf4133013.html#a11754567
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/


Re: AXIS2: SAML example using Rahas

2007-07-23 Thread Dimuthu
Hi Nagi,

A new sample was added to the current trunk under development[1].

Some documentation about the STS is available here[2].

All these will come out with the next release.

Regards,
Dimuthu

[1]https://svn.apache.org/repos/asf/webservices/rampart/trunk/java/modules/rampart-samples/policy/sample05/
[2]http://ws.apache.org/rampart/quick-start.html


On Mon, 2007-07-23 at 22:49 -0400, Par Nagi wrote:
> Hi,
> 
> I have seen a few posts/requests for SAML example(s) using Rahas. I
> haven't seen anything concrete as responses - mostly along the lines
> that code is documentation.
> 
> Does anyone have a simple example that illustrates how to use Rahas to
> have uid/pwd or other credentials mapped to SAML tokens that can then
> be passed to a Service?
> 
> Also, does Rahas have support to map SAML tokens to JAAS subjects
> within an App server? If it doesn't any suggestions?
> 
> Appreciate any information.
> 
> - Nagi
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AXIS2: SAML example using Rahas

2007-07-23 Thread Par Nagi

Hi,

I have seen a few posts/requests for SAML example(s) using Rahas. I
haven't seen anything concrete as responses - mostly along the lines
that code is documentation.

Does anyone have a simple example that illustrates how to use Rahas to
have uid/pwd or other credentials mapped to SAML tokens that can then
be passed to a Service?

Also, does Rahas have support to map SAML tokens to JAAS subjects
within an App server? If it doesn't any suggestions?

Appreciate any information.

- Nagi

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Axis2 - Invoking Rampart UsernameToken-service using client written in PHP

2007-07-23 Thread Dimuthu
Hi Jaskin,


> On TCPMon, the request is oddly empty but the response returns the
> wsdl message.

Does this mean the SOAP body is empty or security header is empty?

Regards,
Dimuthu


On Mon, 2007-07-23 at 21:02 +0800, Jaskin wrote:
> Hi Dimuthu,
> Appreciate your reply on this matter.
> For your information, I am using sample03's service as a test case.
> Basically, I followed the sample guide by starting the sample03's
> service and run the sample03's client, which is running just fine.
> 
> But, when using client written in PHP to access sample03's service,
> the problems occured (as described in previous email) and I am agreed
> with you that failure should be thrown if auth failed or security
> header is not processed correctly.
> 
> On TCPMon, the request is oddly empty but the response returns the
> wsdl message.
> 
> 
> Thanks,
> Jaskin
> 
> 
> 
> > Subject: Re: Axis2 - Invoking Rampart UsernameToken-service using
> client written in PHP
> > From: [EMAIL PROTECTED]
> > To: axis-user@ws.apache.org
> > Date: Mon, 23 Jul 2007 14:05:09 +0530
> > 
> > Hi Jaskin,
> > 
> > Can u please check whether the UsernameToken is included in the
> > SecurityHeader by looking at the message on the wire. You can use
> the
> > TCPMonitor[1] to do this.
> > 
> > Security Header is a "Must Understand" header. I think if it is not
> > processed properly a "Must Understand" failure must be thrown
> without
> > invoking the service.
> > 
> > But also check whether you have configured the service properly.
> Have
> > you engaged rampart at the server side by editing the services.xml
> file.
> > Please have a look at sample03/services.xml
> > 
> > It has engaged rampart using  element and
> > specified security items.
> > 
> > Regards,
> > Dimuthu
> > 
> > [1]http://ws.apache.org/commons/tcpmon/
> > 
> > On Mon, 2007-07-23 at 15:40 +0800, Jaskin wrote:
> > > Hi,
> > > I am trying out UsernameToken (plain text) authentication with
> > > Axis2-Rampart.
> > > However, I am encountered some issue on the CallbackHandler when
> > > in voking the service (Rampart’s sample03).
> > > 
> > > - The handle() method is not execute at all when invoking the
> service
> > > using client written in PHP
> > > 
> > > - This has caused the service to be invoked although the user
> > > name/password is incorrect.
> > > 
> > > On the other hand, the client sample03 provided able to
> authenticate
> > > correctly.
> > > Appreciate any help/info from you guys.
> > > 
> > > Thanks,
> > > Jaskin
> > > 
> > > 
> > > 
> > >
> __
> > > Get 2GB of storage space with the new Windows Live Hotmail. Get it
> > > now!
> > 
> > 
> >
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED] he.org
> > 
> 
> 
> __
> Get 2GB of storage space with the new Windows Live Hotmail. Get it
> now!


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [AXIS] SOAPConnectionImpl timeout

2007-07-23 Thread Jack Sprat
Can someone answer this question?  My guess is milliseconds but I just want to 
be sure.  The documentation is very thin.  This seems like it would be a 
*really* easy question to answer for anyone who contributred to Axis 1..4

Thanks,
T


Jack Sprat <[EMAIL PROTECTED]> wrote: Can anyone answer this question??  I 
thought this would be a really easy one.

Thanks,
T


Jack Sprat <[EMAIL PROTECTED]> wrote: 
What does the integer value for the setTimeout method represent in the 
SOAPConnectionImpl class in Axis 1.4?  Is it milliseconds, seconds?  The 
JavaDoc says only:

set the timeout value

Not too helpful...

Thanks,
T





   
-
Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, 
when. 

Re: rpc-encoded vs rpc-literal vs document-literal migrate Axis1.4 wsdl (rpc-encoded) to Axis2 doc-lit

2007-07-23 Thread david
Hello Ann, thanks for the WSDL editor recommendations. I have only one more 
question about the WSDL you graciously repaired after my bungled attempt to 
translate the document. Your WSDL generated perfect (dot).java and now I have 
the service deployed via Axis2 webapp running under Tomcat. The question is: 
could a .NET client using the  WSDL use the migrated WSDLs service? I 
don't have Visual Studio and I am not sure if I am a .NET programmer otherwise 
I would try to create a client to test the hypothesis. Please advise, David.

Anne Thomas Manes wrote ..
> Commerical products:
> xmlspy: http://www.altova.com/products/xmlspy/graphical_wsdl_editor.html
> : http://www.oxygenxml.com/wsdl_editor.html
> Stylus Studio: http://www.stylusstudio.com/webservices/wsdl_editor.html
> 
> I can also send you Cape Clear's free SOA Editor tool (no longer
> available from Cape Clear, but I have permission to distribute it.)
> 
> Anne
> 
> On 7/21/07, david <[EMAIL PROTECTED]> wrote:
> > Hello Anne, currently I am using the Eclipse plugin XML/WSDL editor.
> There are so many XML and WSDL editors out there it is bewildering. Please
> reply with an editor albeit commercial, free or criminal and I will get
> to work on the problems cited by you and Chris. Please advise, David.
> >
> > Anne Thomas Manes wrote ..
> > > Actually, you made a lot more mistakes than the ones Chris cited. You
> > > had numerous namespace issues; you didn't name the getversion and
> > > getversionResponse types; you didn't follow the convention of giving
> > > your input elements the same name as your operation; you didn't change
> > > your message parts properly; you didn't remove the namespace
> > > attributes from the  definitions; etc. You might want to
> > > get yourself a WSDL editor with a validation option to help you in
> the
> > > future.
> > >
> > > Here's a revised WSDL that validates:
> > >
> > > http://service.myremote.my";
> > >xmlns:type="http://service.myremote.my/type";
> > >xmlns:http="http://schemas.xmlsoap.org/wsdl/http/";
> > >xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
> > >xmlns:xs="http://www.w3.org/2001/XMLSchema";
> > >xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/";
> > >xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
> > >xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/";
> > >targetNamespace="http://service.myremote.my";>
> > >  
> > > > >  elementFormDefault='qualified'>
> > >
> > >  
> > >  
> > >
> > >
> > >
> > >
> > >
> > >  
> > >  
> > >  
> > >
> > >
> > >
> > >
> > >  
> > >  
> > >  
> > >
> > >
> > >  
> > >  
> > >  
> > >
> > >
> > >
> > >  
> > >
> > >  
> > >  
> > >
> > >  
> > >  
> > >
> > >  
> > >  
> > >
> > >  
> > >  
> > >
> > >  
> > >  
> > >
> > >  
> > >  
> > >
> > >
> > >  
> > >  
> > >
> > >  
> > >   >
> > > > > transport='http://schemas.xmlsoap.org/soap/http' />
> > >
> > >   > > soapAction='http://service.myremote.my/action/MyRemote.Transact' />
> > >  
> > >
> > >  
> > >  
> > >
> > >  
> > >
> > >
> > >   > > soapAction='http://service.myremote.my/action/MyRemote.getversion'
> />
> > >  
> > >
> > >  
> > >  
> > >
> > >  
> > >
> > >  
> > >  
> > > > > >
> > >   > > location='http://localhost:8080/axis/services/MyRemote.wsdl' />
> > >
> > >  
> > > 
> > >
> > > On 7/20/07, Ebert, Chris <[EMAIL PROTECTED]> wrote:
> > > > Two things:
> > > > 1) You've mixed single and double quotes around the name of your
> first
> > > > type.
> > > > 2) The type definitions should go inside the   tags.
> > > >
> > > > Chris
> > > >
> > > > -Original Message-
> > > > From: david [mailto:[EMAIL PROTECTED]
> > > > Sent: Friday, July 20, 2007 15:54
> > > > To: axis-user@ws.apache.org
> > > > Subject: Re: rpc-encoded vs rpc-literal vs document-literal migrate
> > > > Axis1.4 wsdl (rpc-encoded) to Axis2 doc-lit
> > > >
> > > > Hello Ann, thanks for the speedy reply. I see you working another
> user
> > > > who is also trying to migrate an Axis1.4 WS to Axis2. I have an Axis1.4
> > > > WS that is running OK as hinted at in my previous communication to
> the
> > > > ML. I hand-converted the .wsdl with great tedium as you predicted.
> > > > Notwithstanding the WSDL2JAVA tool (Eclipse/Axis plugin) bails before
> > > > processing the .wsdl with the following error condition:
> > > >
> > > > Specified WSDL is invalid!
> > > >
> > > > I have included both WSDLs: the original source WSDL running under
> > > > Asix1.4. And, the hand-edited WSDL that errors-out under the WSDL2JAVA
> > > > tool. Thanks in advance and please advise, David.
> > > >
> > > >
> > > >  SOURCE WSDL

Jar version changes between Axis2 1.2 and Axis2 1.3RC2

2007-07-23 Thread Alick Buckley

Hi Guys,

Doing a quick compare of axis2-1.2.zip and axis2-1.3RC2-bin.zip download lib
directory jar files.

http://ws.apache.org/axis2/download.cgi

You have gone from

xercesImpl-2.8.1.jar back to xercesImpl-2.6.2.jar

commons-io-1.2.jar back to commons-io-1.1.jar

You have included log4j-1.2.13.jar, the latest is 1.2.14

http://logging.apache.org/log4j/docs/download.html


 <>  <> 
regards

> Alick Buckley
> 
> LANSA Research and Development
> LANSA Pty Ltd
> 
> Phone: +61289070243
> 
> http://www.lansa.com
> mailto:[EMAIL PROTECTED]
> 
> 
> 
> 
16/08/2006  11:06a  62,983 activation-1.1.jar
06/07/2007  10:49a  91,536 activemq-core-4.1.1.jar
20/11/2006  11:15a 248,639 annogen-0.1.0.jar
20/07/2007  12:18p 137,947 axiom-api-SNAPSHOT.jar
20/07/2007  12:18p 144,287 axiom-dom-SNAPSHOT.jar
20/07/2007  12:18p 114,238 axiom-impl-SNAPSHOT.jar
20/07/2007  04:21p 152,819 axis2-adb-1.3-RC2.jar
20/07/2007  04:23p 133,086 axis2-adb-codegen-1.3-RC2.jar
20/07/2007  04:21p 196,651 axis2-codegen-1.3-RC2.jar
20/07/2007  04:23p  62,655 axis2-fastinfoset-1.3-RC2.jar
20/07/2007  04:23p  24,537 axis2-java2wsdl-1.3-RC2.jar
20/07/2007  04:26p  17,340 axis2-jaxbri-1.3-RC2.jar
20/07/2007  04:25p 441,415 axis2-jaxws-1.3-RC2.jar
20/07/2007  04:23p  28,952 axis2-jaxws-api-1.3-RC2.jar
20/07/2007  04:23p  30,745 axis2-jibx-1.3-RC2.jar
20/07/2007  04:25p  12,116 axis2-json-1.3-RC2.jar
20/07/2007  04:21p   1,090,356 axis2-kernel-1.3-RC2.jar
20/07/2007  04:24p 574,146 axis2-metadata-1.3-RC2.jar
20/07/2007  04:24p  80,166 axis2-saaj-1.3-RC2.jar
20/07/2007  04:23p  26,104 axis2-saaj-api-1.3-RC2.jar
20/07/2007  04:26p   6,747 axis2-spring-1.3-RC2.jar
20/07/2007  04:25p  21,584 axis2-xmlbeans-1.3-RC2.jar
22/12/2006  02:43p 326,319 backport-util-concurrent-2.2.jar
20/11/2006  10:44a  46,725 commons-codec-1.3.jar
10/02/2007  11:31a  31,909 commons-fileupload-1.1.1.jar
29/01/2007  02:56p 279,781 commons-httpclient-3.0.1.jar
10/02/2007  11:32a  61,562 commons-io-1.1.jar
22/12/2006  02:15p  52,915 commons-logging-1.1.jar
25/04/2007  01:56p  31,989 geronimo-jms_1.1_spec-1.1.jar
05/07/2007  02:41p 139,211 httpcore-4.0-alpha5.jar
05/07/2007  02:40p 122,475 httpcore-nio-4.0-alpha5.jar
05/07/2007  02:40p  19,198 httpcore-niossl-4.0-alpha5.jar
20/07/2007  01:20p   1,335,669 jalopy-1.5rc3.jar
20/11/2006  10:44a  73,081 jaxb-api-2.0.jar
05/07/2007  05:00p 787,619 jaxb-impl-2.0.5.jar
05/07/2007  05:02p   2,989,016 jaxb-xjc-2.0.5.jar
05/07/2007  02:36p 226,915 jaxen-1.1.1.jar
25/04/2007  01:59p  54,169 jettison-1.0-RC1.jar
06/07/2007  10:28a 331,438 jibx-bind-1.1.5.jar
06/07/2007  11:09a 105,231 jibx-run-1.1.5.jar
12/02/2007  12:09p 358,180 log4j-1.2.13.jar
16/08/2006  11:08a 388,864 mail-1.4.jar
20/07/2007  12:19p  30,597 neethi-SNAPSHOT.jar
20/11/2006  10:44a  77,977 servlet-api-2.3.jar
16/08/2006  11:05a  26,514 stax-api-1.0.1.jar
20/07/2007  12:35p 350,593 woden-1.0-incubating-SNAPSHOT.jar
22/12/2006  02:13p 148,429 wsdl4j-1.6.2.jar
25/04/2007  01:55p 505,825 wstx-asl-3.2.1.jar
20/11/2006  11:23a   2,730,442 xalan-2.7.0.jar
22/12/2006  02:40p   2,664,574 xbean-2.2.0.jar
16/08/2006  11:08a   1,010,675 xercesImpl-2.6.2.jar
16/08/2006  11:06a 195,119 xml-apis-1.3.03.jar
20/07/2007  12:19p 135,713 XmlSchema-SNAPSHOT.jar
27/04/2007  04:36p  62,983 activation-1.1.jar
27/04/2007  04:36p 248,639 annogen-0.1.0.jar
27/04/2007  04:36p 135,199 axiom-api-1.2.4.jar
27/04/2007  04:36p 142,349 axiom-dom-1.2.4.jar
27/04/2007  04:36p 113,690 axiom-impl-1.2.4.jar
27/04/2007  04:36p 152,773 axis2-adb-1.2.jar
27/04/2007  04:36p 125,872 axis2-adb-codegen-1.2.jar
27/04/2007  04:36p 190,698 axis2-codegen-1.2.jar
27/04/2007  04:36p   5,054 axis2-fastinfoset-1.2.jar
27/04/2007  04:36p  60,187 axis2-java2wsdl-1.2.jar
27/04/2007  04:36p  10,222 axis2-jaxbri-1.2.jar
27/04/2007  04:36p 392,276 axis2-jaxws-1.2.jar
27/04/2007  04:36p  42,285 axis2-jaxws-api-1.2.jar
27/04/2007  04:36p  31,969 axis2-jibx-1.2.jar
27/04/2007  04:36p  14,971 axis2-json-1.2.jar
27/04/2007  04:36p 933,254 axis2-kernel-1.2.jar
27/04/2007  04:36p 258,022 axis2-metadata-1.2.jar
27/04/2007  04:36p  81,140 axis2-saaj-1.2.jar
27/04/2007  04:36p  29,367 axis2-saaj-api-1.2.ja

NullPointer Exception on HTTPClient issue

2007-07-23 Thread Sunny44

I have Async Web service that does not have any response.

1> I created the ADB Data binding classes
2> I have created the Client using Async procedure (Eclipse Plugin did that
for me).
3< Regenerated AD classes to have defaultForm***="qualified" on wSDL and XSD

When i call Service it throws NullPointerException on Execute method of
HTTPClient.

PLEASE Help me on this; I thought this should be simple but i couldn't find
solution for this.

Is anyone has done Aync Web client creation and used it
-- 
View this message in context: 
http://www.nabble.com/NullPointer-Exception-on-HTTPClient-issue-tf4133013.html#a11754567
Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Axis2 service archiver plugin for Eclipse

2007-07-23 Thread carles massalle

Thanks Lahiru,

now it works!

I didn't know that's tutorial. It has been very useful for me.

carles

On 7/23/07, Lahiru Sandakith <[EMAIL PROTECTED]> wrote:

Hi Chrles,

In order to generate the service from the SampleService using the eclipse
service archive we need to supply the dependent libraries of the
SampleService to the Eclipse Service Archiver at the Step 4  (
http://ws.apache.org/axis2/tools/1_2/eclipse/servicearchiver-plugin.html)

Please try adding the

stax-api-1.0.1.jar
axiom-dom-1.2.4.jar
axiom-api.1.2.4.jar
axiom-impl-1.2.4.jar

libraries in the setp 4

HTH

Thanks

Lahiru


On 7/22/07, carles massalle <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I'm a newbie with Axis2.
>
> I tried to do the example sayHello to understand how to use axiom
>
(http://ws.apache.org/axis2/1_2/userguide-buildingservices.html#getcomfortable).
>
>
> package ws.carles;  //I use my own package
>
> import javax.xml.stream.XMLStreamException;
> import org.apache.axiom.om.OMAbstractFactory;
> import org.apache.axiom.om.OMElement;
> import org.apache.axiom.om.OMFactory;
> import org.apache.axiom.om.OMNamespace ;
>
> public class SampleService {
>
> public OMElement sayHello(OMElement element)
>  throws XMLStreamException {
> element.build();
> element.detach();
>
> String rootName = element.getLocalName();
> System.out.println("Reading "+rootName+" element");
>
> OMElement childElement = element.getFirstElement();
> String personToGreet = childElement.getText();
>
> OMFactory fac = OMAbstractFactory.getOMFactory();
> OMNamespace omNs = fac.createOMNamespace(
> "http://example1.org/example1 ", "example1");
> OMElement method = fac.createOMElement("sayHelloResponse",
> omNs);
> OMElement value = fac.createOMElement("greeting", omNs);
>  value.addChild(fac.createOMText(value, "Hello,
> "+personToGreet));
> method.addChild(value);
>
> return method;
> }
>
>  private void ping(){
>  }
>
> }
>
>
>
> I work with Eclipse 3.3 with axis2 plugins.
>
> When I try to create the ".aar" file with the Axis2 service archiver
> plugin immediately I get the  error message:
>
> "An error has occurred. See log for more details.
> Reason: org/apache/axiom/om/OMContainer"
>
> and the log file shows:
>
> !ENTRY org.eclipse.jface 4 2 2007-07-22 10:52:24.109
> !MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.jface ".
> !STACK 0
> java.lang.NoClassDefFoundError: org/apache/axiom/om/OMContainer
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
> at
org.apache.axis2.tool.service.eclipse.ui.ServiceXMLGenerationPage.updateTable
(Unknown
> Source)
> at
org.apache.axis2.tool.service.eclipse.ui.ServiceXMLGenerationPage.createControl(Unknown
> Source)
> at
org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:170)
> at
org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:669)
> at
org.eclipse.jface.wizard.WizardDialog.setWizard(WizardDialog.java:1083)
> at
org.eclipse.jface.wizard.WizardDialog.updateForPage
(WizardDialog.java:1142)
> at
org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1139)
> at
org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.java:1128)
> at org.eclipse.swt.custom.BusyIndicator.showWhile
(BusyIndicator.java:67)
> at
org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1126)
> at
org.eclipse.ui.internal.dialogs.NewWizardSelectionPage.advanceToNextPageOrFinish(NewWizardSelectionPage.java
:71)
> at
org.eclipse.ui.internal.dialogs.NewWizardNewPage$1.doubleClick(NewWizardNewPage.java:355)
> at
org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:799)
> at org.eclipse.core.runtime.SafeRunner.run
(SafeRunner.java:37)
> at
org.eclipse.core.runtime.Platform.run(Platform.java:857)
> at
org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
> at
org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java
:193)
> at
org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:797)
> at
org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1384)
> at
org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1173)
> at
org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:237)
> at org.eclipse.jface.util.OpenStrategy.access$0
(OpenStrategy.java:234)
> at
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:295)
> at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
> at org.eclipse.swt.widgets.Widget.sendEvent
(Widget.java:938)
>  

Re: [ANN][Axis2] Axis2 1.3-RC2 release

2007-07-23 Thread Glen Daniels

Hi Michele:

As it explains in the JavaDoc, onMessage(msgContext) is called every 
time a NON-FAULT message is received.  So if you had a custom OUT-IN-IN 
MEP, that method would usually be called twice.  The onComplete() method 
is *always* called at the end of an MEP, regardless of the outcome.  So 
for a standard OUT-IN MEP, you will get exactly one of [onMessage(), 
onFault(), onError()] followed by onComplete().


If this wasn't made clear by the JavaDoc, let us know so we can attempt 
to improve it.


Thanks,
--Glen

Michele Mazzucco wrote:

oops... the two methods are actually onMessage() and onComplete() [1]

Michele


[1] http://www.nabble.com/switch-from-Callback-AxisCallback-%
28with-problems%29-tf4118188.html

On Sun, 2007-07-22 at 21:45 -0400, Eran Chinthaka wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Michele Mazzucco wrote:

Deepal,

when shall I use AxisCallback.onMessage() instead of
AxisCallback.onMessage(MessageContext msgContext)?

Do we have two methods? I can see only the latter now.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGpAhAjON2uBzUhh8RAk1cAKCq26aS2LRlX+A0nzIzXg6oCJD+7gCfVTDd
Bl6NXMyMMXVpWjgGWbhQEW0=
=UTZs
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Web Services: Axis -> C# :: AuthenticationException

2007-07-23 Thread Srinivasa Rao K
Hi,
   
  I have extracted certificate ".der" (its not allowing ".cer") file by using 
IBM ikeyman tool.
C:\Program 
Files\IBM\irRational\SDP\6.0\runtimes\base_v51\etc\DummyServerTrustFile.JKS 
file is used as input file for the too. ( RAD6 ) 
   
   C# client for Version Service which is on WebSphere.
   
   X509Certificate x509 = X509Certificate.CreateFromCertFile
  (@"C:\downloads\CSharpTest\certificates\cert.der");
 Project2.version.VersionService Ver = new Project2.Version.VersionService();
   Ver.ClientCertificates.Add(x509);  
 Ver.Credentials = new System.Net.NetworkCredential("", "*"); 
 string version = Ver.getVersion(); 
 
I am getting the below error. 
 
Unhandled Exception: System.Net.WebException: The underlying connection was clos
ed: Could not establish trust relationship for the SSL/TLS secure channel. --->
System.Security.Authentication.AuthenticationException: The remote certificate i
s invalid according to the validation procedure. 

Thanks,
Srini

   
-
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.

Re: Too many open files

2007-07-23 Thread Michele Mazzucco

Chathura,

thanks for your advice, but HTTP 1.1 uses keep alive by default.

Michele

On 23 Jul 2007, at 16:57, Chathura Herath wrote:


If the same client is making multiple requests you could try to use
HTTP keep alive so sockets would be reused. I had a similar problem in
a totally different software and this trick worked, just an idea.
Chathura


On 7/20/07, Davanum Srinivas <[EMAIL PROTECTED]> wrote:

Michele,

My 2 cents, update to RC2, Any issues, we will try to fix by Final.
How does that sound?

thanks,
dims

On 7/20/07, Michele Mazzucco <[EMAIL PROTECTED]> wrote:
> Hi all,
>
>
> I'm still using Axis2 1.1.1 (I know, it's my fault :(). Anyway,  
even if

> I set the connectionTimeout of the tomcat connector to 500 ms
> (server.xml) when the arrival rate increases (about 30 req/sec.)  
the

> system is not able to cope with the user demand (linux with default
> settings, i.e. ulimit -n = 1024).
> I know this is a quite known issue, but I'm a bit reluctant to  
upgrade
> because I guess I'd need to change some code. Is this problem  
fixed in

> newer releases?
>
> Thanks,
> Michele
>
>
>  
-

> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Davanum Srinivas :: http://davanum.wordpress.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Chathura Herath
http://people.apache.org/~chathura/
http://chathurah.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Axis2]. - Disable/Enable client side schema validation with axis and ADB

2007-07-23 Thread Ravi Somepalli
  My Schema contains data types for which some of the attributes are mandatory, 
as defined in the schema, but during testing or I just want to disable/enable 
schema validation. The default client  from the samples does schema validation 
and complains about null values.
   
  








   
  Please point me to the document that addresses the client setting or the 
build file options or a snippet of code
   
  Thanks
  Ravi Somepalli



Re: Fault logging

2007-07-23 Thread cara

I had the same problem. My ServiceLogHandler extends the axis LogHandler. I
can pull normal messages from the MessageContext by implementing the invoke
method. To catch and log exceptions in the handler chain, I had to implement
public void onFault(msgContext).

On 7/23/07, landry soules <[EMAIL PROTECTED]> wrote:


Hello,

I developped a web service (server) and need to log every transaction in
database. So i made a handler, inspired by
org.apache.axis.handlers.LogHandler.
I deployed it with deploy.wsdd, and it works well, for standard
transactions. However, everytime my webservice answers with an error, the
message isn't logged.
For example :

When mywebservice returns the message below, it isn't logged by my
handler, nor by Axis' one.

 
 
 
soapenv:Server.userException
 
java.rmi.RemoteException: Authentification non valide

 
wmar6034






Can somebody please help me ?



Re: Too many open files

2007-07-23 Thread Chathura Herath

If the same client is making multiple requests you could try to use
HTTP keep alive so sockets would be reused. I had a similar problem in
a totally different software and this trick worked, just an idea.
Chathura


On 7/20/07, Davanum Srinivas <[EMAIL PROTECTED]> wrote:

Michele,

My 2 cents, update to RC2, Any issues, we will try to fix by Final.
How does that sound?

thanks,
dims

On 7/20/07, Michele Mazzucco <[EMAIL PROTECTED]> wrote:
> Hi all,
>
>
> I'm still using Axis2 1.1.1 (I know, it's my fault :(). Anyway, even if
> I set the connectionTimeout of the tomcat connector to 500 ms
> (server.xml) when the arrival rate increases (about 30 req/sec.) the
> system is not able to cope with the user demand (linux with default
> settings, i.e. ulimit -n = 1024).
> I know this is a quite known issue, but I'm a bit reluctant to upgrade
> because I guess I'd need to change some code. Is this problem fixed in
> newer releases?
>
> Thanks,
> Michele
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Davanum Srinivas :: http://davanum.wordpress.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Chathura Herath
http://people.apache.org/~chathura/
http://chathurah.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



ExtensionMapper

2007-07-23 Thread Michael Bell

Hi,

we create WSDL types with two different schemas - one for common types 
and one for special types. The idea is that we want to implement common 
types in a central place for all of our web services (e.g. common error 
handling).


During the implementation we noticed that Axis2 generates some 
ExtensionMapper classes. The problem is that Axis2 does not generate one 
ExtensionMapper per package. It generates only one filled 
ExtensionMapper per service. So inheritance does not work because the 
java classes have always web service specific code inside.


I noticed that the generated code can be easily splitted into different 
packages. Is there a special reason why there is only one 
ExtensionMapper? I implemented a small Perl script which loads the 
generated ExtensionMapper and generates mappers on a per package base. 
If someone is interested then I can send the script.


Best regards

Michael
--
___

Michael BellHumboldt-Universitaet zu Berlin

Tel.: +49 (0)30-2093 2482   ZE Computer- und Medienservice
Fax:  +49 (0)30-2093 2704   Unter den Linden 6
[EMAIL PROTECTED]   D-10099 Berlin
___

X.509 CA Certificates / Wurzelzertifikate

http://ra.pki.hu-berlin.de


smime.p7s
Description: S/MIME Cryptographic Signature


RE: measuring Axix 1.4 overhead

2007-07-23 Thread Firas Khasawneh (fkhasawn)
Hi Jaliya,
 
Do you know if response coming back from transport handler after the
request is processed in the Axis engine also hits AxisServlet and uses
doGet?
 
Thanks,
Firas



From: Jaliya Ekanayake [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 23, 2007 9:42 AM
To: [EMAIL PROTECTED]; axis-user@ws.apache.org; Firas Khasawneh
(fkhasawn)
Subject: Re: measuring Axix 1.4 overhead


Hi Firas,
 
Are you trying both axis server and the client in a same machine? If you
put the handler in transport section, then what you will measure is the
time it takes inside the engine from transport handlers ->service ->
transport handlers. One other possibility is to keep track of the time
in AxisServlet. Measure the time in AxisServlet before it calls
AxisEngine's invoke(..) method and after it is returned and you will get
the time for the total invocation.
 
Thanks,
-jaliya

- Original Message - 
From: Firas Khasawneh (fkhasawn)   
To: axis-user@ws.apache.org ; [EMAIL PROTECTED] 
Sent: Monday, July 23, 2007 6:06 AM
Subject: RE: measuring Axix 1.4 overhead

Any help regarding the below please? any suggestions on how to
measure the overhead Axis adds?



From: Firas Khasawneh (fkhasawn) 
Sent: Sunday, July 22, 2007 11:50 PM
To: 'axis-user@ws.apache.org'
Subject: measuring Axix 1.4 overhead




Hi all,
 
Anybody knows how to measure the overhead Axis 1.4 adds to
response time? I created a handler in the requestFlow to  store
System.currentTimeMillis in messageContext and another handler in the
responseFlow that retrieved this value and subtracts it from
System.currentTimeMillis(), when I use these classes in the global conf
or transport (server side) I am getting values that correspond to the
response time the client is getting so it looks like it is not
calculating the Axix overhead on the server side, when I put these
handlers in the requestFlow and responseFlow in the service section in
server-conf.wsdd it gives differnt time which seem right but I am nti
sure if this is the Axix engine overhead? Any suggestions? other ways to
do this? please reply back to me or CC me if you are sending to the list
since I am not yet a member in this list.
 
Regards,
Firas Khasawneh



Re: Reg : WSDL 2.0 Support in Axis2

2007-07-23 Thread Chathura Herath

FYI
http://incubator.apache.org/woden/userguide.html#Getting+Started


On 7/23/07, keith chapman <[EMAIL PROTECTED]> wrote:

Hi Ashok,

I think Woden does WSDL 2.0 validation. I will look into the switch that
Chathura mentioned.

You will find a converter tool at
http://tools.wso2.org:19762/wservices/WSDLConverter/
its a lossy transformation. It might be better to write your own WSDL 2.0 if
you are starting from scratch.

Thanks,
Keith.


On 7/23/07, Chathura Herath <[EMAIL PROTECTED]> wrote:
>
> Woden has wsdl2 validation, i believe its turned off by default and
> there is a API to turn it on, at least thats how it was when i last
> saw it. I don't think we ve exposed those validations in Axis2 tools.
>
> Chathura
>
> On 7/23/07, Ashok Kumar Rajendran < [EMAIL PROTECTED]> wrote:
> >  Thanks a lot  Keith  . I will start working with the latest build .
> >
> > A few more Questions
> >
> > Can you suggest me with a WSDL 2.0 validator tool  ?
> >
> > Is it possible to convert the existing Web service which is wrote based
on
> > WSDL 1.1 specification in to WSDL 2.0 If so any tool available ?
> >
> >
> >
> > Thanks ,
> > Ashok .
> >
> >
> >
> > On 7/23/07, keith chapman <[EMAIL PROTECTED]> wrote:
> > > Hi Ashok,
> > >
> > > Yes Axis2 does support WSDL 2.0 to its fullest extent. Please use the
> > latest release (Preferably 1.3-RC2). WSDL 2.0 support is not integrated
into
> > the eclipse plugin, but you can use the wsdl2java tool to accomplish
this
> > task.  U should use the "-wv 2"  option together with the other options
to
> > indicate  that the document is a  WSDL 2.0 document.
> > >
> > > Please let us know if you have any problems. I'll be happy to help you
> > with this regard.
> > >
> > > Thanks,
> > > Keith.
> > >
> > >
> > >
> > > On 7/23/07, Ashok Kumar Rajendran <[EMAIL PROTECTED] > wrote:
> > > >
> > > > Hai all ,
> > > >
> > > > I am a newbie to Axis2 . In my current project , our specification
is to
> > use SOAP 1.2 and WSDL 2.0 . While searching through the documentation at
the
> > axis2 site i came to know AXIS2 supports SOAP 1.2 . But i could'nt able
to
> > find the WSDL version support by AXIS2.
> > > >
> > > > While digging through the user guides i came to the WODEN parser
used
> > for AXIS2 ,from which i get to know that it will support WSDL 2.0 But
the
> > AXIS2 project page suggest it will not support WSDL 2.0 fully .
> > > >
> > > > To which extend the AXIS2 will support WSDL 2.0 .? While converting
a
> > wsdl 2.0 file for generating Java stubs using code gen plugin for
Eclipse
> > its reported the WSDL file is not valid . Also suggest me a WSDL
vaildator
> > tool to validate to WSDL 2.0
> > > >
> > > >  your help is really appreciated .
> > > >
> > > >
> > > > Cheers,
> > > > Ashok
> > >
> > >
> > >
> > > --
> > > Keith Chapman
> > > WSO2 Inc.
> > > Oxygen for Web Services Developers.
> > > http://wso2.org/
> >
> >
>
>
> --
> Chathura Herath
> http://people.apache.org/~chathura/
> http://chathurah.blogspot.com/
>
>
-
> To unsubscribe, e-mail:
[EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



--

Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
 http://wso2.org/



--
Chathura Herath
http://people.apache.org/~chathura/
http://chathurah.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Reg : WSDL 2.0 Support in Axis2

2007-07-23 Thread keith chapman

Hi Ashok,

I think Woden does WSDL 2.0 validation. I will look into the switch that
Chathura mentioned.

You will find a converter tool at
http://tools.wso2.org:19762/wservices/WSDLConverter/
its a lossy transformation. It might be better to write your own WSDL 2.0 if
you are starting from scratch.

Thanks,
Keith.

On 7/23/07, Chathura Herath <[EMAIL PROTECTED]> wrote:


Woden has wsdl2 validation, i believe its turned off by default and
there is a API to turn it on, at least thats how it was when i last
saw it. I don't think we ve exposed those validations in Axis2 tools.

Chathura

On 7/23/07, Ashok Kumar Rajendran <[EMAIL PROTECTED]> wrote:
>  Thanks a lot  Keith  . I will start working with the latest build .
>
> A few more Questions
>
> Can you suggest me with a WSDL 2.0 validator tool  ?
>
> Is it possible to convert the existing Web service which is wrote based
on
> WSDL 1.1 specification in to WSDL 2.0 If so any tool available ?
>
>
>
> Thanks ,
> Ashok .
>
>
>
> On 7/23/07, keith chapman <[EMAIL PROTECTED]> wrote:
> > Hi Ashok,
> >
> > Yes Axis2 does support WSDL 2.0 to its fullest extent. Please use the
> latest release (Preferably 1.3-RC2). WSDL 2.0 support is not integrated
into
> the eclipse plugin, but you can use the wsdl2java tool to accomplish
this
> task.  U should use the "-wv 2"  option together with the other options
to
> indicate  that the document is a  WSDL 2.0 document.
> >
> > Please let us know if you have any problems. I'll be happy to help you
> with this regard.
> >
> > Thanks,
> > Keith.
> >
> >
> >
> > On 7/23/07, Ashok Kumar Rajendran <[EMAIL PROTECTED] > wrote:
> > >
> > > Hai all ,
> > >
> > > I am a newbie to Axis2 . In my current project , our specification
is to
> use SOAP 1.2 and WSDL 2.0 . While searching through the documentation at
the
> axis2 site i came to know AXIS2 supports SOAP 1.2 . But i could'nt able
to
> find the WSDL version support by AXIS2.
> > >
> > > While digging through the user guides i came to the WODEN parser
used
> for AXIS2 ,from which i get to know that it will support WSDL 2.0 But
the
> AXIS2 project page suggest it will not support WSDL 2.0 fully .
> > >
> > > To which extend the AXIS2 will support WSDL 2.0 .? While converting
a
> wsdl 2.0 file for generating Java stubs using code gen plugin
for  Eclipse
> its reported the WSDL file is not valid . Also suggest me a
WSDL  vaildator
> tool to validate to WSDL 2.0
> > >
> > >  your help is really appreciated .
> > >
> > >
> > > Cheers,
> > > Ashok
> >
> >
> >
> > --
> > Keith Chapman
> > WSO2 Inc.
> > Oxygen for Web Services Developers.
> > http://wso2.org/
>
>


--
Chathura Herath
http://people.apache.org/~chathura/
http://chathurah.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/


Re: [ANN][Axis2] Axis2 1.3-RC2 release

2007-07-23 Thread Erik Bertelsen

2007/7/20, Deepal Jayasinghe <[EMAIL PROTECTED]>:

Hi all,

I have upload Axis2 1.3 RC2 artifact into my apache home location [1] ,


.


[1] : http://people.apache.org/~deepal/axis2/1.3-RC2/



...


Thanks
Deepal


I feel at little stupid about asking this, but I just cannot find the
AntCodegenTask in
the Axis2 1.3RC2 distribution.

Is this intentional ?

In 1.2, it was in the axis2-tools-1.2.jar file.

kind regards
Erik

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Reg : WSDL 2.0 Support in Axis2

2007-07-23 Thread Chathura Herath

Woden has wsdl2 validation, i believe its turned off by default and
there is a API to turn it on, at least thats how it was when i last
saw it. I don't think we ve exposed those validations in Axis2 tools.

Chathura

On 7/23/07, Ashok Kumar Rajendran <[EMAIL PROTECTED]> wrote:

 Thanks a lot  Keith  . I will start working with the latest build .

A few more Questions

Can you suggest me with a WSDL 2.0 validator tool  ?

Is it possible to convert the existing Web service which is wrote based on
WSDL 1.1 specification in to WSDL 2.0 If so any tool available ?



Thanks ,
Ashok .



On 7/23/07, keith chapman <[EMAIL PROTECTED]> wrote:
> Hi Ashok,
>
> Yes Axis2 does support WSDL 2.0 to its fullest extent. Please use the
latest release (Preferably 1.3-RC2). WSDL 2.0 support is not integrated into
the eclipse plugin, but you can use the wsdl2java tool to accomplish this
task.  U should use the "-wv 2"  option together with the other options to
indicate  that the document is a  WSDL 2.0 document.
>
> Please let us know if you have any problems. I'll be happy to help you
with this regard.
>
> Thanks,
> Keith.
>
>
>
> On 7/23/07, Ashok Kumar Rajendran <[EMAIL PROTECTED] > wrote:
> >
> > Hai all ,
> >
> > I am a newbie to Axis2 . In my current project , our specification is to
use SOAP 1.2 and WSDL 2.0 . While searching through the documentation at the
axis2 site i came to know AXIS2 supports SOAP 1.2 . But i could'nt able to
find the WSDL version support by AXIS2.
> >
> > While digging through the user guides i came to the WODEN parser used
for AXIS2 ,from which i get to know that it will support WSDL 2.0 But the
AXIS2 project page suggest it will not support WSDL 2.0 fully .
> >
> > To which extend the AXIS2 will support WSDL 2.0 .? While converting a
wsdl 2.0 file for generating Java stubs using code gen plugin for  Eclipse
its reported the WSDL file is not valid . Also suggest me a WSDL  vaildator
tool to validate to WSDL 2.0
> >
> >  your help is really appreciated .
> >
> >
> > Cheers,
> > Ashok
>
>
>
> --
> Keith Chapman
> WSO2 Inc.
> Oxygen for Web Services Developers.
> http://wso2.org/





--
Chathura Herath
http://people.apache.org/~chathura/
http://chathurah.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Reg : WSDL 2.0 Support in Axis2

2007-07-23 Thread Ashok Kumar Rajendran

Thanks a lot  Keith  . I will start working with the latest build .

A few more Questions

Can you suggest me with a WSDL 2.0 validator tool  ?

Is it possible to convert the existing Web service which is wrote based on
WSDL 1.1 specification in to WSDL 2.0 If so any tool available ?



Thanks ,
Ashok .


On 7/23/07, keith chapman <[EMAIL PROTECTED]> wrote:


Hi Ashok,

Yes Axis2 does support WSDL 2.0 to its fullest extent. Please use the
latest release (Preferably 1.3-RC2). WSDL 2.0 support is not integrated
into the eclipse plugin, but you can use the wsdl2java tool to accomplish
this task.  U should use the "-wv 2"  option together with the other options
to indicate  that the document is a  WSDL 2.0 document.

Please let us know if you have any problems. I'll be happy to help you
with this regard.

Thanks,
Keith.

On 7/23/07, Ashok Kumar Rajendran <[EMAIL PROTECTED]> wrote:
>
> Hai all ,
>
> I am a newbie to Axis2 . In my current project , our specification is to
> use SOAP 1.2 and WSDL 2.0 . While searching through the documentation at
> the axis2 site i came to know AXIS2 supports SOAP 1.2 . But i could'nt
> able to find the WSDL version support by AXIS2.
>
> While digging through the user guides i came to the WODEN parser used
> for AXIS2 ,from which i get to know that it will support WSDL 2.0 But
> the AXIS2 project page suggest it will not support WSDL 2.0 fully .
>
> To which extend the AXIS2 will support WSDL 2.0 .? While converting a
> wsdl 2.0 file for generating Java stubs using code gen plugin for
>  Eclipse  its reported the WSDL file is not valid . Also suggest me a WSDL
>  vaildator tool to validate to WSDL 2.0
>
>  your help is really appreciated .
>
>
> Cheers,
> Ashok
>



--
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/


Re: Reg : WSDL 2.0 Support in Axis2

2007-07-23 Thread keith chapman

Hi Ashok,

Yes Axis2 does support WSDL 2.0 to its fullest extent. Please use the latest
release (Preferably 1.3-RC2). WSDL 2.0 support is not integrated into the
eclipse plugin, but you can use the wsdl2java tool to accomplish this task.
U should use the "-wv 2"  option together with the other options to
indicate  that the document is a  WSDL 2.0 document.

Please let us know if you have any problems. I'll be happy to help you with
this regard.

Thanks,
Keith.

On 7/23/07, Ashok Kumar Rajendran <[EMAIL PROTECTED]> wrote:


Hai all ,

I am a newbie to Axis2 . In my current project , our specification is to
use SOAP 1.2 and WSDL 2.0 . While searching through the documentation at
the axis2 site i came to know AXIS2 supports SOAP 1.2 . But i could'nt
able to find the WSDL version support by AXIS2.

While digging through the user guides i came to the WODEN parser used for
AXIS2 ,from which i get to know that it will support WSDL 2.0 But the
AXIS2 project page suggest it will not support WSDL 2.0 fully .

To which extend the AXIS2 will support WSDL 2.0 .? While converting a wsdl
2.0 file for generating Java stubs using code gen plugin for  Eclipse  its
reported the WSDL file is not valid . Also suggest me a WSDL  vaildator tool
to validate to WSDL 2.0

 your help is really appreciated .


Cheers,
Ashok





--
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/


Reg : WSDL 2.0 Support in Axis2

2007-07-23 Thread Ashok Kumar Rajendran

Hai all ,

I am a newbie to Axis2 . In my current project , our specification is to use
SOAP 1.2 and WSDL 2.0 . While searching through the documentation at the
axis2 site i came to know AXIS2 supports SOAP 1.2 . But i could'nt able to
find the WSDL version support by AXIS2.

While digging through the user guides i came to the WODEN parser used for
AXIS2 ,from which i get to know that it will support WSDL 2.0 But the AXIS2
project page suggest it will not support WSDL 2.0 fully .

To which extend the AXIS2 will support WSDL 2.0 .? While converting a wsdl
2.0 file for generating Java stubs using code gen plugin for  Eclipse  its
reported the WSDL file is not valid . Also suggest me a WSDL  vaildator tool
to validate to WSDL 2.0

your help is really appreciated .


Cheers,
Ashok


RE: measuring Axix 1.4 overhead

2007-07-23 Thread Firas Khasawneh (fkhasawn)
Hi Jaliya,
 
I am using only server side Axis, for client I am using SoapUI. if I put
the handler in transport for both response and request, I am getting the
response time I am measuring from my client so looks like it is
measuring from the client side (the time it gets the request till it
releases the http connection)
 
Thanks,
Firas



From: Jaliya Ekanayake [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 23, 2007 9:42 AM
To: [EMAIL PROTECTED]; axis-user@ws.apache.org; Firas Khasawneh
(fkhasawn)
Subject: Re: measuring Axix 1.4 overhead


Hi Firas,
 
Are you trying both axis server and the client in a same machine? If you
put the handler in transport section, then what you will measure is the
time it takes inside the engine from transport handlers ->service ->
transport handlers. One other possibility is to keep track of the time
in AxisServlet. Measure the time in AxisServlet before it calls
AxisEngine's invoke(..) method and after it is returned and you will get
the time for the total invocation.
 
Thanks,
-jaliya

- Original Message - 
From: Firas Khasawneh (fkhasawn)   
To: axis-user@ws.apache.org ; [EMAIL PROTECTED] 
Sent: Monday, July 23, 2007 6:06 AM
Subject: RE: measuring Axix 1.4 overhead

Any help regarding the below please? any suggestions on how to
measure the overhead Axis adds?



From: Firas Khasawneh (fkhasawn) 
Sent: Sunday, July 22, 2007 11:50 PM
To: 'axis-user@ws.apache.org'
Subject: measuring Axix 1.4 overhead




Hi all,
 
Anybody knows how to measure the overhead Axis 1.4 adds to
response time? I created a handler in the requestFlow to  store
System.currentTimeMillis in messageContext and another handler in the
responseFlow that retrieved this value and subtracts it from
System.currentTimeMillis(), when I use these classes in the global conf
or transport (server side) I am getting values that correspond to the
response time the client is getting so it looks like it is not
calculating the Axix overhead on the server side, when I put these
handlers in the requestFlow and responseFlow in the service section in
server-conf.wsdd it gives differnt time which seem right but I am nti
sure if this is the Axix engine overhead? Any suggestions? other ways to
do this? please reply back to me or CC me if you are sending to the list
since I am not yet a member in this list.
 
Regards,
Firas Khasawneh



Re: HTTPSListener private access

2007-07-23 Thread Davanum Srinivas

Nencho,

Please create an enhancement request in JIRA.

thanks,
dims

On 7/23/07, Nencho Lupanov <[EMAIL PROTECTED]> wrote:

Hi all,

I would like to use

org.apache.axis2.transport.http.HTTPSListener in order to
configure transportReceiver in axis2.xml ,

only that when loaded from the deployment package(when config is populated)
it thows ClassNotFound exception,

since HTTPSListener is declared with private access.Do you think that
HTTPSListener could be modified with public access?



thanks,

Nencho



--
Davanum Srinivas :: http://davanum.wordpress.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Help on Axis2 with ws-addressing.

2007-07-23 Thread Pedro Costa

Thanks Paul.

Your change did the trick. we are know receiving the accept immediately
after the service invocation.

2007/7/23, Paul Fremantle <[EMAIL PROTECTED]>:


Pedro

AFAIK You need to use one of the Async MessageReceivers instead of the
sync ones.

For example: RPCInOutAsyncMessageReceiver.java

Paul

On 7/23/07, Pedro Costa <[EMAIL PROTECTED]> wrote:
>
>
> Hi Guys,
>
> The reason I'm writing you is that we are trying to use Axis2 on a
project
> we have, with the ws-addressing and was wondering if you could help us
> understand a problem we are having.
>
> Going short on the problem description, we basically have a very long
time
> to complete web-service (in the order of several minutes) that we call
from
> a process. Our idea was to use ws-addressing feature, so that our client
> didn't have to maintain an open http connection the all time the service
> takes to complete; and could receive the response on the address
supplied in
> the reply-to header.
>
> The thing is that in a test we made to try this solution, the http
> connection is only being closed at the same time the response is sent to
the
> right supplied reply-to address. Obviously the problem with this is that
if
> our service takes a long time, the http connection will give timeout and
the
> process will fail with error, even we set the timeout for a long time
that
> would mean a performance problem for us.
>
> The doubt is if this is normal behaviour with Axis2, and if there is any
way
> to make it work as we need:
>
> -   send the 202 accept immediately after the invocation and not at the
same
> time it also sends the response
>
> By the way, we also tried with JAX-WS-ri and it presents exactly the
same
> behaviour as Axis2.
>
>
>
>
> Regards and thanks in advance for any help you could provide us,
>
> Pedro Costa.


--
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Axis2 - Invoking Rampart UsernameToken-service using client written in PHP

2007-07-23 Thread Jaskin

Hi Dimuthu,Appreciate your reply on this matter.For your information, I am 
using sample03's service as a test case. Basically, I followed the sample guide 
by starting the sample03's service and run the sample03's client, which is 
running just fine.But, when using client written in PHP to access sample03's 
service, the problems occured (as described in previous email) and I am agreed 
with you that failure should be thrown if auth failed or security header is not 
processed correctly.On TCPMon, the request is oddly empty but the response 
returns the wsdl message.Thanks,Jaskin> Subject: Re: Axis2 - Invoking Rampart 
UsernameToken-service using client   written in PHP> From: [EMAIL PROTECTED]> 
To: axis-user@ws.apache.org> Date: Mon, 23 Jul 2007 14:05:09 +0530> > Hi 
Jaskin,> > Can u please check whether the UsernameToken is included in the> 
SecurityHeader by looking at the message on the wire. You can use the> 
TCPMonitor[1] to do this.> > Security Header is a "Must Understand" heade
 r. I think if it is not> processed properly a "Must Understand" failure must 
be thrown without> invoking the service.> > But also check whether you have 
configured the service properly. Have> you engaged rampart at the server side 
by editing the services.xml file.> Please have a look at sample03/services.xml> 
> It has engaged rampart using  element and> specified 
security items.> > Regards,> Dimuthu> > 
[1]http://ws.apache.org/commons/tcpmon/> > On Mon, 2007-07-23 at 15:40 +0800, 
Jaskin wrote:> > Hi,> > I am trying out UsernameToken (plain text) 
authentication with> > Axis2-Rampart.> > However, I am encountered some issue 
on the CallbackHandler when> > invoking the service (Rampart’s sample03).> > > 
> - The handle() method is not execute at all when invoking the service> > 
using client written in PHP> > > > - This has caused the service to be invoked 
although the user> > name/password is incorrect.> > > > On the other hand, the 
client sample03 provided
  able to authenticate> > correctly.> > Appreciate any help/info from you 
guys.> > > > Thanks,> > Jaskin> > > > > > > > 
__> > Get 
2GB of storage space with the new Windows Live Hotmail. Get it> > now!> > > 
-> To 
unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: [EMAIL 
PROTECTED]> 
_
Check out some new online services that are so new they haven’t even been 
officially released yet!
http://get.live.com/beta

HTTPSListener private access

2007-07-23 Thread Nencho Lupanov

Hi all,

I would like to use

org.apache.axis2.transport.http.HTTPSListener in order to configure
transportReceiver in axis2.xml ,

only that when loaded from the deployment package(when config is
populated) it thows ClassNotFound exception,

since HTTPSListener is declared with private access.Do you think that
HTTPSListener could be modified with public access?



thanks,

Nencho


anonymous operation invocation

2007-07-23 Thread Ecker Severin
Hi,

I think I stumbled over a bug but I wanted to check here first in case
I'm just being stupid.

I have a webservice (using axis2 to handle the soap stuff) and I wanted
to use this service with both, WSDL-based access and anonymous operation
invocation (with the ServiceClient.sendReceive(OMElement elem) method).

Using WSDL base access everything works as intended (e.g.: using the
following SOAP envelope)

http://www.w3.org/2003/05/soap-envelope";
   xmlns:ns="http://myNS.com";>

   
   
 
   


At service implementation site within the method
getCapabilities(OMElement e); (<-- this is the invoked method)

the parameter e is



So far so good.

Now when trying to access anonymously I have to encode the operation
somewhere so I have the following envelope

http://www.w3.org/2003/05/soap-envelope";
   xmlns:ns="http://myNS.com";>

   
   
 
   
 
   
 
   


The request gets resolved correcty by axis (using the
SOAPMessageBodyBasedDispatcher) BUT here's the catch. Suddenly the
parameter which the (correct!) service operation gets is


  

  


This is rather useless because in that case the service operation must
be ready to handle all kinds of different parameters depending on the
invocation method used!? Shouldn't the SOAPMessageBodyBasedDispatcher
remove the 'meta-informational' stuff (in this case the getCapabilities
(aka operation-name), and in0 (parameter direction)) and only send the
real parameter to the operation?

If I'm mistaken, how can I invoke an operation anonymously and does not
have the problem of ending up with wrong parameters on the service side?
If I'm correct please let me know and I will file a bug report.

Many thanks in advance!

Cheers,
Severin


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Newbie needs a few pointers .. Command line Usage / Eclipse

2007-07-23 Thread albert quinn

 Hi again Lahiru !! :

 I've tried to reinstall the plugin in my Eclipse (3.2.1), but I
can't recreate the problem because I had removed my faulty project. If
I can recreate it, I'll post it again, if not... I hope anybody with
the same problem could do it. Many thanks for your time and
dedication. Thanks :

albert


2007/7/23, Lahiru Sandakith <[EMAIL PROTECTED]>:

Hi Albert,

I am using the plugin 1.2.1 and I am not seeing the problem to recreate with
Eclipse 3.3,

Thanks

Lahiru


On 7/23/07, albert quinn <[EMAIL PROTECTED]> wrote:
>
>   Hi Lahiru !! :
>
>   Many thanks for spending your time with this. I can't generate again
> the error scenario because I removed the failing Eclipse project and
> the failing Archive plugin when I became frustrated with them after
> many hours of trying almost everything and I moved to Ant. I could
> dive in the Eclipse logs and I've this trace, I think it's probably
> not related with the problem but it is the only log could be, so... I
> hope It helps to find a bug in the plugin if there is one. I'm sorry
> for removing the project and can't generate now the same error.
> Perhaps anybody could help, from the axis 2 mailing lists, it seems
> I'm not the only one in trouble with the plugin. Sorry and thanks
> again for your time.
>
>   This is the trace :
>
>
> at
org.eclipse.jdt.internal.core.JavaElement.newJavaModelException(JavaElement.java:492)
> at
org.eclipse.jdt.internal.core.PackageFragmentRoot.buildStructure(PackageFragmentRoot.java:166)
> at
org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:229)
> at
org.eclipse.jdt.internal.core.Openable.openParent
(Openable.java:420)
> at
org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:218)
> at
org.eclipse.jdt.internal.core.Openable.openParent(Openable.java:420)
> at
org.eclipse.jdt.internal.core.Openable.generateInfos
(Openable.java:218)
> at
org.eclipse.jdt.internal.core.BinaryMember.generateInfos(BinaryMember.java:47)
> at
org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:505)
> at
org.eclipse.jdt.internal.core.BinaryType.getElementInfo
(BinaryType.java:281)
> at
org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:235)
> at
org.eclipse.jdt.internal.core.BinaryType.isInterface(BinaryType.java:715)
> at
org.eclipse.jdt.ui.actions.FindImplementorsAction.canOperateOn
(FindImplementorsAction.java:76)
> at
org.eclipse.jdt.ui.actions.FindAction.canOperateOn(FindAction.java:101)
> at
org.eclipse.jdt.ui.actions.FindAction.selectionChanged(FindAction.java:258)
> at
org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchSelectionChanged(SelectionDispatchAction.java:255)
> at
org.eclipse.jdt.ui.actions.SelectionDispatchAction.selectionChanged(SelectionDispatchAction.java:250)
> at
org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
> at
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at
org.eclipse.core.runtime.Platform.run(Platform.java:843)
> at
org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
> at
org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
> at
org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160)
> at
org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:1976)
> at
org.eclipse.jface.viewers.StructuredViewer.handleInvalidSelection(StructuredViewer.java:1092)
> at
org.eclipse.jdt.internal.ui.viewsupport.ProblemTreeViewer.handleInvalidSelection
(ProblemTreeViewer.java:206)
> at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$PackageExplorerProblemTreeViewer.handleInvalidSelection(PackageExplorerPart.java:386)
> at
org.eclipse.jface.viewers.StructuredViewer.preservingSelection
(StructuredViewer.java:1336)
> at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$PackageExplorerProblemTreeViewer.preservingSelection(PackageExplorerPart.java:404)
> at
org.eclipse.jface.viewers.AbstractTreeViewer.remove
(AbstractTreeViewer.java:1945)
> at
org.eclipse.jface.viewers.AbstractTreeViewer.remove(AbstractTreeViewer.java:1997)
> at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider$5.run(PackageExplorerContentProvider.java
:644)
> at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider$7.run(PackageExplorerContentProvider.java:670)
> at
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
> at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3325)
> at
org.eclipse.swt.widgets.Display.readAndDispatch(
Display.java:2971)
> at
org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:158)
>   

Re: Newbie needs a few pointers .. Command line Usage / Eclipse

2007-07-23 Thread Lahiru Sandakith

Hi Albert,

I am using the plugin 1.2.1 and I am not seeing the problem to recreate with
Eclipse 3.3,

Thanks

Lahiru

On 7/23/07, albert quinn <[EMAIL PROTECTED]> wrote:


  Hi Lahiru !! :

  Many thanks for spending your time with this. I can't generate again
the error scenario because I removed the failing Eclipse project and
the failing Archive plugin when I became frustrated with them after
many hours of trying almost everything and I moved to Ant. I could
dive in the Eclipse logs and I've this trace, I think it's probably
not related with the problem but it is the only log could be, so... I
hope It helps to find a bug in the plugin if there is one. I'm sorry
for removing the project and can't generate now the same error.
Perhaps anybody could help, from the axis 2 mailing lists, it seems
I'm not the only one in trouble with the plugin. Sorry and thanks
again for your time.

  This is the trace :


at org.eclipse.jdt.internal.core.JavaElement.newJavaModelException(
JavaElement.java:492)
at
org.eclipse.jdt.internal.core.PackageFragmentRoot.buildStructure(
PackageFragmentRoot.java:166)
at org.eclipse.jdt.internal.core.Openable.generateInfos(
Openable.java:229)
at org.eclipse.jdt.internal.core.Openable.openParent(Openable.java
:420)
at org.eclipse.jdt.internal.core.Openable.generateInfos(
Openable.java:218)
at org.eclipse.jdt.internal.core.Openable.openParent(Openable.java
:420)
at org.eclipse.jdt.internal.core.Openable.generateInfos(
Openable.java:218)
at org.eclipse.jdt.internal.core.BinaryMember.generateInfos(
BinaryMember.java:47)
at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(
JavaElement.java:505)
at org.eclipse.jdt.internal.core.BinaryType.getElementInfo(
BinaryType.java:281)
at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(
JavaElement.java:235)
at org.eclipse.jdt.internal.core.BinaryType.isInterface(
BinaryType.java:715)
at org.eclipse.jdt.ui.actions.FindImplementorsAction.canOperateOn(
FindImplementorsAction.java:76)
at org.eclipse.jdt.ui.actions.FindAction.canOperateOn(
FindAction.java:101)
at org.eclipse.jdt.ui.actions.FindAction.selectionChanged(
FindAction.java:258)
at
org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchSelectionChanged
(SelectionDispatchAction.java:255)
at
org.eclipse.jdt.ui.actions.SelectionDispatchAction.selectionChanged(
SelectionDispatchAction.java:250)
at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(
Viewer.java:160)
at org.eclipse.jface.viewers.StructuredViewer.updateSelection(
StructuredViewer.java:1976)
at
org.eclipse.jface.viewers.StructuredViewer.handleInvalidSelection(
StructuredViewer.java:1092)
at
org.eclipse.jdt.internal.ui.viewsupport.ProblemTreeViewer.handleInvalidSelection
(ProblemTreeViewer.java:206)
at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$PackageExplorerProblemTreeViewer.handleInvalidSelection
(PackageExplorerPart.java:386)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(
StructuredViewer.java:1336)
at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$PackageExplorerProblemTreeViewer.preservingSelection
(PackageExplorerPart.java:404)
at org.eclipse.jface.viewers.AbstractTreeViewer.remove(
AbstractTreeViewer.java:1945)
at org.eclipse.jface.viewers.AbstractTreeViewer.remove(
AbstractTreeViewer.java:1997)
at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider$5.run
(PackageExplorerContentProvider.java:644)
at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider$7.run
(PackageExplorerContentProvider.java:670)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(
Synchronizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java
:3325)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java
:2971)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.block(
ModalContext.java:158)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java
:326)
at
org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.run(
RefactoringWizardDialog2.java:304)
at
org.eclipse.ltk.ui.refactoring.RefactoringWizard.internalPerformFinish(
RefactoringWizard.java:545)
at
org.eclipse.ltk.ui.refactoring.UserInputWizardPage.performFinish(
UserInputWizardPage.java:154)
at
org.eclipse.jdt.internal.ui.refactor

RE: measuring Axix 1.4 overhead

2007-07-23 Thread Firas Khasawneh (fkhasawn)
Any help regarding the below please? any suggestions on how to measure
the overhead Axis adds?



From: Firas Khasawneh (fkhasawn) 
Sent: Sunday, July 22, 2007 11:50 PM
To: 'axis-user@ws.apache.org'
Subject: measuring Axix 1.4 overhead


Hi all,
 
Anybody knows how to measure the overhead Axis 1.4 adds to response
time? I created a handler in the requestFlow to  store
System.currentTimeMillis in messageContext and another handler in the
responseFlow that retrieved this value and subtracts it from
System.currentTimeMillis(), when I use these classes in the global conf
or transport (server side) I am getting values that correspond to the
response time the client is getting so it looks like it is not
calculating the Axix overhead on the server side, when I put these
handlers in the requestFlow and responseFlow in the service section in
server-conf.wsdd it gives differnt time which seem right but I am nti
sure if this is the Axix engine overhead? Any suggestions? other ways to
do this? please reply back to me or CC me if you are sending to the list
since I am not yet a member in this list.
 
Regards,
Firas Khasawneh


Re: Help on Axis2 with ws-addressing.

2007-07-23 Thread Paul Fremantle

Pedro

AFAIK You need to use one of the Async MessageReceivers instead of the
sync ones.

For example: RPCInOutAsyncMessageReceiver.java

Paul

On 7/23/07, Pedro Costa <[EMAIL PROTECTED]> wrote:



Hi Guys,

The reason I'm writing you is that we are trying to use Axis2 on a project
we have, with the ws-addressing and was wondering if you could help us
understand a problem we are having.

Going short on the problem description, we basically have a very long time
to complete web-service (in the order of several minutes) that we call from
a process. Our idea was to use ws-addressing feature, so that our client
didn't have to maintain an open http connection the all time the service
takes to complete; and could receive the response on the address supplied in
the reply-to header.

The thing is that in a test we made to try this solution, the http
connection is only being closed at the same time the response is sent to the
right supplied reply-to address. Obviously the problem with this is that if
our service takes a long time, the http connection will give timeout and the
process will fail with error, even we set the timeout for a long time that
would mean a performance problem for us.

The doubt is if this is normal behaviour with Axis2, and if there is any way
to make it work as we need:

-   send the 202 accept immediately after the invocation and not at the same
time it also sends the response

By the way, we also tried with JAX-WS-ri and it presents exactly the same
behaviour as Axis2.




Regards and thanks in advance for any help you could provide us,

Pedro Costa.



--
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Help on Axis2 with ws-addressing.

2007-07-23 Thread Pedro Costa

Hi Guys,

The reason I'm writing you is that we are trying to use Axis2 on a project
we have, with the ws-addressing and was wondering if you could help us
understand a problem we are having.

Going short on the problem description, we basically have a very long time
to complete web-service (in the order of several minutes) that we call from
a process. Our idea was to use ws-addressing feature, so that our client
didn't have to maintain an open http connection the all time the service
takes to complete; and could receive the response on the address supplied in
the reply-to header.

The thing is that in a test we made to try this solution, the http
connection is only being closed at the same time the response is sent to the
right supplied reply-to address. Obviously the problem with this is that if
our service takes a long time, the http connection will give timeout and the
process will fail with error, even we set the timeout for a long time that
would mean a performance problem for us.

The doubt is if this is normal behaviour with Axis2, and if there is any way
to make it work as we need:

-  send the 202 accept immediately after the invocation and not at the same
time it also sends the response

By the way, we also tried with JAX-WS-ri and it presents exactly the same
behaviour as Axis2.


Regards and thanks in advance for any help you could provide us,

Pedro Costa.


Fault logging

2007-07-23 Thread landry soules

Hello,

I developped a web service (server) and need to log every transaction in
database. So i made a handler, inspired by
org.apache.axis.handlers.LogHandler.
I deployed it with deploy.wsdd, and it works well, for standard
transactions. However, everytime my webservice answers with an error, the
message isn't logged.
For example :

When mywebservice returns the message below, it isn't logged by my handler,
nor by Axis' one.




soapenv:Server.userException

java.rmi.RemoteException: Authentification non valide


wmar6034






Can somebody please help me ?


Re: Axis2 - Invoking Rampart UsernameToken-service using client written in PHP

2007-07-23 Thread Dimuthu
Hi Jaskin,

Can u please check whether the UsernameToken is included in the
SecurityHeader by looking at the message on the wire. You can use the
TCPMonitor[1] to do this.

Security Header is a "Must Understand" header. I think if it is not
processed properly a "Must Understand" failure must be thrown without
invoking the service.

But also check whether you have configured the service properly. Have
you engaged rampart at the server side by editing the services.xml file.
Please have a look at sample03/services.xml

It has engaged rampart using  element and
specified security items.

Regards,
Dimuthu

[1]http://ws.apache.org/commons/tcpmon/

On Mon, 2007-07-23 at 15:40 +0800, Jaskin wrote:
> Hi,
> I am trying out UsernameToken (plain text) authentication with
> Axis2-Rampart.
> However, I am encountered some issue on the CallbackHandler when
> invoking the service (Rampart’s sample03).
> 
> - The handle() method is not execute at all when invoking the service
> using client written in PHP
> 
> - This has caused the service to be invoked although the user
> name/password is incorrect.
> 
> On the other hand, the client sample03 provided able to authenticate
> correctly.
> Appreciate any help/info from you guys.
> 
> Thanks,
> Jaskin
> 
> 
> 
> __
> Get 2GB of storage space with the new Windows Live Hotmail. Get it
> now!


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [ANN][Axis2] Axis2 1.3-RC2 release

2007-07-23 Thread Michele Mazzucco
oops... the two methods are actually onMessage() and onComplete() [1]

Michele


[1] http://www.nabble.com/switch-from-Callback-AxisCallback-%
28with-problems%29-tf4118188.html

On Sun, 2007-07-22 at 21:45 -0400, Eran Chinthaka wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Michele Mazzucco wrote:
> > Deepal,
> > 
> > when shall I use AxisCallback.onMessage() instead of
> > AxisCallback.onMessage(MessageContext msgContext)?
> 
> Do we have two methods? I can see only the latter now.
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.3 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFGpAhAjON2uBzUhh8RAk1cAKCq26aS2LRlX+A0nzIzXg6oCJD+7gCfVTDd
> Bl6NXMyMMXVpWjgGWbhQEW0=
> =UTZs
> -END PGP SIGNATURE-
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: help deciphering error message

2007-07-23 Thread Thilina Gunarathne

Hi,
Problem seems to be that Axis2 could not find the destined operation
for your message using the data available in the message.. If your
WSDL (or is it generated by Axis2) is correct then WSDL2Java should
generate enough information for the operation dispatch... What's the
Axis2 version are you trying.. Try with the latest and see whether the
problem exists..

Adding a SOAPAction to the outgoing message might also solve the
problem. You can find the action in the binding part of the WSDL..

eg: 

  Options options  = stub._getServiceClient().getOptions();
  options.setAction("urn:getStats");

thanks,
Thilina


On 7/18/07, Matt Roberts <[EMAIL PROTECTED]> wrote:

Hi all,

I am wondering if anyone can help decpher this error message

  [java] [EMAIL PROTECTED]
  [java] [EMAIL PROTECTED]
  [java] RemoteExp in main
  [java] org.apache.axis2.AxisFault: Operation Not found EPR is
http://yl1.mams.org.au:8080/axis2/services/PeoplePicker and WSA Action =
  null
  [java] at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:271)

I am trying to write a client for this "PeoplePicker" web service and I
just keep getting this error - no matter what I try.

I am
1) getting the wsld
2) creating stubs with wsdl2java
3) running the test that wsdl2java creates (with a few additions to get
past the null assertion errors :))

anyone have any idea what is going on?

matt

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Thilina Gunarathne  -  http://www.wso2.com - http://thilinag.blogspot.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: a bug in the "Axis 2 Service Archiver" Eclipse plugin?

2007-07-23 Thread albert quinn

 Hi again, Lahiru !! :

 As i've told u in the other thread, I'm so sorry, but I can't
generate again the error. I've posted a Eclipse trace in the other
thread, it seems to be the only trace that could be related with that
error, but I'm not sure. Sorry again.



2007/7/23, Lahiru Sandakith <[EMAIL PROTECTED]>:

Hi Albert,

Eclipse wizard concept stores all the caching stuff inside the
/.metadata/.pligins/
If you clear the content there and reinstalling the plugin may work but I am
not sure how the workspace got contaminated in your case. I ll try to
reproduce the problem if can. It would be great that if you can log a JIRA (
http://issues.apache.org/jira/browse/AXIS2) with the
information that will be helpful to recreate the issue.

Thanks

Lahiru


On 7/18/07, albert quinn <[EMAIL PROTECTED]> wrote:
>   Hi Lahiru !! :
>
>   Many thanks for spending your time with my newbie questions, too.
> I'm using the "Axis2_Service_Archiver_1.0.0". Thanks for the
> screenshot and the zipped project, I've tried it and it worked with
> your project, but when I try with my own project (doing exactly same
> things I've done to use the plugin with your project) it fails and I
> don't know why.
>
>   I think there is a problem when the plugin fails to find the class
> once, I think it stores something somewhere and then it fails again
> and again...
>
>   After spending many hours with that not finding anything, I'm trying
> now with Ant, but I've found a new problem reported on my last post...
> :(
>
>   MANY thanks again for your time. I apologize again for this
> questions :(. Regards :
>
>
> Albert
>
>
>
> 2007/7/18, Lahiru Sandakith <[EMAIL PROTECTED]>:
> > Hi Albert,
> >
> > please tell us the version of the plugin that you are using.
> >
> > using version 1.2.1, I was able to successfully go through smoothly with
> > eclipse service archive plugin.
> >
> > I am attaching a TestProject that I have used and also the screenshot
load
> > the class.
> >
> > Thanks
> >
> > Lahiru
> >
> >
> >
> >
> > On 7/18/07, albert quinn < [EMAIL PROTECTED]> wrote:
> > >
> > >   Hi !! :
> > >
> > >   I've not got answer to my last post "POJO Web Service yes or not
> > > question", but I haven't given up and keep on trying things. I think
> > > there is a bug in the "Axis 2 Service Archiver" Eclipse plugin. I'll
> > > try to explain it :
> > >
> > >   I've created a new Eclipse project with differente folder for source
> > > and classes. In the "src" folder I've created the "code.prueba "
> > > package where I've put the " StockQuoteService.java" example from the
> > > Axis 2 quick start guide. Then I've used the "Axis 2 code generator"
> > > Eclipse plugin to generate a WSDL from it. The I've used the plugin
> > > again to generate the client and server code. Then I've run the "Axis
> > > 2 Service Archiver" choosing the bin folder of my new project, Next,
> > > "Skip WSDL" option, Next, Next (no jar files needed), "Generate the
> > > service xml automatically", Next, then nothing happens... I can't see
> > > the next plugin screen but no errors are showed... long life to the
> > > user-friendly software  ;)
> > >
> > >   If I choose "Cancel" and run the "Axis 2 Service Archiver" again,
> > > then, when I push the "Next" button to see the first plugin Screen...
> > > nothing happens, but if I push the "Next" button again, then I can see
> > > the first plugin screen... and then I can keep on till the "Generate
> > > the service xml automatically" screen, then I push "Next" button and
> > > again... nothing happens... no errors reported...
> > >
> > >
> >
-
> > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >
> > --
> > Thanks
> > Lahiru Sandakith
> >
> > http://sandakith.wordpress.com/
> > GPG Key Fingerprint : 8CD8 68E0 4CBC 75CB 25BC  1AB1 FE5E 7464 1F01 9A0F
> >
-
> > To unsubscribe, e-mail:
[EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
-
> To unsubscribe, e-mail:
[EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



--
Thanks
Lahiru Sandakith

http://sandakith.wordpress.com/
GPG Key Fingerprint : 8CD8 68E0 4CBC 75CB 25BC  1AB1 FE5E 7464 1F01 9A0F


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Axis2 - Invoking Rampart UsernameToken-service using client written in PHP

2007-07-23 Thread Jaskin
Hi,I am trying out UsernameToken (plain text) authentication with 
Axis2-Rampart.However, I am encountered some issue on the CallbackHandler when 
invoking the service (Rampart’s sample03).- The handle() method is not execute 
at all when invoking the service using client written in PHP- This has caused 
the service to be invoked although the user name/password is incorrect.On the 
other hand, the client sample03 provided able to authenticate 
correctly.Appreciate any help/info from you guys.Thanks,Jaskin
_
Check out some new online services that are so new they haven’t even been 
officially released yet!
http://get.live.com/beta

Re: Newbie needs a few pointers .. Command line Usage / Eclipse

2007-07-23 Thread albert quinn

 Hi Lahiru !! :

 Many thanks for spending your time with this. I can't generate again
the error scenario because I removed the failing Eclipse project and
the failing Archive plugin when I became frustrated with them after
many hours of trying almost everything and I moved to Ant. I could
dive in the Eclipse logs and I've this trace, I think it's probably
not related with the problem but it is the only log could be, so... I
hope It helps to find a bug in the plugin if there is one. I'm sorry
for removing the project and can't generate now the same error.
Perhaps anybody could help, from the axis 2 mailing lists, it seems
I'm not the only one in trouble with the plugin. Sorry and thanks
again for your time.

 This is the trace :


at 
org.eclipse.jdt.internal.core.JavaElement.newJavaModelException(JavaElement.java:492)
at 
org.eclipse.jdt.internal.core.PackageFragmentRoot.buildStructure(PackageFragmentRoot.java:166)
at 
org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:229)
at org.eclipse.jdt.internal.core.Openable.openParent(Openable.java:420)
at 
org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:218)
at org.eclipse.jdt.internal.core.Openable.openParent(Openable.java:420)
at 
org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:218)
at 
org.eclipse.jdt.internal.core.BinaryMember.generateInfos(BinaryMember.java:47)
at 
org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:505)
at 
org.eclipse.jdt.internal.core.BinaryType.getElementInfo(BinaryType.java:281)
at 
org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:235)
at 
org.eclipse.jdt.internal.core.BinaryType.isInterface(BinaryType.java:715)
at 
org.eclipse.jdt.ui.actions.FindImplementorsAction.canOperateOn(FindImplementorsAction.java:76)
at 
org.eclipse.jdt.ui.actions.FindAction.canOperateOn(FindAction.java:101)
at 
org.eclipse.jdt.ui.actions.FindAction.selectionChanged(FindAction.java:258)
at 
org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchSelectionChanged(SelectionDispatchAction.java:255)
at 
org.eclipse.jdt.ui.actions.SelectionDispatchAction.selectionChanged(SelectionDispatchAction.java:250)
at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
at 
org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160)
at 
org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:1976)
at 
org.eclipse.jface.viewers.StructuredViewer.handleInvalidSelection(StructuredViewer.java:1092)
at 
org.eclipse.jdt.internal.ui.viewsupport.ProblemTreeViewer.handleInvalidSelection(ProblemTreeViewer.java:206)
at 
org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$PackageExplorerProblemTreeViewer.handleInvalidSelection(PackageExplorerPart.java:386)
at 
org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1336)
at 
org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$PackageExplorerProblemTreeViewer.preservingSelection(PackageExplorerPart.java:404)
at 
org.eclipse.jface.viewers.AbstractTreeViewer.remove(AbstractTreeViewer.java:1945)
at 
org.eclipse.jface.viewers.AbstractTreeViewer.remove(AbstractTreeViewer.java:1997)
at 
org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider$5.run(PackageExplorerContentProvider.java:644)
at 
org.eclipse.jdt.internal.ui.packageview.PackageExplorerContentProvider$7.run(PackageExplorerContentProvider.java:670)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at 
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3325)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
at 
org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:158)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:326)
at 
org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.run(RefactoringWizardDialog2.java:304)
at 
org.eclipse.ltk.ui.refactoring.RefactoringWizard.internalPerformFinish(RefactoringWizard.java:545)
at 
org.eclipse.ltk.ui.refactoring.UserInputWizardPage.performFinish(UserInputWizardPage.java:154)
at 
org.eclipse.jdt.internal.ui.refactoring.reorg.DeleteWizard$DeleteInputPage.performFinish(DeleteWizard.java:177)
at 
org.eclipse.ltk.ui.refactoring.RefactoringWizard.performFinish(RefactoringWizard.java:611)