RE: Construct SOAP message in Axis2

2006-10-18 Thread Ramasamy, Niraimathi \(Cognizant\)
    Regards, Niraimathi R Cognizant Technology SolutionsCell: 9841234394 Office:044-42284005     From: Ramasamy, Niraimathi (Cognizant) Sent: Thursday, October 19, 2006 11:04 AMTo: 'axis-user@ws.apache.org'Cc: '[EMAIL PROTECTED]'Subject: RE: Construct SOAP message in Axis2 My objective i

RE: Construct SOAP message in Axis2

2006-10-18 Thread Ramasamy, Niraimathi \(Cognizant\)
My objective is I need to get the soap envelope in my business logic implementation class. Because I need to pass the SOAP envelope from my implementation class to Bpel service Flow(Need to invoke Bpel service Flow from my Webservice impl class ALFEventManagerSkeleton)   But currently I am t

Re: [Axis2] Distribution packaging restructuring

2006-10-18 Thread Thilina Gunarathne
>> Yes... It'll work right off.. Will show only the default version service.. So what the problem with that , if user want he can drop his ownservices and see what happen. Only in Tomcat... > AFAIK when the user wants to deploy one his own services default axis2 > war will be usable only in tomcat.

Re: Rampart module

2006-10-18 Thread Ruchith Fernando
Hi Sriram, Seems like the body is encrypted twice! That's why you cannot find the the second DataReference (EncryptedContent-35c3b4c0-4192-48b3-ab5d-629c7abcc6e2) in the message - since its encrypted. Therefore please try changing the "items" in the inflow configuration to : Signature Encrypt En

RE: Rampart module

2006-10-18 Thread Sriram Vaidyanathan
Hi Ruchith, Pasted below is the generated message from the .NET client with the extra encryptedKey element and on the server side, the axis2 xml is configured for InflowSecurity as "Signature Encrypt Timestamp" Thanks Sriram http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="htt

Re: [Axis2] Distribution packaging restructuring

2006-10-18 Thread Deepal Jayasinghe
> Hi Deepal, > > > As a user (if I were user ) first thing I do is download the war > and try > it. > > > Yes... It'll work right off.. Will show only the default version service.. So what the problem with that , if user want he can drop his own services and see what happen. > AFAIK

Re: Rampart module

2006-10-18 Thread Ruchith Fernando
Hi Sriram, Yes, the extra EncryptedKey with a RefList (meaning there's content that is encrypted with that key) can be causing the action mismatch. Can you please post the message generated by the .NET client? Thanks, Ruchith On 10/18/06, Sriram Vaidyanathan <[EMAIL PROTECTED]> wrote: Than

Re: sandesh2 v1.0 module load throws NoClassDefFoundError: org/apache/ws/security/WSSecurityException

2006-10-18 Thread Chamikara Jayalath
Hi Yadav,Guess you'll have to get the wss4j-SNAPSHOT jar file as well.I think this is a good reason not to make the RampartBasedSecurityManager the default in sandesha2.  Axis2 war file does not come with {rampart,rahas,wss4j} jars. ChamikaraOn 10/19/06, Yadav, Yogendra (IT) <[EMAIL PROTECTED]> wro

RE: sandesh2 v1.0 module load throws NoClassDefFoundError: org/apache/ws/security/WSSecurityException

2006-10-18 Thread Yadav, Yogendra \(IT\)
Okay...after downloading 2 more jars the module loaded fine, now I get Phase Order related exception: SEVERE: Invalid service Axis2SampleDocLitService.aar due to Invalid phases please recheck axis2.xml RMPhase for the handler SandeshaInHandler org.apache.axis2.phaseresolver.PhaseException: Invali

RE: sandesh2 v1.0 module load throws NoClassDefFoundError: org/apache/ws/security/WSSecurityException

2006-10-18 Thread Yadav, Yogendra \(IT\)
I downloaded axis2-security-1.1-SNAPSHOT.jar from http://ws.zones.apache.org/~dims/maven/org.apache.axis2/jars/ Now, I get this error: java.lang.NoClassDefFoundError: org/apache/ws/security/WSSecurityException at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.

RE: sandesh2 v1.0 module load throws NoClassDefFoundError: org/apache/rampart/RampartException

2006-10-18 Thread Yadav, Yogendra \(IT\)
I downloaded axis2-rahas-1.1-SNAPSHOT.jar from http://ws.zones.apache.org/~dims/maven/org.apache.axis2/jars/ Now, I get this error: java.lang.NoClassDefFoundError: org/apache/rampart/RampartException at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.priv

RE: sandesh2 v1.0 module load throws NoSuchMethodError

2006-10-18 Thread Yadav, Yogendra \(IT\)
Hi Thilina, As you said, I am using the snapshot, now I am getting this error: java.lang.NoClassDefFoundError: org/apache/rahas/TokenStorage at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328) at java.

Re: Problems Migrating from Axis 1.1 to Later Versions

