[AXIS2C] query regarding deploying the calculator services

2007-05-14 Thread Yogender Singh01
Hi all, I am deploying the calculator services in Axis2c. I generated all the files (server and client side) using wsdl2c tool. Then for server side files, I did the necessary changes in axis2_skel_Calculator.c file. And for client side a new file for adding subtracting etc are written.

Re: [AXIS2C] query regarding deploying the calculator services

2007-05-14 Thread Kaushalye Kapuruge
Yogender Singh01 wrote: Hi all, I am deploying the calculator services in Axis2c. I generated all the files (server and client side) using wsdl2c tool. Then for server side files, I did the necessary changes in axis2_skel_Calculator.c file. And for client side a new file for adding

Re: problem trying to call a service using separate listener

2007-05-14 Thread Amila Suriarachchi
On 5/14/07, Jim Alateras [EMAIL PROTECTED] wrote: Amila, I have tried the changes below but I still get the following exception when running the application. Caused by: org.apache.axis2.deployment.DeploymentException: Invalid Handler phase rule has not been specified It seems you have

Re: WSDL retrieval

2007-05-14 Thread Amila Suriarachchi
I am not clear about what you are saying. we can help you if you explain a bit. See AxisService class has a method called printWSDL if (isUseUserWSDL()) { Parameter wsld4jdefinition = getParameter( WSDLConstants.WSDL_4_J_DEFINITION); if (wsld4jdefinition != null) {

How to change message ContentType???

2007-05-14 Thread Sukma Agung Verdianto
Hi All, I was trying to change message content type so I hope the message comes from axis accepted by WCF service deployed in IIS. I get exception like this: org.apache.axis2.AxisFault: HTTP Transport error : '415' - 'Cannot process the message because the content type 'text/xml;

Re: [Axis2 1.2] Java2WSDL with support of SwA and/or MTOM

2007-05-14 Thread Xinjun Chen
Hi Thilina, Thanks for your reply. I will try MTOM also. Regards, Xinjun On 5/12/07, Thilina Gunarathne [EMAIL PROTECTED] wrote: Hi, I have make enabled SwA support in Axis2. It seems that I cannot enable both SwA and MTOM at the same time. No it's not possible... MTOM will get priority if

[Axis2 1.2] javax.servlet.ServletException: multiple points

2007-05-14 Thread Xinjun Chen
I have upgraded Axis2 in my application from 1.1.1 to 1.2. Previvously, I only upgraded the lib and the axis2.xml configuration file. The services and modules directories are kept unchanged (1.1.1). Today I updaged modules and services directories, then I get the following exceptions:

Re: Packaging module specific jars

2007-05-14 Thread Deepal Jayasinghe
hi Jim , please put that under lib directory in the module mar file foo.mar META-INF module.xml lib mylib.jar For more information please have a look at [http://www-128.ibm.com/developerworks/library/ws-axis2soap/index.html] Thanks Deepal I am developing a module for axis2 (v1.2) and

Re: WSDL retrieval

2007-05-14 Thread Deepal Jayasinghe
Hi Demetris , If you are using Axis2 , then go to host:port/axis2/services under that you will get all the available services click one of them , then you will get the corresponding wsdl Thanks Deepal Hi all, I asked this before and didn't hear much back about it. How would one

Re: TypeMapping

2007-05-14 Thread Michael Imhof
Just posting to put me back on top after the weekend :-) Michael Michael Imhof wrote: What's the difference between typeMapping and beanMapping?? How can I replace a beanMapping with a typeMapping. I tried the following but I get No serializer found error with the typeMapping!!

Re: [Axis2 1.2] javax.servlet.ServletException: multiple points

2007-05-14 Thread Xinjun Chen
The reason is found. Though I modified the mar.lists, but I didn't delete addressing-1.1.1.marfrom the directory. Since mar.lists cannot exclude the mar files not included, why is the mar.lists file introduced into this directory? Regards, Xinjun On 5/14/07, Xinjun Chen [EMAIL PROTECTED]

Policy config for Microsoft.Web.Services2 client

2007-05-14 Thread Mikhail Maroukhine
Hello all, I need to connect to WS developed with C#... using axis2. Everything is fine with axis2 but I could not understand how to use Microsoft's policy file here. What do you think? Is it possible? Without this file I have Exception in thread main org.apache.axis2.AxisFault:

Problems generating required SOAP message

2007-05-14 Thread Ashish Rajhansha
Hi , I am having trouble generating expected SOAP input for a paricular WS. The WS owner says i will have to strip off the actor and must understand attributes from my customerId header. If I am not wrong these should not make any difference at all, since they are set to default value. Any

RE: Problems generating required SOAP message

2007-05-14 Thread smitha.aldrin
Hi I am new to axis framework.Basically I want to support WS-Eventing. I heard that savan module is supporting WS-Eventing. Can anybody suggest how can I download and get it built? Thanks And Regards Smitha Aldrin The information contained in this electronic message and any

RE: Problems generating required SOAP message

2007-05-14 Thread Michele Mazzucco
http://ws.apache.org/savan/index.html On Mon, 2007-05-14 at 17:23 +0530, [EMAIL PROTECTED] wrote: Hi I am new to axis framework.Basically I want to support WS-Eventing. I heard that savan module is supporting WS-Eventing. Can anybody suggest how can I download and get it built?

Re: Sequence of choices, or no serializer for AnyType

2007-05-14 Thread Axel Bock
Hi Amila, sorry, didn't read my mails for a few days :-) . Thanks for the tip, I'll test that. Cheers, Axel. On 5/10/07, Amila Suriarachchi [EMAIL PROTECTED] wrote: try to generate the code with ADB binding (i.e the defult) and using -b (for backwork compatibility) option On 5/7/07,

[Axis-1.4] Is it possible to declare a private type mapping for a service in deploy.wsdd?

2007-05-14 Thread Rodrigo Ruiz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I would like to specify a local type mapping for a service. Is it possible? AFAICS, all type mapping entries are global, and putting a TypeMapping tag inside a Service tag does not work. I need this because I have to invoke two services

Axis1 loading Spring context through Classpath

2007-05-14 Thread Matthew Young
using axis 1.3 (part of the spring 2.0.3 distribution)... with spring i do not use the ContextLoaderListener to read the application context rather go through the ClassPathXmlApplicationContext which causes a problem while testing axis. the axis initiated services seem to demand that a

Re: [Axis2] Axiom, What is the best way to add existing DOM (created by xerces) element to OMElement?

2007-05-14 Thread Davanum Srinivas
Yes, it's packaging. we may have to refactor stuff. It may be better to move XMLStreamReaderFromDOM directly into axiom in the long run. -- dims On 5/14/07, Yarmamedov, Vasyl [EMAIL PROTECTED] wrote: Than obvious question why XMLUtils.toOM is not implemented through XMLStreamReaderFromDOM?

Re: AxisServlet NullPointerException

2007-05-14 Thread Jack Sprat
Jeremy [EMAIL PROTECTED] wrote: Jack Sprat wrote: I believe I found the bug in the org.apache.axis2.transport.http.HTTPTransportUtils class. The following if condition lacks a set of parentheses: if ((msgContext.getEnvelope() == null) soapVersion != VERSION_SOAP11) {

Re: problem trying to call a service using separate listener

2007-05-14 Thread Jim Alateras
okay, I turned on some log3j debugging and found that the http server on the client side was not starting because of a mismatch in the http-core jar. I was using 4.0alpha3 and had to go back to 4.0alpha2. basically...problem has been solved. cheers /jima Jim Alateras wrote: Amila, Here is

Re: Packaging module specific jars

2007-05-14 Thread Jim Alateras
Thxs Deepal cheers /jima Deepal Jayasinghe wrote: hi Jim , please put that under lib directory in the module mar file foo.mar META-INF module.xml lib mylib.jar For more information please have a look at [http://www-128.ibm.com/developerworks/library/ws-axis2soap/index.html] Thanks

[Axis2] Mapping qname not fond for the package

2007-05-14 Thread Damien Sauvageot
Hi, Could someone explain me the meaning of this error message. It happens on the server side. I catched this error with tcpmon. I firstly thought it was not able to load the return class type but this class is in the classpath. here is the client code which does not crash but result is null.

AXIS 1.4 WSDL2JAVA does not create wrapper class for ref element with nillable = true

2007-05-14 Thread Neng.Xu
1. Schema: !-- Define global elements -- xs:element name=gBooleanNillable type=xs:boolean nillable=true/ !-- Refer global elements -- xs:complexType name=MyOperationRequest_Type xs:sequence xs:element ref=gBooleanNillable/ /xs:sequence

Re: [Axis2] Incomplete code generation with wsdl2java, in adb mode

2007-05-14 Thread Stephane Roy
Hi Amila, Thanks for your quick reply. Please could let me know the reference of the bug related to this problem ? Thanks in advance. Stephane Roy Alcatel-Lucent Amila Suriarachchi wrote: Any way this is a bug and I fixed it for the trunk. On 5/10/07, *Amila Suriarachchi* [EMAIL PROTECTED]

[Axis2] problem to display the WSDL in a browser in Axis2.1.2

2007-05-14 Thread Stephane Roy
Hi, I noticed a problem with the latest release of Axis2 (2.1.2). Once my code is generated, compiled and deployed for the server side, I try to display the related WSDL in my browser, by clicking on the line of my service in the http://localhost:8080/axis2/services/listServices page. The

Re: [Axis2] Mapping qname not fond for the package

2007-05-14 Thread Martin Gainty
Good Morning Damien-- Assuming you have OkUser class defined/compiled and on CLASSPATH and okauth has getUserByID method which will return toto is defined/compiled and is on CLASSPATH The only item I see which may cause null return result is your endpointReference declaration which is the

[Axis2] problem with client execution in xmlbeans mode

2007-05-14 Thread Stephane Roy
Hi, I have difficulties to create a web service with the xmlbeans mode. I tried the following scenario in Axis2.1.1.1 and Axis2.1.2 but I have the same error each time. 1) I generate the server part with the command: $AXIS2_HOME/bin/wsdl2java.sh -uri myService.wsdl -p my.package -o

namespace issues with Apache Axis 1.4

2007-05-14 Thread Dheepak Ramnathan
Hi, I was trying to generated server deployment information from an existing wsdl thru WSDL2Java. I find that the generated namespaces in the server-config.wsdd contains a '' symbol as package name seperator. I want to know the significance of this . Can I just go ahead and remove this ''

Re: WSDL retrieval

2007-05-14 Thread Demetris G
Hi Amila, I am just looking for something pretty simple - I want to run a client that can trigger the Axis server to send the WSDL XML doc over. I know I can do it manually as you are describing in your other email but is there an API that I can use to do this ? I will go over your code

Re: Databinding with JAXB documentation

2007-05-14 Thread Glen Mazza
I didn't realize you could use JAXB with Axis2. According to the docs[1] jaxbri is not an option: -d : Specifies the Databinding framework. Valid values are xmlbeans, adb, jibx, and none. Default is adb. Do the docs need to be updated? Glen [1]

RE: Strategy/Pattern for Unit testing web services?

2007-05-14 Thread Glen Mazza
Another option: http://wso2.org/library/1085 Glen Am Freitag, den 11.05.2007, 13:09 +0100 schrieb Raghupathy, Gurumoorthy: Have a look at http://www.soapui.org/ ….. this is by far the best tool to do anything with web services and the best thing is it is free J Regards Guru

is SimpleHTTPServer robust enough?

2007-05-14 Thread fernando da Motta hildebrand
Hi, I'm developing a server that has some SOAP interfaces. I'm trying to do it all by programing it, as the tutorial goes: public class EmbeddedAxis2Server { public static void main(String[] args) throws Exception { ConfigurationContext context = ConfigurationContextFactory.

Re: WSDL retrieval

2007-05-14 Thread Demetris G
Oh sorry - and currenly I am running Axis 1.4 Demetris G wrote: Hi Amila, I am just looking for something pretty simple - I want to run a client that can trigger the Axis server to send the WSDL XML doc over. I know I can do it manually as you are describing in your other email but is

Re: Problems with AXISCLASSPATH

2007-05-14 Thread ghuntley
here is my output from trying the first option. ~$ source .bashrc bash: /commons-logging-1.0.4.jar:/jaxrpc.jar:/saaj.jar:: No such file or directory bash: /log4j-1.2.8.jar:/xml-apis.jar:/xercesImpl.jar: No such file or directory ~$ export AXIS_HOME; export AXIS_LIB; export AXISCLASSPATH ~$ echo

Re: WSDL retrieval

2007-05-14 Thread Jeff Greif
Use GET, not POST. POST might work but has the wrong semantics with respect to caching, etc. Jeff On 5/14/07, Demetris G [EMAIL PROTECTED] wrote: I guess I can try to use the Jakarta HTTP Client API and use the POST to send the '... ?wsdl' command to the remote Axis server. What do you think

Re: WSDL retrieval

2007-05-14 Thread Demetris G
Will do - thanks Jeff. Jeff Greif wrote: Use GET, not POST. POST might work but has the wrong semantics with respect to caching, etc. Jeff On 5/14/07, Demetris G [EMAIL PROTECTED] wrote: I guess I can try to use the Jakarta HTTP Client API and use the POST to send the '... ?wsdl' command

How to unsubscribe?

2007-05-14 Thread Dave Hoffer
I have been sending email to [EMAIL PROTECTED] but I keep on getting email. Perhaps our corporate mail filter is filtering your confirmation replies. How can I unsubscribe? -dh - To unsubscribe, e-mail: [EMAIL PROTECTED] For

[Axis2] Neethi/Rampart

2007-05-14 Thread Tony Dean
Hi, Is the following ws-securepolicy suppported by Neethi? In this scenario I basically want the STS to create a SecurityContextToken and associate it with a RequestedProofToken binarySecret key. Once this is returned I would expect Neethi to use this key to encrypt/sign the data as

Re: TypeMapping

2007-05-14 Thread Anne Thomas Manes
beanMapping only works for beans, and it uses the default bean serializer. You should use typeMapping for classes that aren't beans, but in that case, you must write your own serializer. On 5/11/07, Michael Imhof [EMAIL PROTECTED] wrote: What's the difference between typeMapping and

namespace issues with Apache Axis 1.4

2007-05-14 Thread Dheepak Ramnathan
Hi, I was trying to generated server deployment information from an existing wsdl thru WSDL2Java. I find that the generated namespaces in the server-config.wsdd contains a '' symbol as package name seperator. I want to know the significance of this . Can I just go ahead and remove this ''

Re: [AXIS2] java2wsdl maven2 plugin problems

2007-05-14 Thread Jared Blitzstein
I'm having the exact same problem. Has anyone come up with a solution? On Feb 21, 2007, at 4:36 PM, Scot Hale wrote: Hi all, I am trying to use the maven java2wsdl 1.1 plugin, and I have run into several problems. I am using maven 2.0.5, java 5, and Linux Ubuntu 6.10. 1.) Documentation: The

Re: [AXIS2] java2wsdl maven2 plugin problems

2007-05-14 Thread Davanum Srinivas
Jared, Scot, Is there a JIRA for it? can you please create one as i don't remember seeing one for this. thanks, dims On 5/15/07, Jared Blitzstein [EMAIL PROTECTED] wrote: I'm having the exact same problem. Has anyone come up with a solution? On Feb 21, 2007, at 4:36 PM, Scot Hale wrote: Hi

Re: TypeMapping

2007-05-14 Thread Michael Imhof
Well, my test was based on the axis user's guide: http://ws.apache.org/axis/java/user-guide.html and there i found the following statement: (The beanMapping tag is really just shorthand for a typeMapping tag with serializer=org.apache.axis.encoding.ser.BeanSerializerFactory,