Re: ver 1.6

2008-10-08 Thread Uthaiyashankar

Samisa Abeysinghe wrote:

Subra Aswathanarayanan wrote:

Hello,

Do you guys know when you are going to release Axis2/C ver 1.6?


We have not got any major features to be released as 1.6 right now. In 
fact, the developer community has not discussed any plans for post 1.5 
releases as of now. May be it should be 1.5.1.


Yes, we don't have much new features. Only bug fixes.. .So it is better 
to be 1.5.1


Regards,
Shankar



Devs, any thoughts...

Thanks,
Samisa...




--
S.Uthaiyashankar
Software Architect
WSO2 Inc. 
http://wso2.com/ - The Open Source SOA Company 



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



Re: ver 1.6

2008-10-08 Thread Samisa Abeysinghe

Manjula Peiris wrote:

On Wed, 2008-10-08 at 14:11 +0530, Samisa Abeysinghe wrote:
  

Subra Aswathanarayanan wrote:


Hello,

Do you guys know when you are going to release Axis2/C ver 1.6?
  
We have not got any major features to be released as 1.6 right now. In 
fact, the developer community has not discussed any plans for post 1.5 
releases as of now. May be it should be 1.5.1.



We have MTOM caching support. This enhanced the functionality of MTOM to
send very large attachments with a very low memory usage.
  


Both sending and receiving? If so, that is a major enhancement.

Samisa...



  

Devs, any thoughts...

Thanks,
Samisa...





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




No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.173 / Virus Database: 270.7.6/1713 - Release Date: 10/7/2008 6:40 PM


  



--
Samisa Abeysinghe 
Director, Engineering; WSO2 Inc.


http://www.wso2.com/ - The Open Source SOA Company


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



Re: ver 1.6

2008-10-08 Thread Manjula Peiris

On Wed, 2008-10-08 at 16:49 +0530, Samisa Abeysinghe wrote:
 Manjula Peiris wrote:
  On Wed, 2008-10-08 at 14:11 +0530, Samisa Abeysinghe wrote:

  Subra Aswathanarayanan wrote:
  
  Hello,
 
  Do you guys know when you are going to release Axis2/C ver 1.6?

  We have not got any major features to be released as 1.6 right now. In 
  fact, the developer community has not discussed any plans for post 1.5 
  releases as of now. May be it should be 1.5.1.
  
 
  We have MTOM caching support. This enhanced the functionality of MTOM to
  send very large attachments with a very low memory usage.

 
 Both sending and receiving? If so, that is a major enhancement.

Yes it is there for both sending and receiving. But the new code needs
to be tested more for various test cases.

 
 Samisa...
 
 

  Devs, any thoughts...
 
  Thanks,
  Samisa...
 
  
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

  
 
 
  No virus found in this incoming message.
  Checked by AVG - http://www.avg.com 
  Version: 8.0.173 / Virus Database: 270.7.6/1713 - Release Date: 10/7/2008 
  6:40 PM
 

 
 


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



Re: ver 1.6

2008-10-08 Thread Dumindu Pallewela
Hi,

I have started on the XPath integration. I sent a separate email regarding
that. It will take some time to get it properly tested.
Regards,
Dumindu.

On Wed, Oct 8, 2008 at 5:24 PM, Samisa Abeysinghe [EMAIL PROTECTED] wrote:

 Uthaiyashankar wrote:

 Nandika Jayawardana wrote:

 The code developed under for the two GSOC projects are also there.


 XPath support is still not integrated. We have to integrate and test it.
 We are currently working on that. I think, it will take some time.


 The other one was CGI, is that complete as well?

 Thanks,
 Samisa...


 Regards,
 Shankar.

   Thanks
 Nandika

 On Wed, Oct 8, 2008 at 3:25 PM, Manjula Peiris [EMAIL PROTECTED]mailto:
 [EMAIL PROTECTED] wrote:


On Wed, 2008-10-08 at 14:11 +0530, Samisa Abeysinghe wrote:
 Subra Aswathanarayanan wrote:
  Hello,
 
  Do you guys know when you are going to release Axis2/C ver 1.6?

 We have not got any major features to be released as 1.6 right
now. In
 fact, the developer community has not discussed any plans for
post 1.5
 releases as of now. May be it should be 1.5.1. http://1.5.1./

We have MTOM caching support. This enhanced the functionality of
MTOM to
send very large attachments with a very low memory usage.



 Devs, any thoughts...

 Thanks,
 Samisa...



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




 --
 http://nandikajayawardana.blogspot.com/
 WSO2 Inc: http://www.wso2.com



 


 No virus found in this incoming message.
 Checked by AVG - http://www.avg.com Version: 8.0.173 / Virus Database:
 270.7.6/1714 - Release Date: 10/8/2008 7:01 AM





 --
 Samisa Abeysinghe Director, Engineering; WSO2 Inc.

 http://www.wso2.com/ - The Open Source SOA Company


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]

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




-- 
Dumindu Pallewela
Cinergix - Share, Reuse, Innovate
cinergix.com


Re: ver 1.6

2008-10-08 Thread Samisa Abeysinghe

Uthaiyashankar wrote:

Nandika Jayawardana wrote:

The code developed under for the two GSOC projects are also there.


XPath support is still not integrated. We have to integrate and test 
it. We are currently working on that. I think, it will take some time.


The other one was CGI, is that complete as well?

Thanks,
Samisa...



Regards,
Shankar.

 
Thanks

Nandika