2006-10-18 Thread Christopher Gardner
My guess is that it's a classloader problem. I started copying axis dependencies into the ant lib directory. I got farther, but got the error: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchry If I'm right about this, how do I get Ant to properly load all t

Re: Logging request messages in Axis running in JBoss

2006-10-18 Thread Marcin Zajączkowski
Hello again, Aleksander Grzebyta wrote: There is a handler usage described in user guide and the sample handler is used just for logging. I think you could achieve you goal defining one handler for requestFlow and the another in responseFlow. The problem you will encounter will be as mine, that

[WSDL4J] SOAP binding type

2006-10-18 Thread Kedar, Shahar
Hi,   I wanted to send this question to WSDL4J's mailing list, but apparently there is no such thing. So I decided to try my luck with the Axis list.   Is it possible to get via WSDL4J the binding method (1.1, 1.2, http) for a certain port? Is there any other way I can retrieve the bind

Re: Access control enforcement on web service operations

2006-10-18 Thread Anne Thomas Manes
WS-SecureConversation provides a framework for supporting extended security sessions. The Rampart module includes support for WS-SecureConversation. See http://ws.apache.org/axis2/modules/rampart/1_0/security-module.html Anne On 10/18/06, Gul Onural <[EMAIL PROTECTED]> wrote: Hi, We have an

Problems Migrating from Axis 1.1 to Later Versions

2006-10-18 Thread Christopher Gardner
Sorry for the repost. - I have a set of Axis 1.1 webservices for which I generate WSDL using the ant task axis-java2wsdl. 1.1 builds work perfectly. I need to migrate to 1.4, however. In my ant file I point to Axis 1.4, run the build and receive the following: [echo] generating Cr

mapping complex types

2006-10-18 Thread Noé Amorim
hello.how can i map the return type of a webservice to a custom type in Java.Let's say the return type from the webservice is an array, each value from the array is another array.The return is like this: $ret[] = array('first name' => 'Fujiwara', 'last name' => 'Takumi', 'drives' => 'AE86');$ret[]

RE: Rampart module

2006-10-18 Thread Sriram Vaidyanathan
Thanks for the response, Ruchith. I had a question with the WSDoAllReceiver. There is a check for matching the Actions in the right order, which throws a WSDoAllReceiver: security processing failed (actions mismatch)") in case the actions don't match with the actual results and the c

RE: dispatchers types in AXIS2

2006-10-18 Thread Yadav, Yogendra \(IT\)
org.apache.axis2.engine.AddressingBasedDispatcher can be engaged this way: 1. Remove all other dispatchers except org.apache.axis2.engine.AddressingBasedDispatcher in axis2.xml 2. Add addressing module ref in ax

Access control enforcement on web service operations

2006-10-18 Thread Gul Onural
Title: Access control enforcement on web service operations Hi, We have an existing product which we want to have a web services access to it. The existing product already has a web client and a plain java GUI  client. The web services client will be a new one. The existing product has

java2wsdl bug in operation sig?

2006-10-18 Thread Jarmo Doc
I have a Java method such as: public MyObject [] myOperation(int param); Now Axis 1.3 java2wsdl for this yields a response signature as follows: type="impl:MyObject"/> If, at runtime, myOperation returns new MyObject[0] then this is serialized as follows: I

RE: SOAPFault parsing

2006-10-18 Thread Punnoose, Roshan
Thanks for the reply. I set the property: Options.setExceptionToBeThrownOnSOAPFault(false), but I don't think it is being used. Specifically, since I am using a callback class, this is the code in axis2: CallbackReceiver: SOAPFault fault = envelope.getBody().getFault();

Problems in weblogic 8.1 and axis 2

2006-10-18 Thread Reddy, Sanket \(US - Hyderabad\)
Hi Guys I created a simple Hello world application using spring-ws. I could deploy that in tomcat but when it comes to Weblogic 8.1 -->I added this weblogic.xml file in WEB-INF/ http://www.bea.com/servers/wls700/dtd/weblogic700-web-jar.dtd";> true But I cou

Re: Axis2 Regarding MTOM Sample

2006-10-18 Thread robert lazarski
IIRC there were some problems with mtom in axis2 1.0 that have been subsequently fixed. We are getting close to a new release, can you try with the nightly build ? http://people.apache.org/dist/axis2/nightly/axis2-std-1.1-SNAPSHOT-bin.zip http://people.apache.org/dist/axis2/nightly/axis2.war Rob

i can't compile or execute the examples

2006-10-18 Thread Noé Amorim
hi.i have installed everything according with the installation guide, the validation http://localhost:8080/axis/happyaxis.jsp went ok.i have started the the Soap Monitor and was able to retrieve the " 55.25" from the GetQuote example in the installation guide.But now i was trying to compile a simpl

Axis2 Regarding MTOM Sample

2006-10-18 Thread T, Uma Maheshwari \(Cognizant\)
Hi     I ran the MTOM sample that was packaged with the Axis2 1.0 version and when I looked at the request message using SOAPMonitor, the image was sent inline in the Body part. I assumed that if MTOM is enabled, the attachment would be in the MIME boundary and the reference (XOP:include)

