Re: Problem with MTOM

2007-08-20 Thread Thilina Gunarathne
> public interface ServiceInreface { > > String echoText(String name); Change the above as follows.. String echoText(String name, DataHandler fileData thanks, Thilina > > } > > > > My question is: how can I inform the ant task that the string > request parameter to my web service

Re: Axis client sending multiRef

2007-08-20 Thread p . casenove
The client is rpc/literal, but I didn't follow this article to update my web service : http://ws.apache.org/axis2/1_3/Axis2-rpc-support.html I'll rebuild my wsdl accordingly and see what happens. Pierre "Anne Thomas Manes" <[EMAIL PROTECTED]> 20/08/2007 21:39 Veuillez répondre à axis-user@ws

Re: Loading webservis initialization data

2007-08-20 Thread Deepal jayasinghe
Hi mchmiel , You can easily do that with Axis2 by implementing the interface called "ServiceLifeCycle" and you can specify that as describe in [1] [1] : http://wso2.org/library/2060 Thanks Deepal > I wonder if there is a way to provide for webservice a similar to > servlet init() method. I would

Re: urgent help on interop with SOAP over TCP on .Net

2007-08-20 Thread Deepal jayasinghe
Hi Chen, , I think you are talking about Axis2 TCP support ? First you can download Axis2 1.3 release from [1] , then you can use Axis2's TCP transport support for invoking the service using TCP transport. To use TCP in the client side you have to set the correct EPR like : tcp://127.0.0.1:8080/ ,

Re: OMElement Vs java.lang.Object for (xsd:anyType) - Axis 1.3 Vs Axis 2 code generation

2007-08-20 Thread Amila Suriarachchi
On 8/17/07, Raghu Upadhyayula <[EMAIL PROTECTED]> wrote: > > Hi Amila, > > > > I'm currently using Axis2 1.3 version, is this bug fixed in that or do I > need to get nightly build for the fix. > it is only available in trunk. you can try this, get a nighly build and replace adb-codgen.jar and ad

Re: Problems using XMLBeans (xsi:type missing)

2007-08-20 Thread Amila Suriarachchi
On 8/20/07, Zerbst, Carsten <[EMAIL PROTECTED]> wrote: > > Hello, > > I created a webservice (from wsdl) using XMLBeans binding. Short before > finishing the project I run into a problem > with the XML binding. > > The wsdl describes some abstract complex_types and specific elements in a > differen

Generating Custom Schemas with Axis2 rmi.

2007-08-20 Thread Amila Suriarachchi
hi, There is no control to the user about the generated schema with the basic Axis2 -rmi functionalities. but with the custom schema support users have a lot of controll over the generated schema. Specifiying java Bean properties as attributes and setting xml names. (Please see the advanced-rmi

Re: Eclipse WTP

2007-08-20 Thread Lahiru Sandakith
Hi sjtirtha, Are you using Axis support or Axis2 support on WTP to generate the Web Service? And also posting the WTP version also will be helpful to give more information to you regarding the issue that you have. Thanks Lahiru On 8/20/07, sjtirtha <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm trying

Importing external schema in WSDL

2007-08-20 Thread Linus Kamb
I know this has been a topic several times before, but I don't see as it's fixed. I am using axis2 1.2 in Tomcat 5.5.23 on MacOSX 10.4.10. I have a WSDL schema, which imports a schema, which imports a schema, which imports many schemas After the first import, the schemas use relative URL

Re: Access to classes outside .aar file

2007-08-20 Thread robert lazarski
The whole idea is to not allow that since classloader isolation is a big reason for the aar in the first place, IIRC. Can you just put all your classes in WEB-INF/lib and WEB-INF/classes ? Its not mandatory in anyway to put your classes in an aar - I rarely do myself. All you really need is a dir

Problem maintaining the session

2007-08-20 Thread Vadim_Dribinsky
I want to use AXIS2 to connect to a service that needs to maintain session. I am able to maintain session if I use AXIS 1.4, but when I try using AXIS2 1.1.1, the session is not maintained. Here's the code that is not working with AXIS2: MyServicesWSServiceStub stub = new MyServicesW

Re: Axis client sending multiRef

2007-08-20 Thread Anne Thomas Manes
My guess is that your Axis 1.2 client apps are using RPC/encoded, but Axis2 does not support RPC/encoded. You can't maintain compatibility. Anne On 8/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hello, > I'm currently working on the update from Axis1 1.2 to Axis2 1.3 of my web > servic

Re: Implementing ws-trust

2007-08-20 Thread Anne Thomas Manes
"No service was found". You must add a definition to the WSDL. On 8/20/07, Massimiliano Masi <[EMAIL PROTECTED]> wrote: > Hi All, > > I have to implement a WS-Trust STS that issues SAML2.0 tokens. > It is not possible using rampart and rahas, so I decided to code it on my own. > > I try to get t

Passing parameters

2007-08-20 Thread Glenn Williams
What is the best practice for passing parameters (such as DB login, location, etc.) using Axis2?

Access to classes outside .aar file

2007-08-20 Thread Glenn Williams
Is there anyway to access classes outside the .aar file?

RE: [axis2].1.3 ADB exception

2007-08-20 Thread Ajay Joshi
Thanks Raghu, I found that jar in axis2 download.. going to use it in classoapth.. Regards Ajay From: Raghu Upadhyayula [mailto:[EMAIL PROTECTED] Sent: Monday, August 20, 2007 1:21 PM To: axis-user@ws.apache.org Subject: RE: [axis2].1.3 ADB exception

Re: Contents of .aar file

2007-08-20 Thread Davanum Srinivas
You can use whatever name you wish. -- dims On 8/20/07, Kandalam, Anjana <[EMAIL PROTECTED]> wrote: > > > > > > > What should the name of the .aar file be? I have seen examples where in > there is only 1 service and the aar file is the same service. I have > multiple services in different package

RE: Contents of .aar file

2007-08-20 Thread Kandalam, Anjana
What should the name of the .aar file be? I have seen examples where in there is only 1 service and the aar file is the same service. I have multiple services in different packages as different java projects. How should the structure be? Anjana Kandalam Private Client Group - AIG Work: 908-67

RE: [axis2] [IMPORTANT] JDK 1.4 compatibility - feedback requested

2007-08-20 Thread George Stanchev
Hi Glen, As as committer on another open source project that uses axis2 as a dependency, I second the vote to keep 1.4 compatibility. A lot of older, bigger organizations keep older JVMs for the reasons already stated by others. If you switch axis2 1.4 and above to JVM 1.5, you will loose a lot of

RE: urgent help on interop with SOAP over TCP on .Net

2007-08-20 Thread Chen, John (N-Avatar Inc.)
I need to know how to get the message sent from .NET through SOAP over TCP. I have not much idea about it. I have been using Axis for Web services, which is basically SOAP over HTTP Any help will be appreciated. Thanks John -Original Message- From: Pushkar Bodas [mailto:[EMAIL PRO

Re: urgent help on interop with SOAP over TCP on .Net

2007-08-20 Thread Pushkar Bodas
Hi, Do you want to monitor the SOAP messages?if so, try and use TCPmon [http://ws.apache.org/commons/tcpmon/].if I got you wrong, please specify what you want to do by receiving it. Thanks and regards, Pushkar Chen, John (N-Avatar Inc.) wrote: > > I have a .Net program sending SOAP me

Re: ANT Axis-wsdl2java Task question

2007-08-20 Thread Upul Godage
Hi, http://mail-archives.apache.org/mod_mbox/ws-axis-user/200601.mbox/[EMAIL PROTECTED] You can try it anyway. Upul On 8/20/07, Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > > Hi > I am using axis 1.4, and this document i referred does not mentiong > wrapArrays attribute > > http://ws.apache.

RE: [AXIS2] wsdl2java for xmlbeans needs axiom jars?

2007-08-20 Thread Pantvaidya, Vishwajit
No - it is the same wsdl that I used in Axis1 with minor changes to work with axsi2. So I have no policies in it. From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 15, 2007 9:19 PM To: axis-user@ws.apache.org Subject: Re: [AXIS2] wsdl2jav

Implementing ws-trust

2007-08-20 Thread Massimiliano Masi
Hi All, I have to implement a WS-Trust STS that issues SAML2.0 tokens. It is not possible using rampart and rahas, so I decided to code it on my own. I try to get the WSDL from oasis with errors: [EMAIL PROTECTED] ~ $ wsdl2java.sh -uri http://docs.oasis-open.org/ws-sx/ws-trust/200512/ws-trust-1.

Re: ANT Axis-wsdl2java Task question

2007-08-20 Thread Ashish Kulkarni
Hi I am using axis 1.4, and this document i referred does not mentiong wrapArrays attribute http://ws.apache.org/axis/java/ant/axis-wsdl2java.html Ashish On 8/20/07, Upul Godage <[EMAIL PROTECTED]> wrote: > > Hi, > > For Axis wsdl2java Ant task, > wrapArrays="true" > attribute is available. >

RE: [axis2].1.3 ADB exception

2007-08-20 Thread Raghu Upadhyayula
Hi Ajay, axis2-adb-1.3.jar contains the org.apache.axis2.databinding.ADBException class. Please verify your classpath in eclipse and check whether this jar is available or not. Thanks Raghu From: Ajay Joshi [mailto:[EMAIL PROTECTED] Sent: Monday, Aug

Re: Contents of .aar file

2007-08-20 Thread Upul Godage
Hi, Following article has some details about the aar structure. http://www.ibm.com/developerworks/webservices/library/ws-axis2soap/index.html This one gives some details about the services.xml file. http://wso2.org/library/2060 Upul On 8/20/07, Kandalam, Anjana <[EMAIL PROTECTED]> wrote: > >

Re: ANT Axis-wsdl2java Task question

2007-08-20 Thread Upul Godage
Hi, For Axis wsdl2java Ant task, wrapArrays="true" attribute is available. Upul On 8/20/07, Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > > Hi > When i am creating java source using wsdl2java - have option -w which > wrap arrays > The definitaion says > -w, --wrapArrays > Prefers building beans

urgent help on interop with SOAP over TCP on .Net

2007-08-20 Thread Chen, John (N-Avatar Inc.)
I have a .Net program sending SOAP message over TCP and I am trying to find something that running on a Java platform can receive it. I heard about Axis's RC2 before, but I am not able to find it anymore. Can anybody tell me about it or point me to the right product ? Thanks John

Contents of .aar file

2007-08-20 Thread Kandalam, Anjana
I have a group of services to be deployed in Axis2.0 . What should be the contents of the .aar file apart from the services.xml file?? Anjana Kandalam Private Client Group - AIG Work: 908-679-2608 Cell: 908-596-0424

Re: The service cannot be found for the endpoint reference

2007-08-20 Thread robert lazarski
I ran into perhaps the same issue myself moving to 1.3 , using an EPR . Could be a behavioral change, rather than a bug. private static EndpointReference targetEPR = new EndpointReference( // "http://localhost:9080/axis2/services/tissSolicitacaoDemonstrativoRetorno";);

[axis2].1.3 ADB exception

2007-08-20 Thread Ajay Joshi
I am getting Missing class: org.apache.axis2.databinding.ADBException whiling using axis2 from Eclipse and OC4J environment. I have included all .jars from C:\axis2-1.3\lib in my classpath but still I could not find any org.apache.axis2.databinding.ADBException from Eclipse search window. d

[axis2].1.3 ADB exception

2007-08-20 Thread Ajay Joshi
I am getting Missing class: org.apache.axis2.databinding.ADBException whiling using axis2 from Eclipse and OC4J environment. I have included all .jars from C:\axis2-1.3\lib in my classpath but still I could not find any org.apache.axis2.databinding.ADBException from Eclipse search window. d

Axis client sending multiRef

2007-08-20 Thread p . casenove
Hello, I'm currently working on the update from Axis1 1.2 to Axis2 1.3 of my web services. I need to keep the compatibility of the older clients, which work with Axis1 1.2. One of the client is sending SOAP message with multiRef tags in the body. The corresponding webservice decodes the message

Re: Using object lists for interop between axis2 and .NET

2007-08-20 Thread Pushkar Bodas
Hi, Using normal object arrays does work both ways. Thanks a lot anyway. Thanks and regards, Pushkar Pushkar Bodas wrote: > > Hi, > > Yeah, Im on to it right now and it may work, atleast its working for the > C# client for nowIv yet to test it on the java client. As soon as im > done, il

The service cannot be found for the endpoint reference

2007-08-20 Thread feh
Hi folks. I'm attempted to convert my code from Axis2 1.1 to Axis2 1.3, and I receive the error below when I request the WSDL. I've seen similar postings, but haven't seen a solution. Is this a bug, or am I doing something wrong? Thanks! org.apache.axis2.AxisFault: The service cannot be found

ANT Axis-wsdl2java Task question

2007-08-20 Thread Ashish Kulkarni
Hi When i am creating java source using wsdl2java - have option -w which wrap arrays The definitaion says -w, --wrapArrays Prefers building beans to straight arrays for wrapped XML ar ray types (defaults to off). I dont see this option in ant task is there any alternative? i have an XSD with arra

axis1.2 and REST

2007-08-20 Thread D P
Hello all, I would like to sent a POST message to a service RESTfully. I reviewed the Axis1.2 docs and understand how the message is automatically placed in the body element of a SOAP message on the way in. On the way out to the client, should my in/out message receiver class attempt to place the

Re: Using object lists for interop between axis2 and .NET

2007-08-20 Thread Pushkar Bodas
Hi, Yeah, Im on to it right now and it may work, atleast its working for the C# client for nowIv yet to test it on the java client. As soon as im done, ill post a reply here Thanks anyways AnneIll keep you posted here Thanks and regards Pushkar Anne Thomas Manes wrote: > > Try basic a

Re: Using object lists for interop between axis2 and .NET

2007-08-20 Thread Anne Thomas Manes
Try basic arrays -- avoid Java-specific collection classes. Anne On 8/20/07, Pushkar Bodas <[EMAIL PROTECTED]> wrote: > > Hi, > > I am trying to send a list of user defined objects across .NET and Axis2 web > services and cleints(Java client for .NET service and C# client for Axis2 > service). I

Multiple methods throwing same fault causes RemoteException

2007-08-20 Thread Scott Waldner
I am using Axis2 to consume a web service (client application). The web service has multiple methods that throw the same exception. For example: Method1() throws MyCustomException1 Method2() throws MyCustomException1 When MyCustomException1 is thrown from Method2

Re: Axis 1.3: Classloading Issue with WEB-INF/lib jars in aar

2007-08-20 Thread Periklis Tsirakidis
Hi Ants, thank you for your help, but our classloading problems don't think to be so similar, because the classes i am trying to load are for sure not in WEB-INF/lib. This classes are part of an third party sofware. This Third-Party software is using their own old version of xerces and cocoon,

Using object lists for interop between axis2 and .NET

2007-08-20 Thread Pushkar Bodas
Hi, I am trying to send a list of user defined objects across .NET and Axis2 web services and cleints(Java client for .NET service and C# client for Axis2 service). I havent done much ground work on this, but I tried passing ArrayLists and that doesnt work. I think using HashMaps may work, but

Access my server url with skeleton

2007-08-20 Thread Zerbst, Carsten
Hello, how on earth ( especially within Axis2) could I access the url of the server within the skeleton code ? Thanks, Carsten ___ Dr.-Ing. Carsten Zerbst PROSTEP ITS GmbH Hein-Saß-Weg 19, D-21129 Hamburg Tel: +49 40 209 1608 12 Mobil: +49 178 950 9468 E-Mail: [EMAIL PROTECTED] http://www

Re: Transfer-Encoding: chunked in axis 1.3

2007-08-20 Thread Pushkar Bodas
Hi, Do you create some stub to consume the webservice? The code which Felipe gave, or : .getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.CHUNKED, Boolean.FALSE); in the stub does help setting the Transfer Encoding to be false and solves the problem between HTTP 1.1 and

Re: Axis2: Configure Axis dynamicly (SpringAware)

2007-08-20 Thread robert lazarski
Using SpringAppContextAwareObjectSupplier, you have the option of using the the same ApplicationContextHolder class that axis2 uses. Also, take a look at the AbstractMessageReceiver, ie, looking at the source in this part of axis2 should point you in the right direction. HTH, Robert On 8/20/07, [

Re: Transfer-Encoding: chunked in axis 1.3

2007-08-20 Thread sjtirtha
You mean by this code. That I write this in the client program. but I don't have any access to the client source code. Can I just deactivate this function in axis ? I found this mail: http://marc.info/?l=axis-user&m=118658006608827&w=2 It seems to be the solution for my problem. But I don't find,

RE: Transfer-Encoding: chunked in axis 1.3

2007-08-20 Thread DOMINGUEZ Felipe
try with this code. cheers Felipe Options options = new Options(); options.setProperty(HTTPConstants.CHUNKED,false); serviceClient.setOptions(options); From: sjtirtha [mailto:[EMAIL PROTECTED] Sent: Monday 20 August 2007 13:27

Re: classpath error

2007-08-20 Thread Andrew Martin
I use Eclipse 3.2.2 for Java development. Here's how I add jars: Right-click on my project name. Click "Properties". Click "Java Build Path". Click the "Libraries" tab. Click "Add External JARs...". Find the jar. Click "Open". Click "OK". Andrew shams jawaid wrote: > so what software do you rec

Re: classpath error

2007-08-20 Thread shams jawaid
so what software do you recommend in which you can check the classpath ? From:  Andrew Martin <[EMAIL PROTECTED]>Reply-To:  axis-user@ws.apache.orgTo:  axis-user@ws.apache.orgSubject:  Re: classpath errorDate:  Mon, 20 Aug 2007 08:09:53 -0400>It shouldn't matter what you're using.  If you were

Re: classpath error

2007-08-20 Thread Andrew Martin
It shouldn't matter what you're using. If you were using software that I use, I'd be able to tell if you were setting up the classpath correctly. I don't know anything about BlueJ, though. I didn't even know that it was an IDE the first time that you mentioned it. If you can't even compile, it

Re: classpath error

2007-08-20 Thread shams jawaid
iv put the axis2 kernel jar into the classpath, im using bluej at the moment. should that make a difference? From:  Andrew Martin <[EMAIL PROTECTED]>Reply-To:  axis-user@ws.apache.orgTo:  axis-user@ws.apache.orgSubject:  Re: classpath errorDate:  Mon, 20 Aug 2007 07:53:48 -0400>You need axis2-

Re: classpath error

2007-08-20 Thread Andrew Martin
You need axis2-kernel-1.1.1.jar (or maybe the name "1.1.1" part will be a little different if you're using a different version). How are you compiling? Are you using Eclipse or some IDE, or are you running javac from the command line? Andrew shams jawaid wrote: > i am trying to connnect two web

Problem with MTOM

2007-08-20 Thread Ashish Arya
Hi All, I am new to AXIS 2 and trying to implement a small web service application which uses MTOM attachment. In my simple web service application, I have an operation called 'echoText()' which expects a text file as MTOM attachment as request parameter to this operation. In return this metho

Loading webservis initialization data

2007-08-20 Thread mchmiel
I wonder if there is a way to provide for webservice a similar to servlet init() method. I would like to load a file allong with the initialization of webservis. Now i do that by using an external servlet and register it in servlet context but i am affraid that this solution will not be efficien

Re: classpath error

2007-08-20 Thread shams jawaid
i am trying to connnect two web services by calling a stub. i have a java file of one web service, in which i try to call a stub of another web service. i am using bluej, and i import packages : import org.apache.axis2;import org.apache.axis2.client; but when i try to compile, it says packages org

Re: Transfer-Encoding: chunked in axis 1.3

2007-08-20 Thread sjtirtha
Thanks for the links. But I use Axis 1.3. Can I also disable http chunking in Axis 1.3 ? Steve On 8/20/07, Upul Godage <[EMAIL PROTECTED]> wrote: > > http://wso2.org/library/952 > > Hope this helps. > > Upul > > > On 8/20/07, sjtirtha < [EMAIL PROTECTED]> wrote: > > > > Hi, > > > > how can I dea

Re: classpath error

2007-08-20 Thread Upul Godage
Hi, You could send something about what you tried to do and most importantly errors, exception stack trace you got. Upul On 8/20/07, shams jawaid <[EMAIL PROTECTED]> wrote: > > Hi , > does any one know how to solve a 'org.apache' package not found error, i > was told it was a classpath error an

Re: Transfer-Encoding: chunked in axis 1.3

2007-08-20 Thread Upul Godage
http://wso2.org/library/952 Hope this helps. Upul On 8/20/07, sjtirtha <[EMAIL PROTECTED]> wrote: > > Hi, > > how can I deactivate "Transfer-Encoding: chunked" in Axis 1.3 ? > I get always response message with "Transfer-Encoding: chunked" in header. > And my ws client can not parse this respon

Transfer-Encoding: chunked in axis 1.3

2007-08-20 Thread sjtirtha
Hi, how can I deactivate "Transfer-Encoding: chunked" in Axis 1.3 ? I get always response message with "Transfer-Encoding: chunked" in header. And my ws client can not parse this response message. Steve

classpath error

2007-08-20 Thread shams jawaid
Hi , does any one know how to solve a 'org.apache' package not found error, i was told it was a classpath error and needed to put some jar files into the classpath, but i have done that and still no result. maybe there are specific jar files that need to be added to the classpath, does anyone know

Eclipse WTP

2007-08-20 Thread sjtirtha
Hi, I'm trying to create a web service from my Java Class, but I get this error: The method "init" on the service class "ws.impl.ZoneServiceImpl" uses a data type, "java.lang.Object", that is not supported by the JAX-RPC specification. Instances of the type may not serialize or deserialize corr

Re: can't store information in configuration context

2007-08-20 Thread Jorge Fernandez
Hi Deepal, My problem was on server side. Each time a client opened a session, properties were cleaned and the only information I could see was the one I stored in startUp. At this moment is working ok. Don't know why yesterday it didn't work because I haven't changed anything. If instead of s

AW: Using Graphics2D in Axis2 Handler

2007-08-20 Thread Zerbst, Carsten
Hello, perhaps your problem is completly different. If you run java.awt.* things with a headless server context, you need to tell awt that there is no display to attach to. Try setting the java system environment java.awt.headless to "true" on the server side, e.g. by modifiying the start sc

Re: Using Graphics2D in Axis2 Handler

2007-08-20 Thread Gia Hieu Dinh
I think it's not the missing library because the java.awt is a standard library. I try to copy the standard jar file to the axis2 library but the problem is still there. Could any help me with this? Thanks for your help anyway. Deepal Deepal Jayasinghe wrote: > > Is that something to do with m

Axis2 client minimum jar set

2007-08-20 Thread DOMINGUEZ Felipe
Hello. Can any one please tell me if there is a document indicating what is the minimum jar set required to run axis2 (1.2 or 1.3) as a client. I must deploy a very simple web service client, but if I add all jar files in the distribution "lib" it will take up to 13MB with axis2 1.2 and 18MB wi

Axis2: Configure Axis dynamicly (SpringAware)

2007-08-20 Thread riis
Hi, I would like hear if it some how is possible to configure Axis2 dynamic as the following in my service descriptor. org.apache.axis2.extensions.spring.receivers.SpringAppContextAwareObjectSupplier myService

Problems using XMLBeans (xsi:type missing)

2007-08-20 Thread Zerbst, Carsten
Hello, I created a webservice (from wsdl) using XMLBeans binding. Short before finishing the project I run into a problem with the XML binding. The wsdl describes some abstract complex_types and specific elements in a different namespace. When using XMLBeans the xsi:type is suppressed. E.g. w

Re: too many connections openned...

2007-08-20 Thread Deepal Jayasinghe
hi Zoe, Please create a JIRA, in the meantime try to do the following stub._getServiceClient().cleanupTransport(); Thanks Deepal > Hi guru > > When using the axis2 stub generated by wsdl2java, do I need to > remember to close the connection after calling the stub function? > > Example: > Stub func