On Wed, Oct 8, 2008 at 3:25 PM, Manjula Peiris [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:



On Wed, 2008-10-08 at 14:11 +0530, Samisa Abeysinghe wrote:
 Subra Aswathanarayanan wrote:
  Hello,
 
  Do you guys know when you are going to release Axis2/C ver 1.6?

 We have not got any major features to be released as 1.6 right
now. In
 fact, the developer community has not discussed any plans for
post 1.5
 releases as of now. May be it should be 1.5.1. http://1.5.1./

We have MTOM caching support. This enhanced the functionality of
MTOM to
send very large attachments with a very low memory usage.



 Devs, any thoughts...

 Thanks,
 Samisa...




-

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




--
http://nandikajayawardana.blogspot.com/
WSO2 Inc: http://www.wso2.com






No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.173 / Virus Database: 270.7.6/1714 - Release Date: 10/8/2008 7:01 AM


  



--
Samisa Abeysinghe 
Director, Engineering; WSO2 Inc.


http://www.wso2.com/ - The Open Source SOA Company


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



Re: ver 1.6

2008-10-08 Thread Samisa Abeysinghe

Subra Aswathanarayanan wrote:
In that case, do you have a release date in mind for version 1.5.1. 
http://1.5.1.


As the thread goes, there is no specific dates planned yet. It is only 
now the folks are discussing the features that we could release.


Samisa...



On Wed, Oct 8, 2008 at 7:54 AM, Samisa Abeysinghe [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Uthaiyashankar wrote:

Nandika Jayawardana wrote:

The code developed under for the two GSOC projects are
also there.


XPath support is still not integrated. We have to integrate
and test it. We are currently working on that. I think, it
will take some time.


The other one was CGI, is that complete as well?

Thanks,
Samisa...


Regards,
Shankar.

 Thanks
Nandika

On Wed, Oct 8, 2008 at 3:25 PM, Manjula Peiris
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:


   On Wed, 2008-10-08 at 14:11 +0530, Samisa Abeysinghe wrote:
Subra Aswathanarayanan wrote:
 Hello,

 Do you guys know when you are going to release
Axis2/C ver 1.6?
   
We have not got any major features to be released as
1.6 right
   now. In
fact, the developer community has not discussed any
plans for
   post 1.5
releases as of now. May be it should be 1.5.1.
http://1.5.1. http://1.5.1./

   We have MTOM caching support. This enhanced the
functionality of
   MTOM to
   send very large attachments with a very low memory usage.


   
Devs, any thoughts...
   
Thanks,
Samisa...
   


 
 -

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




-- 
http://nandikajayawardana.blogspot.com/

WSO2 Inc: http://www.wso2.com






No virus found in this incoming message.
Checked by AVG - http://www.avg.com Version: 8.0.173 / Virus
Database: 270.7.6/1714 - Release Date: 10/8/2008 7:01 AM

 




-- 
Samisa Abeysinghe Director, Engineering; WSO2 Inc.


http://www.wso2.com/ - The Open Source SOA Company



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





No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.173 / Virus Database: 270.7.6/1714 - Release Date: 10/8/2008 7:01 AM


  



--
Samisa Abeysinghe 
Director, Engineering; WSO2 Inc.


http://www.wso2.com/ - The Open Source SOA Company


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



Re: ver 1.6

2008-10-08 Thread Samisa Abeysinghe

If we can have Xpath and CGI, then we might go for 1.6.

I also had a look into the Jira, and looks like we have 87 open issues. 
We might also want to fix some of these also, before the release.


Thanks,
Samisa...

Dumindu Pallewela wrote:

Hi,

I have started on the XPath integration. I sent a separate email 
regarding that. It will take some time to get it properly tested.


Regards,
Dumindu.

On Wed, Oct 8, 2008 at 5:24 PM, Samisa Abeysinghe [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Uthaiyashankar wrote:

Nandika Jayawardana wrote:

The code developed under for the two GSOC projects are
also there.


XPath support is still not integrated. We have to integrate
and test it. We are currently working on that. I think, it
will take some time.


The other one was CGI, is that complete as well?

Thanks,
Samisa...


Regards,
Shankar.

 Thanks
Nandika

On Wed, Oct 8, 2008 at 3:25 PM, Manjula Peiris
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:


   On Wed, 2008-10-08 at 14:11 +0530, Samisa Abeysinghe wrote:
Subra Aswathanarayanan wrote:
 Hello,

 Do you guys know when you are going to release
Axis2/C ver 1.6?
   
We have not got any major features to be released as
1.6 right
   now. In
fact, the developer community has not discussed any
plans for
   post 1.5
releases as of now. May be it should be 1.5.1.
http://1.5.1. http://1.5.1./

   We have MTOM caching support. This enhanced the
functionality of
   MTOM to
   send very large attachments with a very low memory usage.


   
Devs, any thoughts...
   
Thanks,
Samisa...
   


 
 -

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




-- 
http://nandikajayawardana.blogspot.com/

WSO2 Inc: http://www.wso2.com






No virus found in this incoming message.
Checked by AVG - http://www.avg.com Version: 8.0.173 / Virus
Database: 270.7.6/1714 - Release Date: 10/8/2008 7:01 AM

 




-- 
Samisa Abeysinghe Director, Engineering; WSO2 Inc.


http://www.wso2.com/ - The Open Source SOA Company


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]

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




--
Dumindu Pallewela
Cinergix - Share, Reuse, Innovate
cinergix.com http://cinergix.com



No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.173 / Virus Database: 270.7.6/1714 - Release Date: 10/8/2008 7:01 AM


  



--
Samisa Abeysinghe 
Director, Engineering; WSO2 Inc.


http://www.wso2.com/ - The Open Source SOA Company


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



Re: ver 1.6

2008-10-08 Thread Manjula Peiris

On Wed, 2008-10-08 at 14:11 +0530, Samisa Abeysinghe wrote:
 Subra Aswathanarayanan wrote:
  Hello,
 
  Do you guys know when you are going to release Axis2/C ver 1.6?
 
 We have not got any major features to be released as 1.6 right now. In 
 fact, the developer community has not discussed any plans for post 1.5 
 releases as of now. May be it should be 1.5.1.

We have MTOM caching support. This enhanced the functionality of MTOM to
send very large attachments with a very low memory usage.


 
 Devs, any thoughts...
 
 Thanks,
 Samisa...
 


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



Re: ver 1.6

2008-10-08 Thread Subra Aswathanarayanan
In that case, do you have a release date in mind for version 1.5.1.

On Wed, Oct 8, 2008 at 7:54 AM, Samisa Abeysinghe [EMAIL PROTECTED] wrote:

 Uthaiyashankar wrote:

 Nandika Jayawardana wrote:

 The code developed under for the two GSOC projects are also there.


 XPath support is still not integrated. We have to integrate and test it.
 We are currently working on that. I think, it will take some time.


 The other one was CGI, is that complete as well?

 Thanks,
 Samisa...


 Regards,
 Shankar.

   Thanks
 Nandika

 On Wed, Oct 8, 2008 at 3:25 PM, Manjula Peiris [EMAIL PROTECTED]mailto:
 [EMAIL PROTECTED] wrote:


On Wed, 2008-10-08 at 14:11 +0530, Samisa Abeysinghe wrote:
 Subra Aswathanarayanan wrote:
  Hello,
 
  Do you guys know when you are going to release Axis2/C ver 1.6?

 We have not got any major features to be released as 1.6 right
now. In
 fact, the developer community has not discussed any plans for
post 1.5
 releases as of now. May be it should be 1.5.1. http://1.5.1./

We have MTOM caching support. This enhanced the functionality of
MTOM to
send very large attachments with a very low memory usage.



 Devs, any thoughts...

 Thanks,
 Samisa...



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




 --
 http://nandikajayawardana.blogspot.com/
 WSO2 Inc: http://www.wso2.com



 


 No virus found in this incoming message.
 Checked by AVG - http://www.avg.com Version: 8.0.173 / Virus Database:
 270.7.6/1714 - Release Date: 10/8/2008 7:01 AM





 --
 Samisa Abeysinghe Director, Engineering; WSO2 Inc.

 http://www.wso2.com/ - The Open Source SOA Company



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




Re: deploy of sample using axis2c

2008-10-08 Thread Dimuthu Gamage
Hi,
I don't see any problem in the request message. I doubt you give the same
wsdl to SOAPUI test and the Axis2/C code. For an example the wsdl this
message generated has targetNamespace 
http://ws.apache.org/axis2/services/Calculator/types;.

May be in the wsdl given to SOAPUI the targetNamespace is different. (you
may have changed it to your own one).

Thanks
Dimuthu

On Tue, Oct 7, 2008 at 10:34 PM, Sandro Javiel [EMAIL PROTECTED] wrote:

 Hi Dimuthu,
 I changed the wsdl as you have suggested. A test with soapUI returned
 error:

 request:

 soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
 xmlns:typ=http://ws.apache.org/axis2/services/Calculator/types;
soapenv:Header/
soapenv:Body
   typ:add
  param_1?/param_1
  param_2?/param_2
   /typ:add
/soapenv:Body
 /soapenv:Envelope


 response:
 soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/
 
soapenv:Header/
soapenv:Body
   soapenv:Fault
  faultcodesoapenv:Sender/faultcode
  faultstringInvalid XML format in request/faultstring
   /soapenv:Fault
/soapenv:Body
 /soapenv:Envelope

 Any idea about this issue?

 Best regards,
 Sandro


 2008/10/7 Dimuthu Gamage [EMAIL PROTECTED]

 Hi Sandro,

 The namesapce declarations (starting with xmlns: ) and targetNamespaces
 doesn't related to the service endpoint. They are just namespaces that the
 xml elements belongs to (in the wsdl and the soap messages).


 In order to change the service endpoint you have to change the endpoint
 inside

 definintion
   
   service
 prot
   address location=this is where your actual endpoint address should
 be placed/
 /prot
   /service
 /definition

 Check this
 http://mooshup.com/services/jonathan/southwestAutoCheckin?wsdlannotation=truefor
  an annotated wsdl which shows what each elements mean.


 Thanks
 Dimuthu



 On Tue, Oct 7, 2008 at 7:52 PM, Sandro Javiel [EMAIL PROTECTED] wrote:

 Hi Samisa,


 I have just chaged some lines in the beginning of Calculator.wsdl:

 wsdl:definitions
 targetNamespace=http://192.168.0.11/axis2/services/Calculator;
 xmlns:impl=http://192.168.0.11/axis2/services/Calculator;
 xmlns:type=http://192.168.0.11/axis2/services/Calculator/types;
 xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/;
 xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/;
 xmlns:xsd=http://www.w3.org/2001/XMLSchema;
 wsdl:types
 schema
 targetNamespace=
 http://192.168.0.11/axis2/services/Calculator/types;
 xmlns=http://www.w3.org/2001/XMLSchema;
 xmlns:impl=http://192.168.0.11/axis2/services/Calculator;
 xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/;





 !-- ###

 Regards,
 Sandro

 2008/10/7 Samisa Abeysinghe [EMAIL PROTECTED]

 Sandro Javiel wrote:

 Hi Samisa,

 I changed the address ws.apache.org http://ws.apache.org to
 192.168.0.11 http://192.168.0.11 (which is my dev server) in th wsdl
 file.


 All places, or only the service element?

 Samisa...


 Tks
 Sandro.


 2008/10/6 Samisa Abeysinghe [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

Where did you exactly changed localhost to ws.apache.org
http://ws.apache.org?

Samisa...

Sandro Javiel wrote:

Somebody has any idea about this issue? Am I doing something
wrong?

Thank you so much for your help.

2008/10/1 Sandro Javiel [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]


   Hi Rajika,


   2008/10/1 Rajika Kumarasiri [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]




   On Wed, Oct 1, 2008 at 12:32 AM, Sandro Javiel
   [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:

   Hi all,

   Hi,
   Did you follow the guidelines in the manual when
 deploying
   services with Apache? Did you specify the services
folder in
   httpd.conf ? You can look into the axis2.log and the
httpd.log
   to look into further information about the error.


   Yes I follow  carefully the instructions from INSTALL file
   (available from /usr/local/axis2c-bin-1.5.0-linux )



   I am trying to deploy a c++ based webservice with
   axis2c-1.5.0 integrated with apache-2.2.
   Although the libraries and other files (as xml and wsdl)
   are created and deployed to
/usr/local/axis2c/services/myWS
   I could not connect over the address
   http://host/services/myWS. I noticed that the
   Calculator example (found in sample/server) could
not be
   connect 

Re: Req: help building https SOAP client with Axis2/C

2008-10-08 Thread Samisa Abeysinghe

Stephan Zednik wrote:
I need to make a call to a web service from a piece of C/C++ code. The 
sample code I have uses JAX-RPC and the service uses a secure HTTP 
connection. My target platforms are in order 1) Linux and 2) OS X and 
any frameworks I use must be open source.
From my own research it seems that Axis2/C is the best framework for 
my needs, with the exception that the latest version (1.5.0) does not 
have an official OS X release and the Linux sources do not compile on 
OS X.


If you provide the error information, someone might be able to help fix 
this. Please raise a Jira.


I am new to working with web services and all sample client code that 
I have been provided by the web service operator is generated jaxrpc 
code that I am having a difficult time translating into what I need to 
do in Axis2/C.
I grabbed the WSDL for the service and used Apache Axis2's WSDL2C java 
utility to generate stub client code for the service, but at this 
point I am lost. I am not sure what I need to fill out in the client 
stubs, nor how to use the generated stubs from my existing C code.


You can follow the TODO comments in the generated code, and fill in your 
business logic. I am not sure if we have a doc around this.


Thanks,
Samisa...




The web-service calls are a straightforward authorization request with 
the WSDL


https://esg-cet.ucar.edu/ws/AuthorizationService?wsdl

Any help is appreciated.

thanks,
Stephan [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

PS - Any ideas on when Axis2/C will support OS X?





No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.173 / Virus Database: 270.7.6/1714 - Release Date: 10/8/2008 7:01 AM


  



--
Samisa Abeysinghe 
Director, Engineering; WSO2 Inc.


http://www.wso2.com/ - The Open Source SOA Company


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



Exception handling - java first

2008-10-08 Thread Saurabh Garg
Hi,

I am using Java first approach. When I use JAX-WS, I am able to get custom
exceptions to show up correctly.
e.g.
soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
   soapenv:Body
  soapenv:Fault
 faultcodesoapenv:Server/faultcode
 faultstringException happened/faultstring
 detail
CustomExceptionBean xmlns=http://server.hw.demo//
 /detail
  /soapenv:Fault
   /soapenv:Body
/soapenv:Envelope

But when I am not using JAX-WS, I get the stacktrace inside the soap
message. (See message below)

Is there a way to get the CustomException thrown as a proper SOAPFault -
without annotating it as a @WebFault.

Regards
Saurabh

-
soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
   soapenv:Body
  soapenv:Fault
 faultcodesoapenv:Server/faultcode
 faultstringException happened/faultstring
 detail
Exceptionorg.apache.axis2.AxisFault: Exception happened
at
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:158)
at
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:194)
at
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:102)
... 31 more/Exception
 /detail
  /soapenv:Fault
   /soapenv:Body
