Re: complex types (simpler in axis2 as in axis)

2006-01-23 Thread Deepal Jayasinghe
Yes , in Axis2 its easy to deploy services , as u have mentioned that you use some beans and array of them . With Axis2 the simplest way is this 1. do ur service implementation 2. Write ur services.xml adding following tag if ur expecting Axis2 to generate WSDL for you

Re: Request for new list

2006-01-23 Thread Ajith Ranabahu
Hi, I don't think it is possible to have a new list for Axis2 yet, as you said it's still maturing. For the time being you'll have to rely on mail filters.On 1/22/06, Jim Azeltine <[EMAIL PROTECTED]> wrote: I am finding that I am just deleteing a ton of entries from the axis-user list because they

token handling

2006-01-23 Thread Otto, Frank
Hi,   I want to use axis to implement a webservice.   Now, I need an authentication mechanism to secure the webservice. I want to use login method with login/password. After successful login, I will generate a token, which the user have to put as parameter with other webservice methods. The

java2Wsdl and interface

2006-01-23 Thread Nicolas De Loof
Hello, My business service uses an Interface "UtilisateurWeb" as parameter. Java2wsdl builds an invalid WSDL : but complextype "UtilisateurWeb" is not defined anywhere in generated WSDL. Debuging Java2wsdl process I've found that first occurence of my interface is translated as "

RE: java2wsdl, wsdl2java problem....

2006-01-23 Thread James Clinton
Axis is complaining because it doesn't know what Timestamp is. Either you have not defined it, or you have define it but your namespace is missing. -Original Message- From: Simon Nunn [mailto:[EMAIL PROTECTED] Sent: 21 January 2006 04:51 To: axis-user@ws.apache.org Subject: java2wsdl, ws

[Axis-2] SoapFault in axis2

2006-01-23 Thread Mar, Kheng Kok
Hi,   It seems to me that if I use the WSDL2Java to generate the skeleton codes, it does not pick up from wsd:fault from the wsdl and generate a corresponding throwing of some axis fault in the corresponding wsdl operation method.  I am using XMLBeans as the databinding. Also, I looked a

RE: java2wsdl, wsdl2java problem....

2006-01-23 Thread James Clinton
** Ignore my response because I thought you were using wsdl2java!! Axis is complaining because it doesn't know what Timestamp is. Either you have not defined it, or you have define it but your namespace is missing. -Original Message- From: Simon Nunn [mailto:[EMAIL PROTECTED] Sent: 21

Re: Bug in Axis 1.3, base64Binary?

2006-01-23 Thread Clarence Dahlin
Is this the way it supposed to be? I prefer to use types instead of elements in general since I believe it should add a better OOP approach (reuse) . At the simple type level, as in my example code, it shouldn't matter though. If anyone knows I'm eager to be enlightened :-) kind regards, Claren

Parameters order in Axis generated code

2006-01-23 Thread Tommaso Martini
Hi everyone, I use Axis 1.3 (Java version) and I find it great! Anyway I noticed a particular behavior and I would like to know whether it is a feature or a bug. I develop web service in a bottom-up approach, so I write the implementation class (let's call them "starting classes" for sake of simp

No multiref option?

2006-01-23 Thread Jan Tanis
Hi, Is there a way to generate array like response without using multiref? My clientapp doesnt support it, so I have to create a service that doesn't use it. Thanks in advance, Jan. -- Met vriendelijke groet/Kindest regards, Jan Tanis COAS Software Systems BV Nijverheidsweg 34Tel:

Complex problem

2006-01-23 Thread glenn bech
Hi All, This is a rather lengthy post, I hope someone will take the time to read it through, as I've been struggling with the problem for a while. It describes a complex, "real life", "business" scenario. This one is for you experts out there! Novices, please skip this post .) Here is a summary

Re: [Axis-2] SoapFault in axis2

2006-01-23 Thread Ajith Ranabahu
Hi kheng, This is a feature we need to add. The Axis2 WSDL2Java tool does not generate code for faults yet. The XMLbeans case is that XMLBeans compiles the schema and generate the relevant data bound classes (it does not know that some of these classes would be wrapped in exceptions). If we need t

xmlsec.jar

2006-01-23 Thread kalin mintchev
hi all... setting up axis on tomcat 5.0.30. so far managed to set everything untill i the xmlsec.jar. i got the source from apache.org and i was trying to run ant test (following the instructions) but the build fails. the first 'bad' line is: Could not load definitions from resource clov

Re: token handling

2006-01-23 Thread iksrazal
At least three options I know of: 1) 1.3 - SimpleSessionHandler 2) axis2 - serviceGroupContext. 3) Roll your own. #3 is what I've done on several occasions. If using EJB, you can use getHandle() on EJBObject. The advantage here is you let the server time out the session. Lately I've been i

