Axis2/C 1.0.0 RC3 Released

2007-04-20 Thread Samisa Abeysinghe
Apache Axis2/C Team is pleased to announce the release of Apache Axis2/C version 1.0.0-RC3 You can download this release from http://ws.apache.org/axis2/c/download.cgi Please test this and send in your feedback. Key Features 1. Support for one-way messaging (In-Only) and request response

Re: Axis2/C 1.0.0 RC3 Released

2007-04-20 Thread Samisa Abeysinghe
Download link is http://people.apache.org/~samisa/release/1.0.0/RC3/ Thanks, Samisa... Samisa Abeysinghe wrote: Apache Axis2/C Team is pleased to announce the release of Apache Axis2/C version 1.0.0-RC3 You can download this release from http://ws.apache.org/axis2/c/download.cgi Please test

Re: Apache Axis 2: how to get header? Options

2007-04-20 Thread Amila Suriarachchi
On 4/20/07, Davanum Srinivas [EMAIL PROTECTED] wrote: Kamaljeet, Step #2 is a good enchancement request. we should be generating code with that snippet. Can you please log a jira request? Amila, Can you please review this? Do we have a default envelope set in out message context in Axis2?

[Axis2] WSDL and WS-I compliance.

2007-04-20 Thread Ephemeris Lappis
Hello. My WSDL seems good enough for server and client generation in Axis2 and .net. Nevertheless when validating it with my Eclipse, 2 problems are reported : WS-I: (AP2901) A description uses neither the WSDL MIME Binding as described in WSDL 1.1 Section 5 nor WSDL SOAP binding as

Re: problem while invoking a service in Axis2

2007-04-20 Thread ashwin jeksani
Could you please tell me what is a JIRA and how to create it. On 4/19/07, Deepal Jayasinghe [EMAIL PROTECTED] wrote: Hmm , please check whether all the required jar files are there in the class path? specially http jars. If you have all the jars and you are still getting the error then pls

Re: Axis2 dispatcher and receiver

2007-04-20 Thread Soactive Inc
Here's my code. For some reason, I am still getting an exception when calling my service: Here are the relevant code snippets. Any inputs appreciated: axis2.xml - ... phaseOrder type=inflow !-- System pre defined phases -- phase name=Transport

Re: problem while invoking a service in Axis2

2007-04-20 Thread Charitha Kankanamge
ashwin jeksani wrote: Could you please tell me what is a JIRA and how to create it. JIRA is the Axis2 Issue tracking system and can be accessed through https://issues.apache.org/jira/browse/AXIS2 On 4/19/07, *Deepal Jayasinghe* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:

Re: using MTOM in a AXIOM-based WS