/soapenv:Envelope


Re: HELP!!! - Axis 2 1.4 CodeGenerator Eclipse Plugin fails

2008-10-08 Thread ibrahim demir
Hi;
 
How can I do a maven build to the plugin that I checked out the resources.
 
I have maven installed and I have checked-out the plugin from the repository.
 
Yours
 

 Ibrahim DEMIR
CyberSoft Yazilim Muh.
http://www.ibrahimdemir.org

 
   
 



- Original Message 
From: Saminda Wijeratne [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Wednesday, October 1, 2008 1:12:00 PM
Subject: Re: HELP!!! - Axis 2 1.4 CodeGenerator Eclipse Plugin fails

Hi,
Yes I also noticed the InvocationException on the last release of the 
plugin. This occured due to a missing jar file (missing class actually 
javax.xml.stream.XMLStreamException). However the snapshot of the 
plugin works fine.  What you can do is to checkout the source 
(http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/tool/axis2-eclipse-codegen-plugin/)
 
and do a maven build to create the snapshot version of the plugin. It 
works fine for me.

regards
saminda.

Steve Cohen wrote:
 I ran the eclipse plugin wizard to generate Java from a WSDL and it 
 failed with

 An error occurred while completing process - 
 java.lang.reflect.InvocationTargetException

 upon pressing Finish.

 Platform is Ubuntu Linux 7.10
 Eclipse is version 3.3.2

 I noticed that the plugin code I had was not the most recent, so I 
 removed this plugin from my eclipse plugins directory and downloaded 
 the latest from the site, and placed it back in the plugins directory.

 Now the wizard fails immediately upon launch as follows:

 The selected wizard could not be started.

 Plug-in Axis2_Codegen_Wizard was unable to load class 
 org.apache.axis2.tool.codegen.eclipse.CodeGenWizard

 Ironically, before I tried using this wizard I was making some 
 progress with the command line tool.  I thought this would be easier.  
 Geez.

 Can someone explain what I need to make this plugin work?  Or would I 
 be better off just using the command line tool.


 -
 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]


  

convert datahandler to blob

2008-10-08 Thread Shehan Simen
Hi,
I want to convert a datahandler (received from axis2 web service) to a blob. I 
am going to save the attachment(datahandler) to the Oracle database.
How to do that conversion? Code snippet will be very helpful.

Thanks.


Re: Problem attaching ws-policy at message level

2008-10-08 Thread Mary Thompson

Nandana,
  Your example services looks like mine except for the inclusion of the 
rampart encryption stuff and the fact that I pass the x509 certificate 
in the message.


I write both a services.xml and OSCARS.wsdl and then  use wsdl2java. As 
a side effect a new services.xml and OSCARS.wsdl are written to a 
resources directory. The  new services.xml has no policy information, 
but the new OSCARS.wsdl does have the correct policyReference elements.

We include the original files in our aar, not the generated ones.

Unfortunately my generated client Stub only includes the binding-level 
policy for the _operation.getMessage MESSAGE_LABEL_IN_VALUE, and does 
not even include an _operation for MESSAGE_LABEL_OUT_VALUE.  It looks 
like wsdl2java didn't recognize the  wsp:PolicyReference 
URI=#signedMsgPolicy/ and just dropped the input element.
At least when I included the policy in each input element, it generated 
the OUT_VALUE operation.


How did you create the SimpleServiceStub? It says it was auto-generated 
from WSDL, but you did not include a WSDL in the example. Does the 
wsdl2java included in axis 1.4.1 work out of the box or does it need to 
become rampart aware in some way?


I'll try to run your example in my tomcat environment and see what happens.


Mary

Nandana Mihindukulasooriya wrote:

Hi Mary,

Has anyone had success in attaching ws-policy at the message level
in the xml.services file? I am trying to get the request  messages
signed and time stamped and the response messages just time stamped.


I just tested this scenario with Axis2 1.4.1 and Rampart nightly build 
and worked as expected for me. I have attached the service [1] that I 
tested for your reference. I also included the SOAP messages for each of 
the scenarios I have tested. However in the response also, time stamp 
will be signed.
 


I have followed Nandana's tutorial at https://wso2.org/library/3786
and used the following PolicyAttachement element
The service seems to just ignore the signedParts. E.g when I send it
a non-signed body it does not reject the message. Just to see what
was happening, I tried attaching the policy to the response message
and it did not sign the response.


