Re: Changing the web service end point

2007-09-07 Thread Subra A Narayanan
Thanks Samisa!!! On 9/7/07, Samisa Abeysinghe [EMAIL PROTECTED] wrote: I forgot to mention that I fixed this for simple Axis server as well. But in that case, you have to recompile the source. Only the httpd module support the config based deployment. I hope we can live with that as simple

Re: Changing the web service end point

2007-09-07 Thread Samisa Abeysinghe
Subra A Narayanan wrote: Hello everyone, Endpoint for Web services written using Axis2c are generally of the format = http://www.foo.com/axis2c/services/servicename By modifying the httpd.conf (or apache2.conf) file, I was able to change the above to =

Re: Changing the web service end point

2007-09-07 Thread Samisa Abeysinghe
I forgot to mention that I fixed this for simple Axis server as well. But in that case, you have to recompile the source. Only the httpd module support the config based deployment. I hope we can live with that as simple axis server would hardly be used in production. Thanks, Samisa... Samisa

[Axis2] Strange error parsing databinding

2007-09-07 Thread José Antonio Sánchez
Hello, I'm developing a web service specification with Axis2 1.3 and I've generated the code using ADB. That specification has a type B that extends type A and in some circumstances I want to convert an object of type A to B so I did something like: elem =

Re: Invalid element/Deserialisation

2007-09-07 Thread Wendy Bao
Hi Dims, Thanks for the url. I visited that site, it has only axis1.4. Thanks anyway. Wendy dims wrote: http://archive.apache.org/ has the old releases. -- dims On 9/6/07, Wendy Bao [EMAIL PROTECTED] wrote: Hi Deepal, That site has axis2. I was looking for axis. I got one from

RE: Invalid element/Deserialisation

2007-09-07 Thread Walker, Jeff
Which release are you looking for? http://archive.apache.org/dist/ws/axis/ This has all releases from Axis 1.0 to Axis 1.4, including release candidates and actual releases, plus src code for most of them. -jeff -Original Message- From: Wendy Bao [mailto:[EMAIL PROTECTED] Sent: Friday,

Rampart config examples 1,2,3

2007-09-07 Thread dr_frank_klaus
Hi, I was trying to check out the config examples from http://ws.apache.org/axis2/modules/rampart/1_2/security-module.html (Examples 1, Example 2, Example 3), but couldn't find those. Does anybody know where to find those examples? Diese Nachricht ist vertraulich. Sollten Sie nicht der

Re: Constructors in C# from WSDL(Axis 1.1).

2007-09-07 Thread Anne Thomas Manes
It sounds like your WSDL is missing a required xs:import statement. If you post the WSDL, I'd be happy to review it for you. Anne On 8/30/07, Srinivasa K [EMAIL PROTECTED] wrote: Hi, I have added Web Referece in Visual Studio 2005 and proxy got generated. But It seems that it did not

How to embed Axis2 into standalone Java Application?

2007-09-07 Thread cat ting99
Hello all, Here I would like to know how to integrate Axis2 into standard Java application. My scenario is a typical asynchronous web service scenario: My Java client application needs to send a soap-based subscription request to a remote web service, and then wait for the soap-based

[Axis2] Problems with generating wsdl file by java2wsdl

