RE: wsdl2java

2008-03-15 Thread Seetha Rama Krishna
Hi, Thanks for your reply. //, if you switch away from Axis to some other JAX RPC implementation of Web Services Can you please tell me what are other JAX RPC implementations Regards, ram "Chandolu, Yuva" <[EMAIL PROTECTED]> wrote: v\:* {behavior:url(#default#VML);

RE: wsdl2java

2008-03-14 Thread Chandolu, Yuva
Using Service and Call you are making your code portable between any JAX RPC based implementation of Web Services. That means, if you switch away from Axis to some other JAX RPC implementation of Web Services, your client code works (should work) without any code changes. Using Stubs your clien

Re: wsdl2java

2008-03-14 Thread Anne Thomas Manes
The WSDL2Java generated stub uses the Axis API, so the two methods result in the same performance. The advantage of using the generated stub is that you write less code, and it automatically sets the correct settings for the call based on the info in the WSDL. Anne On Thu, Mar 13, 2008 at 3:03 PM

Re: WSDL2Java: WSDLProcessingException: Encoded use is not supported???

2008-03-09 Thread Anne Thomas Manes
My guess is that Axis is not picking up the right jars. Please verify that you've set up your classpath properly and the Axis jars are firs in line. Anne On Tue, Mar 4, 2008 at 10:07 PM, Eric Chow <[EMAIL PROTECTED]> wrote: > Hi, > > I tried to use Axis-1.4 and successfully generate the stub but

Re: WSDL2Java: WSDLProcessingException: Encoded use is not supported???

2008-03-09 Thread Amila Suriarachchi
Axis2 does not support soap encoding currently. I have done it half way. Sometimes I may be able to finish it for Axis2 1.4. thanks, Amila. On Wed, Mar 5, 2008 at 7:37 AM, Eric Chow <[EMAIL PROTECTED]> wrote: > Hi, > > I tried to use Axis-1.4 and successfully generate the stub but it > throws an

Re: WSDL2Java Integer.MIN_VALUE for optional xsd:int

2008-03-09 Thread Amila Suriarachchi
On Thu, Mar 6, 2008 at 11:18 PM, ahong <[EMAIL PROTECTED]> wrote: > > I'm migrating from Axis2 1.1 to 1.3 and notice that WSDL2Java, with adb, > will > set an optional xsd:int element value to Integer.MIN_VALUE if it's absent. > This is a change from the previous in 1.1, which is uninitialized and

Re: WSDL2Java Integer.MIN_VALUE for optional xsd:int

2008-03-07 Thread ahong
Thanks for the reply. Please note that I've file a JIRA Axis2-3579 which includes a proposed fix. -- View this message in context: http://www.nabble.com/WSDL2Java-Integer.MIN_VALUE-for-optional-xsd%3Aint-tp15879664p15901236.html Sent from the Axis - User mailing list archive at Nabble.com. --

Re: WSDL2Java Integer.MIN_VALUE for optional xsd:int