When you attach the policies as you have described above using the 
services.xml, do they appear on the generated WSDL ?


thanks,
nandana

[1] - 
https://wso2.org/repos/wso2/people/nandana/demo-service/demo-service.zip


--
Nandana Mihindukulasooriya  
WSO2 inc.


http://nandana83.blogspot.com/
http://www.wso2.org



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



Re: HELP!!! - Axis 2 1.4 CodeGenerator Eclipse Plugin fails

2008-10-08 Thread Saminda Wijeratne

have you tried
   tool/axis2-eclipse-codegen-plugin$ mvn clean install
should build the plugin as /target/dist/axis2-eclipse-codegen-wizard.zip

regards
Saminda

ibrahim demir wrote:


Hi;

 


How can I do a maven build to the plugin that I checked out the resources.

 

I have maven installed and I have checked-out the plugin from the 
repository.


 


Yours

 



 
Ibrahim DEMIR

CyberSoft Yazilim Muh.
http://www.ibrahimdemir.org http://www.ibrahimdemir.org/
 
   
 



- Original Message 
From: Saminda Wijeratne [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Wednesday, October 1, 2008 1:12:00 PM
Subject: Re: HELP!!! - Axis 2 1.4 CodeGenerator Eclipse Plugin fails

Hi,
Yes I also noticed the InvocationException on the last release of the
plugin. This occured due to a missing jar file (missing class actually
javax.xml.stream.XMLStreamException). However the snapshot of the
plugin works fine.  What you can do is to checkout the source
(http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/tool/axis2-eclipse-codegen-plugin/) 


and do a maven build to create the snapshot version of the plugin. It
works fine for me.

regards
saminda.

Steve Cohen wrote:
 I ran the eclipse plugin wizard to generate Java from a WSDL and it
 failed with

 An error occurred while completing process -
 java.lang.reflect.InvocationTargetException

 upon pressing Finish.

 Platform is Ubuntu Linux 7.10
 Eclipse is version 3.3.2

 I noticed that the plugin code I had was not the most recent, so I
 removed this plugin from my eclipse plugins directory and downloaded
 the latest from the site, and placed it back in the plugins directory.

 Now the wizard fails immediately upon launch as follows:

 The selected wizard could not be started.

 Plug-in Axis2_Codegen_Wizard was unable to load class
 org.apache.axis2.tool.codegen.eclipse.CodeGenWizard

 Ironically, before I tried using this wizard I was making some
 progress with the command line tool.  I thought this would be easier. 
 Geez.


 Can someone explain what I need to make this plugin work?  Or would I
 be better off just using the command line tool.


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






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






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



Exception deserialization problem? (WebSphere as server)

2008-10-08 Thread Henrik Hjalmarsson
We have an server application running in WebSphere 6.1 and a client 
using Axis 1.4. Both the server and client are Java applications running 
in Java 1.4.2.
The server and client side Java is generated from WSDL using axis and 
websphere ant target's wsdl2java.


The server throws custom checked exceptions and we try to catch these on 
the client side. The problem is that they appear only as AxisFault with 
the textual part as the fully qualified name of the server exception 
that was thrown. We are expecting the client exception that corresponds 
to the server exception.


The exception I'm currently investigating is an exception containing no 
extra data. I have used a network analyzer and found the web service 
data sent by WebSphere to the client, which shows how the exception is 
serialized for sending to the client. See data content for the message 
sent here:


soapenv:Envelope
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
soapenv:Header/
soapenv:Body
 soapenv:Fault
   faultcode
   xmlns:p799=http://backend.product.company.com;
   p799:PassengerNotExistException
   /faultcode
   faultstring
 
![CDATA[com.company.product.webservice.backend.server.PassengerNotExistException]] 


   /faultstring
   detail encodingStyle=http://schemas.xmlsoap.org/soap/encoding/;
 fault href=#id0/
   /detail
 /soapenv:Fault
 multiRef id=id0 soapenc:root=0
 soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/;
 xsi:type=p799:PassengerNotExistException
 xmlns:p799=http://backend.product.company.com/
/soapenv:Body
/soapenv:Envelope

It can be seen that the exception is serialized in some way but I do not 
know if the problem is that Axis cannot deserialize this format to the 
correct exception and therefore gives the AxisFault instead ?


Or do anyone have any idea on how we can solve this problem?

I reckon the information on the exception issues in webservices are 
sparsely documented at best.


Here follows an excerpt of the WSDL specifications.

wsdl:types
 xsd:schema targetNamespace=http://backend.product.company.com;
 xsd:complexType name=PassengerNotExistException
   sequence /
 /xsd:complexType
/wsdl:types

wsdl:message name=PassengerNotExistException
 wsdl:part name=fault type=backend:PassengerNotExistException /
/wsdl:message

wsdl:portType name=BackendInterface
 wsdl:operation name=getClients
   wsdl:input message=... /
   wsdl:output message=... /
   wsdl:fault name=PassengerNotExistException 
message=backend:PassengerNotExistException /

 /wsdl:operation
/wsdl:portType

wsdl:binding name=BackendInterfaceSOAP type=backend:BackendInterface
 soap:binding style=rpc 
transport=http://schemas.xmlsoap.org/soap/http; /

 wsdl:operation name=getClients
   soap:operation 
soapAction=http://backend.product.company.com/getClients; /

   wsdl:input
 soap:body use=encoded
   encodingStyle=http://schemas.xmlsoap.org/soap/encoding/;
   namespace=http://backend.product.company.com; /
   /wsdl:input
   wsdl:output
 soap:body use=encoded
   encodingStyle=http://schemas.xmlsoap.org/soap/encoding/;
   namespace=http://backend.product.company.com; /
   /wsdl:output
   wsdl:fault name=PassengerNotExistException
 soap:fault name=PassengerNotExistException
   use=encoded
   
encodingStyle=http://schemas.xmlsoap.org/soap/encoding/;

   namespace=http://backend.product.company.com; /
   /wsdl:fault
 /wsdl:operation
/wsdl:binding

Regards,
Henrik
--

*Henrik Hjalmarsson*
System Developer

Precise Biometrics Solutions AB
Bryggaregatan 11
653 40 Karlstad
Sweden

Mobile   +46 730 39 10 35
Fax   +46 54 10 13 72

Email [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]
Visit our website www.precisebiometrics.com 
http://www.precisebiometrics.com


*Confidentiality notice*: /The information contained in this e-mail 
message, including any attachments, is for the sole use of the intended 
recipient(s) or entity to which it is addressed and may be privileged 
and confidential. Any unauthorized review, disclosure or distribution or 
other use of, or taking of any action in reliance upon this information 
by persons or entities other than the intended recipient is prohibited. 
If you are not the intended recipient, please contact the sender by 
reply e-mail and delete the original message and all copies from your 
computer./




Problem redeploying Axis 1.4 based web application

2008-10-08 Thread Janne Rantala
Hi,

We've just upgraded our Axis from version 1.1 to 1.4 and found strange
behaviour when redeploying Axis web application. This isn't critical error
but it would definitely be nice to know what's causing this? Directory
META-INF/services/ doesn't even exist in our application, could this be the
problem? When Tomcat is started everything works just fine but this occurs
only when application is redeployed.

INFO: Illegal access: this web application instance has been stopped
already.  C
ould not load META-INF/services/org.apache.axis.EngineConfigurationFactory.
The
 eventual following stack trace is caused by an error thrown for debugging
purpo
ses as well as to attempt to terminate the thread which caused the illegal
acces
s, and has no functional impact.
8.10.2008 14:10:09 org.apache.catalina.core.ApplicationContext log
SEVERE: StandardWrapper.Throwable
java.lang.NullPointerException
at
org.apache.catalina.loader.WebappClassLoader.findResources(WebappClas
sLoader.java:968)
at java.lang.ClassLoader.getResources(ClassLoader.java:1015)
at
org.apache.commons.discovery.jdk.JDK12Hooks.getResources(JDK12Hooks.j
ava:150)
at
org.apache.commons.discovery.resource.DiscoverResources$1.getNextReso
urces(DiscoverResources.java:153)
at
org.apache.commons.discovery.resource.DiscoverResources$1.getNextReso
urce(DiscoverResources.java:129)
at
org.apache.commons.discovery.resource.DiscoverResources$1.hasNext(Dis
coverResources.java:116)
at
org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.get
NextClassNames(DiscoverNamesInFile.java:186)
at
org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.get
NextClassName(DiscoverNamesInFile.java:170)
at
org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.has
Next(DiscoverNamesInFile.java:157)
at
org.apache.commons.discovery.resource.names.NameDiscoverers$1.getNext
Iterator(NameDiscoverers.java:143)
at
org.apache.commons.discovery.resource.names.NameDiscoverers$1.hasNext
(NameDiscoverers.java:126)
at
org.apache.commons.discovery.resource.classes.ResourceClassDiscoverIm
pl$1.getNextResource(ResourceClassDiscoverImpl.java:159)
at
org.apache.commons.discovery.resource.classes.ResourceClassDiscoverIm
pl$1.hasNext(ResourceClassDiscoverImpl.java:147)
at
org.apache.axis.configuration.EngineConfigurationFactoryFinder$1.run(
EngineConfigurationFactoryFinder.java:120)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFac
tory(EngineConfigurationFactoryFinder.java:113)
at
org.apache.axis.transport.http.AxisServletBase.getEngineEnvironment(A
xisServletBase.java:273)
at
org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletB
ase.java:172)
at
org.apache.axis.transport.http.AxisServletBase.getOption(AxisServletB
ase.java:396)
at
org.apache.axis.transport.http.AxisServletBase.init(AxisServletBase.j
ava:112)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
java:1161)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:98
1)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContex
t.java:4045)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4
351)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:791)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
1)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)