2007-09-07 Thread Yury Kulikov
Hi all, I try to create with java2wsdl the Axis2UserGuide.wsdl file that is used (attahced as such) in the Axis2 User Guide. For the Java class: package org.apache.axis2.axis2userguide; public class Axis2UserGuideService { public void doInOnly() { return; } public String

Re: Remove OMElement from SOAPBody

2007-09-07 Thread Sanka Samaranayke
kevin glenny wrote: Hi all, I am trying to remove a OMElement from the SOAPBody in my Handler and have been unable to find any methods or approaches to do this. try, OMElement child = soapBody.getFirstChildWithQName(new QName(ChildToBeRemoved)); child.detach(); Cheers, Sanka I would be

Re: can't serialize arraylist

2007-09-07 Thread Mathias P.W Nilsson
Thanks! Yes, I have switched to plain Arrays now. It works better but still hangs on Object relations. Seems that it's called Relational/Object/XML (ROX) impedance mismatch. -- View this message in context: http://www.nabble.com/can%27t-serialize-arraylist-tf4391821.html#a12553110 Sent from

Parameter passing problem

2007-09-07 Thread Anas Mughal
I am new to Axis2. I am trying to send a parameter in the URL as a REST call. However, I am unable to figure out why my server-side function does not get the parameter. I keep on getting null. I have not touched the axis2.xml file. The service is showing up fine in the list of services page. Here

Intermediary Service

2007-09-07 Thread Alejandro Calbazana
Hi, I have a web service that is both a service and a client - an intermediary. The intermediary uses the same schema in its service definition as that defined in the service definition of its dependency (the endpoint for which this intermediary service is a client). Bad ascii art follows:

Re: axis 1 - message style service and custom wsdl file

2007-09-07 Thread Anne Thomas Manes
Some more guidance on this: There are a couple of reasons why you might have to use a wrapper element: 1- If you want to send more than one root element in a single SOAP message 2- If you want your service to expose more than one operation Hope this helps, Anne On 9/7/07, Anne Thomas Manes

Problem with BeanUtil.deserialize()

2007-09-07 Thread omega-psi
This is a part of my project: A dataype i have defined in a .xsd File complexType name=Rating sequence element name=userId type=string/element element name=customerId type=string/element element name=timestamp type=dateTime/element element name=rating

initialization error in Axis2 1.3

2007-09-07 Thread ranjan.madhav
Hi all, I'm facing following error when I try to start axis2server.bat from command prompt. It was working fine till sometime back, don't know what went wrong. Tried googling, but couldn't get exact cause and solution. --

[axis2] axis2 vs axis2/c

2007-09-07 Thread Feldman, Marc
Hi, Is there a mailing list dedicated to axis2/C? Thanx, M. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Intermediary Service

2007-09-07 Thread Anne Thomas Manes
I recommend you use Synapse rather than Axis2 to create the intermediary. See http://ws.apache.org/synapse/. Anne On 9/7/07, Alejandro Calbazana [EMAIL PROTECTED] wrote: Hi, I have a web service that is both a service and a client - an intermediary. The intermediary uses the same schema in

Re: can't serialize arraylist

2007-09-07 Thread Mathias P.W Nilsson
Deepal Jayasinghe wrote: I think something to do with the cyclic dependency . Weather keeps Books and Book keep Weather. Thanks Deepal Thanks! I think this is exactly was happening. I thought ( in my ignorance ) that I could use detached Hibernate POJO a reattach them when client

Re: Is RPCServiceClient bad practice

2007-09-07 Thread Mathias P.W Nilsson
Thanks :) Ok because I read on another forum that it's hard for PHP or .net to call them Is this correct? I thought a webservice is a webservice and all that you get from a webservice is an xml. RPCServiceClient maps xml to java classes. Can you please explain this to me? -- View this message

RE: Axis2 events handling

2007-09-07 Thread Elmouj
Hi Jeff, I've been out of office the last 2 days and I've just came. Well for the problem, I have found a way to solve it using Phases in Axis2 (this is directly related to what you have said about handlers :) ). a solution (for anybody who may need it) is to created a class called MyPhase

Re: SOAP Implementation

2007-09-07 Thread Demetris G
And you are saying that Anne because Axis support SOAP RPC Encoding? Does Axis2 supports SOAP Document/Literal encoding? Does it also support wrapped document literal ? Anne Thomas Manes wrote: If you need to support SOAP Encoding, then you will need to use Axis rather than Axis2. Anne On

