Re: [axis2] wsdl with policy

2007-12-20 Thread Amila Suriarachchi
When you generate the code it adds the security policies to input and output messages. Here codegen tool normalize the policy and attached it as a string so that runtime it builds the policy from that. See the attached test case. Amila. On Dec 21, 2007 2:59 AM, Stephen Souness <[EMAIL PROTECTE

Re: [Axis2] WSDL and WS-I compliance.

2007-12-20 Thread Mohana Murali
Anne Thomas Manes wrote: > > WS-I Basic Profile v1.1 (the current version) does not allow use of > SOAP 1.2, MTOM, or WS-Addressing. Support for MTOM and WS-Addressing > will be added in WS-I BP v1.2. Support for SOAP 1.2 will be added in > WS-I BP v2.0. > I too faced a similar issue when I us

Re: [Axis2] - (Newbie) Is there a stateful context in WebServices ? Or in Axis ?

2007-12-20 Thread Charitha Kankanamge
Hi Loenal, I'll answer your first question regarding the stateful nature of axis2. Of course Axis2 provides stateful session management. I'd suggest you to read http://www.developer.com/java/web/article.php/3620661 written by Deepal Jayasinghe, which explains Axis2 session management in simple

Re: Stax Parsing in AXIOM

2007-12-20 Thread mgainty
with WL (8.1) you can set the min_heapsize, max_heapsize and MaxPermSize with MEM_ARGS env variable.. set MEM_ARGS=-Xms32m -Xmx200m -XX:MaxPermSize=128m M-- - Original Message - Wrom: IJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEX To: Sent: Thursday, December 20, 2007 4:14 PM Subject: RE: S

Re: [Axis2] Release plan and road map for Axis2 1.4 release [SEC=UNCLASSIFIED]

2007-12-20 Thread greg . lee-shoy
Hi Deepal, Our team would like to see the following issue resolved in the 1.4 release, if possible: https://issues.apache.org/jira/browse/AXIS2-3400 (AxisService name not unique enough) Thanks, Greg Foundation Portal Services Applications Infrastructure and Middleware Deepal Jayasinghe <[

Re: [Axis2] SOAP over SIP

2007-12-20 Thread samir shaikh
Paul, I'll be happy to team up with you on this. If you could lay out for me what is involved that will be great. We could have something based off of the sipservlet specification. Meanwhile, I can also research the existing transports as part of synapse. Samir --- Paul Fremantle <[EMAIL PROTEC

Re: [Axis2] Java2WSDL with JAX-WS and JAXB annotations

2007-12-20 Thread Dennis Sosnoski
Hi Ben, You may have better luck using Jibx2Wsdl: http://www.sosnoski.com/jibx-wiki/space/axis2-jibx/jibx2wsdl You can also see the article at http://www.infoq.com/articles/sosnoski-code-first discussing "code first" approaches in general, and Jibx2Wsdl in particular. Jibx2Wsdl handles a wid

Re: Apache Axis2 Service Archiver

2007-12-20 Thread Tim Roesler
Hi All I wanted to change the service.xml file but my axis2 Gode Generater don't let me so. The Generator creates an Servicename.aar file where the service.xml and the wsdl and others are included. That means I can't reach the individual files. So how I can create the service.xml file for my s

Re: [Axis2] Java2WSDL with JAX-WS and JAXB annotations

2007-12-20 Thread Ben Reif
Duncan, Thanks for the input. We're trying to incorporate the WSDL generation into another automated process, so manually generating it with the NetBeans IDE probably won't work for us. I have however, tried using the WsGen tool as well, and I noticed a different problem, the generated WSDL didn't

Re: [axis2] wsdl with policy

2007-12-20 Thread Stephen Souness
Thanks for that Amila. I've tried the following: wsdl2java -pn A12Binding -o generated -uri C:\interop.wsdl I haven't noticed anything in the generated EchoServiceStub.java that deals with the X509 or other security aspects specified in the A12Binding_policy policy. Is their some additiona

RE: Stax Parsing in AXIOM

2007-12-20 Thread Ganesan, Chandru
Hi Martin 1. I'm using BEA JDK on Windows system. This has nothing to do with JRE implementation 2. My concern is parsing multiple huge files by keeping a linked list of constructed OM elements may result in out-of-memory errors. Since my knowledge of AXIOM is limited, wonder if there is a wa

Re: Stax Parsing in AXIOM

2007-12-20 Thread Martin Gainty
Chandru does that answer the question of using in-memory of list vs using a persistence mechanism such as serialization? is this a requirement for your client? or maybe a future performance consideration? HP addresses this with a test harness which shl_load() the JRE under HP/UX as in jav

Stax Parsing in AXIOM

2007-12-20 Thread Ganesan, Chandru
Hi Dennis Thank You for the response. Much appreciated. Thanks Chandru Ganesan -Original Message- From: Dennis Sosnoski [mailto:[EMAIL PROTECTED] Sent: Thursday, December 20, 2007 2:05 PM To: axis-user@ws.apache.org Subject: Re: Looking for AXIOM experts Hi Chandru, I haven't stayed co

Re: Looking for AXIOM experts

2007-12-20 Thread Dennis Sosnoski
Hi Chandru, I haven't stayed completely current on the latest changes, but AFAIK you're not going to get what you want by using AXIOM. By design, AXIOM will hold on to the constructed elements as you move through the list, so that you'll end up building the entire list in memory. To process

[Axis2] - (Newbie) Is there a stateful context in WebServices ? Or in Axis ?

2007-12-20 Thread Leonel Gayard
Hi all, I just started using Axis2 and WebServices. >From all the examples I've seen, it seems that WebServices are stateless by nature. Is there any way to have a stateful context ? Also, is there any interface that I can implement and that is invoked by the Axis2 server at deploy-time ? When I

Looking for AXIOM experts

2007-12-20 Thread Ganesan, Chandru
Hi Is there any AXIOM expert in this group who can answer this question? I sent this question to the appropriate group "[EMAIL PROTECTED]", unfortunately this group is not quite active as I've not been getting any emails from this group for past few days. Thanks Chandru Ganesan -Original

RE: http 1.1 chunking and large messages using axis2 1.3

2007-12-20 Thread Erwin Reinhoud
Thanks George. Started already to wonder if my question was clear. Hope someone can answer it, but assume too that it is not supported. Kind Regards, Erwin -Oorspronkelijk bericht- Van: George H [mailto:[EMAIL PROTECTED] Verzonden: donderdag 20 december 2007 15:50 Aan: axis-user@ws.apa

Re: http 1.1 chunking and large messages using axis2 1.3

2007-12-20 Thread George H
On Dec 20, 2007 2:44 PM, Erwin Reinhoud <[EMAIL PROTECTED]> wrote: > > Hello All, > > I am wondering how large message (lets say >0,5GB) are handled when it is > sent chunked over HTTP 1.1 and there is a network interruption. > > Does it support some kind of restarts, allowing the transfer to cont

Re: Name Changes For Development Test and Production Deployments

2007-12-20 Thread Martin Gainty
ANT accomplishes the objective by reading separate properties file for each environment http://ant.apache.org/manual/CoreTasks/property.html and then use the environment variable ANT_HOME as the arbiter of which property file to use e.g. ping [EMAIL PROTECTED] for follow-up questions.. Ma

RE: [Axis2] Java2WSDL with JAX-WS and JAXB annotations

2007-12-20 Thread Thomson, Duncan
>-Original Message- >From: Ben Reif [mailto:[EMAIL PROTECTED] >Sent: Tuesday, December 18, 2007 5:34 PM >To: axis-user@ws.apache.org >Subject: [Axis2] Java2WSDL with JAX-WS and JAXB annotations > >Hi, > >As I understand it, now the best way to re-use your existing >code is to use the JA

Re: remote wsdl axis2-wsdl2code-maven-plugin

2007-12-20 Thread Amila Suriarachchi
the file location can be a valid url location. This should work with the plugin. On Dec 19, 2007 4:14 AM, Brice Lambi <[EMAIL PROTECTED]> wrote: > Hello, > > Is it possible to have the wsdl2code plugin find a remote wsdl ( > http://localhost:8080/axis2/services/Hello?wsdl instead of a local file)

Re: Creating web services from xsd file containing xsd:union

2007-12-20 Thread Amila Suriarachchi
you can use ADB (default data binding) and Xmlbeans ( -d xmlbeans) databinding. Amila. On Dec 19, 2007 10:28 AM, Suriya Simsuwat <[EMAIL PROTECTED]> wrote: > Hi All, > > I would like to know that is there any way to create web services from xsd > file having the tag 'xsd:union'. I knew from the

Re: Regarding Axis2 namespace

2007-12-20 Thread Amila Suriarachchi
What is the Axis2 version you use? How you generate the request? I mean with wsdl2java tool, service client or rpc client? Amila. On Dec 19, 2007 11:52 AM, B Padhy <[EMAIL PROTECTED]> wrote: > > Hi All, > > We are using Axis2 for our Webservice call. when we are posting the > request, the remote

Re: Apache Axis2 Service Archiver

2007-12-20 Thread Amila Suriarachchi
On Dec 19, 2007 9:45 PM, Tim Roesler <[EMAIL PROTECTED]> wrote: > > Dear apache Team > > I was developing my webservice on my local PC. It's working propably. > Nowit's the time I wanted to run the client from a universities PC. > > The probelm/error message is that he cannot solve the address loc

Re: can we pass xmlnode.

2007-12-20 Thread Amila Suriarachchi
I am not clear what you want to do? if you use service client at the client side you can send any OMElement using that. and at the messagReceiver you get the same OMElement. There is no restriction for that. Amila. On Dec 20, 2007 12:03 AM, <[EMAIL PROTECTED]> wrote: > > Hi > > We have impleme

Re: [axis2] wsdl with policy

2007-12-20 Thread Amila Suriarachchi
see some security samples here http://131.107.72.15/ilab/ Amila On Dec 20, 2007 1:49 AM, Stephen Souness <[EMAIL PROTECTED]> wrote: > Hi all, > > Can anyone direct me to an example of a WSDL which includes valid policy > references, which wsdl2java can interpret and generate an appropriate > cli

Re: [axis2] Problem with wsdl2java and xsd final attribute

2007-12-20 Thread Amila Suriarachchi
Please create a jira. Amila. On Dec 20, 2007 3:13 PM, <[EMAIL PROTECTED]> wrote: > Hi, > > I have had trouble with generating Java stubs if my type def. contains > the following: > > > > > > According to the XSD specification this should be legal: > http://www.w3.org/TR/2004/REC-xmlschema-1-

Re: [Axis2] Release plan and road map for Axis2 1.4 release

2007-12-20 Thread Amila Suriarachchi
On Dec 20, 2007 12:00 PM, Pantvaidya, Vishwajit <[EMAIL PROTECTED]> wrote: > Hi Deepal, > > I was facing a problem which I have described in > http://www.nabble.com/RE%3A--Axis2--MTOM-Exception-with-Axis2-1.3-%22org.apache.axis2.databinding.ADBException%3A-Unexpected-subelement-Buffer%22-p14287244

Re: [Axis2] Release plan and road map for Axis2 1.4 release

2007-12-20 Thread Amila Suriarachchi
On Dec 19, 2007 2:03 PM, Mauro Molinari <[EMAIL PROTECTED]> wrote: > Hi Deepal, > personally I look forward to seeing the following issues solved: > - https://issues.apache.org/jira/browse/AXIS2-3353 (using of Java > wrapper types for optional elements + unwrapping of empty return types) fixed th

http 1.1 chunking and large messages using axis2 1.3

2007-12-20 Thread Erwin Reinhoud
Hello All, I am wondering how large message (lets say >0,5GB) are handled when it is sent chunked over HTTP 1.1 and there is a network interruption. Does it support some kind of restarts, allowing the transfer to continue where it left off if it is interrupted, rather than starting over from

RE: Name Changes For Development Test and Production Deployments

2007-12-20 Thread sietsenicolaas.tenhoeve
Hi Peter, I think this problem is beyond Axis and Axis2 and is more on project base. I know that maven has built-in support for different environments using profiles to support this. For ant there are alternatives but I don't exactly know how to deal with this. I think they make use of extra tasks

RE: Name Changes For Development Test and Production Deployments

2007-12-20 Thread Lositski Vadim
Hi, You can install multiple Axis2 distributions (WARs) under different context roots, and install each version of the service in a separate Axis2 application. BR, Vadim -Original Message- From: Peter Hargreaves [mailto:[EMAIL PROTECTED] Sent: Thursday, December 20, 2007 1:16 PM To: axi

Name Changes For Development Test and Production Deployments

2007-12-20 Thread Peter Hargreaves
We would like to deploy our service under different names within the Axis2 application: 1) DevWebService connected to a development database. 2) TestWebService connected to a test database. 3) ProdWebService connected to a production database. The problem is that renaming a service seems to have

Re: [Axis2] Release plan and road map for Axis2 1.4 release

2007-12-20 Thread FFF7878
Hi Deepal, For our project, we need an option allowing the set the classloader to look for the libs in the aar files first rather than in web-inf/lib. Currently, if a WS in the AAR needs a lib and this one is in WEB-INF/lib AND in the AAR, the one in WEB-INF/lib is picked up, so this lib can't fin

Re: [Axis2] SOAP over SIP

2007-12-20 Thread Paul Fremantle
Samir We do not have a SIP transport for SOAP in Axis2. However, if you would be willing to help write one we would be very happy to help. >From my knowledge of SIP it would make a good transport and has some benefits over HTTP. If you want to see how Axis2 transports are written, you might actual

[axis2] Problem with wsdl2java and xsd final attribute

2007-12-20 Thread morten.frank
Hi, I have had trouble with generating Java stubs if my type def. contains the following: According to the XSD specification this should be legal: http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/structures.html#eleme nt-complexType It works, if the def. is changed to: The gener

No bean class generated for supertype.

2007-12-20 Thread Kelpin, F
Greetings, I'm trying to use apache axis 2 1.3 with eclipse europa to generate a java bean skeleton from a wsdl. The wsdl's operation references the ebXML-RR schema's. The common base type for all of the ebXML-RR RIM schema is this "IdentifyableType": Unfortunately, though generation generates 99

[axis2]serviceClient.invokeBlocking() throwing nullpointer exception in rpcclient

2007-12-20 Thread java programer
hi in my axis2 service is returning hashmap .when i am trying to invoke the service in rpcclient i am getting nullpointer exception. i writen rpcclient like this rpcclient.java --- RPCServiceClient serviceClient = *new* RPCServiceClient(); Options options = *new* Options(); op