at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)

at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714
)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490
)
at
org.apache.catalina.startup.HostConfig.check(HostConfig.java:1206)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:293)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:117)
at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBas
e.java:1337)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
rocessChildren(ContainerBase.java:1601)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
rocessChildren(ContainerBase.java:1610)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.r
un(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:619)
8.10.2008 14:10:09 org.apache.catalina.core.StandardContext loadOnStartup


Best regards,

Janne


Re: Rampart Username and signed certificate

2008-10-08 Thread Mary Thompson

Nandana,
  Your example works correctly in my tomcat/axis environment. Now I 
just have to figure out why mine doesn't.  Maybe  there is something 
missing in our service skeleton class.


Mary

Nandana Mihindukulasooriya wrote:

Hi,

I've tried it with SignedSupportingTokens (or even just
SupportingTokens)
below the binding (as a top level) a few times.  It ends up making
the token
still embedded and encrypted (not a plain old Username token). 



Yes, when a username token is used as supporting token with symmetric 
binding or an asymmetric binding it is encrypted due security 
considerations. You can't control this using policy. If we want to 
control this we might need to introduce a custom flag in to Rampart 
configuration.


 Using just
SupportingTokens (without the Signed) removes it entirely. 



This should be a bug if it removes it completely. Please create a JIRA 
for this under Apache Rampart [1]. 
 


Here's my most recent message:


Was this most recent message a successful one ? In that message, it 
seems the Username Token is encrypted.


thanks,
nandana

[1] - http://issues.apache.org/jira/browse/Rampart

 


On Tue, Oct 7, 2008 at 9:34 AM, keith chapman
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]wrote:

 
 
  On Tue, Oct 7, 2008 at 8:50 AM, Samisa Abeysinghe 
  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
wrote:
 
  Nandana Mihindukulasooriya wrote:
 
  Hi Ronnie,
Please change the policy as given below.
 
 
  But should not this policy come from the service?
 
  Ideally yes. ;)
 

I just assumed that the service doesn't have a policy and security
requirements are published out of band.

 I know that I need to send both a usernameToken and sign the
header with a
certificate. I'm fairly sure I've just got the policy file slightly off.
 Any suggestions ? 

But if the WSDL publishes the security requirements via policy,
there is no
need for us to manually create policies and attach them. If you are
using
the Axis2 cord generator, it will do this for you. Please take a look at
this tutorial [1].

thanks,
nandana

[1] - http://wso2.org/library/3415

Samisa...

--
View this message in context:

http://www.nabble.com/Rampart-Username-and-signed-certificate-tp19843845p19859682.html
Sent from the Axis - User mailing list archive at Nabble.com.


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




--
Nandana Mihindukulasooriya  
WSO2 inc.


http://nandana83.blogspot.com/
http://www.wso2.org



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



Re: Problem attaching ws-policy at message level

2008-10-08 Thread Nandana Mihindukulasooriya
Hi Mary,

How did you create the SimpleServiceStub? It says it was auto-generated from
 WSDL, but you did not include a WSDL in the example. Does the wsdl2java
 included in axis 1.4.1 work out of the box or does it need to become
 rampart aware in some way?


No, you don't need to make wsdl2java rampart aware. In the above scenario I
used the code first approach. I just created a the service archive with the
necessary classes and the services.xml. WSDL was generated by Axis2.  Then I
created stubs using axis2 codegen tool by pointing it the WSDL generated by
Axis2 engine.

thanks,
nandana


Nandana Mihindukulasooriya wrote:

 Hi Mary,

Has anyone had success in attaching ws-policy at the message level
in the xml.services file? I am trying to get the request  messages
signed and time stamped and the response messages just time stamped.


 I just tested this scenario with Axis2 1.4.1 and Rampart nightly build and
 worked as expected for me. I have attached the service [1] that I tested for
 your reference. I also included the SOAP messages for each of the scenarios
 I have tested. However in the response also, time stamp will be signed.

I have followed Nandana's tutorial at https://wso2.org/library/3786
and used the following PolicyAttachement element
The service seems to just ignore the signedParts. E.g when I send it
a non-signed body it does not reject the message. Just to see what
was happening, I tried attaching the policy to the response message
and it did not sign the response.


 When you attach the policies as you have described above using the
 services.xml, do they appear on the generated WSDL ?

 thanks,
 nandana

 [1] -
 https://wso2.org/repos/wso2/people/nandana/demo-service/demo-service.zip

 --
 Nandana Mihindukulasooriya  WSO2 inc.

 http://nandana83.blogspot.com/
 http://www.wso2.org





-- 
Nandana Mihindukulasooriya
WSO2 inc.

http://nandana83.blogspot.com/
http://www.wso2.org


Axis Deployment Registering problem

2008-10-08 Thread Miguel chop
Greetings All,

Wonder if you guys could possibly help resolve a small issue that I'm
currently experiencing.

I have created a server Axis webservice, and deployed it on Weblogic 8.x.
When I try to register the webservice using Ant it says succesful.

Here is the following Ant task:

target name=axis-deploy
 axis-admin
 url=http://jdev:27110/axis/services/AdminService;
 username=${deploy.ws.username}
password=${deploy.ws.password}
port=${deploy.host.port}
hostname=${deploy.host.ip}
failonerror=true
servletpath=/axis/services/AdminService
debug=true
xmlfile=./src/com/newlot/ws/deploy.wsdd
 /
 /target

And the output:

Buildfile: D:\Projects\WS3.3\WS\WS-VCMProxy\build.xml
axis-deploy:
[axis-admin] Processing file
D:\Projects\WS3.3\WS\WS-VCMProxy\src\com\newlot\ws\deploy.wsdd
[axis-admin] AdminDone processing/Admin
BUILD SUCCESSFUL
Total time: 1 second

If I go to the servlet list:

http://jdev:27110/axis/servlet/AxisServlet, only the default webservices are
listed.

I can't find any errors in the Weblogic log. Any ideas as to what the
problem could be?

Regards,
Miguel


Re: Rampart Username and signed certificate

2008-10-08 Thread RonnieMJ

Nandana,

I don't think I processed your message fully last night.  You're saying that
it shouldn't matter if you say SignedSupportingTokens or
SupportingTokens if we're using symmetric or asymmetric binding because it
SHOULD encrypt both?

That would mean that I don't really have the capability to create the
attached header (which is my goal)?