[Axis2-1.3] Compilation errors ... is not abstract and does not override abstract method serialize( ...

2007-09-07 Thread Rainer Menzner
Hi after update to Axis2-1.3 I receive the following kind of compiler errors for many (maybe all) stub classes created by wsdl2java: ADBException .. \AddElementParam.java:154: anonymous mydomain.AddElementParam$1 is not abstract and does not override abstract method

Re: SOAP Implementation

2007-09-07 Thread Demetris G
Well this may also shed some light to what I am asking - thanks to Anne again: http://searchwebservices.techtarget.com/ateQuestionNResponse/0,289625,sid26_cid494324_tax289201,00.html Anne Thomas Manes wrote: If you need to support SOAP Encoding, then you will need to use Axis rather than

axis 1 - message style service and custom wsdl file

2007-09-07 Thread Oliver Charlet
Hi y'all, I am having trouble to get to work a setup that seems to be rare, but which for me is rather practical: 1) I have a wsdl, that defines a schema for the input of a message, i.e. I want the content of the soap body to of that schema. This wsdl is used to communicate with the users

Re: [AXIS2] Request validation

2007-09-07 Thread Sanka Samaranayke
[EMAIL PROTECTED] wrote: Thanks for the answer. What I don't understand is that when I was with Axis1 (and rpc/lit style for this WS) this kind of validation was impossible. Anyway, I'm going to deploy a module validating the request body. Some newbie questions about this module: - My WS is

Re: Is RPCServiceClient bad practice

2007-09-07 Thread Deepal Jayasinghe
Not at all , that is a very convenient API to work with. Thanks Deepal Mathias P.W Nilsson wrote: Hi! I'm using RPCServiceClient to call my webservice and to map classes to my java client. Is this bad practice? Should I use something else?

Is RPCServiceClient bad practice

2007-09-07 Thread Mathias P.W Nilsson
Hi! I'm using RPCServiceClient to call my webservice and to map classes to my java client. Is this bad practice? Should I use something else? -- View this message in context: http://www.nabble.com/Is-RPCServiceClient-bad-practice-tf4400517.html#a12552545 Sent from the Axis - User mailing list

Remove OMElement from SOAPBody

2007-09-07 Thread kevin glenny
Hi all, I am trying to remove a OMElement from the SOAPBody in my Handler and have been unable to find any methods or approaches to do this. I would be grateful if anybody could tell me the recommended way or ideas to achieve this. Many thanks, Kevin

Re: [AXIS2] Request validation

2007-09-07 Thread p . casenove
Thanks for the answer. What I don't understand is that when I was with Axis1 (and rpc/lit style for this WS) this kind of validation was impossible. Anyway, I'm going to deploy a module validating the request body. Some newbie questions about this module: - My WS is defined in a wsdl including

Axis2 File Caching

2007-09-07 Thread Elmouj
I am using Axis2-1.2 and I am enabling file caching on both the Client and the Server side using the following: * Server side through Axis2.xml axisconfig name=AxisJava2.0 !--

Re: axis 1 - message style service and custom wsdl file

2007-09-07 Thread Anne Thomas Manes
Oliver, Your WSDL message definition is not valid. It should be: message name=operationA part name=content element=xsd:any/ /message Alternatively, you might want to define a wrapper element for your message content, in which case you would define the message thus: message name=operationA

Re: Remove OMElement from SOAPBody

2007-09-07 Thread kevin glenny
To calrify my question, I am using Axis2 and AXIOM and want to remove the OMElement from the SOAPBody . What is the best method to take? My code code is as follows: SOAPEnvelope envelope = msgContext.getEnvelope(); SOAPBody body = envelope.getBody(); Iterator iterator =

Ho to get unsubscribe

2007-09-07 Thread Hernandez Morales V, Carlos Alberto
Hello guys, Does anybody know how I can unsubscribe to this list, I already sent a couple emails to [EMAIL PROTECTED] but I keep getting this msg thread. Thank you Carlos Alberto - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Remove OMElement from SOAPBody

2007-09-07 Thread kevin glenny
Many thanks for the solution :-) On 9/7/07, Sanka Samaranayke [EMAIL PROTECTED] wrote: kevin glenny wrote: Hi all, I am trying to remove a OMElement from the SOAPBody in my Handler and have been unable to find any methods or approaches to do this. try, OMElement child =

Re: Simple Java Client

2007-09-07 Thread sneha jain
Hi All, I developed an adb client using the method given in the axis2 docs and it is getting compiled alright. The problem i am facing is i get Web Services Failed exception when i run the client.. I am using C web service and Java Client. After tracking the server logs i found that this error

SOAP-ENV namespace not defined in response

2007-09-07 Thread Michael Sutter
Hello all, I have a problem when accessing a axiscpp (vers. 1.6) service from a axis2 (vers 1.3) client. The problem is that the SOAP-ENV namespace is not defined in the response. The request is: ?xml version='1.0' encoding='UTF-8'?soapenv:Envelope

Re: [Axis2-1.3] wsdl2java modifies / reformats my sources files

