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 another

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 it

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

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 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. project name=quickstartadb basedir=.

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

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]

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

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

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 possible

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

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

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* , AXIS-HOME\conf\\axis2.xml); I'm not sure why I have to do this...can anyone explain it

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 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 and

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

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 !-- Here is the complete list of supported parameters (see example settings further below): port: the port to listen on (default 6060) hostname: if non-null, url prefix used in reply-to endpoint

Re: WSDL2Java

2007-11-15 Thread Roman Sch�nbichler
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! Greets Roman Original Message From: [EMAIL PROTECTED

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! I've one (hopefuly last

Re: WSDL2Java

2007-11-15 Thread Roman Sch�nbichler
] 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. I've tried every definition in the wsdl file (attached), and neither one does

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 wsdl:definitions name=CalculableHouseholdService

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 I was

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] wrote: Hey again

Re: WSDL2Java

2007-11-13 Thread Anne Thomas Manes
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! First of all thanks for your suggestions! I've found some more errors in my wsdl file

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 -0500

Re: WSDL2Java

2007-11-13 Thread Amila Suriarachchi
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! First of all thanks for your suggestions! I've found some more errors in my

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 wsdl:definitions name=CalculableHouseholdService targetNamespace=http

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 a given

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 expects

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 NullPointerException populateService

2007-11-12 Thread Anne Thomas Manes
Roman, You shouldn't use wsdl:import to import an XSD file. Change this: wsdl:import namespace=http://webservice; location=../schemas/household.xsd / to this: wsdl:types xsd:schema targetNamespace=http://webservice;

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.: element name=Household

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 in your

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 an

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

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 plugin to do

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

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 generated Java

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 complexType element

2007-10-29 Thread Anne Thomas Manes
You need to namespace-qualify the type references in these two element declarations: xs:element name=instances type=fullInstancesRequest / xs:element name=classes type=fullClassesRequest/

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-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!

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-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 *

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] mailto:[EMAIL PROTECTED] wrote:

RE: WSDL2Java not working for HTTPS URL

2007-10-25 Thread Saket Raizada
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 HTTPS URL

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 about

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: [EMAIL

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 please

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

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 Classes:

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/07, Leo Stevens

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 you

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-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[]{

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- 1.3. Please

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.

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 /** * xsl:value-of select=@name/.java * * This file was auto-generated

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 /** * xsl:value-of select=@name/.java * * This file was auto-generated from WSDL * by the Apache Axis2 version: #axisVersion# #today# */ I think it has pick a

RE: wsdl2java question

2007-08-31 Thread Geoff Peart
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 /** * xsl:value-of select=@name/.java * * This file was auto

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-30 Thread Amila Suriarachchi
in the template it says /** * xsl:value-of select=@name/.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

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 Axis2's

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 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.

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.

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 Java2WSDL

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 I'm

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: Hi, Overview: The

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

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 xmlbeans

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

Re: wsdl2java no-namespace schema import problem

2007-07-27 Thread Anne Thomas Manes
To import a schema with no namespace, try this: s:import namespace= / 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

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: s:import namespace="" / Anne On 7/27/07, Alex Rodriguez [EMAIL PROTECTED] wrote: Hi

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

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 wsdl

Re: WSDL2Java C code generation

2007-07-21 Thread Mark Nüßler
hello user, i don't know if i understand the problem right, just want to share what i have. @michale mole, when i generate, i can't see the files 'adb_EchoStringReturn.h' or 'EchoStringReturn.java' in any header file, i see #include axis2_echoStringReturn.h #include axis2_echoStringParam.h

Re: WSDL2Java C code generation

2007-07-21 Thread Milinda Pathirage
Hi, Sorry for the mistake I made by mentioning Axis2/Java as Axis2. Here is the code for WSDL2C.bat file. set AXIS2_HOME = C:\axis2java setlocal EnableDelayedExpansion set AXIS2_CLASSPATH=%AXIS2_HOME% FOR %%c in (%AXIS2_HOME%\lib\*.jar) DO set AXIS2_CLASSPATH=!AXIS2_CLASSPATH!;%%c; java

Re: WSDL2Java C code generation

2007-07-20 Thread Michael Mole
Pathirage [EMAIL PROTECTED] 07/20/2007 12:08 AM Please respond to Apache AXIS C User List axis-c-user@ws.apache.org To Apache AXIS C User List axis-c-user@ws.apache.org cc Subject Re: WSDL2Java C code generation Hi, Now there is a tool called WSDL2C in Axis2 Code generation project. Please use

Re: WSDL2Java C code generation

2007-07-19 Thread Milinda Pathirage
Hi, Now there is a tool called WSDL2C in Axis2 Code generation project. Please use that tool. You can use attached scripts to generate c code with following options: To generate server side code without data binding WSDL2C –uri WSDL –ss –sd –d none –u –f –o out put folder with data binding:

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'm

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

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

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 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

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 point

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 On

Re: WSDL2java default stub generation.

2007-07-01 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 in

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 file and

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

RE: WSDL2Java for HTTPS

2007-06-26 Thread Mark Babcock
[mailto:[EMAIL PROTECTED] Sent: Monday, June 25, 2007 3:48 PM To: axis-user@ws.apache.org Subject: RE: WSDL2Java for HTTPS Hi, Certificates for IP addresses will not work Quite simply, issuing and using certificates that authenticate IP addresses rather than host names will not work. Don't do

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]

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

RE: WSDL2Java issue and/or help

2007-06-26 Thread Walker, Jeff
This line looks odd to me also: xsd:import namespace=urn:org BLOCKED::urn:org :pesc:core:CoreMain:v1.0.0 schemaLocation=OrgInfo/CoreMain_v1.0.0.xsd?wsdl/ 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

Re: WSDL2Java for HTTPS

2007-06-25 Thread Davanum Srinivas
Excellent write up. thanks! -- dims On 6/25/07, r1c4r60 [EMAIL PROTECTED] wrote: Hi, This is a way to solve the WSDL over HTTPS issue reported by so many resulting in No Trusted Certificate. 1 - Export Certificate from Internet Explorer 1.1 - Access the service WSDL location (Ex.

Re: WSDL2Java for HTTPS

2007-06-25 Thread r1c4r60
Hi, This is a way to solve the WSDL over HTTPS issue reported by so many resulting in No Trusted Certificate. 1 - Export Certificate from Internet Explorer 1.1 - Access the service WSDL location (Ex. https://foo.com/bar?wsdl) 1.2 - Internet explorer will prompt a security alert 1.3 - Select

<    1   2   3   4   5   6   7   >