Nunny wrote:
 
 Hi,
 
 I've tried it with SignedSupportingTokens (or even just SupportingTokens)
 below the binding (as a top level) a few times.  It ends up making the
 token
 still embedded and encrypted (not a plain old Username token).
 
 
 Yes, when a username token is used as supporting token with symmetric
 binding or an asymmetric binding it is encrypted due security
 considerations. You can't control this using policy. If we want to control
 this we might need to introduce a custom flag in to Rampart configuration.
 
  Using just
 SupportingTokens (without the Signed) removes it entirely.
 
 
 This should be a bug if it removes it completely. Please create a JIRA for
 this under Apache Rampart [1].
 
 
 Here's my most recent message:
 
 
 Was this most recent message a successful one ? In that message, it seems
 the Username Token is encrypted.
 
 thanks,
 nandana
 
 [1] - http://issues.apache.org/jira/browse/Rampart
 
 
 
 On Tue, Oct 7, 2008 at 9:34 AM, keith chapman
 [EMAIL PROTECTED]wrote:

 
 
  On Tue, Oct 7, 2008 at 8:50 AM, Samisa Abeysinghe 
  [EMAIL PROTECTED] wrote:
 
  Nandana Mihindukulasooriya wrote:
 
  Hi Ronnie,
Please change the policy as given below.
 
 
  But should not this policy come from the service?
 
  Ideally yes. ;)
 

 I just assumed that the service doesn't have a policy and security
 requirements are published out of band.

  I know that I need to send both a usernameToken and sign the header
 with
 a
 certificate. I'm fairly sure I've just got the policy file slightly off.
  Any suggestions ? 

 But if the WSDL publishes the security requirements via policy, there is
 no
 need for us to manually create policies and attach them. If you are using
 the Axis2 cord generator, it will do this for you. Please take a look at
 this tutorial [1].

 thanks,
 nandana

 [1] - http://wso2.org/library/3415

 Samisa...

 --
 View this message in context:
 http://www.nabble.com/Rampart-Username-and-signed-certificate-tp19843845p19859682.html
 Sent from the Axis - User mailing list archive at Nabble.com.


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


 
 
 -- 
 Nandana Mihindukulasooriya
 WSO2 inc.
 
 http://nandana83.blogspot.com/
 http://www.wso2.org
 
 
http://www.nabble.com/file/p19879853/exampleHeader.xml exampleHeader.xml 
-- 
View this message in context: 
http://www.nabble.com/Rampart-Username-and-signed-certificate-tp19843845p19879853.html
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: Rampart Username and signed certificate

2008-10-08 Thread RonnieMJ

It worked with SignedSupportingTokens or just SupportingTokens?  Mine works
fine with SignedSupportingTokens, our end service just won't take it.



Mary Thompson wrote:
 
 Nandana,
Your example works correctly in my tomcat/axis environment. Now I 
 just have to figure out why mine doesn't.  Maybe  there is something 
 missing in our service skeleton class.
 
 Mary
 
 Nandana Mihindukulasooriya wrote:
 Hi,
 
 I've tried it with SignedSupportingTokens (or even just
 SupportingTokens)
 below the binding (as a top level) a few times.  It ends up making
 the token
 still embedded and encrypted (not a plain old Username token). 
 
 
 Yes, when a username token is used as supporting token with symmetric 
 binding or an asymmetric binding it is encrypted due security 
 considerations. You can't control this using policy. If we want to 
 control this we might need to introduce a custom flag in to Rampart 
 configuration.
 
  Using just
 SupportingTokens (without the Signed) removes it entirely. 
 
 
 This should be a bug if it removes it completely. Please create a JIRA 
 for this under Apache Rampart [1]. 
  
 
 Here's my most recent message:
 
 
 Was this most recent message a successful one ? In that message, it 
 seems the Username Token is encrypted.
 
 thanks,
 nandana
 
 [1] - http://issues.apache.org/jira/browse/Rampart
 
  
 
 On Tue, Oct 7, 2008 at 9:34 AM, keith chapman
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]wrote:
 
  
  
   On Tue, Oct 7, 2008 at 8:50 AM, Samisa Abeysinghe 
   [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote:
  
   Nandana Mihindukulasooriya wrote:
  
   Hi Ronnie,
 Please change the policy as given below.
  
  
   But should not this policy come from the service?
  
   Ideally yes. ;)
  
 
 I just assumed that the service doesn't have a policy and security
 requirements are published out of band.
 
  I know that I need to send both a usernameToken and sign the
 header with a
 certificate. I'm fairly sure I've just got the policy file slightly
 off.
  Any suggestions ? 
 
 But if the WSDL publishes the security requirements via policy,
 there is no
 need for us to manually create policies and attach them. If you are
 using
 the Axis2 cord generator, it will do this for you. Please take a look
 at
 this tutorial [1].
 
 thanks,
 nandana
 
 [1] - http://wso2.org/library/3415
 
 Samisa...
 
 --
 View this message in context:

 http://www.nabble.com/Rampart-Username-and-signed-certificate-tp19843845p19859682.html
 Sent from the Axis - User mailing list archive at Nabble.com.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
 
 
 
 
 -- 
 Nandana Mihindukulasooriya  
 WSO2 inc.
 
 http://nandana83.blogspot.com/
 http://www.wso2.org
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Rampart-Username-and-signed-certificate-tp19843845p19879575.html
Sent from the Axis - User mailing list archive at Nabble.com.


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



wsdl generation personalisation

2008-10-08 Thread javier
Hi

I wonder if there is a way to set the parameter style of the soap binding in an 
autogenerated wsdl. Instead of having a wrapped input I would like to set as 
SOAPBinding.ParameterStyle.BARE in JAX-WS.

Thanks in advance
javier




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



Axis2 in Glassfish - strange exception

2008-10-08 Thread dawg

Hi, 

I'm using Axis2 in Glassfish - even before I deploy my service, I go to the
services page: 

http://localhost:8080/axis2/services/listServices

That works fine and gives back the version service. However when clicking on
theh version link I get an error: HTTP status 500. The exception is:

org.apache.axis2.dataretrieval.DataRetrievalException:
org.apache.xml.utils.DefaultErrorHandler.(Z)V

The server's log is showing the following exception:

[INFO] getData request failed for dialect, http://schemas.xmlsoap.org/wsdl/
java.lang.NoSuchMethodError:
org.apache.xml.utils.DefaultErrorHandler.init(Z)V
at
org.apache.xalan.processor.TransformerFactoryImpl.init(TransformerFactoryImpl.java:1002)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at
javax.xml.transform.FactoryFinder.newInstance(FactoryFinder.java:100)
at
javax.xml.transform.FactoryFinder.findJarServiceProvider(FactoryFinder.java:278)
at javax.xml.transform.FactoryFinder.find(FactoryFinder.java:185)
at
javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:103)
at
org.apache.ws.commons.schema.XmlSchema.serialize_internal(XmlSchema.java:453)
at org.apache.ws.commons.schema.XmlSchema.write(XmlSchema.java:426)
at
org.apache.axis2.description.AxisService2WSDL11.generateOM(AxisService2WSDL11.java:218)
at
org.apache.axis2.dataretrieval.WSDLDataLocator.outputInlineForm(WSDLDataLocator.java:130)
at
org.apache.axis2.dataretrieval.WSDLDataLocator.getData(WSDLDataLocator.java:73)
at
org.apache.axis2.dataretrieval.AxisDataLocatorImpl.getData(AxisDataLocatorImpl.java:81)
at
org.apache.axis2.description.AxisService.getData(AxisService.java:2725)
at
org.apache.axis2.description.AxisService.getWSDL(AxisService.java:1465)
at
org.apache.axis2.description.AxisService.printWSDL(AxisService.java:1337)
at
org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:287)
at
org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:242)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
at
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
at

[Axis2] Setting httpFrontendHostUrl programatically.

2008-10-08 Thread Raghu Upadhyayula
Hi,

 

The property httpFrontendHostUrl which is defined in axis2.xml, can it
be set programmatically?  If so how?

 

Thanks

Raghu

 



Re: HELP!!! - Axis 2 1.4 CodeGenerator Eclipse Plugin fails

2008-10-08 Thread ibrahim demir
Hi ;

I am on windows platform and run it like that

C:\Cybersoft\ADS\Eclipse\workspace\axis2-eclipse-codegen-pluginmaven clean 
install

but it fails and says
 
 Goal 'install' does not exist in this project.

Am I on a wrong directory or another problem is present. The directory is in 
this structure:

 Directory of C:\Cybersoft\ADS\Eclipse\workspace\axis2-eclipse-codegen-plugin