Re: Generated Stub Thread-safe?

2006-01-23 Thread Cyrille Le Clerc
Hello Neil, I agree with you on the point that if stubs are caching ser/deser classes, it implies that these stubs were intended to be reused. However, I have re-run my micro benchmark with a "real life" stub (13 types in the WSDL) and the cost of instantiating stubs still seems negligib

Re: Complex problem

2006-01-23 Thread Davanum Srinivas
did you try --wrapArrays parameter? thanks, dims On 1/23/06, glenn bech <[EMAIL PROTECTED]> wrote: > Hi All, > > This is a rather lengthy post, I hope someone will take the time to read it > through, as I've been struggling with the problem for a while. It describes > a complex, "real life", "bus

Re: No multiref option?

2006-01-23 Thread Davanum Srinivas
http://www.google.com/search?hl=en&lr=&safe=off&q=sendMultiRefs+%22apache+axis%22 On 1/23/06, Jan Tanis <[EMAIL PROTECTED]> wrote: > Hi, > > Is there a way to generate array like response without using multiref? > My clientapp doesnt support it, so I have to create a service that > doesn't use it.

Re: Complex problem

2006-01-23 Thread Anne Thomas Manes
The substitutionGroup attribute is only valid as part of an element definition, not as part of a complexType definition. This:   substitutionGroup="gb:CreateItemDefinition">                                                           Should be this: substitutionGroup="gb:CreateItemDefinition

Re: No multiref option?

2006-01-23 Thread Jan Tanis
Thank you, that did exactly what I wished! Regards, Jan. Davanum Srinivas wrote: http://www.google.com/search?hl=en&lr=&safe=off&q=sendMultiRefs+%22apache+axis%22 On 1/23/06, Jan Tanis <[EMAIL PROTECTED]> wrote: Hi, Is there a way to generate array like response without using multiref? M

Re: Parameters order in Axis generated code

2006-01-23 Thread Anne Thomas Manes
Use literal style.On 1/23/06, Tommaso Martini <[EMAIL PROTECTED]> wrote: Hi everyone,I use Axis 1.3 (Java version) and I find it great! Anyway I noticed a particularbehavior and I would like to know whether it is a feature or a bug.I develop web service in a bottom-up approach, so I write the imple

Re: Reasons why Webservice is inaccessible from WAN?

2006-01-23 Thread Anthony Bargnesi
Axel/James/Jason/Tao,Over the weekend I was able to try the webservice from a windows xpclient.  The system was able to call the webservice and return a success.It seems like it was the linux client all along so the webservice is accessible from outside.Thanks everyone for your insightful advice an

Re: Request for new list

2006-01-23 Thread Anne Thomas Manes
Why would it not be possible? We control this community. We can create an additional discussion list. I've been thinking the same thing. A lot of people don't bother to indicate in their message whether the question pertains to Axis1 or Axis 2, and it really just makes it a lot harder to process

WS-Security: SwA

2006-01-23 Thread Cristian Opincaru
Hi, Are there any implementations of the SwA Profile (SOAP with Attachments) of WS-Security that can be used with AXIS? I looked on the WSS4J website, but there it's written that only the UserName Profile and the X509 Profile are supported. -- Cristian OPINCARU University of the Federal Armed F

[axis2] Can stubs do Attachments ?

2006-01-23 Thread iksrazal
Hi all, I want to alllow a client of a web service to attach a 1 meg file. I'd like to use a Stub generated from WSDL, which has other in / out parameters. Is this possible? The main hurdle I see is that I don't understand how to create an OMElement and put it in the Stub, and then get the O

RE: Reasons why Webservice is inaccessible from WAN?

