RE: retrieving MTOM in a client

2008-02-19 Thread Etches, Adam (GE Infra, Energy)
Hi, The server I'm running on is JBOSS 4.0.3SP1. Here is the complete HTTP response. Adam HTTP/1.1 200 OK Server: Apache-Coyote/1.1 X-Powered-By: Servlet 2.4; JBoss-4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)/Tomcat-5.5 Content-Type: application/xml;charset=UTF-8 Transfer-Encodi

MTOM endpoint backward compatibility with SwA

2008-02-19 Thread riis
Hi, Is it possible to create an endpoint operation that can respond either MTOM or SwA depending on the request? I read the Attachments/MTOM guide and first I understood it as MTOM was already backward compatible with SwA. But if I enable MTOM for my endpoint it always returns a xop:include (mto

Re: Fw: Axis2 session management (yes, I know that subject is a bit worn-out)

2008-02-19 Thread Benoît Smith
Here is my service configuration : http://www.w3.org/2004/08/wsdl/in-out"; class="org.apache.axis2.rpc.receivers.RPCMessageReceiver" /> http://www.w3.org/2

Re: writing a client

2008-02-19 Thread Antonio Manuel Muñiz Martín
I like to use an Adapter Class that encapsulates all the creation message logic. This adapter class is used as a simple java object, in other words, the user of this class dont know if it is calling a web service, is calling a database, ... methods of this Adapter Class only receive parameters of

Axis2 MTOM + module

2008-02-19 Thread Simon Steinacker
Hello! I have the following problem: I have a service that does MTOM. In a Module on the client side, i need to do some xslt transformation on the soap structure. But when I do that (I use Saxon9 for xslt transformation) I need to convert that SOAP message to a string to apply that xslt transf

Re: MTOM endpoint backward compatibility with SwA

2008-02-19 Thread Thilina Gunarathne
Hi, It's not in the way you create the message. It is how the message looks like in the wire.. MTOM can be considered as a special case of SwA.. Even though MTOM includes tags, it is possible to extract the attachment using SwA enabled web service processor. See here[1] too.. thanks, Thilina [

[Axis2] Manually parse SAML token

2008-02-19 Thread Lasse Tyrihjell
Hi! I am using an external SOAP web service that uses a nearly WS* compliant version of the SAML token implementation - i.e. Rampart deployed as an Axis2 module is not an option. Are there any helper classes/java-api's available that can help me parse/decrypt the SAML token? br -LT

Axis2 - Java2WSDL

2008-02-19 Thread pradeep . kadambar
Hi I have a list of extra classes for which I need to generate WSDL types definition. The org.apache.ws.java2wsdl.Java2WSDL class takes an option -xc class1 -xc class2 . . The problem is that I have a list of classes, which I need to process. In Axis 1 I had the -extraClasses option whic

Re: retrieving MTOM in a client

2008-02-19 Thread Thilina Gunarathne
Hi, As I expected, the content-type http header is incorrect.. See here[1] for an example from the spec.. > Content-Type: application/xml;charset=UTF-8 This should be as follows, Content-Type: Multipart/Related; boundary=MIMEBoundaryurn_uuid_4DDAF973E789AF02831203334635830;type="application/xop+x

RE: retrieving MTOM in a client

2008-02-19 Thread Etches, Adam (GE Infra, Energy)
Thanks, Any ideas where this is configured or set up? Adam -Original Message- From: Thilina Gunarathne [mailto:[EMAIL PROTECTED] Sent: 19 February 2008 12:29 To: axis-user@ws.apache.org Subject: Re: retrieving MTOM in a client Hi, As I expected, the content-type http header is incorrec

Re: writing a client

2008-02-19 Thread Wesley Mesquita
I trying to use stubs but I am getting erros like "InputStream Could not be null", even for out-only methods. What this mean? PS. In the other thread I had "Read time out" using the ServiceClient approach. On Feb 19, 2008 6:40 AM, Antonio Manuel Muñiz Martín < [EMAIL PROTECTED]> wrote: > I like

Re: Axis2 MTOM + module

2008-02-19 Thread Thilina Gunarathne
Hello, > I have the following problem: > I have a service that does MTOM. In a Module on the client side, i need > to do some xslt transformation on the soap structure. But when I do that > (I use Saxon9 for xslt transformation) I need to convert that SOAP > message to a string to apply that xslt

Re: MTOM endpoint backward compatibility with SwA

2008-02-19 Thread riis
Hi, Okey, but if I generate a .net client without WSE3 (.net should by standard understand SwA), it complains about it couldn't parse the tag. By good reason since the wsdl doesn't define any xop:include elements. Actually I thought it was MTOM that knew xop:include tags shouldn't be parsed and

Re: retrieving MTOM in a client

2008-02-19 Thread Thilina Gunarathne
It is the web service engine which host your web service. No idea about how to do it in Jboss.. But it definitely looks like a huge bug to me, as the server sends out a MIME/Multipart message, without putting the Mime/multipart content type and the boundary in the http headers. It's virtually impo

Re: Axis2 MTOM + module

2008-02-19 Thread Simon Steinacker
Thanks for the hint with setting the respective OMText node to binary and optimization. That works. What I do in particular is that I remove the large OMText nodes before xslt transformation to keep the string that is transformed within a reasonable length and afterwards add the OMText nodes aga

Re: Axis2 MTOM + module

2008-02-19 Thread Thilina Gunarathne
cool :).. On Feb 19, 2008 8:27 AM, Simon Steinacker <[EMAIL PROTECTED]> wrote: > Thanks for the hint with setting the respective OMText node to binary > and optimization. That works. > What I do in particular is that I remove the large OMText nodes before > xslt transformation to keep the string t

org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR: A node is used in a different document than the one that created it.

2008-02-19 Thread Mat R
I am creating an API layer over the Axis generated classes - one of the methods created from the wsdl2java class generation was 'getAlertInterfaces' which returns 'AlertInterface[]'. When I try to pass the 'AlertInterface' array that was returned form 'getAlertIntefaces' I get the following except

RE: WS-Security, SSL or both

2008-02-19 Thread Johnson, David E
What type of message traffic are you expecting? SOAP? We are working on a WS-Security acceleration product that currently uses SW and supports our HW acceleration plans. Yes, signature acceleration et al. Just for kicks (not like we all have a lot of time), you might want to look at www.intel.com/s

Re: [Axis2] Manually parse SAML token

2008-02-19 Thread Davanum Srinivas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 www.opensaml.org Lasse Tyrihjell wrote: | Hi! | I am using an external SOAP web service that uses a nearly WS* compliant | version of the SAML token implementation - i.e. Rampart deployed as an | Axis2 module is not an option. | | Are there any helpe

Re: MTOM endpoint backward compatibility with SwA

2008-02-19 Thread Thilina Gunarathne
> Okey, but if I generate a .net client without WSE3 (.net should by standard > understand SwA), it complains about it couldn't parse the > tag. Interoperability is not in the WSDL level... On the other hand, AFAIK there isn't a standard universal accepted way to define SwA attachments in the WSDL

Re: [Axis2][Savan] Can savan only be engaged globally

2008-02-19 Thread Leon Searl
Hi Samir, Yes, In order for savan to work both the client sending the subscription message and the publisher service must have addressing engaged. services.xml The client does not have to have the savan module engaged (I believe). The example publication listener services do not have address

Re: MTOM endpoint backward compatibility with SwA

2008-02-19 Thread riis
Hi Thilina Thank you for answering. I didn't know that there wasn't defined any standard for binding the attachment to the xml content for SwA. I thought the "href="cid:urn:uuid" in SwA was a standard like xop:include. :-) Regards Multi-Support A/S Torben Riis

Re: Does Axis use 128 bit encryption?

2008-02-19 Thread Paul Fremantle
You don't need rampart just to do SSL. Rampart is for WS-Security. Paul On Feb 19, 2008 3:33 PM, Neil Aggarwal <[EMAIL PROTECTED]> wrote: > Nandana: > > I am using Axis 1.4 and it looks like rampart > is for Axis2. > > Do I need to use Axis 2? > > Thanks, > Neil > > > -- > Neil Aggarwal,

RE: Does Axis use 128 bit encryption?

2008-02-19 Thread Neil Aggarwal
Nandana: I am using Axis 1.4 and it looks like rampart is for Axis2. Do I need to use Axis 2? Thanks, Neil -- Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com Eliminate junk email and reclaim your inbox. Visit http://www.spammilter.com for details. > -Original Message- >

RE: WSDoAllReceiver: security processing failed error - rampart bug?

2008-02-19 Thread jafaram
I also noticed, if the same password check fails in PWCBHandler of client side ..rampart throwing appropriate error message. org.apache.axis2.AxisFault: WSDoAllReceiver: security processing failed at org.apache.rampart.handler.WSDoAllReceiver.processBasic( WSDoAllReceiver.java:216) at

[axis2] Unknown Constant Tag Error Encountered When Using java2wsdl

2008-02-19 Thread Murphy Steve
Hi, I'm running java2wsdl on a class file and got the following error: Exception in thread "main" java.lang.ClassFormatError: Unknown constant tag 13 in class file MyClass I'm using Axis2 1.3. Research on the web tells me that this is potentially due to a difference in the java version

Re: Deploy my Service in a different war than axis2.war

2008-02-19 Thread jafaram
Yea..it's possible..because i am already doing that way "Moley Harey"

Deploy my Service in a different war than axis2.war

2008-02-19 Thread Moley Harey
Hi folks! I have developed an Axis2 Web Service and to deploy and use it in Tomcat I generate the MyService.aar file and copy it into the "$CATALINA_HOME/webapps/axis2/WEB-INF/services" folder so it gets deployed correctly and is accesses in the url: http://localhost:8080/axis2/services/MyService

Setting Connection timeout (not Socket Read timeouts !!) with Axis 1.4?

2008-02-19 Thread Sri Rama Kanth N
How to set/specify http Connection timeout property/value to fail fast rather than waiting for long times? (SoapStub))._setProperty("axis.connection.timeout", new Integer(connTimeout)); (SoapStub).setTimeout(timeoutvalue) The above two ways (setting on the axis stubs) will set a time out on the