01.10.2008  23:23DIR  .
01.10.2008  23:23DIR  ..
01.10.2008  23:23   232 .project
01.10.2008  23:2314.906 build.xml
01.10.2008  23:23 5.580 eclipse-codegen-plugin-assembly.xml
01.10.2008  23:2328.402 pom.xml
01.10.2008  23:23DIR  src
   4 File(s) 49.120 bytes
   3 Dir(s)  19.257.098.240 bytes free

Yours.


 Ibrahim DEMIR
CyberSoft Yazilim Muh.
http://www.ibrahimdemir.org

 
   
 



- Original Message 
From: Saminda Wijeratne [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Wednesday, October 8, 2008 11:37:56 AM
Subject: Re: HELP!!! - Axis 2 1.4 CodeGenerator Eclipse Plugin fails

have you tried
tool/axis2-eclipse-codegen-plugin$ mvn clean install
should build the plugin as /target/dist/axis2-eclipse-codegen-wizard.zip

regards
Saminda

ibrahim demir wrote:

 Hi;

  

 How can I do a maven build to the plugin that I checked out the resources.

  

 I have maven installed and I have checked-out the plugin from the 
 repository.

  

 Yours

  


  
 Ibrahim DEMIR
 CyberSoft Yazilim Muh.
 http://www.ibrahimdemir.org http://www.ibrahimdemir.org/
  

  


 - Original Message 
 From: Saminda Wijeratne [EMAIL PROTECTED]
 To: axis-user@ws.apache.org
 Sent: Wednesday, October 1, 2008 1:12:00 PM
 Subject: Re: HELP!!! - Axis 2 1.4 CodeGenerator Eclipse Plugin fails

 Hi,
 Yes I also noticed the InvocationException on the last release of the
 plugin. This occured due to a missing jar file (missing class actually
 javax.xml.stream.XMLStreamException). However the snapshot of the
 plugin works fine.  What you can do is to checkout the source
 (http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/tool/axis2-eclipse-codegen-plugin/)
  

 and do a maven build to create the snapshot version of the plugin. It
 works fine for me.

 regards
 saminda.

 Steve Cohen wrote:
  I ran the eclipse plugin wizard to generate Java from a WSDL and it
  failed with
 
  An error occurred while completing process -
  java.lang.reflect.InvocationTargetException
 
  upon pressing Finish.
 
  Platform is Ubuntu Linux 7.10
  Eclipse is version 3.3.2
 
  I noticed that the plugin code I had was not the most recent, so I
  removed this plugin from my eclipse plugins directory and downloaded
  the latest from the site, and placed it back in the plugins directory.
 
  Now the wizard fails immediately upon launch as follows:
 
  The selected wizard could not be started.
 
  Plug-in Axis2_Codegen_Wizard was unable to load class
  org.apache.axis2.tool.codegen.eclipse.CodeGenWizard
 
  Ironically, before I tried using this wizard I was making some
  progress with the command line tool.  I thought this would be easier. 
  Geez.
 
  Can someone explain what I need to make this plugin work?  Or would I
  be better off just using the command line tool.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED]
 
 



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




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


  

Re: Rampart Username and signed certificate

2008-10-08 Thread RonnieMJ

Ok the vendor has gotten back to me indicating that they don't see the
password.  Funny, I don't quite see it either.  I've tried setting
passwordType, but it doesn't seem to do it (although it's deprecated on 1.4,
which I'm using).  

I do see this in my own logs:

2008-10-08 14:09:47,014 [Timer-0   ] DEBUG EnvelopeIdResolver -
enter engineResolve, look for: #UsernameToken-30587319
2008-10-08 14:09:47,015 [Timer-0   ] DEBUG StAXUtils  -
XMLStreamWriter is com.sun.xml.internal.stream.writers.XMLStreamWriterImpl
2008-10-08 14:09:47,019 [Timer-0   ] DEBUG EnvelopeIdResolver - exit
engineResolve, result: XMLSignatureInput/Element/wsse:UsernameToken
xmlns:wsse=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd;
xmlns:wsu=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd;
wsu:Id=UsernameToken-30587319
wsse:UsernameuserNameWasHere/wsse:Username
wsse:Password
Type=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText;passwordWasHere/wsse:Password
/wsse:UsernameToken exclude null comments:false/null
2008-10-08 14:09:47,020 [Timer-0   ] DEBUG ElementProxy   -
setElement(ds:Transform, null)


But I don't see it anything like that in the message.  The username is
encrypted (guessing)?
IF the digestValue is the username:
ds:Reference URI=#UsernameToken-30587319
ds:Transforms
ds:Transform
Algorithm=http://www.w3.org/2001/10/xml-exc-c14n#;/ds:Transform
/ds:Transforms
ds:DigestMethod
Algorithm=http://www.w3.org/2000/09/xmldsig#sha1;/ds:DigestMethod

ds:DigestValueT2XSh+9LCbwfDzbPzw=/ds:DigestValue
/ds:Reference

I don't see the password...





RonnieMJ wrote:
 
 It worked with SignedSupportingTokens or just SupportingTokens?  Mine
 works fine with SignedSupportingTokens, our end service just won't take
 it.
 
 
 
 Mary Thompson wrote:
 
 Nandana,
Your example works correctly in my tomcat/axis environment. Now I 
 just have to figure out why mine doesn't.  Maybe  there is something 
 missing in our service skeleton class.
 
 Mary
 
 Nandana Mihindukulasooriya wrote:
 Hi,
 
 I've tried it with SignedSupportingTokens (or even just
 SupportingTokens)
 below the binding (as a top level) a few times.  It ends up making
 the token
 still embedded and encrypted (not a plain old Username token). 
 
 
 Yes, when a username token is used as supporting token with symmetric 
 binding or an asymmetric binding it is encrypted due security 
 considerations. You can't control this using policy. If we want to 
 control this we might need to introduce a custom flag in to Rampart 
 configuration.
 
  Using just
 SupportingTokens (without the Signed) removes it entirely. 
 
 
 This should be a bug if it removes it completely. Please create a JIRA 
 for this under Apache Rampart [1]. 
  
 
 Here's my most recent message:
 
 
 Was this most recent message a successful one ? In that message, it 
 seems the Username Token is encrypted.
 
 thanks,
 nandana
 
 [1] - http://issues.apache.org/jira/browse/Rampart
 
  
 
 On Tue, Oct 7, 2008 at 9:34 AM, keith chapman
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]wrote:
 
  
  
   On Tue, Oct 7, 2008 at 8:50 AM, Samisa Abeysinghe 
   [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote:
  
   Nandana Mihindukulasooriya wrote:
  
   Hi Ronnie,
 Please change the policy as given below.
  
  
   But should not this policy come from the service?
  
   Ideally yes. ;)
  
 
 I just assumed that the service doesn't have a policy and security
 requirements are published out of band.
 
  I know that I need to send both a usernameToken and sign the
 header with a
 certificate. I'm fairly sure I've just got the policy file slightly
 off.
  Any suggestions ? 
 
 But if the WSDL publishes the security requirements via policy,
 there is no
 need for us to manually create policies and attach them. If you are
 using
 the Axis2 cord generator, it will do this for you. Please take a
 look at
 this tutorial [1].
 
 thanks,
 nandana
 
 [1] - http://wso2.org/library/3415
 
 Samisa...
 
 --
 View this message in context:

 http://www.nabble.com/Rampart-Username-and-signed-certificate-tp19843845p19859682.html
 Sent from the Axis - User mailing list archive at Nabble.com.
 
 

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

Axis Book

2008-10-08 Thread Harshad Chavan
Hello everybody,

I dont know if this is the right forum to ask this question. 

But I could not find another authentic source for this.

I want to buy a/couple book(s) on SOAP and AXIS. Which ones should I buy?

Thanks

Harshad.



  

Re: Axis Book

2008-10-08 Thread Deepal jayasinghe
Harshad Chavan wrote:
 Hello everybody,

 I dont know if this is the right forum to ask this question.

 But I could not find another authentic source for this.

 I want to buy a/couple book(s) on SOAP and AXIS. Which ones should I buy?
Do you want Axis2 or Axis1 ?
if you are looking for Axis2 , I wrote a book few months back.

http://www.packtpub.com/creating-web-services-with-apache-axis-2/book

-Deepal

 Thanks

 Harshad.



-- 
Thank you!


http://blogs.deepal.org


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



AXIS JAVA Client - JMS Transport Authenication