2008-03-07 Thread Mauro Molinari
ahong ha scritto: I'm migrating from Axis2 1.1 to 1.3 and notice that WSDL2Java, with adb, will set an optional xsd:int element value to Integer.MIN_VALUE if it's absent. This is a change from the previous in 1.1, which is uninitialized and defined by the language (in this case the uninitialized

Re: WSDL2Java: WSDLProcessingException: Encoded use is not supported???

2008-03-04 Thread Eric Chow
Hi, I tried to use Axis-1.4 and successfully generate the stub but it throws another exception when running the code: Exception in thread "main" java.lang.NoSuchMethodError: org.apache.axis.description.OperationDesc.setStyle(Lorg/apache/axis/constants/Style;)V at dse.VerifyHashServiceSoa

Re: WSDL2Java: WSDLProcessingException: Encoded use is not supported???

2008-03-04 Thread Marc Esher
i think you have to use axis 1.4 On Tue, Mar 4, 2008 at 8:53 PM, Eric Chow <[EMAIL PROTECTED]> wrote: > Hello, > > I have a WSDL from service provider, it throws the following exception > when I use WSDL2JAVA to generate stub: > > > [java] - Encoded use is not supported > [java] > org

RE: WSDL2JAVA code generation

2008-03-04 Thread Pantvaidya, Vishwajit
Bill, I presume you are comparing Axsi1 1.4 with Axis2 1.3. I had also run into this earlier and here is what I understand - Axis1 followed the JAX-RPC (WSDL2Java) standard which required that methods throw RemoteException. Axis2 does not follow the Sun JAX-RPC spec. Secondly, it is better for

Re: WSDL2JAVA through SSL and client cert

2008-03-04 Thread Upul Godage
Hi, Following works. Important thing is you have to set the identity keystore which contains the client certificate and the trust keystore which contains the certificate authorities to validate the certificates with the system properties. https://localhost:9002/soap/SimpleStockQuoteService?w

Re: wsdl2java -ss (server-side) classes required for complex object serialization?

2008-02-13 Thread Amila Suriarachchi
you can do two types of service development with Axis2. 1. Contract first This is what you currently doing. you start with a wsdl file (contract) and generate the java code for this. 2. Code first approach you first write the service classes and then generates the wsdl and service from th

Re: WSDL2Java TCP Transport

2008-02-07 Thread Paul Fremantle
If the client needs a modified axis2.xml you have to use a CCF. Otherwise it uses a built-in version. The builtin version doesn't have the tcp receiver enabled. Paul On Feb 8, 2008 2:24 AM, h b <[EMAIL PROTECTED]> wrote: > OK I fixed the problem: > I need to send an explicit configurationContext

Re: WSDL2Java TCP Transport

2008-02-07 Thread h b
OK I fixed the problem: I need to send an explicit configurationContext into the serviceStub to get the thing working. config = ConfigurationContextFactory.* createConfigurationContextFromFileSystem*(*null* , "\conf\\axis2.xml"); I'm not sure why I have to do this...can anyone explain it to me.

Re: WSDL2Java TCP Transport

2008-02-07 Thread h b
Hello, I still have the same problem but here is some more info: I got the sample TCP Client to work...so hopefully my set up is right. And my service is accessible from HTTP. Also when I do NETSTAT I see that localhost:6060 is listening Here is the exact Exception: [INFO] Unable to parse requ

Re: WSDL2Java TCP Transport

2008-02-07 Thread h b
Thanks Paul, that's great! I checked my wsdl and it has the TCP trasnport...thanks for the hint. You see I'm using my service consumer is using a service stub that was created using WSDL2Java. Is there a way I can instruct the stub to use the TCP port to communicate with the service? When I do s

Re: WSDL2Java TCP Transport

2008-02-07 Thread Paul Fremantle
You can't get the WSDL via TCP. The WSDL should be available via HTTP. If the tcp transport is correctly working, then there should be a tcp binding in the WSDL. The ability to get WSDL via ?wsdl is an HTTP feature. Paul On Feb 7, 2008 8:28 PM, h b <[EMAIL PROTECTED]> wrote: > Hello is it possib

Re: WSDL2Java numeric suffixes to class names

2008-01-09 Thread Richard Gaywood
On Jan 9, 2008 4:46 AM, Amila Suriarachchi <[EMAIL PROTECTED]> wrote: > Please try with a nightly build. There was a jira regarding this and now > for Elements it appends suffix E. > Ah yes, that works perfectly! Thanks for your response.

Re: WSDL2Java numeric suffixes to class names

2008-01-08 Thread Amila Suriarachchi
Please try with a nightly build. There was a jira regarding this and now for Elements it appends suffix E. thanks, Amila. On Jan 8, 2008 9:01 PM, Richard Gaywood <[EMAIL PROTECTED]> wrote: > Hello list! > > I'm using WSDL2Java to reverse engineer Java classes from a WSDL web > service; I'm using

Re: wsdl2java and broken beans: Date->Calendar

2007-12-17 Thread Deepal Jayasinghe
Sam wrote: > Certainly, I cannot change the domain beans, it is code from a client, > I just have to implement an axis layer. > I don't know where to put the cast that you mention... My problem is > that the tool re-generates my beans and the domain code doesn't work > anymore, because the getters

Re: wsdl2java and broken beans: Date->Calendar

2007-12-16 Thread Sam
Certainly, I cannot change the domain beans, it is code from a client, I just have to implement an axis layer. I don't know where to put the cast that you mention... My problem is that the tool re-generates my beans and the domain code doesn't work anymore, because the getters and setters are chang

Re: wsdl2java and broken beans: Date->Calendar

2007-12-14 Thread Anne Thomas Manes
JAX-RPC specifies that xsd:date maps to java.util.Calendar. That's why wsdl2java is generating a Calendar type. Can you convert your domain code to use Calendar instead of Date? If not, I suggest that you cast the Calendar types to Date types. Anne On Dec 14, 2007 10:09 AM, Sam <[EMAIL PROTECTED]

Re: wsdl2java client threadsafe?

2007-11-16 Thread Martin Gainty
Thread parameters are configurable on Server-side via axis2.xml On the client side the closest to a asynchronous invocation is /userguide/clients/EchoNonBlockingDualClient //Callback to handle the response Callback callback = new Callback() { public

Re: WSDL2Java

2007-11-15 Thread Roman Sch�nbichler
L PROTECTED] To: axis-user@ws.apache.org Subject: Re: WSDL2Java Date: Thu, 15 Nov 2007 09:59:07 +0100 >Roman Schönbichler ha scritto: >> Hey again! >> >> I've one (hopefuly last) problem left! >> >> I'm stuck on the wsdl definition of an Array. >>