Re: WS-Security, SSL or both

2008-02-19 Thread mikle
The clients are large organisations that will be submitting and pulling financial transaction. so a username and password is not enough pzfreo wrote: > >> 1) Is it possible to access two-way SSL authentication information from a >> web service? (assuming SSL is setup on the axis server - no rev

RE: [Axis2] Manually parse SAML token

2008-02-19 Thread George Stanchev
Look at opensaml library 1.1 can do SAML 1.0/1.1. opensaml 2 can do all SAML specs -Original Message- From: Lasse Tyrihjell [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 19, 2008 5:38 AM To: axis-user@ws.apache.org Subject: [Axis2] Manually parse SAML token Hi! I am using an externa

test - please disregard

2008-02-19 Thread Mat R
I was not able to post to this. I am just testing to see if I can post a simple email.

Re: ADBException and Running Web Services

2008-02-19 Thread Amila Suriarachchi
This should be a problem with the request message. to give a correct answer we need to have the whole wsdl file. Here it seems to be a problem with the namespaces. Generate a java client and try to invoke the service. then compare the two requests. thanks, Amila. On Feb 19, 2008 9:34 AM, Twinkle

I'm having a problem using Axis2. What should I do?

2008-02-19 Thread 雪莉 焦
Hi all: I publish a web service using axis2 on websphere 5.1, also i can invoke this webservice correctly with java application client ,but i cann't ivoke this webservice in jsp with the same client code.The client code is: .. RPCServiceClient serviceClient = new RPCServi

How to get the properties in context.xml in the server skeleton class

2008-02-19 Thread Suriya Simsuwat
Hi all, I would like to know is it possible to get the properties' values from the file 'context.xml' in \webapps\axis2\META-INF. The example of context.xml It said on Tomcat document that the value can be retrieved by calling ServletContext.getInitParameter(), but I do n

ADB Binding error - Probably BUG

2008-02-19 Thread lucky
Hi, We are developing a Axis2 Top-Down WebService and while invoking WS we are getting following exception at client side - Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at ws.schemas.EmployeeRs_TypeSequence_type1$Factory.parse(* EmployeeRs_TypeSequence_type1.jav

回复: I'm having a problem using Axis2. What should I do?

2008-02-19 Thread 雪莉 焦
I find a solution to this problem.in,add code in jsp: options.setAction(actionName); - 原始邮件 发件人: 雪莉 焦 <[EMAIL PROTECTED]> 收件人: axis-user@ws.apache.org 已发送: 2008/2/20(周三), 下午1:33:42 主题: I'm having a problem using Axis2. What should I do? Hi all: I publish a web service using ax