Autentication. How-to

2006-10-18 Thread Morgante Thomas
I need to access a protected WS protected. Either Basic, Digest or NTLM would do. From the source file of org.apache.axis2.client.Options (Axis2 1.1) I read, in the documentation for the method setProperty(String , Object), this bit that seems useful   * org.apache.axis2.transport

Re: Axis 1.4, style=message

2006-10-18 Thread Charles Souillard
done https://issues.apache.org/jira/browse/AXIS-2573 Thanks Anne Thomas Manes wrote: Please file a JIRA. On 10/18/06, Charles Souillard <[EMAIL PROTECTED]> wrote: Hi all, does anybody have an idea ? Thanks Charles Charles Souillard wrote: > Hi all, > > I am using axis 1.4. I want to deploy

Re: Axis 1.4 server -> .NET 2.0 client - Doc/Literal namespace? trouble

2006-10-18 Thread Philipp Stader
On 10/18/06, Anne Thomas Manes <[EMAIL PROTECTED]> wrote: I'm thinking that there must be something wrong with the way you generated or deployed your service, because otherwise no one would be able to get Axis 1.4 to work using the code-first approach, and I know that people are doing so. WSDL-f

Re: Axis 1.4, style=message

2006-10-18 Thread Anne Thomas Manes
Please file a JIRA. On 10/18/06, Charles Souillard <[EMAIL PROTECTED]> wrote: Hi all, does anybody have an idea ? Thanks Charles Charles Souillard wrote: > Hi all, > > I am using axis 1.4. I want to deploy a new WS using message style. > To do that, I execute wsdl2java tool with the following

Re: Axis 1.4 server -> .NET 2.0 client - Doc/Literal namespace? trouble

2006-10-18 Thread Anne Thomas Manes
I'm thinking that there must be something wrong with the way you generated or deployed your service, because otherwise no one would be able to get Axis 1.4 to work using the code-first approach, and I know that people are doing so. WSDL-first will certainly solve your problem. You can also do the

ADB file transfer sample

2006-10-18 Thread VF
Hi, Is it possible now to work correctly with MTOM attachements and ADB? Thank you for response Vladi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Axis 1.2 (1.3 + 1.4) vs Axis 1.1 typemappings

2006-10-18 Thread Miguel Correia Ricardo
Hi everyone. I'm migrating from Axis 1.1 to Axis 1.2. And I'm having some trouble in registering TypeMapping in Axis 1.2, and subsequently in Axis 1.3 and Axis 1.4. The following code sniped, is the way I used to register TypeMappings in Axis 1.1: --- Begin Code --- (serviceDesc is a SOAPServic

JMS Transport not starting

2006-10-18 Thread Terry
I am trying to configure the JMS transport in a recent snapshot of Axis2. I have followed the documentation and uncommented the JMS-specific sections in the config file, however when I start Tomcat, I get the following: INFO: Deploying web application archive axis2.war 18-Oct-2006 09:24:11 org.ap

RE: Axis2 and Seam

2006-10-18 Thread Brian Dillon (ext. 944)
Hi, wstx-asl-3.0.1.jar is in my lib folder. Also the stax jars I am using are from the nightly build distribution. Thanks, Brian -Original Message- From: Ajith Ranabahu [mailto:[EMAIL PROTECTED] Sent: 17 October 2006 21:43 To: axis-user@ws.apache.org Subject: Re: Axis2 and Seam Hi, Do

Re: Axis 1.4 server -> .NET 2.0 client - Doc/Literal namespace? trouble

2006-10-18 Thread Philipp Stader
Thanks for reply once again! Is this something i can do about (beyond going for the wsdl first approach)? Or worth a jira report? Phil On 10/17/06, Anne Thomas Manes <[EMAIL PROTECTED]> wrote: There's a namespace error in the response message. According to the WSDL, the response message should

Re: Rampart module

2006-10-18 Thread Ruchith Fernando
Hi Sriram, On 10/18/06, Sriram Vaidyanathan <[EMAIL PROTECTED]> wrote: Hi, Where can I get the source files for the Rampart Module? Trunk: https://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/security 1.1 Branch: https://svn.apache.org/repos/asf/webservices/axis2/branches/

WSDL2Java with Internet-Proxy(SQUID) problems

2006-10-18 Thread Boris Unckel
Hello, I have problems to generate the client stubs for an given WSDL file. The goal is to have a client for command-line operations, _not_ client calls from any Servlet-Container/EJB-Container (like Tomcat or WebSphere). Environment: Windows XP (AIX 5.3 is available if necessary) Java SDK 1.4.2

Re: Compilation error with WSDL2Java and XmlBeans

2006-10-18 Thread Davanum Srinivas
Jerome, Thanks for the excellent test case, unfortunately i can't check it into AXIS2 unless you grant us permission (you have an option to give us permission when you upload files into JIRA). Anyways, the problem is fixed in SVN of 1.1 branch (svn revision 465161) and you can try a nightly in a