2006-01-23 Thread Girish_Kumar
Hi,   How do we bye pass or authenticate a proxy while using wsdltojava?   Girish   From: Anthony Bargnesi [mailto:[EMAIL PROTECTED] Sent: Friday, January 20, 2006 10:24 PM To: axis-user@ws.apache.org Subject: RE: Reasons why Webservice is inaccessible from WAN?   Do you

Re: Parameters order in Axis generated code

2006-01-23 Thread Tommaso Martini
I always specify --style document --use literal, but this seems to not influence parameters order Anne Thomas Manes ha scritto: > Use literal style. > > On 1/23/06, Tommaso Martini <[EMAIL PROTECTED]> wrote: >> Hi everyone, >> >> I use Axis 1.3 (Java version) and I find it great! Anyway I noticed

Exception Handling

2006-01-23 Thread Narayanan Nachiappan
Hi,   This is regarding exception handling in Axis.   Currently i have a Java Component, which is exposed as a Webservice in Axis 1.2.1.       In my component, i have an Object called ErrorList which is a wrapper over ArrayList.  ErrorList is nothing but a collection bag, which

Re: WS-Security: SwA

2006-01-23 Thread Davanum Srinivas
Critian, It's quite easy to do this with WSS4J as Axis supports SwA, it's just that not enough people have asked for it. If someone were willing to take the lead, the community can helpSame for Kerberos Token profile :) thanks, -- dims On 1/23/06, Cristian Opincaru <[EMAIL PROTECTED]> wrote:

Custom serializer and java2wsdl

2006-01-23 Thread Nicolas De Loof
Hello, How can I register a custom serializer to be used by java2wsdl ant task ? My business object has lot's of get/set (for intenal use) that doesn't have to be exposed in the WSDL. I use a custom serializer that produces expected XML, but Java2WSDL doens't know about it to build the servic

Re: Exception Handling

2006-01-23 Thread iksrazal
Do you have a wsdl ? If so, just convert List to an array via List.toArray() (wsdl typically uses arrays). Another option, once again via wsdl, is to define wsdl:fault . Without wsdl, I used to define a simple XML format and return that as a String - return value, exceptions etc. HTH, iksr

Re: xmlsec.jar

2006-01-23 Thread [EMAIL PROTECTED]
I had probems intially, but XMLSEC is optional anyway. My notes say: Option: xmlsec.jar, get from http://xml.apache.org/security/ * xmlsec.jar is not there, just xmlsec-1-3.jar * Place xmlsec-1-3.jar in the C:\apache-tomcat-5.5.15\webapps\axis\WEB-INF\lib, and in C:\axis-1_3\lib

problem with soap body when invoking web service

2006-01-23 Thread JWriter Codeman
Hello, I used Axis 1.3 to generate java stub to invoke a webservice on a systinet web server. The sub is generated ok and I can execute it, but every time I do, I get the following error: {urn:idoox-java-mapping}idoox-java-mapping.org.idoox.xmlrpc.MessageProcessingException:org.idoox.xmlrpc.Mes

Re: [Axis2-0.94] AxisFault: Raw Xml provider

2006-01-23 Thread Rubén Naranjo Izquierdo
May this have something to deal with the fact that my PortTypes have no output message? As the exception says that XML Provider just support "public OMElement (OMElement)", and my methods are like "public void (OMElement)"... Isn't it weird that in exception description appears "<" and "

RE: problems to migrate from AXIS 1.2.1 to AXIS 1.3 array serialization BUGS OR NOT?

2006-01-23 Thread Jarmo Doc
http://svn.apache.org/viewcvs.cgi/webservices/axis/branches/AXIS_1_4_FINAL/ From: françois françois <[EMAIL PROTECTED]> Reply-To: axis-user@ws.apache.org To: axis-user@ws.apache.org Subject: RE: problems to migrate from AXIS 1.2.1 to AXIS 1.3 array serialization BUGS OR NOT? Date: Fri, 20 Jan

Re: Reasons why Webservice is inaccessible from WAN?

2006-01-23 Thread Anthony Bargnesi
Girish,The documentation for ant wsdltojava says:Create Java classes from local or remote WSDL. Mappings from namespaces to packages can be provided as nested elements.Proxy settings are taken from the java runtime settings of http.ProxyHost, http.ProxyPort, etc. The Ant task can set these. As we

Axis 2 on Sun Application Server 8

2006-01-23 Thread Chamal De Silva
Hi, Have you installed axis 2 on Sun Application Server 8. Are there any special tasks that I have to follow to install axis 2 on Application Server 8, Because I get an verification error when I try to deploy axis2. Thanking You, Chamal.

Re: [Axis2-0.94] - problem with generated stub

2006-01-23 Thread Aaron Evans
Ajith Ranabahu gmail.com> writes: > > > Nope, No need to touch the generated code. Just the mentioned fix will do > Thanks, worked like a charm! :)