Re: WSDL2Java

2007-11-15 Thread Roman Sch�nbichler
Okey.. this was my fault.. the definition works perfektly! Thanks again! Roman Original Message From: [EMAIL PROTECTED] To: axis-user@ws.apache.org Subject: Re: WSDL2Java Date: Thu, 15 Nov 2007 09:59:07 +0100 >Roman Schönbichler ha scritto: >> Hey again! >> >&g

Re: WSDL2Java

2007-11-15 Thread Mauro Molinari
Roman Schönbichler ha scritto: Hey again! I've one (hopefuly last) problem left! I'm stuck on the wsdl definition of an Array. I've tried every definition in the wsdl file (attached), and neither one does work. maxOccures="unbounded" doesn't work. extending the soapenc:Array also doesn't wor

Re: WSDL2Java

2007-11-15 Thread Roman Sch�nbichler
t work. I hope you can help me out one more time! Greets Roman Original Message From: [EMAIL PROTECTED] To: axis-user@ws.apache.org Subject: Re: WSDL2Java Date: Thu, 15 Nov 2007 08:19:57 +0100 >Yeaaahh! > >That did the trick! > >Thanks so much for your help! > &g

Re: WSDL2Java

2007-11-14 Thread Roman Sch�nbichler
Yeaaahh! That did the trick! Thanks so much for your help! Greets Roman Original Message From: [EMAIL PROTECTED] To: axis-user@ws.apache.org Subject: Re: WSDL2Java Date: Tue, 13 Nov 2007 19:41:34 +0530 >there were two problems > > targetNamespace="http://webservi

Re: WSDL2Java

2007-11-13 Thread Roman Sch�nbichler
Thanks!! I'll try that out tomorrow! Greets Roman Original Message From: [EMAIL PROTECTED] To: axis-user@ws.apache.org Subject: Re: WSDL2Java Date: Tue, 13 Nov 2007 19:41:34 +0530 >there were two problems > > targetNamespace="http://webservice/definitions

Re: WSDL2Java

