Re: Java 5 enum type and WSDL

2008-03-05 Thread Mauro Molinari
Radim Kolarik ha scritto: Is Java 5 enum supported by Axis2? If not, when is it planned to be supported? BTW, I used the latest nightly build of Axis2 to test this. On 22/11/2005 Deepal Jayasinghe wrote a message here (subject: "Re: java2wsdl and enum") that states: "Nope we do not support e

Re: Axis2 and OSGi

2008-03-05 Thread Demetris G
This is the routine they use for registering the object: private ServiceReference registerObject(String name, Object obj) { Hashtable ht = new Hashtable(); ht.put("SOAP.service.name", name); return (context.registerService(obj.getClass().getName(), obj, ht)).getRef

Re: Axis2 and OSGi

2008-03-05 Thread Davanum Srinivas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Demetris, Is this how they do it? register a service and set "SOAP.service.name"? http://leobard.twoday.net/stories/2790802/ thanks, dims Demetris G wrote: | | Hi Dims, | |I will try to help if I can but for a bit I am a bit tied up with a | d

Re: Axis2 and OSGi

2008-03-05 Thread Demetris G
Hi Dims, I will try to help if I can but for a bit I am a bit tied up with a deadline. I worked with the Axis 1.4 import from Knopflerfish OSGi and it has been working pretty good. I am sure you guys know about that but in case you don't you can take a look at their import if it will help

Configuring Axis2 to use Rampart from within a WAR

2008-03-05 Thread Nate Roe
I am using Axis2 v1.3 and Rampart v1.3 on JBossAS v4.0.5 running on Java 1.6.0_03. I am learning to implement WS-Security. Both my service and my client run within the same JBoss server. That is to say, my axis2.war and my client.war are both located in JBoss's "deploy" directory. I have con

WSDL element restrictions

2008-03-05 Thread David Bunzli
Hi all, I haven't been able to get restrictions to consistently work - enumerations work, but not length restrictions. I've tried both Axis2 v1.1.1 (my production version) and Axis2 v1.3 (just in case v1.3 fixed this) with no success. Does anyone have any ideas why? To help, here are the rel

RE: Axis2 and OSGi

2008-03-05 Thread Liu, Hua (Maria)
Thanks, Davanum. I am new to the DL and didn't know someone else already asked the same question. Best regards, Hua -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 5:03 PM To: axis-user@ws.apache.org Subject: Re: Axis2 and OSGi -B

Re: integrate Axis2 with OSGi platform

2008-03-05 Thread Davanum Srinivas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hua, To be honest, Axis2 at the moment is a bit big for your use case. We may be looking at the smaller size use case in the future, but right now, take a look at Apache Muse, they have a mini soap engine (http://ws.apache.org/muse/docs/2.1.0/tutori

Re: Axis2 and OSGi

2008-03-05 Thread Davanum Srinivas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Demetris, Got to the point where we can listen to bundles, scan them looking for classes with jaxws annotations and deploy them as a web service. Next up, deploying axis2 modules the same way. Need to figure out how to break things into smaller bu

integrate Axis2 with OSGi platform

2008-03-05 Thread Liu, Hua (Maria)
Hi, We have a running OSGi platform hosting a bunch of OSGi services, and would like to expose some of the OSGi services as web services using Axis2. The way we want to do this is to wrap Axis2 as an OSGi bundle and load into the platform, and this Axis2 bundle provides an interface that allows

Re: Axis2 and OSGi

2008-03-05 Thread Demetris G
Hi Dims, how is this work progressing? It seems to be a pretty good potential for both sides if accomplished as it seems that OSGi is becoming pretty popular in residential gateways. Thanks Lawrence Mandel wrote: Hi Demetris, Dims has kicked off an effort to create an Axis2 OSGi bundle

WS-Addressing automatic engagement

2008-03-05 Thread Boris Milanov
Hi, I am new to AXIS2 and I have a question regarding the WS-Addressing module engagement. Some modules (i.e. rampart) are always automatically engaged in the client if the web service requires it. I would like to know if there is a way (or a plan for future changes in AXIS2) that addressing is al

Java 5 enum type and WSDL

2008-03-05 Thread Radim Kolarik
Hi, I tried to use java2wsdl tool to generate a WSDL file for my service, which uses Java 5 enum type on the interface: public enum TestEnum { ONE, TWO, THREE } It generates the type as: which is wrong because it extends xs:Enum where xs is http

Re: The endpoint reference (EPR) for the Operation not found

2008-03-05 Thread Michele Mazzucco
Esther, I'm running out of resources... - Try to set the target operation into the EPR (i.e. http://localhost: 8080/axis2/services/Service?Operation) - Try to define a simple echo operation and call it in order to understand what's wrong. Michele On 5 Mar 2008, at 16:04, Capilla Castillo,

RE: The endpoint reference (EPR) for the Operation not found

2008-03-05 Thread Capilla Castillo, Esther
Ok, I did the change but I get the same message... In the services.xml appear: urn:downloadFile And the client: Options options = new Options(); options.setTo(targetEPR); options.setAction("urn:down

Re: The endpoint reference (EPR) for the Operation not found

2008-03-05 Thread Michele Mazzucco
I think the message you create is wrong. The target operation is defined as "sendAttachment" in services.xml, but it's called "uploadFile" into your SOAP request. Michele On 5 Mar 2008, at 15:30, Capilla Castillo, Esther wrote: Hi Michele, the chunk of code: targetEPR = new EndpointRefere

RE: WLS 10 MP1 - Axis 2 1.3 - BouncyCastle problem

2008-03-05 Thread Simon Nunn
Has anyone run into this? Any suggestions would be appreciated. Thanks, Simon From: Simon Nunn [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2008 11:16 AM To: axis-user@ws.apache.org Subject: WLS 10 MP1 - Axis 2 1.3 - BouncyCastle problem I am using WLS 10MP1 with Axis 2 v 1.3.

RE: The endpoint reference (EPR) for the Operation not found

2008-03-05 Thread Capilla Castillo, Esther
Hi Michele, the chunk of code: targetEPR = new EndpointReference(rb.getString("UrlVerDocumento")); System.out.println("URL del WebService: "+rb.getString("UrlVerDocumento")); // Definimos el endPoint y la acción Options options = n

RE: The endpoint reference (EPR) for the Operation not found

2008-03-05 Thread Capilla Castillo, Esther
No, my webservices are in http://localhost:7001/axis2/services/WsVerDocumento The services list show: Available services WsVerDocumento Service EPR : http://localhost:7001/axis2/services/WsVerDocumento Service Description : Este WebService permita bajar un documento del repositorio de Documentum

Re: The endpoint reference (EPR) for the Operation not found

2008-03-05 Thread csethil
Are you sure that your service is deployed... Can you see it in the service listing that can be accessed by going to http://localhost:8080/axis2 (change port & host accordingly) then click the services link.. Try to capture and post your request.. You can use tcpmon (http://ws.apache.org/commons/t

Re: The endpoint reference (EPR) for the Operation not found

2008-03-05 Thread Michele Mazzucco
Can you post the chunk of code which sends the message? Michele On 5 Mar 2008, at 15:00, Capilla Castillo, Esther wrote: When I invoke my webservice from the client, the exception is: org.apache.axis2.AxisFault: unknown at org.apache.axis2.description.OutInAxisOperationClient.execute (OutInA

RE: Example policy file needed

2008-03-05 Thread George Stanchev
Hi Nandana, Is that Neethi or Rampart shortcoming? I also am in need of alternative policy support for the same two token types as in Simon's message. Do you need a JIRA? Best Regards, George -Original Message- From: Nandana Mihindukulasooriya [mailto:[EMAIL PROTECTED] Sent: Wednesday,

RE: The endpoint reference (EPR) for the Operation not found

2008-03-05 Thread Capilla Castillo, Esther
When I invoke my webservice from the client, the exception is: org.apache.axis2.AxisFault: unknown at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:287) at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:457) at

Uploading .aar with Ant

2008-03-05 Thread Milan Kuchtiak
Hi, I am working on a Netbeans plugin for Axis2. Is there any Ant script available to enable uploading .aar file ? I've mean the same functionality that is currently available using the Axis2 Admin upload feature ? I am looking for something like org.apache.catalina.ant.InstallTask (for upload

Re: Axis2 [1.3] Content-Type: text/xml results in AxisFault

2008-03-05 Thread keith chapman
In addtion to that SOAP 1.1 requires that you send the SOAP action HTTP header (thats mandatory), but in SOAP 1.2 thats not. Can you check whether this header is set when your using SOAP 1.1 Thanks, Keith. On Wed, Mar 5, 2008 at 4:42 PM, Upul Godage <[EMAIL PROTECTED]> wrote: > SOAP 1.1 uses con

Re: [Axis2] SSL server certificate

2008-03-05 Thread Nandana Mihindukulasooriya
Hi Joe, > Thanks for your comments. I'm wondering whether we should import > certificates to the default Java trusted store > (jre/lib/security/cacertificates) or to have a separate trusted key store > file for our application and import certificate to it? Which one is a better > solution from the

Re: The endpoint reference (EPR) for the Operation not found

2008-03-05 Thread Michele Mazzucco
What about the protocol (I'm not expert with MTOM -- so I might be wrong)? options.setTransportInProtocol(Constants.TRANSPORT_HTTP); // set according to the protocol in operation This is needed (if MTOM is not used), otherwise an error like "cannot infer transport..." occurs. Michele On

Re: SOAPRequest

2008-03-05 Thread Seetha Rama Krishna
Hi Vipul, thanks for your reply. call.getMessageContext().getMessage().writeTo(System.out); is not working, because getMessageContext() is not a method in Call Interface. Here is my complete code which is available with axis distribution chapter5 /* * Copyright 2001-2004 Th

Re: Axis2 [1.3] Content-Type: text/xml results in AxisFault

2008-03-05 Thread Martin Gainty
spec has changed rather dramatically from legacy 1.1 version http://www.idealliance.org/papers/xmle02/dx_xmle02/papers/02-02-02/02-02-02. html M- - Original Message - From: "Thomas Pawlitzki" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 05, 2008 7:16 AM Subject: Re: Axis2 [1.3] Content-

RE: The endpoint reference (EPR) for the Operation not found

2008-03-05 Thread Capilla Castillo, Esther
In my client I have the following code to set options: Options options = new Options(); options.setTo(targetEPR); options.setAction("sendAttachment"); options.setProperty(Constants.Configuration.ENABL

RE: The endpoint reference (EPR) for the Operation not found

2008-03-05 Thread Capilla Castillo, Esther
Ok, I get this message to invoke in the Internet Explorer. I have not even tried to invoke from a client. -Mensaje original- De: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 05 de marzo de 2008 13:42 Para: axis-user@ws.apache.org Asunto: Re: The endpoint reference

Re: The endpoint reference (EPR) for the Operation not found

2008-03-05 Thread Michele Mazzucco
Try to call options.setAction("sendAttachment"); Michele On 5 Mar 2008, at 12:39, Capilla Castillo, Esther wrote: This is the SOAP request: − The endpoint reference (EPR) for the Operation not found is /axis2/ services/WsVerDocumento and the WSA Action = null -Mensaje origi

Re: The endpoint reference (EPR) for the Operation not found

2008-03-05 Thread Deepal Jayasinghe
What you have send is the response not the request :) -Deepal This is the SOAP request: − The endpoint reference (EPR) for the Operation not found is /axis2/services/WsVerDocumento and the WSA Action = null -Mensaje original- De: Deepal jayasinghe [mailto:[EMAIL PROTECTED

RE: The endpoint reference (EPR) for the Operation not found

2008-03-05 Thread Capilla Castillo, Esther
This is the SOAP request: − The endpoint reference (EPR) for the Operation not found is /axis2/services/WsVerDocumento and the WSA Action = null -Mensaje original- De: Deepal jayasinghe [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 05 de marzo de 2008 13:37 Para: axis-use

Re: The endpoint reference (EPR) for the Operation not found

2008-03-05 Thread Deepal jayasinghe
Any possibility of looking at the SOAP request (including HTTP headers) , then I may be able to give you an answer. Thank you, Deepal Hi all! I'm deployed a WebServices in beaWeblogic 9.2, but I've a problem, when I invoke the Services I obtain the follow message: The endpoint reference (EPR)

The endpoint reference (EPR) for the Operation not found

2008-03-05 Thread Capilla Castillo, Esther
Hi all! I'm deployed a WebServices in beaWeblogic 9.2, but I've a problem, when I invoke the Services I obtain the follow message: The endpoint reference (EPR) for the Operation not found is /axis2/services/WsVerDocumento and the WSA Action = null I think that my problem is in the services.xml, but

Problem getting Array of Objects in Java client

2008-03-05 Thread Christian Smith
Hi All, Firstly, i'm quite new to SOAP and webservices :-) Here's my problem: I am trying to use a webservice (not mine) and having trouble getting an array of objects. I think my problem lies in defining the type mapping and serializers/deserializers for it. I have been struggling with thi

Re: Axis2 [1.3] Content-Type: text/xml results in AxisFault

2008-03-05 Thread Thomas Pawlitzki
Hi Uplu, thanks for this information. Greetings, Thomas 2008/3/5, Upul Godage <[EMAIL PROTECTED]>: > SOAP 1.1 uses content type text/xml > SOAP 1.2 needs content type to be application/soap+xml > > Upul > > > On Wed, Mar 5, 2008 at 4:17 PM, Thomas Pawlitzki > <[EMAIL PROTECTED]> wrote: > > > > >

Engage Modules and SOAPHeader

2008-03-05 Thread Nuria Rodríguez García
Hi Nandana, I would need to know what's the influence of engaging addressing and rampart modules on the SOAP header management. I would like to add more information into the header in addition to the information set by default by this components and I don't know if it's possible to do tha

Re: Axis2 [1.3] Content-Type: text/xml results in AxisFault

2008-03-05 Thread Upul Godage
SOAP 1.1 uses content type text/xml SOAP 1.2 needs content type to be application/soap+xml Upul On Wed, Mar 5, 2008 at 4:17 PM, Thomas Pawlitzki <[EMAIL PROTECTED]> wrote: > Hello, > > when a client sends a SOAP 1.2 HTTP-request to my webservice with a > ContentType: text/xml > he recieves the f

Axis2 [1.3] Content-Type: text/xml results in AxisFault

2008-03-05 Thread Thomas Pawlitzki
Hello, when a client sends a SOAP 1.2 HTTP-request to my webservice with a ContentType: text/xml he recieves the following error: The endpoint reference (EPR) for the Operation not found is ... and the WSA Action = null When the client changes the HTTP Header so that the header inlcudes: Content

Re: Example policy file needed

2008-03-05 Thread Nandana Mihindukulasooriya
Hi Simon, Currently Apache Rampart doesn't support alternative security policies for an endpoint. Current workaround is having two separate EPRs with the alternative policies. Would that suit your scenario ? If not you can try to convince the Rampart community to support alternative securit