[Axis2] Problems about Axis2 client accessing ZSI(Written in Python) simple "Echo" web services

2007-10-24 Thread 卢宾
Hi, all, I write a webservice using Python, implementing a simple 'Echo' method, and use a simple Axis2 client to access this webservice, I do the following steps: 1. wsdl2java.bat -uri http://localhost/Echo.wsdl (generating two java files) 2. write a simple client to invoke the webservice

Re: WSDL2Java not working for HTTPS URL

2007-10-24 Thread keith chapman
Hope this tip will help you http://wso2.org/blog/dims/1906 Thanks, Keith. On 10/24/07, Saket Raizada <[EMAIL PROTECTED]> wrote: > > Hi folks, > I have a POJO that I deployed as a service and now I can access the WSDL > file as > http://central.acme.com:8081/axis2/services/SMProxy?wsdl > or as >

Re: [Axis2] XmlSchema choice element not supported, other problems

2007-10-24 Thread Ajith Ranabahu
Hi, it is not a matter whether Schema can support it. All the schema constructs you mentioned are legal. However the Axis2 codegen supports only sequence based unwrapping. What was meant by saying choice is supported is the ability to generate code for it in beans - not for unwrapping (Actually if

[Axis2] Case of method names generated by wsdl2java

2007-10-24 Thread Pantvaidya, Vishwajit
I noticed following differences in wsdl2java behavior in axis2 1.3 as against axis1 1.4: 1. Axis2 retains case of the operations for method names. Axis 1 would start the method name in lowercase and keep other letters from operation name in same case. I liked this - is there any way to achi

RE: [Axis2] 1.3 wsdl2java generates code with missing methods

2007-10-24 Thread Pantvaidya, Vishwajit
A quick clarification - the MessageReceiverInOut class generated by wsdl2java contains references to the missing methods. As this is an autogenerated class, I do not want to edit it myself to remove these problems. Any insights? From: Pantvaidya, Vishwajit [mail

RE: [Axis2] XmlSchema choice element not supported, other problems

2007-10-24 Thread Pantvaidya, Vishwajit
Thanks Raghu. I am using Axis2 1.3. So according to the wso2 link below - the choice element should not be an issue. But for me it does not work with "-uw" option - it gives the exception I mentioned below. Any ideas why this is happening? From: Raghu Upadhyayul

RE: [Axis2] XmlSchema choice element not supported, other problems

2007-10-24 Thread Raghu Upadhyayula
Hi Vish, Both the links shown below are referring to different versions of Axis2 http://ws.apache.org/axis2/0_93/adb/adb-howto.html says not supported - From the URL it looks like this link is for version 0.93 of Axis2 http://wso2.org/library/

[Axis2] XmlSchema choice element not supported, other problems

2007-10-24 Thread Pantvaidya, Vishwajit
I have found the cause of my wsdl2java problems when I use the default ADB binding with the options "-o -ss -sd -ssi -f -uw -uri -ns2p" - one of the complex types defined in my wsdl has an xmlschema choice element. That with the "-uw" option gives "org.apache.axis2.wsdl.codegen.CodeGenerationExc

Remove me from the list please - thanks

2007-10-24 Thread khamada
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: minOccurs="0" attribute and .NET

2007-10-24 Thread Martin Gainty
yuo must be compling with -Eosv - Original Message - From: "Deepal Jayasinghe" <[EMAIL PROTECTED]> To: Sent: Wednesday, October 24, 2007 3:55 PM Subject: Re: minOccurs="0" attribute and .NET > > > Hello to all! > > > > I recently experienced a problem trying to do the following: > > - ex

Re: invoking .Net web service From Axis 1.2 RC web service, How to save SOAP message

2007-10-24 Thread sh_santosh
sh_santosh wrote: > > Hi, > >i want to save a SOAP message in DataBase. I am invoking .Net web > service to send the Response xml from my Axis 1.2RC web service. When i am > invoking .Net web service then i am passing a bean object to .Net web > service Stub. > > So, after invoking or bef

Re: Issue with exception handling for 'InOnly' methods

2007-10-24 Thread Deepal Jayasinghe
Hi Ashish , I think following link will helpful for you to learn how Axis2 client API works http://today.java.net/pub/a/today/2006/12/13/invoking-web-services-using-apache-axis2.html Thanks Deepal > Hi Deepal, > > Thanks for your reply! > > Can anyone help me by sending some links to know more re

Re: Getting teh following error trying to set the transport properties dynamically

2007-10-24 Thread Deepal Jayasinghe
> Hi, > > I have created a Stubs using ADB binding from .NET webservice > wsdl.When running the client to access the webservice > > I got the error on “*Unknown host exception*”.It looked like the > client was unable to go through the proxy to the webservice. > What was the address ? > > The web s

Re: minOccurs="0" attribute and .NET

2007-10-24 Thread Deepal Jayasinghe
> Hello to all! > > I recently experienced a problem trying to do the following: > - expose a POJO as a webservice, generating the WSDL with Axis2 Java2WSDL > - create a client with .NET WebService Studio 2.0 > > Suppose my Java methods signatures are these: > > public Integer a(String, Integer) >

Re: [AXIS2] SOAP Header problem

2007-10-24 Thread Jon Hanshew
The first thing that I see is that "soapAction" is null (""). It needs to match your service call. The Axis2 stub code generated by wsdl2java does a "setAction" call that uses the wsdl value of soapAction to identify the function to call on the service. Hope this helps. morten.frank wrote: >

RE: [Axis2] Problem with soap:address location in the WSDL (IP Address is not a public IP that is accessible from Internet).

2007-10-24 Thread Raghu Upadhyayula
Any solutions for the below problem OR is this a bug in Axis2 1.3?. I'm kind of stuck with this. Thanks Raghu From: Raghu Upadhyayula [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 23, 2007 3:14 PM To: axis-user@ws.apache.org Subject: [Axis2] Problem w

RE: [Axis2] Problem with soap:address location in the WSDL (IP Address is not a public IP that is accessible from Internet).

2007-10-24 Thread Raghu Upadhyayula
Any solutions for the below problem. I'm kind of stuck with this. Thanks Raghu From: Raghu Upadhyayula [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 23, 2007 3:14 PM To: axis-user@ws.apache.org Subject: [Axis2] Problem with soap:address location in th

Re: getting following exception in making client connection to the service

2007-10-24 Thread Upul Godage
Seems like you have enabled the JMS transport sender in the Axis2 configuration. In this case Axis2 functions as a JMS client to a JMS server. To communicate with the JMS server Axis2 needs some JMS and JNDI classes of which the implementation classes are specific to the used JMS server. For that

RE: getting following exception in making client connection to theservice

2007-10-24 Thread Walker, Jeff
BytesMessage is also defined in j2ee.jar -jeff -Original Message- From: Saket Raizada [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 24, 2007 1:35 PM To: axis-user@ws.apache.org Subject: RE: getting following exception in making client connection to theservice Looks like you do no

RE: getting following exception in making client connection to theservice

2007-10-24 Thread Saket Raizada
Looks like you do not have the jms jar file in the classpath. regards -Saket Raizada 309-763-5492 Automation (Maintenance) -Original Message- From: Shalab Goel [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 24, 2007 12:21 PM To: axis-user@ws.apache.org Subject: getting following exc

getting following exception in making client connection to the service

2007-10-24 Thread Shalab Goel
Appreciate any help on what I might be missing. java.lang.NoClassDefFoundError: javax/jms/BytesMessage at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructor0(Unknown So

Exception not mapped correctly in POJO first development

2007-10-24 Thread Edward Peng
Hi, I have a custom exception that simply extends java.lang.Exception. When it is thrown from my method it is not appearing in the SOAP response Fault/Detail node. The Fault/Code and Fault/Reason are populated but the Fault/Detail is empty. The WSDL appears valid as the exception is represente

Re: Log4J Problems with maven-plugin wsdl2code

2007-10-24 Thread Upul Godage
Hi, (From http://www.nabble.com/forum/ViewPost.jtp?post=13106650) For "Axis2 1.3", this pom entry worked. Note the groupId. org.apache.axis2 axis2-wsdl2code-maven-plugin 1.3

Getting error when trying to run WSDL2java class

2007-10-24 Thread Meir Yanovich
Hello all Im new to Axis , I have wsdl file (generated from ) perl idl2wsdl Now I fixed the file according to this link : http://www.omg.org/issues/issue7834.txt but when I run the WSDL2java class im getting this error : java -cp axis.jar;log4j-1.2.8.jar;commons-discovery-0.2.jar;commons-loggi

RE: nested complex types

2007-10-24 Thread csanders
Ok thanks for your response. On Wed, 2007-10-24 at 15:41 +0100, Gudla, Natraj (GE Money, consultant) wrote: > I have used wsdl2java with axis2 1.2. It might be worth having a close look > at your wsdl verifying your element and type references. > > I am really busy with my work otherwise i woul

RE: nested complex types

2007-10-24 Thread Gudla, Natraj (GE Money, consultant)
I have used wsdl2java with axis2 1.2. It might be worth having a close look at your wsdl verifying your element and type references. I am really busy with my work otherwise i would have looked at your wsdl. -Original Message- From: csanders [mailto:[EMAIL PROTECTED] Sent: 24 October 20

Re: org.apache.axis2.databinding.ADBException: Property cannot be null!

2007-10-24 Thread Huitang Li
I am using axis2 1.3. I put the -Eosv there in the command line, and it did not solve the problem. Anyway, my problem was solved by changing wsdl. Thanks. Amila Suriarachchi wrote: On 10/23/07, *Huitang Li* <[EMAIL PROTECTED] > wrote: Excellent! Thanks very

RE: nested complex types

2007-10-24 Thread csanders
Both of those changes made wsdl2java segfault with antlr errors. Did you do this using axis2 or axis1 ? It seems their must be something simple I'm doing wrong, it can't be this hard to get it to generate code that works. On Wed, 2007-10-24 at 08:42 +0100, Gudla, Natraj (GE Money, consultant) w

WSDL2Java not working for HTTPS URL

2007-10-24 Thread Saket Raizada
Hi folks, I have a POJO that I deployed as a service and now I can access the WSDL file as http://central.acme.com:8081/axis2/services/SMProxy?wsdl or as https://central.acme.com:8443/axis2/services/SMProxy?wsdl Now when I run WSDL2Java to create the client it works for the http URL but fails for

Re: [Axis2]will Axis2 1.3 client work well with JAX-RPC service ?

2007-10-24 Thread Ashok Kumar Rajendran
Thanks Amila , I checked the wsdl Its Document literal service., So i can use Axis2 . I am able to generate my stubs code using ADB as data binding. So is that means every thing is ok to start implementation part ? Will Axis2 supports Proxy authentication to connect to a web service ? Rega

Re: Log4J Problems with maven-plugin wsdl2code

2007-10-24 Thread Michael Kopf
I did it. But the result is the same. The one problem is the log4j-Problem. The other problem it seems that the wsdl-file was not found. It resides in src/main/axis2/service.wsdl like mentioned in the axis2-doc. The stack-trace: [INFO] [axis2-wsdl2code:wsdl2code {execution: default}] log4j:WAR

Re: [Axis2]will Axis2 1.3 client work well with JAX-RPC service ?

2007-10-24 Thread Amila Suriarachchi
On 10/24/07, Ashok Kumar Rajendran <[EMAIL PROTECTED]> wrote: > > Hi all , > > I am a novice user of Axis2 . I have a few questions .We have a web > service which is implemented using JAXRPC . we need to write a client > application for it . > does this have use rpc/encoded style. if so you ca

Re: [wsrp-dev] AXIS1 Problem with generated sources: Params were mixed up within super constructor.

2007-10-24 Thread Alexey Zavizionov
For now I see two solutions of this problem. One is to delete attributes in all conflicted superclasses. Another one is to remove inheritance (remove " ... ... ... ... =

Re: Log4J Problems with maven-plugin wsdl2code

2007-10-24 Thread Upul Godage
Create a jar file out of the log4j.properties file and put it beside the log4j.jar. jar cf log4jproperties.jar log4j.properties Upul On 10/24/07, Michael Kopf <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm having trouble when I try to generate source from wsdl via the > wsdl2Code-Plugin for maven2.

Re: confirm subscribe to axis-user@ws.apache.org

2007-10-24 Thread Vassilis Virvilis
On Wednesday 24 October 2007, [EMAIL PROTECTED] wrote: > Hi! This is the ezmlm program. I'm managing the > axis-user@ws.apache.org mailing list. > > To confirm that you would like > >[EMAIL PROTECTED] > > added to the axis-user mailing list, please send > a short reply to this address: > >

[AXIS2] SOAP Header problem

2007-10-24 Thread morten.frank
Hi, I am currently evaluating different WS technologies to be used in a client side Java environment. The deal is, that we have a number of WSDL docs and they refer several XSD schemas for describing service input/output and data types etc. My problem is, that somehow I can't get AXIS2 to genera

RE: Issue with exception handling for 'InOnly' methods

2007-10-24 Thread Ashish Arya
Hi Deepal, Thanks for your reply! Can anyone help me by sending some links to know more regarding robust-In-Only MEP and its use? Thanks and Regards, Ashish Arya, -Original Message- From: Deepal jayasinghe [mailto:[EMAIL PROTECTED] Sent: Thursday, October 18, 2007 10:48 AM To: axis-u

Re: Which style am I using?

2007-10-24 Thread Dimitris Mouchritsas
Anne Thomas Manes wrote: Dimitris, The snippet of your WSDL isn't valid. This: should be this: We actually don't have enough information to determine if the style is wrapped doc/literal. What is the name of the operation? If it is "viewLesson", then most toolkits will interpre

[Axis2]will Axis2 1.3 client work well with JAX-RPC service ?

2007-10-24 Thread Ashok Kumar Rajendran
Hi all , I am a novice user of Axis2 . I have a few questions .We have a web service which is implemented using JAXRPC . we need to write a client application for it . Will a web service cilent (with ADB as data binding )written using Axis2 1.3 works well with this JAX-RPC service ? or we hav

Log4J Problems with maven-plugin wsdl2code

2007-10-24 Thread Michael Kopf
Hello, I'm having trouble when I try to generate source from wsdl via the wsdl2Code-Plugin for maven2. Maven downloads many jars to the local repository and also the log4J.jar but then I get always the same error: [INFO] [axis2-wsdl2code:wsdl2code] log4j:WARN No appenders could be found for l

RE: nested complex types

2007-10-24 Thread Gudla, Natraj (GE Money, consultant)
Hi, It depends on where and how you are refer to "CompanyBasicInfo". From your code i understand this is an element in the first place having a complex type. So in your wsdl this should be included as a ref="" . You might must be having your current as . When i faced this, i solved it as the a

Re: [wsrp-dev] AXIS1 Problem with generated sources: Params were mixed up within super constructor.

2007-10-24 Thread Alexey Zavizionov
Thanks for the quick reply. Just those which involving a field carried as an attribute. Regards, Alexey On 10/23/07, Rich Thompson <[EMAIL PROTECTED]> wrote: > Does this happen for all classes where we leveraged extends or just those > also involving a field carried as an attribute? > > Rich Tho