Re: Newbie Question re: Axis2 1.1.1

2007-03-08 Thread keith chapman
Hi Rich, Looks like you have code generated the stub. You can use the -uw option when generating code so that it unwraps the objects. But axis2 1.1.1 does not unrap the response it only unwraps the request. The current code base support unwrapping of both request and response). I guess the -uw o

Re: [Axis2] Is this possible? (Axis2+Flex2)

2007-03-08 Thread Ajith Ranabahu
hi, Before we go about doing this let me know the following things 1. Are you using the rpc message receiver ? 2. Do you have a WSDL file or do you use an auto generated WSDL ? Ajith On 3/8/07, jzs11 <[EMAIL PROTECTED]> wrote: Thanks for your response Ajith, could you give me more hints on ho

Re: Axis2 OMElement getAttribute

2007-03-08 Thread Ajith Ranabahu
Hi, Just as David said please use the namespace URL (not the prefix) to get a qualified attribute. if you look at the two argument QName constructor the first one is the namespace URL Ajith On 3/8/07, David Illsley <[EMAIL PROTECTED]> wrote: Can I suggest trying with a QName which includes the

Newbie Question re: Axis2 1.1.1

2007-03-08 Thread Rich Adili
OK, I'm a first-timer at Web Services, so be gentle, please. I'm exporting a function like String HelloWorld (int whatever, Date whenever); Seems like my user needs to do something like: Service1Stub client = new Serv

Re: [Axis2][Rampart] MTOM Attachment secure?

2007-03-08 Thread Dimuthu Leelaratne
Hi Jochen Zink, Quoted from [1] "The most notable feature of MTOM is the use of XOP:Include element, which is defined in XML Binary Optimized Packaging (XOP) specification to reference the binary attachments (external unparsed general entities) of the message. With the use of this exclusive eleme

SOAP Attachment not working

2007-03-08 Thread Surya . Sigirisetty
Hi Folks, I am trying to create a service which servers files. Client is successfully making call to service and infact service is executed successfully. But i am getting exception on server some where after service execution. Pls let me know what's the possible cause. Env: Running Axis2-1.1.

Re: [Axis2] Is this possible? (Axis2+Flex2)

2007-03-08 Thread jzs11
Thanks for your response Ajith, could you give me more hints on how to do this? Where should I write the doc/lit service in Axis2? Which file I need modify? Thank you very much. Ajith Ranabahu wrote: > > Well you can write a doc/lit service and specify the schema you want > > Ajith > > On 3

Re: Is this possible? (Axis2+Flex2)

2007-03-08 Thread Ajith Ranabahu
Well you can write a doc/lit service and specify the schema you want Ajith On 3/8/07, jzs11 <[EMAIL PROTECTED]> wrote: Because some reserved word issue with Flex2 I need modify the axis2 response message's style. --Original Response-

Is this possible? (Axis2+Flex2)

2007-03-08 Thread jzs11
Because some reserved word issue with Flex2 I need modify the axis2 response message's style. --Original Response- http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ns="http://service.pojo.sample/xsd";

Michael Rheinheimer/Austin/IBM is out of the office.

2007-03-08 Thread Michael Rheinheimer
I will be out of the office starting 03/08/2007 and will not return until 03/19/2007. If you need to reach me immediately, please try my personal cell phone at 512-797-6788. You may also contact Carlton Mason or Ann Robinson, who both know my backups for all related projects. Thanks. Mike

2 problems, simple function, hot deployment