2007-11-13 Thread Amila Suriarachchi
ou have to enclose the import tag inside a schema. Amila. On Nov 13, 2007 6:34 PM, Roman Schönbichler <[EMAIL PROTECTED]> wrote: > Here is the complete wsdl file... > > thanks for your help! > > Greets > Roman > > > Original Message > From: [EMAIL

Re: WSDL2Java

2007-11-13 Thread Roman Sch�nbichler
Hey! The change didn't bring any difference. I'm still getting the wrong public void calculate() public void getInputObjects() Methodes... Greets Original Message From: [EMAIL PROTECTED] To: axis-user@ws.apache.org Subject: Re: WSDL2Java Date: Tue, 13 Nov 2007 08:51:33 -

Re: WSDL2Java

2007-11-13 Thread Anne Thomas Manes
Original Message > From: [EMAIL PROTECTED] > To: axis-user@ws.apache.org > Subject: Re: WSDL2Java > Date: Tue, 13 Nov 2007 18:25:51 +0530 > > >On Nov 13, 2007 4:50 PM, Roman Schönbichler > ><[EMAIL PROTECTED]> wrote: > >> Hey again! > >> F

Re: WSDL2Java

2007-11-13 Thread Roman Sch�nbichler
Here is the complete wsdl file... thanks for your help! Greets Roman Original Message From: [EMAIL PROTECTED] To: axis-user@ws.apache.org Subject: Re: WSDL2Java Date: Tue, 13 Nov 2007 18:25:51 +0530 >On Nov 13, 2007 4:50 PM, Roman Schönbichler ><[EMAIL PROTECTED]> w

Re: WSDL2Java

2007-11-13 Thread Amila Suriarachchi
On Nov 13, 2007 4:50 PM, Roman Schönbichler <[EMAIL PROTECTED]> wrote: > Hey again! > First of all thanks for your suggestions! > > I've found some more errors in my wsdl file, and managed to get it to > work, > and so I was able to generate a service out of my wsdl file using > wsdl2java. > > But

Re: WSDL2Java NullPointerException populateService

2007-11-12 Thread Roman Sch�nbichler
Thanks for your Help! I'm going to work that out and look for a validator! Original Message From: [EMAIL PROTECTED] To: axis-user@ws.apache.org Subject: Re: WSDL2Java NullPointerException populateService Date: Mon, 12 Nov 2007 15:55:22 -0500 >I also found a number of errors

Re: WSDL2Java NullPointerException populateService

2007-11-12 Thread Anne Thomas Manes
I also found a number of errors in your schema. 1. You need to declare a namespace for your targetNamespace. You have declared a default namespace ("http://www.w3.org/2000/10/XMLSchema";), so any unqualified QNames refer to types in the schema namespace. E.g.:

Re: WSDL2Java NullPointerException populateService

2007-11-12 Thread Anne Thomas Manes
Roman, You shouldn't use wsdl:import to import an XSD file. Change this: http://webservice"; location="../schemas/household.xsd" /> to this: http://webservice"; xmlns:xsd=""http://www.w3.org/2000/10/XMLSchema";> http://webservice";

Re: wsdl2java namespace problem

2007-11-12 Thread Benoit Guillon
Hi Deepal, I created the issue AXIS2- https://issues.apache.org/jira/browse/AXIS2- Thanks for your help Benoit -- View this message in context: http://www.nabble.com/wsdl2java-namespace-problem-tf4777892.html#a13703441 Sent from the Axis - User mailing list archive at Nabble.com.

Re: wsdl2java namespace problem

2007-11-12 Thread Benoit Guillon
Hi Amila, You're right, the timerResponse element is defined in the "http://mycompany.com/myservice"; namespace, however it surrounds a ReturnStructure element defined in the "http://mycompany.com/core/beans"; namespace. My problem concerns the ReturnStructure element as the generated code expect

Re: wsdl2java namespace problem

2007-11-12 Thread Amila Suriarachchi
On Nov 9, 2007 7:44 PM, Benoit Guillon <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm having problems with the code generated by wsdl2java (precisely using > the maven2 plugin). I'm using Axis2 1.3 with the ADB binding. > > It seems that the generator gets confused because an operation is declared > in

Re: wsdl2java namespace problem

2007-11-11 Thread Deepal jayasinghe
Hi Benoit , Please create a JIRA and attach your wsdl , then we can look into it Thanks Deepal > Hi, > > I’m having problems with the code generated by wsdl2java (precisely using > the maven2 plugin). I'm using Axis2 1.3 with the ADB binding. > > It seems that the generator gets confused because

Re: wsdl2java generate abstract class rather than skeleton

2007-11-10 Thread Michael Potter
Axis2 Crew, Amila's suggestion worked great. My only comment is that I had to use -ss and -ssi to get it to work. The first thing I tried was to replace -ss with -ssi; that did not work. My next minor irritation is that the name of the generated class is *Skeleton.java. I don't really care fo

Re: wsdl2java not including new function

2007-11-05 Thread Amila Suriarachchi
On 11/2/07, James Neff <[EMAIL PROTECTED]> wrote: > > I'm kinda discouraged that I didn't get a response to my question. It's > hard to support open source tools when the community isn't there to help. > > I hacked at my problem yesterday and here's the work-around. > > I downloaded the axis2 plug

Re: wsdl2java not including new function

2007-11-02 Thread James Neff
I'm kinda discouraged that I didn't get a response to my question. It's hard to support open source tools when the community isn't there to help. I hacked at my problem yesterday and here's the work-around. I downloaded the axis2 plugin to do the stub Java code generation for me. And that al

Re: wsdl2java complexType element

2007-10-29 Thread Anne Thomas Manes
You need to namespace-qualify the type references in these two element declarations: i.e., define a namespace declaration for your targetNamespace and use that namespace to qualify these types. Anne On 10/25/07, axelspin <[EMAIL PROTECTED]> wrote

RE: wsdl2java mixed=true support?

2007-10-29 Thread ROBINSON JULIEN
Thanks Amila for your answer. I must say I don't really see the point of mixed in web services anyway, so I'm glad that it's simply ignored. :-) Julien Amila wrote: > ADB does not support this attribute. Try with xml beans (i.e > -d xmlbenas) > > Amila. > > Julien wrote (and edited): > >

Re: wsdl2java mixed=true support?

2007-10-29 Thread Amila Suriarachchi
ADB does not support this attribute. Try with xml beans (i.e -d xmlbenas) Amila. On 10/26/07, ROBINSON JULIEN <[EMAIL PROTECTED]> wrote: > > > Hi all, > > I've got a legacy WSDL that contains a complexType with the parameter > mixed="true" > > I've tried generating Java using Axis2, and the gener

Re: Wsdl2Java doesnt support encoding for Amazon, Google wsdl's

2007-10-28 Thread Hans J. Prueller
yes I would think so. we are consuming several WebServices of our business partners, and one of them only provides his webServices via the not-supported rpc/encoded style. so we "stuck" on axis2 1.1.x where we were able to generate client stubs for the webservice. unless our business partner does

Re: Wsdl2Java doesnt support encoding for Amazon, Google wsdl's

2007-10-28 Thread k2g
Here are the links that can be handy reference, http://ws.apache.org/axis2/1_3/Axis2-rpc-support.html http://www-128.ibm.com/developerworks/webservices/library/ws-whichwsdl/ From the axis2 docs : The current unwrapper looks for the following patterns and fails if it is not found! < eleme

Re: Wsdl2Java doesnt support encoding for Amazon, Google wsdl's

2007-10-28 Thread Łabno, Bernard
Use axis 1.x which implements JAX-RPC, ancestor of JAX-WS, which supports rpc/encoded style. I have same issue and must use old axis, however i've read that you can use some workaround in axis2 to use rpc/encoded style. Howto is on axis2 site, i think. > Well I think it is time to think about

Re: Wsdl2Java doesnt support encoding for Amazon, Google wsdl's

2007-10-27 Thread Deepal jayasinghe
Well I think it is time to think about this , if we can support RPC-encoded wsdl then a number of users will be benefited from that Deepal > No its not a bug. Axis2 does not support RPC-encoded style WSDLs. > > Thanks, > Keith. > > On 10/28/07, *k2g* <[EMAIL PROTECTED] >

Re: Wsdl2Java doesnt support encoding for Amazon, Google wsdl's

2007-10-27 Thread keith chapman
No its not a bug. Axis2 does not support RPC-encoded style WSDLs. Thanks, Keith. On 10/28/07, k2g <[EMAIL PROTECTED]> wrote: > > > wsdl2java for Axis2-1.3 doesnt generate stubs for > > webservices.*amazon*.com/AWSECommerceService/AWSECommerceService.*wsdl > * soap.*amazon*.com/schemas2/*Amazon*We

RE: WSDL2Java not working for HTTPS URL

2007-10-25 Thread Saket Raizada
flag that I can turn to get any verbose output on this ? Thanks for the help guys ! regards -machoq From: keith chapman [mailto:[EMAIL PROTECTED] Sent: Thursday, October 25, 2007 1:05 AM To: axis-user@ws.apache.org Subject: Re: WSDL2Java not working for HTTP

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: WSDL2Java, Address already in use: connect

2007-10-15 Thread Michele Mazzucco
On Sat, 2007-10-13 at 11:00 +0200, Pär Malmqvist wrote: > I guess the solution you gave me works for both cases, but in this > case I would like to get a generated client that works fine with not > much work. > Not that I am that lazy but I think of the people that dont have that > much knowledge a

Re: wsdl2java generate abstract class rather than skeleton

2007-10-14 Thread Amila Suriarachchi
you can generate an interface to your skelton using -ssi option. here the problem is wsdl2java should know the implementation class name to put in the services.xml. you can keep your correct implementation class some where and always replace the generated one with it. Amila. On 10/13/07, Michael

RE: WSDL2Java, Address already in use: connect

2007-10-13 Thread Pär Malmqvist
that dont have that much knowledge about Axis2 and we want everybody to use Axis2 in a simple way! So it would be nice to here the opinion from anyone working with the WSDL2Java tool. Regards Pär Malmqvist > Subject: Re: WSDL2Java, Address already in use: connect> From:

Re: WSDL2Java, Address already in use: connect

2007-10-12 Thread Michele Mazzucco
A question like yours - with related reply - was sent to this mailing list 2 days ago. Michele On Fri, 2007-10-12 at 16:05 +0200, Pär Malmqvist wrote: > Hi! > > I am using Axis2 1.3 and have generated a client of type xmlbeans with > WSDL2Java. > > I am using the constructor: stub = new MySer

Re: wsdl2java generates java code with errors

2007-10-12 Thread Amila Suriarachchi
On 10/12/07, Masahiro Nakamura <[EMAIL PROTECTED]> wrote: > > Hello > > I installed axis 1.3 and converted a WSDL file to java (ADB) code. > WSDL2Java command exited without errors, however I cannot build > the result files. there was a problem with union type processing. I have fixed it now and

Re: WSDL2JAVA does not generate WebServiceProxy

2007-10-10 Thread Lahiru Sandakith
Seems the WSDL we see here maybe distorted. Can you reattach it. Thanks Lahiru On 10/10/07, Dário Abdulrehman <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I am using WSDL2JAVA via the Eclipse plugin to generate a WS Client. > Usually it generates 5 Java Classe

Re: wsdl2java with Basic Authentication

2007-10-08 Thread Leo Stevens
Thanks Upul ! it worked to me !! thanks again !!! Quino On 10/5/07, Upul Godage <[EMAIL PROTECTED]> wrote: > > Hi Quino, > > You can try giving username and password in the url. > > ./wsdljava.sh -uri http://username:[EMAIL PROTECTED]:port/path/service?WSDL > > > Upul > > > > On 10/5/0

Re: wsdl2java with Basic Authentication

2007-10-05 Thread Upul Godage
Hi Quino, You can try giving username and password in the url. ./wsdljava.sh -uri http://username:[EMAIL PROTECTED]:port/path/service?WSDL Upul On 10/5/07, Leo Stevens <[EMAIL PROTECTED]> wrote: > > Thanks Upul > but my problem is that I can´t generate the clases because the wsdl2java >

Re: wsdl2java with Basic Authentication

2007-10-05 Thread Leo Stevens
Thanks Upul but my problem is that I can´t generate the clases because the wsdl2java throws an exception because the server need user and password and I can´t give it. when wsdl2java.class invoke the server. Thanks again. Quino. On 10/1/07, Upul Godage <[EMAIL PROTECTED]> wrote: > > After y

Re: wsdl2java with Basic Authentication

2007-10-01 Thread Upul Godage
After you generate the classes, you can do something like this when using the stub. HttpTransportProperties.Authenticator authenticator = new HttpTransportProperties.Authenticator(); authenticator.setPreemptiveAuthentication(true); authenticator.setAuthSchemes(Arrays.asList(new String[]{ HttpTrans

Re: wsdl2java creating invalid proxy

2007-09-16 Thread Amila Suriarachchi
please see my comment on the https://issues.apache.org/jira/browse/AXIS2-3193 On 9/12/07, Sumathi Baktha <[EMAIL PROTECTED]> wrote: > > Did you get any response?? > > *"Kasi, Anand" <[EMAIL PROTECTED]>* wrote: > > Hi, > I am having trouble creating a proxy for the wsdl using wsdl2java in Axis > 2-

Re: wsdl2java creating invalid proxy

2007-09-12 Thread Sumathi Baktha
Did you get any response?? "Kasi, Anand" <[EMAIL PROTECTED]> wrote: Hi, I am having trouble creating a proxy for the wsdl using wsdl2java in Axis 2- 1.3. Please refer to the url below for more information. I would appreciate any input on this urgent issue. https://issues.apache.org/ji

Re: wsdl2java question

2007-09-02 Thread Amila Suriarachchi
most of the code gen templates use that. On 8/31/07, Lindsey Hess <[EMAIL PROTECTED]> wrote: > > Thank you, Amila. Which template is that? > > Lindsey > > *Amila Suriarachchi <[EMAIL PROTECTED]>* wrote: > > in the template it says > /** > * .java > * > * This file was auto-generated from WSDL

RE: wsdl2java question

2007-08-31 Thread Geoff Peart
Sorry wrong thread From: Geoff Peart [mailto:[EMAIL PROTECTED] Sent: Friday, August 31, 2007 9:04 AM To: axis-user@ws.apache.org Subject: RE: wsdl2java question From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] Sent

RE: wsdl2java question

2007-08-31 Thread Geoff Peart
ackled complex validation scenario's? From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] Sent: Friday, August 31, 2007 12:27 AM To: axis-user@ws.apache.org Subject: Re: wsdl2java question in the template it says /** * .java * * This file was auto

Re: wsdl2java question

2007-08-31 Thread Lindsey Hess
Thank you, Amila. Which template is that? Lindsey Amila Suriarachchi <[EMAIL PROTECTED]> wrote: in the template it says /** * .java * * This file was auto-generated from WSDL * by the Apache Axis2 version: #axisVersion# #today# */ I think it has pick a wrong version some where. A

Re: wsdl2java question

2007-08-30 Thread Amila Suriarachchi
in the template it says /** * .java * * This file was auto-generated from WSDL * by the Apache Axis2 version: #axisVersion# #today# */ I think it has pick a wrong version some where. Amila. On 8/31/07, Lindsey Hess <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm running Axis 1.2.1's wsdl2java ag

Re: WSDL2Java Option for choosing Transport Chunking as FALSE

2007-08-21 Thread keith chapman
Not that I know of. But you can try this as a workaround (Asuming your stub is ABCStub) ABCStub stub = new ABCStub(); stub._getServiceClient().getOptions().setProperty(HTTPConstants.CHUNKED ,"false"); Thanks, Keith. On 8/21/07, Pushkar Bodas <[EMAIL PROTECTED]> wrote: > > > Hi All, > > I use Axi

RE: WSDL2Java is not creating the classes!

2007-08-17 Thread Krithika
Hi Raghu, Thanks. I managed to get it working just after I sent this email. My issue was that the source files were getting created but they weren't complied automatically. I realised that the wsdl2java tool actually places both the .java and .class files in a different directory. (samples/sam

RE: WSDL2Java is not creating the classes!

2007-08-17 Thread Raghu Upadhyayula
Hi Krithika, Your email is confusing to me. In your email subject you said that "WSDL2Java is not creating the classes" and below in your email body, you are also saying that "Though the java source files are created inside the samples/stock/client directory. Am I missing anything?" The

Re: WSDL2Java -generates multiple requests/response classes

2007-08-16 Thread Magnus Lassi
Thank you! Now I understand what I did incorrectly. I have been away from web services for a long while and haven't used Axis and I'm more familiar with creating XML Schemas than WSDL so it was kind of hard to analyze what I did wrong. It generates correctly after I corrected my WSDL now. Thanks,

Re: WSDL2Java Questions/Problems

2007-08-06 Thread Davanum Srinivas
doesn't matter On 8/6/07, New AxisU <[EMAIL PROTECTED]> wrote: > Hi, > > do you want it under wsdl or under codegen? > > > On 8/6/07, Davanum Srinivas <[EMAIL PROTECTED]> wrote: > > > > Please log a bug in JIRA. > > > > thanks, > > dims > > > > On 8/6/07, New AxisU < [EMAIL PROTECTED]> wrote: > >

Re: WSDL2Java Questions/Problems

2007-08-06 Thread New AxisU
Hi, do you want it under wsdl or under codegen? On 8/6/07, Davanum Srinivas <[EMAIL PROTECTED]> wrote: > > Please log a bug in JIRA. > > thanks, > dims > > On 8/6/07, New AxisU <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Overview: The generated wsdl doesn't validate & the generated wsdl > chokes

Re: WSDL2Java Questions/Problems

2007-08-06 Thread Davanum Srinivas
Please log a bug in JIRA. thanks, dims On 8/6/07, New AxisU <[EMAIL PROTECTED]> wrote: > Hi, > > Overview: The generated wsdl doesn't validate & the generated wsdl chokes > > > I'm trying something very simple. I'm using the latest axis2 1.3 RC3 > nightly. I'm using this class as input to

Re: wsdl2java no-namespace schema import problem

2007-07-27 Thread Alex Rodriguez
Title: Aliaswire Signature Thanks for the suggestion but I get the same error. BTW I'm using axis2 1.2 release. -Alex Anne Thomas Manes wrote: To import a schema with no namespace, try this: Anne On 7/27/07, Alex Rodriguez <[EMAIL PROTECTED]> wrote: Hi all, I have a wsdl that

Re: wsdl2java no-namespace schema import problem

2007-07-27 Thread Anne Thomas Manes
To import a schema with no namespace, try this: Anne On 7/27/07, Alex Rodriguez <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a wsdl that imports a schema with no namespace; I've included a > sample at the bottom of this email. Trying to generate a client stub fails > with both xmlbeans and ad

Re: wsdl2java no-namespace schema import problem

2007-07-27 Thread Davanum Srinivas
Alex, Please create a JIRA and upload your wsdl. thanks, dims On 7/27/07, Alex Rodriguez <[EMAIL PROTECTED]> wrote: > > Hi all, > > I have a wsdl that imports a schema with no namespace; I've included a > sample at the bottom of this email. Trying to generate a client stub fails > with both xm

Re: wsdl2java generates invalid xml file

2007-07-27 Thread Jorge Fernandez
Hi Babette, Maybe in this issue you can identify your problem: https://issues.apache.org/jira/browse/AXIS2-2325 Regards, Jorge Fernández Lahiru Sandakith <[EMAIL PROTECTED]> escribió: Hi Babette, Yes the plugin should work with multiple packages with service class and all the other depend

Re: wsdl2java generates invalid xml file

2007-07-27 Thread Lahiru Sandakith
Hi Babette, Yes the plugin should work with multiple packages with service class and all the other dependent classes. All you need it to do is include the third party content or the folders that needed for the service class. http://ws.apache.org/axis2/tools/1_2/eclipse/wsdl2java-plugin.html if poss

Re: wsdl2java invalid wsdl generating exceptions

2007-07-25 Thread Jose Luis Alba
Hi Amila, Thanks for you reply. At this time I've tried with an Axis2 1.3-RC1 and the wsdl is now correct and generates the Exceptions I was expecting. The chosen way is to generate web services from POJOs. Jose Luis Amila Suriarachchi <[EMAIL PROTECTED]> escribió: if you start with the wsd

Re: wsdl2java invalid wsdl generating exceptions

2007-07-25 Thread Amila Suriarachchi
if you start with the wsdl (i.e. contract first) declaring the fault messages in the wsdl is the correct way. If you start with the POJO using checked exceptions in the method signature is the correct way. what is the method you are going to use? using wsdl or POJO? can you attach your POJO or w

Re: wsdl2java fails when using -d jaxbri

2007-07-16 Thread Davanum Srinivas
Please log an issue in JIRA and upload your wsdl / schemas. thanks,. dims On 7/16/07, Enric Staromiejski Torregrosa <[EMAIL PROTECTED]> wrote: Hi all, I'm new to the list, so i beg your pardon if the question is old for you. But i have not seen many threads on the internet about the problem i'

Re: wsdl2java mapping

2007-07-05 Thread Amila Suriarachchi
well I think you are talking about adb. (this is the defult databinding for axis2) if you want to set null value to int set Integer.MIN_VALUE to in eg. i = Integer.MIN_VALUE would serialize it correctly. on the other hand if you receive an null int you corresponding int varaible is set to Integer

Re: wsdl2java mapping

2007-07-05 Thread Anne Thomas Manes
Try wrapping the return value in a wrapper element, e.g: Anne On 7/5/07, Leonhard Holzer <[EMAIL PROTECTED]> wrote: Hello list, I am using an axis2 web service with complex return types. The return type of one operation is of the type xs:int nillable=true. When I run the wsdl2jav

Re: WSDL2java default stub generation.

2007-07-04 Thread Amila Suriarachchi
On 7/1/07, Alexey Zavizionov <[EMAIL PROTECTED]> wrote: Hello, I think that by default should be generated all ports for all services. And with option you may choose which ports for wich services will be generated. Sorry for late reply. Actually I had done this change before one day to your r

Re: WSDL2Java issue and/or help

2007-07-03 Thread Keith Veleba
dims, Thanks for the bug fix - I downloaded, built the snapshot and tried it against the remote WSDL in question. The generation of the stub did not error out. Thanks for your help! I hope to be able to return the favor soon. This list is a great resource for everyone who uses it. --

Re: WSDL2Java issue and/or help

2007-07-02 Thread Davanum Srinivas
Hmm..actually this may be a bug. i'll check in a fix tonight. Please try a nightly tomorrow. -- dims On 7/2/07, Davanum Srinivas <[EMAIL PROTECTED]> wrote: Anne, Jeff, The problem is the "https://"; the normal URL connection expects the cert to be in the local jks store AFAICT. thanks, dims

Re: WSDL2Java issue and/or help

2007-07-02 Thread Davanum Srinivas
Anne, Jeff, The problem is the "https://"; the normal URL connection expects the cert to be in the local jks store AFAICT. thanks, dims On 7/2/07, Anne Thomas Manes <[EMAIL PROTECTED]> wrote: Jeff, This URL: https://uat-atc.regents.ohio.gov/ccx/OrgInfo/CoreMain_v1.0.0.xsd?wsdl does indeed poi

Re: WSDL2Java issue and/or help

2007-07-02 Thread Anne Thomas Manes
Jeff, This URL: https://uat-atc.regents.ohio.gov/ccx/OrgInfo/CoreMain_v1.0.0.xsd?wsdl does indeed point to the XSD in question. This problem looks to me to be caused by WSDL2Java's inability to reference a remote XSD. Keith should do as Haneef recommends and download the XSD and store it locally,

Re: WSDL2java default stub generation.

2007-06-30 Thread Alexey Zavizionov
Hello, I think that by default should be generated all ports for all services. And with option you may choose which ports for wich services will be generated. Thanks, Alexey On 6/28/07, Amila Suriarachchi <[EMAIL PROTECTED]> wrote: hi all, currently wsdl2java generate stubs for all the ports i

Re: WSDL2Java: generated classes in 1 gigantic java file

2007-06-29 Thread ro test
I tried the '-u' option and I'm still getting the same problem. I used the command below: bin\wsdl2java.bat -u -p com.org1.service -uri org1.wsdl On 6/28/07, Davanum Srinivas <[EMAIL PROTECTED]> wrote: "-u" On 6/28/07, ro test <[EMAIL PROTECTED]> wrote: > Hi, > > I've a WSDL file and xsd

Re: WSDL2Java: generated classes in 1 gigantic java file

2007-06-28 Thread Davanum Srinivas
"-u" On 6/28/07, ro test <[EMAIL PROTECTED]> wrote: Hi, I've a WSDL file and xsd file and I used the Axis2, bin/wsdl2java utility to generate the java classes from wsdl using the following command: >bin\wsdl2java.bat -p com.org1.service -uri org1.wsdl I see 5 different files created under com

RE: WSDL2Java issue and/or help

2007-06-26 Thread Walker, Jeff
This line looks odd to me also: Here is a definition of how import works in XML Schema: http://www.w3.org/TR/xmlschema-0/ section 5.4. So, the ?wsdl at the end of the schemaLocation string looks weird. I did in fact download that wsdl file, and got the same error in Axis 1.3 as you did. I do b

Re: WSDL2Java issue and/or help

2007-06-26 Thread Keith Veleba
Thanks, Haneef, for the quick reply. Unfortunately, I had to edit the wsdl and it failed under axis2 1.1.1 with a NullPointerException (even though it found the referenced schema) I've switched to Axis2 1.2, but I haven't been able to get it to run wsdl2java; just sends my poor little MacBo

RE: WSDL2Java issue and/or help

2007-06-26 Thread Ali, Haneef
You can download the wsdl from the schemalocation ( https://uat-atc.regents.ohio.gov/ccx/OrgInfo/CoreMain_v1.0.0.xsd?wsdl ) and put it in the same directory as that of original wsdl and run wsdl2java. Thanks, Haneef From: Keith Veleba [mailto:[EMAIL PROTECTED]

<    1   2   3   4   5   6   7   >