2008-10-08 Thread Sam Kuhn
I need to provide a username and password to my AXIS client which is
attempting to invoke a web service provider over a TIBCO EMS (JMS
implementation) endpoint.  I tried setting the username and password
using the Call.setUsername() and Call.setPassword() methods with no
luck.  I also tried adding java.naming.security.principle and
java.naming.security.credentials to the URL with no luck.

Here's what my String url looks like:

static String sampleJmsUrl = jms:/queue.sample? +
 vendor=JNDI +
 
java.naming.factory.initial=com.tibco.tibjms.naming.TibjmsInitialConte
xtFactory +
 
java.naming.provider.url=tcp://localhost:7222 +
 java.naming.security.principle=abc +
 java.naming.security.credentials=xyz
+
 
ConnectionFactoryJNDIName=QueueConnectionFactory +
 deliveryMode=persistent +
 priority=5 +
 ttl=1 +
 debug=true;

It appears my AXIS client is trying to log on using an anonymous user
based on the error message I'm getting from the EMS server.  Any help in
resolving this would be appreciated.

Sincerely,
Sam Kuhn


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



Re: Jgroups

2008-10-08 Thread Igor Nogueira
I've post this doubt to Jgroups list and they told that it is possible.
That's the idea:

byte[] buf=marshal(envelope); // marshal() needs to generate a byte[] buffer
from the envelope
Message msg=new Message(null, null, buf);
disp.cast(null, msg, ...);

On the receiver side:
Object handle(Message req) {
 byte[] buf=msg.getBuffer();
 envelope=unmarshal(buf);

I know I can build a SOAPEnvelope with Axis and I'm marshaling the SOAP into
a byte[] this way:

ByteArrayOutputStream baos = new ByteArrayOutputStream();
SOAPEnvelope envelope = 
envelope.serialize(baos);
 My doubt is that the receiver side would be Axis2. In this case if I
engage a module to unmarshal the message, would it work even if the message
received ins't a SOAPEnvelope? Because that's the situation.


Best Regards,

Igor Nogueira


WebSphere 6.1 deployment issue

2008-10-08 Thread visava

I deployed default axis2.war 1.4.1 .When I try to click on Services link I
get following stack.I had to configure PARENT_LAST due to jar file conflict
mentioned elsewhere in the forum.
I even tried commenting the error page in web.xml but did not help.
anybody tried deploying axis2 to WebSphere 6.1.0.17

 Delegation Mode: PARENT_LAST
   [3] [EMAIL PROTECTED]
   [4] [EMAIL PROTECTED]
   [5] [EMAIL PROTECTED]
   [6] [EMAIL PROTECTED]
   [7] [EMAIL PROTECTED]
---Original exception---
java.lang.NoClassDefFoundError: axis2-web.Error._error404 (wrong name:
com/ibm/_jsp/_error404)
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:258)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:151)
at
com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:555)
at
com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java:506)
at
com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:389)
at java.lang.ClassLoader.loadClass(ClassLoader.java:597)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:130)
at org.apache.axis2.util.Loader.loadClass(Loader.java:261)
at org.apache.axis2.util.Loader.loadClass(Loader.java:229)
at
org.apache.axis2.jaxws.framework.JAXWSDeployer.deployClasses(JAXWSDeployer.java:186)
at
org.apache.axis2.jaxws.framework.JAXWSDeployer.deployServicesInWARClassPath(JAXWSDeployer.java:107)
at
org.apache.axis2.jaxws.framework.JAXWSDeployer.init(JAXWSDeployer.java:80)
at
org.apache.axis2.deployment.DeploymentEngine.initializeDeployers(DeploymentEngine.java:928)
at
org.apache.axis2.deployment.DeploymentEngine.setConfigContext(DeploymentEngine.java:919)
at
org.apache.axis2.deployment.WarBasedAxisConfigurator.setConfigContext(WarBasedAxisConfigurator.java:350)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:76)
at
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:516)
at
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:436)
at
org.apache.axis2.transport.http.AxisAdminServlet.init(AxisAdminServlet.java:55)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:199)
at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:319)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:393)
at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at
com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3391)
at
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:115)

-- 
View this message in context: 
http://www.nabble.com/WebSphere-6.1-deployment-issue-tp19888424p19888424.html
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: WebSphere 6.1 deployment issue

2008-10-08 Thread Gautham.Kasinath
Visava, 

The No Class Definition Found error is specifically pointing at the 
error.jsp. Websphere, is not able to find that JSP file (and hence could 
not translate it to a servlet, and compile it into a classfile). Stupid as 
it may seem, can you confirm that the jsp file is indeed in a location 
that Websphere can access (i.e. context path and web app archive)? 
From my previous (limited) experience with Websphere, it is kind of 
convoluted. The jar archives bundled within a war (and most times within 
an ear), need to be mentioned in the manifest.mf file of the war and ear. 

To eliminate the cause(s), before someone else more knowledgable in 
Websphere replies, I suggest that you ensure that the jsp to servlet to 
java class translation/conversion is indeed done. Further, also ensure 
that the class generated resides in the right package, and at a location 
that is included in the Websphere classpath. 

Tracy, is there something I am missing here? You have worked on Websphere 
longer than I have.

Cheers
G

--
Gautham Kasinath
Senior Consultant | Business Solution Delivery
Information Technology Services

HBF Health Funds Inc
Level 5 -Murray St, Perth, WA, 6000
Ph: 9265-8829

e: [EMAIL PROTECTED]
www.hbf.com.au
--



visava [EMAIL PROTECTED] 
09/10/2008 05:59 AM
Please respond to
axis-user@ws.apache.org


To
axis-user@ws.apache.org
cc

Subject
WebSphere 6.1 deployment issue







I deployed default axis2.war 1.4.1 .When I try to click on Services link I
get following stack.I had to configure PARENT_LAST due to jar file 
conflict
mentioned elsewhere in the forum.
I even tried commenting the error page in web.xml but did not help.
anybody tried deploying axis2 to WebSphere 6.1.0.17

 Delegation Mode: PARENT_LAST
   [3] [EMAIL PROTECTED]
   [4] [EMAIL PROTECTED]
   [5] [EMAIL PROTECTED]
   [6] [EMAIL PROTECTED]
   [7] [EMAIL PROTECTED]
---Original exception---
java.lang.NoClassDefFoundError: axis2-web.Error._error404 (wrong name:
com/ibm/_jsp/_error404)
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:258)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:151)
at
com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:555)
at
com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java:506)
at
com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:389)
at java.lang.ClassLoader.loadClass(ClassLoader.java:597)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:130)
at org.apache.axis2.util.Loader.loadClass(Loader.java:261)
at org.apache.axis2.util.Loader.loadClass(Loader.java:229)
at
org.apache.axis2.jaxws.framework.JAXWSDeployer.deployClasses(JAXWSDeployer.java:186)
at
org.apache.axis2.jaxws.framework.JAXWSDeployer.deployServicesInWARClassPath(JAXWSDeployer.java:107)
at
org.apache.axis2.jaxws.framework.JAXWSDeployer.init(JAXWSDeployer.java:80)
at
org.apache.axis2.deployment.DeploymentEngine.initializeDeployers(DeploymentEngine.java:928)
at
org.apache.axis2.deployment.DeploymentEngine.setConfigContext(DeploymentEngine.java:919)
at
org.apache.axis2.deployment.WarBasedAxisConfigurator.setConfigContext(WarBasedAxisConfigurator.java:350)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:76)
at
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:516)
at
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:436)
at
org.apache.axis2.transport.http.AxisAdminServlet.init(AxisAdminServlet.java:55)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:199)
at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:319)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:393)
at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at
com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3391)
at
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:115)

-- 
View this message in context: 
http://www.nabble.com/WebSphere-6.1-deployment-issue-tp19888424p19888424.html

Sent from the Axis - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL 

Re: [Axis2] Setting httpFrontendHostUrl programatically.

2008-10-08 Thread keith chapman
Get hold of the axisConfiguration and add the parameter,

axisConfiguration.addParameter(httpFrontendHostUrl, ValueOfParam);

Thanks,
Keith.

On Wed, Oct 8, 2008 at 11:57 PM, Raghu Upadhyayula 
[EMAIL PROTECTED] wrote:

  Hi,



 The property httpFrontendHostUrl which is defined in axis2.xml, can it be
 set programmatically?  If so how?



 Thanks

 Raghu






-- 
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org