Re: problem with soap body when invoking web service

2006-01-23 Thread Anne Thomas Manes
Can you post the WSDL?On 1/23/06, JWriter Codeman <[EMAIL PROTECTED]> wrote: Hello, I used Axis 1.3 to generate java stub to invoke a webservice on a systinet web server. The sub is generated ok and I can execute it, but every time I do, I get the following error: {urn:idoox-java-mapping}idoox-

Parsing WSDL with DOM after reading with WSDL4J

2006-01-23 Thread fabricio
Hello all, I'm able to read a WSDL from an URL with WSDL4J, but I would like to parse it with java DOM API to get the Types section (node) and transform it on a string. Transforming a node to a string using java DOM it's possible, but the problem is because I can't read the WSDL content directly f

RE: Reasons why Webservice is inaccessible from WAN?

2006-01-23 Thread Girish_Kumar
Dear Anthony, First let me thank you for this quick response. I have been waiting for a long time for someone to respond on my problem. My web service is actually a microsoft WCF(Indigo) implementaion and I am trying to generate proxies using Axis/Java. Here I am facing the unknownhost excep

Re: Reasons why Webservice is inaccessible from WAN?

2006-01-23 Thread Anthony Bargnesi
Girish,Although I am strictly a Java guy (no ms :) ) I can understand your position.Those properties you use for hostname & port for the proxy are used when you runyour WSDL2Java.  You include those properties in the whole line so you will run the following: java -Dhttp.proxyHost=my.proxy.host -Dht

.NET complex type ...

2006-01-23 Thread Rémi Guilbert
Hi, I made a Test class to consume .Net complex types like Object array, Dataset and TypeDataSet. I doesn’t have problem with Object array, but I don’t understand how manipulate the Objects generate by Axis 1.3 for DataSet and TypeDataSet object return. I put my Test class in attachment and

Re: [Axis2-0.94] AxisFault: Raw Xml provider

2006-01-23 Thread Rubén Naranjo Izquierdo
Ok, I tried to call the service directly (not using the stub) and I don't get exceptions. The code I use to invoke the service is the following: try { OMElement payload = null; ServiceClient serviceClient = new ServiceClient(); Options options = new

Illegal constant pool type

2006-01-23 Thread Dave Overbeck
Hello,   I'm calling an Axis 1.3 service from a .NET client, and getting the following error:   java.lang.ClassFormatError: com/.../PhysInvSoapImpl (Illegal constant pool type)   Can anyone give me a clue what this means? I feel like this service has grown more complicated than it needs to be

Re: xmlsec.jar

2006-01-23 Thread kalin mintchev
> I didnt have to rebuild the xmlsec.jar, it was part of > the bianry download ok.. i did the same thing. got xmlsec-1.3.0.jar. now what i get is: Warning: could not find a dependency of class org.apache.xml.security.Init from file XML Security is not supported. now its not supported?!?!?!

Re: .NET complex type ...

2006-01-23 Thread Anne Thomas Manes
Don't use Dataset types.On 1/23/06, Rémi Guilbert <[EMAIL PROTECTED]> wrote: Hi, I made a Test class to consume .Net complex types like Object array, Dataset and TypeDataSet. I doesn't have problem with Object array, but I don't understand how manipulate the Objects generate by Axis

axis doesn't work?! [was: Re: xmlsec.jar]

2006-01-23 Thread kalin mintchev
there is no records of what is happening in any log anywhere on the machine? tomcat's logs don't say anything... what log is axis writing to?! >> I didnt have to rebuild the xmlsec.jar, it was part of >> the bianry download > > ok.. i did the same thing. got xmlsec-1.3.0.jar. > now what i g

RE: Generated Stub Thread-safe?

2006-01-23 Thread Ferguson, Neil, VF-NZ
Hi Cedric. I've done some tests with both pooled stubs and non-pooled stubs (instantiating the stub object on every call), and as you say there's absolutely no difference (I did a test run of 1000 calls on each). This surprises me, but just goes to show that you should always test before optimisin

Re: JMS binding example

2006-01-23 Thread Ken Hu
Hi : I've the same need just like you. Finally I'm helped by the following nice article : http://www-128.ibm.com/developerworks/webservices/library/ws-jms/ Please read this , it is so inspiring. Ken 於 六,2006-01-21 於 17:22 +0100,Gerold Kathan 提到: > hi there, > is there any sample or documenta