2007-09-07 Thread Rainer Menzner
ah, it is a feature... After removing the file everything works (renaming did not work BTW, Java seems to inspect every file located in that directory). But shouldn't wsdl2java reformat only files it created previously? I mean, reformatting the generated files is very appealing and it would

Another Newbie Axis2 Question

2007-09-07 Thread Tom Holmes Jr.
Ok, I apologize this is a stupid question ... I may find the answer quickly, but I will ask anyway. I am writing a data sync application ... I want this web Service to have three methods: Push, Pull, Sync ... Each of these have separate input and output parameters. Ultimately, I want it to

What Java object fulfills databinding.types.Time?

2007-09-07 Thread soloto
What sort of Java object fulfills the requirements of org.apache.axis2.databinding.types.Time ? I am trying to set a Time in a WSDL record via a Java class. But I have not been able to find a Java return type that satisfies WSDL's desire for an axis2 Time. I have tried these types: int,

Help solving InvokationTargetException with Axis2 codegen plugin for eclipse

2007-09-07 Thread George H
Hi, I am using Eclipse europa J2EE version with the Axis2 v1.3 codegen plugin for my webservices. I've successfully created and deployed webservices with these plugins and I am very happy with them. But, I've encountered this error when I wrote a java class and used the codegen tool to create a

Tips on sending java objects via axis2

2007-09-07 Thread George H
I am in the need to send back and forth some custom java objects I created (some have vectors and hash maps in them.) I used to solve this in the past (using apache's soap api and xstream) by converting the class to xml and sending it as a String. This doesn't seem to work with axis and gives me

RE: Tips on sending java objects via axis2

2007-09-07 Thread Ebert, Chris
Probably not. The point of SOAP (and other XML based protocols) is to be implementation independent. Java serialization is definitely not independent and can cause surprising failures. I work with Axis 1.2, so I can't give advice on axis2, but I use complex types and you too should be able to

RE: What Java object fulfills databinding.types.Time?

2007-09-07 Thread Ebert, Chris
Try 'Calendar' -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 07, 2007 12:53 To: axis-user@ws.apache.org Subject: What Java object fulfills databinding.types.Time? What sort of Java object fulfills the requirements of

RE: Rampart error with MustUnderstand

2007-09-07 Thread Jon Hanshew
Check out policy sample02 in Rampart 1.3. The policy/service.xml files work there. I have also gotten it to work for my own wsdl app. However I am having trouble adding a UsernameToken to the mix. Ford, Jennifer M. wrote: Well, it has stopped giving me errors for Must Understand, but

RE: Rampart error with MustUnderstand

2007-09-07 Thread Ford, Jennifer M.
I did finally get the code in sample02 to work, although not with Tomcat 5.5.23. Switching to Tomcat 5.0.28 works for me though (and eliminates the error below). I'm sure it's some kind of library issue, but once I got it working I decided not to pursue finding a definitive cause. -Original

RE: Runtime best practices for Axis2

2007-09-07 Thread Glenn Williams
Axis2.xml, from the documentation, is supposed to be for global configuration. But it is available outside .AAR file so a user could change the configuration without repackaging the .AAR file. But that seems to violate the usage of the axis2.xml file. Any thoughts? What do you think about putting

Re: SOAP-ENV namespace not defined in response

2007-09-07 Thread Eran Chinthaka
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 As I mentioned you earlier, this is a problem in Axis C++ project. Please goto http://ws.apache.org/axis/mail.html and subscribe to axis C++ mailing list and ask the question in that list. You will get a better answer. Chinthaka Michael Sutter

Re: SOAP Implementation

2007-09-07 Thread Anne Thomas Manes
Axis supports rpc/encoded (default) and document/literal (both wrapped and unwrapped). In Axis 1.3 they added support for rpc/literal. Axis2 supports rpc/literal and document/literal. Axis2 1.3 added support for wrapped doc/literal. Anne On 9/7/07, Demetris G [EMAIL PROTECTED] wrote: And you

Re: SOAP Implementation

2007-09-07 Thread Demetris G
Got it - thanks. Anne Thomas Manes wrote: Axis supports rpc/encoded (default) and document/literal (both wrapped and unwrapped). In Axis 1.3 they added support for rpc/literal. Axis2 supports rpc/literal and document/literal. Axis2 1.3 added support for wrapped doc/literal. Anne On 9/7/07,