2007-04-20 Thread Michele Amoretti
No, I tried this but the problem persists: only 24KB of the file are transferred from the service to the client. :( Michele On 4/19/07, Masin, Valerie [EMAIL PROTECTED] wrote: A colleague had this problem (when using Sun's webserver) and fixed it by setting this on the client.

Re: Axis2 dispatcher and receiver

2007-04-20 Thread Paul Fremantle
Ron You might like to take a look at Apache Synapse (http://ws.apache.org/synapse) which is build on top of Axis2 and does exactly that. We have a flexible model where you can deploy any mediation before routing the message on to an external service. Paul On 4/19/07, Soactive Inc [EMAIL

Re: using MTOM in a AXIOM-based WS

2007-04-20 Thread Thilina Gunarathne
stub._getServiceClient().getOptions().setProperty( HTTPConstants.CHUNKED, Constants.VALUE_FALSE); But doing this forces the message to be buffered in the client side this might make large attachments to fail.. Now I managed to transfer a file from the service

Re: using MTOM in a AXIOM-based WS

2007-04-20 Thread Michele Amoretti
Argh I am sorry, I made a mistake and I was transferring another file (of 24KB size) and saving it with the wrong name (and extension). Now I can say that mymtomwithaxiomexample works properly and could be inserted in the samples folder of axis2 distribution! I only have one doubt about

Re: using MTOM in a AXIOM-based WS

2007-04-20 Thread Thilina Gunarathne
I have question about the WSDL for the MTOM-based service... For the operation which has a parameter which is a binary file, which type should I declare for the parameter? string? base64Binary.. You may refer to here[1] as a guide... Thanks, Thilina [1]

Re: using MTOM in a AXIOM-based WS

2007-04-20 Thread Michele Amoretti
Yes I read the guide but I need a more complete example. In my MTOM implementation I did not used a base64 encoded string.. I simply did: public OMElement getPriceFile(OMElement element) throws XMLStreamException { element.build(); element.detach(); OMElement

Re: using MTOM in a AXIOM-based WS

2007-04-20 Thread Thilina Gunarathne
Yes I read the guide but I need a more complete example. You can have a look at the MTOM Sample in the Axis2 dist.. It contains a complete WSDL first sample... In my MTOM implementation I did not used a base64 encoded string.. I simply did: You do not necessarily need to use base64 strings...

Re: Save MessageContext and java.io.NotSerializableException

2007-04-20 Thread Lorenzo
Ops... i can serialize OperationContext... ^_^ On gio, 2007-04-19 at 13:31 +0200, Lorenzo wrote: Hi all, i have to store messagecontexts. I check Sandesha2 source to see how it do it and i try to do as follow: public String save(String key, MessageContext messageContext){

Local part not allowed to be null

2007-04-20 Thread Serkan Sunel
Hi all, I am getting below exception while running wsdl2java If i delete the anyURI (endUserIdentifier in interface.wsdl-reserveAmount operation) paramaters from the wsdl it works..Is its binding is wrong something missing ? Thanks.. Serkan Sunel java org.apache.axis2.wsdl.WSDL2Java -uri

RE: Warning During deploying and testing the sample deploy.wsdd.

2007-04-20 Thread Yogender Singh01
Hi all, This problem is solved now. Log4j.properties files need to be copied in webapps/axis/lib From: Yogender Singh01 [mailto:[EMAIL PROTECTED] Sent: Friday, April 20, 2007 10:20 AM To: axis-user@ws.apache.org Subject: Warning During deploying and testing

AXIS problem with class generation from WSDL

2007-04-20 Thread Amir Alagic
Hi I have WSDL file and use WSDL2Java (axis.jar) to generate Java classes but not all classes are generated. Do you know how to fix this problem ? From: Yogender Singh01 [mailto:[EMAIL PROTECTED] Sent: 20. april 2007 11:58 To: axis-user@ws.apache.org

Re: wsa:Action header emitted from client with value

2007-04-20 Thread David Illsley
Hi Keith, uh... I beg to differ. If you look at the now-defunct WS-A WSDL binding spec [1] or its replacement the WS-A Metadata spec [2], the wsa:Action is specified at the abstract level, not the binding level. [1] http://www.w3.org/TR/2006/CR-ws-addr-wsdl-20060529/#actioninwsdl [2]

Re: [axis2] Help with StandAlone SimpleAxis2Server

2007-04-20 Thread Davanum Srinivas
Charles, please log a bug in JIRA. thanks, dims On 4/20/07, Charles Ambrose [EMAIL PROTECTED] wrote: Hi guys! I am unable to modify the root context of the services made available by the stand-alone version of the SimpleAxis2Server of the standard distribution of axis2 version 1.1.1.

Re: [axis2] Help with StandAlone SimpleAxis2Server

2007-04-20 Thread Paul Fremantle
Also, are there examples of how to create your own Embedded SimpleAxis2 Server? Dims wrote an article here: http://wso2.org/library/83 Paul -- Paul Fremantle VP/Technology, WSO2 and OASIS WS-RX TC Co-chair http://bloglines.com/blog/paulfremantle [EMAIL PROTECTED] Oxygenating the Web

Re: [Axis2] WSDL and WS-I compliance.

2007-04-20 Thread Anne Thomas Manes
WS-I Basic Profile v1.1 (the current version) does not allow use of SOAP 1.2, MTOM, or WS-Addressing. Support for MTOM and WS-Addressing will be added in WS-I BP v1.2. Support for SOAP 1.2 will be added in WS-I BP v2.0. For the moment, use of any of these newer specifications is likely to cause

RE: issue when sending big arrays

2007-04-20 Thread Jorge Fernandez
Hi Valerie, Thanks for your help but my problem is in the service because the response message seems to be built correctly but at certain moment, there is an exception and this message is not sent to the client. I use TCPMon and what the service sends to the client is only the HTTP Header:

RE: Axis2: Not able to run the client.

2007-04-20 Thread Inder Dhillon
Hello Martin I tried this but its still giving the same error. Could you please run this client on your system? I don't know why its not working on my system. I'll really appreciate your help. Inder _ From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Friday, April 20, 2007

Axis2: Invoking another webservice from another webservice.

2007-04-20 Thread Inder Dhillon
Hello I have one question that can we invoke a web service from inside of another web service. As I tried this out but am not successful. As What I did was that I extracted the information from soap message and then based on that information I want to invoke another web service. Can anyone

[AXIS2] Remote debug not working for modules

2007-04-20 Thread Shaoguang Cong
I've been using remote debug for Axis and tomcat. With Axis 2, I can still debug into the service impl classes. But it seems my handler classes packaged in module aren't attached to the debugger. I verified that the handler classes are invoked. Anyone knows what could be wrong?

Re: Axis2: Not able to run the client.

2007-04-20 Thread Martin Gainty
can you copy org.apache.axis2.echoservice.EchoServiceClient.class to %CATALINA_HOME%/webapps/axis2-/WEB-INF/classes folder so that you will have the class located in %CATALINA_HOME%/webapps/axis2-/WEB-INF/classes/org/apache/axis2/echoservice/EchoServiceClient.class Thanks, M-- This email

RE: [Axis2] WSDL and WS-I compliance.

2007-04-20 Thread Ephemeris Lappis
Hello. Effectively, if I remove the SOAP 1.2 binding, my WSDL is validated... I also will look later at what de WS-I says about attachments... Just for information, I've made by WSDL using the Axis2 MTOM sample as a model, and this is where the SOAP 1.2 binding comes from ! Thanks for your

AxisFault: The ServiceClass object does not implement the required method in the following form: OMElement {0}(OMElement e)

2007-04-20 Thread Nickolay Kutsyy
Hi guys, I have a problem with integrating Axis2 with Spring. Deploy on tomcat is successful, but then I'm running client in line stub.getUsers(user1) I have got exception org.apache.axis2.AxisFault: The ServiceClass object does not implement the required method in the following form: OMElement

SOAPAction mismatch invoking service

2007-04-20 Thread José Antonio Sánchez
I'm trying to invoke an Axis2 service inside a Muse service. To do this I'm using the Axis2 service stub I generated but when I send a message I get the following: POST /axis2/services/RegistrationService HTTP/1.1 SOAPAction:

Re: [AXIS2] Remote debug not working for modules

2007-04-20 Thread Martin Gainty
Did you see these instructions for setting up DEBUG option in the JVM? http://wso2.org/library/225 To config commons-logging via logging.properties please reference this site http://jakarta.apache.org/commons/logging/apidocs/org/apache/commons/logging/impl/SimpleLog.html Log4J is considerably

Re: SOAPAction mismatch invoking service

2007-04-20 Thread Brian De Pradine
Hello Jose, Please raise a JIRA issue to cover this. Thanks. http://issues.apache.org/jira/browse/AXIS2 Cheers Brian DePradine Web Services Development IBM Hursley External +44 (0) 1962 816319 Internal 246319 If you can't find the time to do it right the first time, where will you

Re: SOAPAction mismatch invoking service

2007-04-20 Thread José Antonio Sánchez
Done: https://issues.apache.org/jira/browse/AXIS2-2571 On 4/20/07, Brian De Pradine [EMAIL PROTECTED] wrote: Hello Jose, Please raise a JIRA issue to cover this. Thanks. http://issues.apache.org/jira/browse/AXIS2 Cheers Brian DePradine Web Services Development IBM Hursley External +44

Re: .NET Web Service and Axis2 Client. Session management issues.

2007-04-20 Thread Anil Chukkapalli
Hi Is it advisable as a last resort for me to maintain the session manually using a global singleton object or is there something else that i am missing in order to maintain session. I am using a cookie container in .NET to maintain session is there a similar mechanism in java 1.6. Can anyone

Code generateion, with xmlbeans, results in missing methods.

2007-04-20 Thread Tomas Kelly
I'm new to Axis2 - but not to programming. Im interested in generating service-from-wsdl ('contract-first'). Unfortunately, I'm new to WSDL too. Using the WSDL below, when I run wsdl2java (I'm using the wsdl2java ant task, in Eclipse 3.2...) I get a 'build successful' message from Ant but the

Re: Axis2 dispatcher and receiver

2007-04-20 Thread Soactive Inc
Can you or someone else provide a step by step approach (concrete example) to use Synapse to route to a simple external service without hardwiring any service information within the Synapse configuration. I have tried to use Synapse but so far it doesn't seem to work for me. On 4/20/07, Paul

Re: wsa:Action header emitted from client with value

2007-04-20 Thread Steven E. Harris
David Illsley [EMAIL PROTECTED] writes: If you look at the now-defunct WS-A WSDL binding spec [1] or its replacement the WS-A Metadata spec [2], the wsa:Action is specified at the abstract level, not the binding level. Just to make sure I follow you, are you saying that a default Action

Re: directory structure to use Axis2 in my .war file

2007-04-20 Thread Thilina Gunarathne
JNITest2Service.aar --JNITest2Service --META-INF services.xml Only one of the above is required, assuming you have structure correctly inside the .aar file too.. ~Thilina -- Thilina Gunarathne - http://www.wso2.com

axis2-1.1.1 wsdl2java code does not contain import statements

2007-04-20 Thread jnedzel
I'm just starting with Axis2 (v1.1.1) and I'm working through the User's Guide. I've generated the client using the command shown in Code Listing 6: %AXIS2_HOME%\bin\wsdl2java -uri Axis2UserGuide.wsdl -p org.apache.axis2.axis2userguide -d adb -s However, the Java class generated by this

Re: axis2-1.1.1 wsdl2java code does not contain import statements

2007-04-20 Thread jnedzel
Nevermind, my mistake... jnedzel wrote: I'm just starting with Axis2 (v1.1.1) and I'm working through the User's Guide. I've generated the client using the command shown in Code Listing 6: %AXIS2_HOME%\bin\wsdl2java -uri Axis2UserGuide.wsdl -p org.apache.axis2.axis2userguide -d adb -s

Re: Axis2 dispatcher and receiver

2007-04-20 Thread Martin Gainty
Ron/Paul-- are you verified synapse has run thru all the published SI testcases with AXIS2 ? (I did a quick run and see this displayed) C:\Synapse\synapse-0.91\samples\axis2Clientant stockquote Buildfile: build.xml init: [mkdir] Created dir:

Re: [AXIS2] Remote debug not working for modules

2007-04-20 Thread Shaoguang Cong
Thanks for your response. Yes. I checked that page earlier. I use a different IDE and don't have problem to setup Tomcat JVM in debug mode. It's been working for me until now when I try to debug the handlers deployed as modules in the AXIS2 webapp. I can still debug into the code deployed in

[axis2] client, windows, c:\temp

2007-04-20 Thread Aaron Aston
I have an Axis2 client app that runs on a variety of platforms (Linux, Solaris, Windows). On a Windows PC, under JDK/JRE 6, I see a number of files in the c:\temp directory created after every run of the client. The files are Axis JARs -- approximately 15 of them. Has anybody else seen this

Re: Apache Axis 2: how to get header? Options

2007-04-20 Thread craig wickesser
any ideas?

Re: Apache Axis 2: how to get header? Options

2007-04-20 Thread robert lazarski
Client or server side ? On 4/20/07, craig wickesser [EMAIL PROTECTED] wrote: any ideas?

Re: Apache Axis 2: how to get header? Options

2007-04-20 Thread craig wickesser
client side On 4/20/07, robert lazarski [EMAIL PROTECTED] wrote: Client or server side ? On 4/20/07, craig wickesser [EMAIL PROTECTED] wrote: any ideas?

RE: using MTOM in a AXIOM-based WS

2007-04-20 Thread Masin, Valerie
To really know that you are using MTOM you should be looking at your soap messages with tcpmon. If you are not using MTOM but are using base64Binary your soap will look something like this. Notice the ns1:document tag contains an encoded document directly embedded. POST

Re: Apache Axis 2: how to get header? Options

2007-04-20 Thread robert lazarski
You'll need to work with MessageContext. Here's the reference for the properties you're looking for: http://wso2.org/library/230#HTTP_HEADERS HTH, Robert On 4/20/07, craig wickesser [EMAIL PROTECTED] wrote: client side On 4/20/07, robert lazarski [EMAIL PROTECTED] wrote: Client or server

Issue with ADB and parsing a response message (namespaces)

2007-04-20 Thread Jorge Fernandez
Hi all, I'm having problems with the namespaces of a response message like this: ns3:getDetailedMonitoringStagesResponse xmlns:ns3=http://op_messages.medici_link/xsd; ns3:return xmlns:ns0=http://external.communication_data_model.medici_link/xsd;

-unsubscribe

2007-04-20 Thread Shigehiro Soejima
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: org.apache.axis2.AxisFault: java.lang.NoClassDefFoundError:org/apache/commons/codec/DecoderException

2007-04-20 Thread Inder Dhillon
Hello Immanuel I have to work on one problem and in that I have to call a webservice from inside another web service. I'll really appreciate if you Could give me some idea of how to call a webservice inside another webservice. As while invoking one service I have to extract information from

Re: Apache Axis 2: how to get header? Options

2007-04-20 Thread craig wickesser
Here is what it says at that link: *org.apache.axis2.transport.http.HTTPConstants.HTTP_HEADERS* You might sometimes want to send your own custom HTTP headers. You can set an ArrayList filled with org.apache.commons.httpclient.Header objects using the above property. You must not try to

Re: Code generateion, with xmlbeans, results in missing methods.

2007-04-20 Thread Glen Mazza
Quite possibly unrelated to your problem, but according to Anne[1], if you are using document/literal, you should *not* have a namespace for your soap:body messages, as you have here: soap:body use=literal namespace=http://MyService/ Glen [1] http://marc.info/?l=axis-userm=117394780408840w=2