2007-03-08 Thread [EMAIL PROTECTED]
1) I've used axis2 for pojo beans and it's worked good. There is very good example for it. But I suffer cause of lack of documentation or I can't find it. I'm going to make a function like this OutputWrapper function(InputWrapper inputwrapper) { /*.../* } so there are class OutputWrapper { int in

Auto generated WSDL not working

2007-03-08 Thread rizvis
I am deploying an Axis (1.3) web service in Weblogic 8.1 using a wsdd file and when I click on the link for the autogenerated wsdl I get : Axis Error Could not generate WSDL! Does anybody know why this might happen. === The wsdd file looks like : htt

RE: WS Security with Axis 1.4

2007-03-08 Thread Alick Buckley
Hi Ken, This question has been asked before on this mailing list - RE: [Axis 1.4 & WSS4J] - WS-Addressing == RE: [Axis 1.4 & WSS4J] - WS-Addressing Hi Jose, I have used WS-Addressing and WS-Security with Axis 1.4 as an Agent to talk

[Axis2] Is Axis2 wsdl autogeneration configureable ?

2007-03-08 Thread Florian Wachs
Hello all ! Is it possible to configure the way axis2 is autogenerating the wsdl ? I developed a little webservice as POJO´s. Service starts fine and I´m able to access it with a java and c# client. But the way I have to access it is to complicated. I allready posted a similar problem under the

No operation name specified!

2007-03-08 Thread Brantley Hobbs
All, I'm really new to web services, but a fairly experienced Java and J2EE programmer. I need some help with the basics here please. I've created some pojo's that I've written a vanilla services.xml file for. I'll provide it if someone wants it, but there's nothing more than a service group of

Re: Axis2 OMElement getAttribute

2007-03-08 Thread David Illsley
Can I suggest trying with a QName which includes the xsi namespace value? David On 08/03/07, Gul Onural <[EMAIL PROTECTED]> wrote: I have an OMElement response coming from my web services written in Axis2. http://www.w3.org/2001/XMLSchema-instance";> aName On the web servic

Axis2 OMElement getAttribute

2007-03-08 Thread Gul Onural
I have an OMElement response coming from my web services written in Axis2. http://www.w3.org/2001/XMLSchema-instance";> aName On the web services client side, I am trying to determine the xsi:type attribute value, using following code snippet, but type (in below code snippet) see

Re: WS Security with Axis 1.4

2007-03-08 Thread Anne Thomas Manes
WSS4J is the right way to go. On 3/8/07, Ken Tam <[EMAIL PROTECTED]> wrote: Hi all, I am using Axis 1.4 on a standalone Java client to invoke a web service. This is working fine but the same web service has enabled WSE 3.0 security. I have the client and server certificates. How do I apply WS S

WS Security with Axis 1.4

2007-03-08 Thread Ken Tam
Hi all, I am using Axis 1.4 on a standalone Java client to invoke a web service. This is working fine but the same web service has enabled WSE 3.0 security. I have the client and server certificates. How do I apply WS Security? Is WSS4J the right way to go? Any sample code would be helpful. Thank

RE: [axis2] Lib cannot find classes in aar

2007-03-08 Thread Jones, Alan R
I do not have a suggestion but I am in a similar situation...It does not work for me putting them into the WEB-INF/lib because it throws all kinds of xml bean errors . Are your classes genned using xml beans? aj Alan R Jones Boeing S&IS Mission Sys

Re: [axis2] Lib cannot find classes in aar

2007-03-08 Thread Davanum Srinivas
You are welcome :) -- dims On 3/8/07, Grimshaw, Jeffrey <[EMAIL PROTECTED]> wrote: Wonderful! Setting that parameter worked beutifully and the service now works as expected. Thanks Davanum! --Jeff -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Thursday, Ma

SWA in WSDL2Java generated client using xmlbeans binding

2007-03-08 Thread D
Hi folks, I'm no expert in webservices, so I hope I'm not doing something really stupid. I'm using axis2-1.1.1 and generating a webservice client using WSDL2Java with the following parameters: When I use the following binding in my WSDL http://schemas.xmlsoap.org

RE: [axis2] Lib cannot find classes in aar

2007-03-08 Thread Grimshaw, Jeffrey
Wonderful! Setting that parameter worked beutifully and the service now works as expected. Thanks Davanum! --Jeff -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Thursday, March 08, 2007 6:25 AM To: axis-user@ws.apache.org Subject: Re: [axis2] Lib cannot find

Re: static & final java attributes

2007-03-08 Thread Jorge Fernandez
Thanks again, I'll try to modify the wsdl adding enumeration elements, Regards, Jorge Fernández Glen Mazza <[EMAIL PROTECTED]> escribió: I'm still a web services newbie, but that doesn't seem standard--having client code rely on programmatic constructs present in the server code. The client sh

Re: Axis2 and tomcat 5.5

2007-03-08 Thread Michael Bell
Hi Thilina, Thilina Gunarathne schrieb: Seems like our nightly build system is broken some how... Yes, we noticed this too. All jar archives except of axis2 are missing. Nevertheless we found out that axis2 1.1.1 war archive works for us. The problem was a missing javaee.jar archive from Su

Re: [Axis2][Rampart] MTOM Attachment secure?

2007-03-08 Thread Jochen Zink
I know that rampart handels the file as binary file. :) That is the reason, why I can not check, that the attachment is also encrypted. If I do not write the Element to the clients config file, I can see, that the file is encrypted. Because, there is no binary stuff inside the message and the

Re: [axis2] Lib cannot find classes in aar

2007-03-08 Thread Davanum Srinivas
Please try setting the ServiceTCCL option to "composite". See example here [1] composite [1] http://ws.apache.org/axis2/1_1_1/pojoguide.html On 3/7/07, Grimshaw, Jeffrey <[EMAIL PROTECTED]> wrote: UPDATE! If I package up my application classes in a jar file and place them in webapps/axis-2/WE

Re: XML equivalent of object in client classes

2007-03-08 Thread Davanum Srinivas
Sampige, you will have to look at the tests in Axis1 harness. there are some examples there to serialize xml from objects. thanks, dims On 3/7/07, Sampige, Srinivas <[EMAIL PROTECTED]> wrote: Amila Do you know how to do this with the AXIS1 API?We have an existing system written on

Re: [Axis2][Rampart] MTOM Attachment secure?

2007-03-08 Thread Thilina Gunarathne
The File is transferred correctly. But I'm not sure, that both message Parts (the soap >Message and the attachment) are encrypted. Without rampart, I can read the XML-File >content in clear text on tcpmon. With Rampart and sending the file with Soap With >Attachment, its also clear text (Rampar

Axis2 and HTTP auth

2007-03-08 Thread pat
Hello, I need to use HTTP auth with Asix2. The web service is deployed to axis2.war which runs in the Tomcat web container. Is there any sample for that case? Thanks a lot Pat - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: Axis2 and tomcat 5.5

2007-03-08 Thread Thilina Gunarathne
Seems like our nightly build system is broken some how... You can checkout the axis2 svn and run a "mavan war" to create the correct axis2.war.. See here[1] for more details.. Thanks, Thilina [1] http://ws.apache.org/axis2/svn.html On 3/8/07, Michael Bell <[EMAIL PROTECTED]> wrote: Hi, I disc

re-using XSD beans/stubs

2007-03-08 Thread Kenney Westerhof
Hi, I have 2 WSDL's that import the same XSD; they define 2 services/approaches to communicate with the web service. I noticed that the generated classes for server and client are exactly the same, except for some holder classes and the WSDL webservice specific classes. In my case, I end up with

nightly build broken?

2007-03-08 Thread Michele Mazzucco
Hi all, I've just downloaded the last nightly build, but it looks like broken (I've deployed it on tomcat 5.5.20), the stax libs are missing. SEVERE: StandardWrapper.Throwable java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamException at org.apache.axis2.transport.http.AxisServle

Re: how to get custom WSDL during runtime instead of generated WSDL in Axis 2

2007-03-08 Thread Jarek Kucypera
Krishnamoorthy J (HCL Financial Services) wrote: Hi, What is the option similar to wsdlFile property of service-config.wsdd (Axis 1.4) in Axis 2? How to get the custom WSDL file displayed instead of Axis generated WSDL in Axis2 1.1.1? Put the wsdl in the META-INF folder of the se

Re : Writing POJO Web Service with MTOM support

2007-03-08 Thread Julien HENRY
Thanks for your help. I will try to write the WSDL. - Message d'origine De : Thilina Gunarathne <[EMAIL PROTECTED]> À : axis-user@ws.apache.org Envoyé le : Jeudi, 8 Mars 2007, 8h58mn 57s Objet : Re: Writing POJO Web Service with MTOM support Hi, There was an effort to support for DataHan

Re: [Axis2] AxisFault: please help!!

2007-03-08 Thread jpsabadini
Thanks for your anwser!!! Here is the service class: /** * MobileServiceSkeleton.java * * This file was auto-generated from WSDL * by the Apache Axis2 version: SNAPSHOT Feb 19, 2007 (03:30:55 GMT+00:00) */ package com.vmon.ws.mobile; import java.io.IOException; import java.security.NoSuch

Re: static & final java attributes

2007-03-08 Thread Glen Mazza
I'm still a web services newbie, but that doesn't seem standard--having client code rely on programmatic constructs present in the server code. The client should not need to be aware of the internal architecture (or even programming language) of the server. I wonder if you could use an XML Schema

Re: [Axis2] Problem running wsdl2java on wsdl with multiple imports

2007-03-08 Thread Anne Thomas Manes
I asked for clarification on the xml-dev list. Michael Kay concurs with Dennis. Duplicate child elements are allowed, even when elementFormDefault="qualified". Anne On 3/8/07, Anne Thomas Manes <[EMAIL PROTECTED]> wrote: Maybe we should ask for clarification from Priscilla on this, but my intep

Re: [Axis2] Problem running wsdl2java on wsdl with multiple imports

2007-03-08 Thread Anne Thomas Manes
Maybe we should ask for clarification from Priscilla on this, but my intepretation of "Locally scoped attribute and element declarations" is that the rule refers only to unqualified attributes and elements. If you specify elementFormDefault="qualified", then all elements in the schema ar

[Axis2][Rampart] MTOM Attachment secure?

2007-03-08 Thread Jochen Zink
Hello, I tried to sign and encrypted messages with rampart module 1.1 and axis2 1.1.1. To check, if the messages are really encrypted, I view the soap messages with tcpmon. I'm sending an attachment with MTOM from the client to the service, like the mtom example in axis2. The sending file is

Re: static & final java attributes

2007-03-08 Thread Jorge Fernandez
Hi Glen, Thanks for your help. This tutorial is very interesting and I learned many things about wsdl but it didn't help in my case (or I didn't find the relationship) because my problem is that I have static final attributes in my data types like (maybe the sintax is wrong and it makes nosense

RE: how to get custom WSDL during runtime instead of generated WSDL in Axis 2

2007-03-08 Thread Krishnamoorthy J (HCL Financial Services)
After referring to the article here http://www.developer.com/open/article.php/10930_3589126_2 "Relating wslds And Services in a Service Archive File", and this one http://www.wso2.org/library/112 I have my service name in services.xml, wsdl service name, wsdl name and service archive name al

Re: Axis2 and tomcat 5.5

2007-03-08 Thread Michael Bell
Hi, I discovered the core of my problem by myself :) axis2.war only includes the axis2 jar archives. The lib directory only includes the licenses of the other required jar archives. Anything works fine after I copied all jar archives from the standard axis 1.1.1 distribution to my tomcat endo

Article on using Axis2 and Spring

2007-03-08 Thread Paul Fremantle
In case you didn't see this. http://www.devx.com/Java/Article/33839 -- Paul Fremantle VP/Technology, WSO2 and OASIS WS-RX TC Co-chair http://bloglines.com/blog/paulfremantle [EMAIL PROTECTED] "Oxygenating the Web Service Platform", www.wso2.com

Re: [Axis2] Problem running wsdl2java on wsdl with multiple imports

2007-03-08 Thread Dennis Sosnoski
Hi Amila, No, there is no such constraint. Schema actually states explicitly (http://www.w3.org/TR/xmlschema-1/#concepts-nameSymbolSpaces) that: "Locally scoped attribute and element declarations are special with regard to symbol spaces. Every complex type definition defines its own local at