RE: WSDL2Java for HTTPS

2007-06-26 Thread Mark Babcock
m: r1c4r60 [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 wo

RE: WSDL2Java for HTTPS

2007-06-25 Thread Ford, Jennifer M.
essage- From: r1c4r60 [mailto:[EMAIL PROTECTED] Sent: Monday, June 25, 2007 2: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 n

RE: WSDL2Java for HTTPS

2007-06-25 Thread r1c4r60
ption: unable to find valid certification path to requested target > [axis-wsdl2java]at > sun.security.provider.certpath.SunCertPathBuilder.eng > ineBuild(SunCertPathBuilder.java:174) > [axis-wsdl2java]at > java.security.cert.CertPathBuilder.build(CertPathBuil > der.j

RE: WSDL2Java for HTTPS

2007-06-25 Thread Mark Babcock
PROTECTED] Sent: Monday, June 25, 2007 10:57 AM To: axis-user@ws.apache.org Subject: RE: WSDL2Java for HTTPS Hi Mark, Most likely you haven't set the Axis Classpath. It could be done in several different ways as for example the one described at the Axis Installation page: http://ws.apache.org

RE: WSDL2Java for HTTPS

2007-06-25 Thread r1c4r60
t; ant tag axis-wsdl2java. Getting the name is undefined. > > -Original Message- > From: r1c4r60 [mailto:[EMAIL PROTECTED] > Sent: Monday, June 25, 2007 9:22 AM > To: axis-user@ws.apache.org > Subject: Re: WSDL2Java for HTTPS > > > Hi, > > This is a

RE: WSDL2Java for HTTPS

2007-06-25 Thread Mark Babcock
Ricardo, Thank you for that amazing help. However, I'm having problems with the ant tag axis-wsdl2java. Getting the name is undefined. -Original Message- From: r1c4r60 [mailto:[EMAIL PROTECTED] Sent: Monday, June 25, 2007 9:22 AM To: axis-user@ws.apache.org Subject: Re: WSDL2Jav

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

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

RE: WSDL2Java for HTTPS

2007-06-22 Thread Mark Babcock
How do I use the JVM arg for javax.net.ssl.trustStore? -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Friday, June 22, 2007 11:37 AM To: axis-user@ws.apache.org Subject: Re: WSDL2Java for HTTPS try using for the javax.net.ssl.trustStore On 6/22/07, Mark

Re: WSDL2Java for HTTPS

2007-06-22 Thread Davanum Srinivas
s-user@ws.apache.org Subject: Re: WSDL2Java for HTTPS try using for the javax.net.ssl.trustStore On 6/22/07, Mark Babcock <[EMAIL PROTECTED]> wrote: > > > > > I am trying to generate stubs with the WSDL2Java tool > > I imported my certificate into my keystore (cacerts) using >

Re: WSDL2Java pn option issue

2007-06-22 Thread Sagnwoo Kim
Thank you for your timely response. Sangwoo Kim On 6/22/07, Alexey Zavizionov <[EMAIL PROTECTED]> wrote: Do you use Axis2 version 1.2? I ahve faced with same problem. Try to use Axis2 version 1.1, seems it works. Regards, Alexey On 6/22/07, Sagnwoo Kim <[EMAIL PROTECTED]> wrote: > Hi all, I

Re: WSDL2Java pn option issue

2007-06-22 Thread Alexey Zavizionov
Do you use Axis2 version 1.2? I ahve faced with same problem. Try to use Axis2 version 1.1, seems it works. Regards, Alexey On 6/22/07, Sagnwoo Kim <[EMAIL PROTECTED]> wrote: Hi all, I am newbie at Axis2 and having some issue here Now Im trying to generate skeleton files using WSDL2Java out o

Re: WSDL2Java for HTTPS

2007-06-22 Thread Davanum Srinivas
try using for the javax.net.ssl.trustStore On 6/22/07, Mark Babcock <[EMAIL PROTECTED]> wrote: I am trying to generate stubs with the WSDL2Java tool I imported my certificate into my keystore (cacerts) using The keytool. When I run my build file I get the following exception: [

Re: WSDL2Java Multiple port names to be code generated.

2007-06-22 Thread Alexey Zavizionov
Even if I chose port name by -pn, it doesn't make affect. Does it bug? On 6/22/07, Alexey Zavizionov <[EMAIL PROTECTED]> wrote: Hello, Lest look at http://ws.apache.org/axis2/tools/1_2/CodegenToolReference.html to see: -pn --port-name Specifies the port name to be code generated. If the port

Re: WSDL2Java Exception with nested binding & schema files

2007-06-20 Thread david2
I was finally able to get past the WSDL2Java exception and managed to get a web service running that utilized nested objects, nested schema files and nested binding files. However, now I find that I can build a web service request using a parent object/type or its children, but never a parent AND

Re: wsdl2java consume https

2007-06-20 Thread Ognjen Blagojevic
Hi Mark, How do I consume a secure webservice with wsdl2java? If you just want to use standard web service over HTTPS, then you don't need additional switches for wsdl2java. In client code you should set properties javax.net.ssl.keyStore and javax.net.ssl.keyStorePassword. Regards, Ognje

Re: WSDL2JAVA

2007-06-10 Thread Amila Suriarachchi
you may read this as well http://today.java.net/lpt/a/300 On 6/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: This link would be useful to u http://ws.apache.org/axis2/1_2/reference.html#wsdl2code http://ws.apache.org/axis2/1_2/adv-userguide.html

Re: wsdl2java renames imported schemas

2007-06-10 Thread Amila Suriarachchi
On 6/10/07, Spike Mulligan <[EMAIL PROTECTED]> wrote: I noticed that when I run wsdl2java on my wsds it renames all the imported schemas xsd0.xsd xsd1.xsd rather than my nice meaningful names. How do I get it to preserve the original names? no. Since we only keep the schema objects in the Ax

Re: wsdl2java crushes

2007-06-06 Thread Davanum Srinivas
ion tag, shouldn't it be enclosed in wsdl:definitions tag Thanks Raghu -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 06, 2007 6:35 AM To: Denis Kishenko Cc: axis-user@ws.apache.org Subject: Re: wsdl2java crushes Yes, we use them to test for e

RE: wsdl2java crushes

2007-06-06 Thread Raghu Upadhyayula
Srinivas [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 06, 2007 6:35 AM To: Denis Kishenko Cc: axis-user@ws.apache.org Subject: Re: wsdl2java crushes Yes, we use them to test for example woden. It's quite easy to write a concrete wsdl that imports the abstract one and then run it with wsdl

RE: WSDL2JAVA

2007-06-06 Thread Kraus, David
Is your classpath setup correctly? You seemed to be missing activation.jar which should be in ...\axis2-1.2\lib. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 06, 2007 12:38 AM To: axis-user@ws.apache.org Subject: RE: WSDL2JAVA

Re: wsdl2java crushes

2007-06-06 Thread Davanum Srinivas
Yes, we use them to test for example woden. It's quite easy to write a concrete wsdl that imports the abstract one and then run it with wsdl2java. thanks, dims On 6/6/07, Denis Kishenko <[EMAIL PROTECTED]> wrote: So it looks like 70% of W3C WSDL 2.0 Test Suite files are abstract =) 2007/6/6, D

Re: wsdl2java crushes

2007-06-06 Thread Denis Kishenko
So it looks like 70% of W3C WSDL 2.0 Test Suite files are abstract =) 2007/6/6, Davanum Srinivas <[EMAIL PROTECTED]>: This means that that this is an abstract wsdl and not a concrete wsdl. -- dims On 6/6/07, Denis Kishenko <[EMAIL PROTECTED]> wrote: > I am sorry for confusion, my previous exam

Re: wsdl2java crushes

2007-06-06 Thread Davanum Srinivas
This means that that this is an abstract wsdl and not a concrete wsdl. -- dims On 6/6/07, Denis Kishenko <[EMAIL PROTECTED]> wrote: I am sorry for confusion, my previous example was incorrect because of I skipped -wv, but this crushes too C:\axis2-1.2\bin>wsdl2java.bat -uri C:\wsdl-test-suite\

Re: wsdl2java crushes

2007-06-06 Thread Denis Kishenko
I am sorry for confusion, my previous example was incorrect because of I skipped -wv, but this crushes too C:\axis2-1.2\bin>wsdl2java.bat -uri C:\wsdl-test-suite\documents\good\Chameleon-1G\getBalance.wsdl -wv 2.0 Using AXIS2_HOME: C:\axis2-1.2 Using JAVA_HOME:C:\Program Files\Java\jdk1.6.0

RE: wsdl2java crushes

2007-06-06 Thread Lukichev, Alexander S
Maybe because it expects WSDL v1, not v2? Alexander >-Original Message- >From: Denis Kishenko [mailto:[EMAIL PROTECTED] >Sent: Wednesday, June 06, 2007 4:53 PM >To: axis-user@ws.apache.org >Subject: wsdl2java crushes > >Hi all > >I am really interested in wsdl2java tool but have some prob

RE: WSDL2JAVA

2007-06-06 Thread smitha.aldrin
r.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) ... 20 more From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 06, 2007 11:59 AM To: axis-user@ws.apache.org Subject: RE:

RE: WSDL2JAVA

2007-06-05 Thread smitha.aldrin
-user@ws.apache.org Subject: RE: WSDL2JAVA This link would be useful to u http://ws.apache.org/axis2/1_2/reference.html#wsdl2code http://ws.apache.org/axis2/1_2/adv-userguide.html _ Thanks & Regards

RE: WSDL2JAVA

2007-06-05 Thread kumar.vinodh
This link would be useful to u http://ws.apache.org/axis2/1_2/reference.html#wsdl2code http://ws.apache.org/axis2/1_2/adv-userguide.html _ Thanks & Regards, Vinodh From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: WSDL2JAVA

2007-06-05 Thread Ashwini Kumar Jeksani
You can find the details in this link: http://ws.apache.org/axis/java/user-guide.html Thanks and Regards, Ashwini Kumar Jeksani From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 06, 2007 11:48 AM To: axis-user@ws.apache.org; [EM

Re: WSDL2Java: Nested sequences with multiple constraints aren't generating correctly

2007-06-05 Thread Brian Krispinsky
I was able to get this working by using the '-w' switch with WSDL2Java. Brian Krispinsky <[EMAIL PROTECTED]> wrote: > I opened the following bug report against Axis 1.4 WSDL2Java last week: > > https://issues.apache.org/jira/browse/AXIS-2670 > > Does anyone have a workaround for this?

Re: wsdl2java code generation

2007-05-25 Thread Davanum Srinivas
Mert, could you please log a bug with your complete wsdl and the options you use when running WSDL2Java? thanks, dims On 5/25/07, Mert Çalışkan <[EMAIL PROTECTED]> wrote: Hello all, I've a problem with JavaCode generation while using wsdl2java. It seems like a bug but I'm not sure about the b

Re: wsdl2java reformats the original WSDL

2007-05-23 Thread Eran Chinthaka
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stefan Dragnev wrote: > I'm developing a web service using axis2 1.1.1 and XMLBeans data binding. I > used wsdl2java tool to generate all java classes for me. All seems to be > fine but when I compared the copy of WSDL file placed in resources folder

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

2007-05-22 Thread Davanum Srinivas
It means, use Axis1 as you cannot use Axis2. On 5/21/07, wolverine my <[EMAIL PROTECTED]> wrote: Hi! In my case the WSDL is provided by the service provider which I'm not allowed to make changes. Does this also means that I should not use Axis? On 5/6/07, stefan_dragnev <[EMAIL PROTECTED]>

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

2007-05-21 Thread wolverine my
Hi! In my case the WSDL is provided by the service provider which I'm not allowed to make changes. Does this also means that I should not use Axis? On 5/6/07, stefan_dragnev <[EMAIL PROTECTED]> wrote: Anne, Thanks a lot for your help. Your explanations were really helpful. I've already swi

Re: WSDL2Java Exception

2007-05-09 Thread Amila Suriarachchi
in your wsdl you have but this should be Anyway wsdl2java does not support the mime extensions properly. Please log a jira. Amila. On 5/10/07, Prasad Viswatmula <[EMAIL PROTECTED]> wrote: Hi, I am using the attached WSDL and getting the following error: [wsdl2java] java.lang.RuntimeExcep

Re: Wsdl2Java

2007-05-09 Thread Amila Suriarachchi
ot;http://schemas.xmlsoap.org/ws/2004/09/mex";><http://schemas.xmlsoap.org/ws/2004/09/mex%22%3E> Cheers, Dave -- From: [EMAIL PROTECTED] To: axis-user@ws.apache.org Subject: Re: Wsdl2Java Date: Mon, 7 May 2007 17:36:58 -0400 what is the ta

RE: Wsdl2Java

2007-05-09 Thread David Elliott
Here is the target namespace http://tempuri.org/"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"; xmlns:soapenc="http://schemas.xm

Re: Wsdl2Java

2007-05-07 Thread Martin Gainty
what is the target namespace declaration for your wsdl e.g. here is what I have for StockQuoteService.wsdl http://w3.ibm.com/schemas/services/2002/11/15/stockquote/wsdl"; xmlns="http://schemas.xmlsoap.org/wsdl/"; xmlns:tns="http://w3.ibm.com/schemas/services/2002/11/15/stockquote/wsdl"; creat

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

2007-05-05 Thread stefan_dragnev
Anne, Thanks a lot for your help. Your explanations were really helpful. I've already switched the style to rpc/literal and removed the encoding attribute, but before reading your message I have missed to remove the soap encoded parts from the types part of the WSDL file. Now I can successfully

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

2007-05-05 Thread stefan_dragnev
Dims, Thanks for the suggestion to use ADB and answering all my other questions. I already read in AIXS2 documentation that ADB is the most stable and the preferred data binding for Axis2. The reason I decided to stick with XMLBeans is the current codebase which I have to port to Axis2 contains

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

2007-05-05 Thread Davanum Srinivas
Stefan, Thanks for the summary. Regarding Axis2 v1.1.1, even though wsdl2java did not complain, the current client would have failed to interop with the generated service. Since the server-side code does not really support rpc/encoded. That's exactly the reason why we throw the exception in Axis2

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

2007-05-05 Thread stefan_dragnev
Dims, It is a service which currently runs on BEA Weblogic but we are migrating to open source. The plan was to migrate it to Axis2. Since Axis2 v1.1.1 was not throwing exceptions I was able to generate skeleton and stub files using WSDL with rpc/encoded bindings. Then I wrote, compiled and depl

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

2007-05-05 Thread Anne Thomas Manes
Stefan, There were a number of reasons why the Axis2 team decided not to implement support for SOAP encoding: 1- it's prohibited by WS-I Basic Profile 2- SOAP encoding is an optional feature in SOAP 1.2 3- It would have been a ton of work to implement support for a feature that is being deprecat

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

2007-05-04 Thread Davanum Srinivas
Amila, No. Let's leave it as-is. thanks, dims On 5/4/07, Amila Suriarachchi <[EMAIL PROTECTED]> wrote: if you have put that into production, that means for the services it does not use the encoding work fine. So what we can do in Axis2 is to proceed by giving a waring message as in earlier. S

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

2007-05-03 Thread Amila Suriarachchi
if you have put that into production, that means for the services it does not use the encoding work fine. So what we can do in Axis2 is to proceed by giving a waring message as in earlier. Shall we do it giving only an warning message? amila. On 5/4/07, Davanum Srinivas <[EMAIL PROTECTED]> wrot

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

2007-05-03 Thread Davanum Srinivas
Stefan, Is this an Axis2 based service in production? and you have a custom wsdl? -- dims On 5/3/07, stefan_dragnev <[EMAIL PROTECTED]> wrote: Dims, I'm sure the wsdl uses rpc/encoded because it contains the following section: http://schemas.xmlsoap.org/soap/http"; style="document"/>

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

2007-05-03 Thread stefan_dragnev
Dims, I'm sure the wsdl uses rpc/encoded because it contains the following section: http://schemas.xmlsoap.org/soap/http"; style="document"/> http://www.openuri.org/UpdateCategoriesReq"; style="rpc"/> http://www.openuri.org/"; encodingStyle="http://schemas.xmlsoap.

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

2007-05-03 Thread Davanum Srinivas
Stefan, It was not supported even in earlier versions of Axis2..we were just not throwing exceptions properly. -- dims On 5/3/07, stefan_dragnev <[EMAIL PROTECTED]> wrote: I have the same problem as wolverine my and was wondering what is the reason for rpc/encoded no longer being supported in

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

2007-05-03 Thread stefan_dragnev
I have the same problem as wolverine my and was wondering what is the reason for rpc/encoded no longer being supported in axis2 version 1.2. Is there a document which describes what WSDL features are supported by wsdl2java tool in axis2 1.1.1 and axis2. 1.2. If there is such document I will apprec

Re: wsdl2java -u option question

2007-05-03 Thread Michael Davis
Thanks! I just noticed, after sending that message, that wsdl2java still generates 5MB of source code with the -u option, it just spreads it out over many classes and packages. I'm still surprised at the quantity of generated code, just to all one trivial service! I'm not complaining, I'm just ba

Re: wsdl2java -u option question

2007-05-03 Thread Amila Suriarachchi
On 5/2/07, Michael Davis <[EMAIL PROTECTED]> wrote: Hello, I'm new to Axis. I'm using the latest version, 1.2, and I've created a simple web service that takes three strings and returns a string. I created a client using wsdl2java. It works fine, but it creates three source files that are 5M i

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

2007-05-02 Thread Davanum Srinivas
I believe we are throwing better exceptions now...if you post the wsdl in a bug report, we can take a look to confirm that it is indeed an rpc/encoded wsdl which we don't support. thanks, dims On 5/1/07, wolverine my <[EMAIL PROTECTED]> wrote: Hi! I encounter the following error when tried to

Re: wsdl2java ant task and -Ebindingfile

2007-05-02 Thread Armin Ehrenfels
Dennis, pity ! Thank you, anyway. Regards Armin Dennis Sosnoski wrote: I don't think the ant task has ever been updated to support -Exxx data binding extension options. You can just use WSDL2Java directly, though, with an Ant :

Re: wsdl2java ant task and -Ebindingfile

2007-05-02 Thread Dennis Sosnoski
I don't think the ant task has ever been updated to support -Exxx data binding extension options. You can just use WSDL2Java directly, though, with an Ant : or whatev

Re: wsdl2java error using Xmlbeans binding

2007-04-30 Thread Davanum Srinivas
Alex, Please log a bug with Axis2. With your wsdl and the command line. thanks, dims On 4/30/07, Hall, Alex A. <[EMAIL PROTECTED]> wrote: Axis Users, I'm having trouble attempting to generate server-side skeletons for a WSDL which imports a fairly complex schema. I extracted the troubleso

Re: wsdl2java: UnmatchedTypeException: No type was mapped

2007-04-26 Thread Stefan Neumann
Thanks for testing. I use axis2-1.1.1 . So this must be a bug and already fixed. I will try to switch to the RC. Thanks Amila Suriarachchi wrote: > What is the axis2 version you use? I tried with the axis2-1.2-RC2 and it > looks good. > > On 4/25/07, Stefan Neumann <[EMAIL PROTECTED]> wrote: >>

Re: wsdl2java: UnmatchedTypeException: No type was mapped

2007-04-26 Thread Amila Suriarachchi
What is the axis2 version you use? I tried with the axis2-1.2-RC2 and it looks good. On 4/25/07, Stefan Neumann <[EMAIL PROTECTED]> wrote: Hi all, when I run wsdl2java, it throws an UnmatchedTypeException so no java sources are generated. Can somebody help me what the problem is? You can find

Re: wsdl2java & jibx codeGeneration Exception

2007-04-18 Thread Dennis Sosnoski
Hi Serkan, You only attached the main WSDL, not the included one, so I can't see exactly what is going on. But the error message seems very direct and specific: "No mapping defined for element {http://www.csapi.org/schema/parlayx/payment/reserve_amount_charging/v2_1/local}chargeReservation";

RE: Wsdl2java wss

2007-04-11 Thread Olivier DUGAST
OK thanks, Olivier. -Message d'origine- De : Angel Todorov [mailto:[EMAIL PROTECTED] Envoyé : mercredi 11 avril 2007 10:52 À : axis-user@ws.apache.org Objet : Re: Wsdl2java wss Hi Oliver, This is not possible at the moment. you have to do it manually. Regards, Angel On 4/

Re: Wsdl2java wss

2007-04-11 Thread Angel Todorov
to use secure service , whith my client stub generated by wsld2java. Regards, Olivier -Message d'origine- De : Angel Todorov [mailto:[EMAIL PROTECTED] Envoyé : mercredi 11 avril 2007 10:37 À : axis-user@ws.apache.org Objet : Re: Wsdl2java wss What do you mean by WSS? WS-Security

RE: Wsdl2java wss

2007-04-11 Thread Olivier DUGAST
EMAIL PROTECTED] Envoyé : mercredi 11 avril 2007 10:37 À : axis-user@ws.apache.org Objet : Re: Wsdl2java wss What do you mean by WSS? WS-Security ? And what exactly do you want to set up ? Regards, Angel On 4/11/07, Olivier DUGAST <[EMAIL PROTECTED]> wrote: > > Hi all, > > How to

Re: Wsdl2java wss

2007-04-11 Thread Angel Todorov
What do you mean by WSS? WS-Security ? And what exactly do you want to set up ? Regards, Angel On 4/11/07, Olivier DUGAST <[EMAIL PROTECTED]> wrote: Hi all, How to setup wsdl2java to use axis webservice with WSS? Olivier.

Re: Wsdl2java bug? (newbie)

2007-04-10 Thread Anne Thomas Manes
When using document style, your message parts must reference elements rather than types. Anne On 4/10/07, Rudolph, Troy <[EMAIL PROTECTED]> wrote: Hi Everyone, I created a WSDL file to describe an experimental web service that I am building. However, when I generated the code from the WSDL

Re: wsdl2java parameter order in adb stub

2007-04-10 Thread Anton Pirker
Hi again! I found the solution. (I am all new to the big world of SOAP) I just had to add a parameterOrder-Attribute to the Operation, and everything works now. (Except that i now get an "Unexpected subelement" but this is another story, i think) sorry for the noise, Anton Anton Pirker w

RE: WSDL2JAVA ERROR- No bindings found in wsdl

2007-04-10 Thread Serkan Sunel
nes [mailto:[EMAIL PROTECTED] Sent: Monday, April 09, 2007 8:32 PM To: axis-user@ws.apache.org Subject: Re: WSDL2JAVA ERROR- No bindings found in wsdl The Parley WSDL only defines messages. It does not define portTypes or bindings. WSDL2Java cannot generate code from this WSDL (neither Axis 1.x or Axis

Re: WSDL2JAVA ERROR- No bindings found in wsdl

2007-04-09 Thread Anne Thomas Manes
s-user@ws.apache.org *Subject:* RE: WSDL2JAVA ERROR- No bindings found in wsdl This is the wsdl in the attachment which has only messages defined. Even with the Axis 1.x this will not work. http://www.csapi.org/wsdl/parlayx/common/v2_0/faults"; xmlns="http://schemas.xmlsoap.org/wsdl/&

RE: WSDL2JAVA ERROR- No bindings found in wsdl

2007-04-09 Thread Serkan Sunel
/pxws.asp Anybody can help about this ? Must I define that types specified in xsds as pojo ? From: Krishnamoorthy J (HCL Financial Services) [mailto:[EMAIL PROTECTED] Sent: Monday, April 09, 2007 3:22 PM To: axis-user@ws.apache.org Subject: RE: WSDL2JAVA ERROR- No

RE: WSDL2JAVA ERROR- No bindings found in wsdl

2007-04-09 Thread Krishnamoorthy J (HCL Financial Services)
1"; schemaLocation="parlayx_common_types_2_1.xsd"/> From: Serkan Sunel [mailto:] Sent: Monday, April 09, 2007 5:49 PM To: axis-user@ws.apache.org Subject: RE: WSDL2JAVA ERROR- No bindings found in wsdl Hi, I have been using this wsdl with old v

RE: WSDL2JAVA ERROR- No bindings found in wsdl

2007-04-09 Thread Serkan Sunel
Financial Services) [mailto:[EMAIL PROTECTED] Sent: Monday, April 09, 2007 3:09 PM To: axis-user@ws.apache.org Subject: RE: WSDL2JAVA ERROR- No bindings found in wsdl Your WSDL is not complete. Check this tutorial http://www.w3schools.com/wsdl/default.asp

RE: WSDL2JAVA ERROR- No bindings found in wsdl

2007-04-09 Thread Krishnamoorthy J (HCL Financial Services)
Your WSDL is not complete. Check this tutorial http://www.w3schools.com/wsdl/default.asp From: Serkan Sunel [mailto:[EMAIL PROTECTED] Sent: Monday, April 09, 2007 4:15 PM To: axis-user@ws.apache.org Subject: WSDL2JAVA ERROR- No bindings found in wsdl

Re: wsdl2java does not generate proxy class

2007-04-04 Thread Adrian Mitev
Everything is ok. It was my mistake. 2007/4/3, Adrian Mitev <[EMAIL PROTECTED]>: i have WorkflowManager.wsdl and i have to have IWorkflowManagerProxy class that should invoke, right? 2007/4/3, Adrian Mitev <[EMAIL PROTECTED] >: > > Hi Angel. I'm using axis 1.4. I'm using the ant task for wisdl

Re: wsdl2java does not generate proxy class

2007-04-03 Thread Adrian Mitev
i have WorkflowManager.wsdl and i have to have IWorkflowManagerProxy class that should invoke, right? 2007/4/3, Adrian Mitev <[EMAIL PROTECTED]>: Hi Angel. I'm using axis 1.4. I'm using the ant task for wisdl to java Here is how do i invoke the task 2007/4/3, Angel Todorov <[EMAIL PROTEC

Re: wsdl2java does not generate proxy class

2007-04-03 Thread Adrian Mitev
Hi Angel. I'm using axis 1.4. I'm using the ant task for wisdl to java Here is how do i invoke the task 2007/4/3, Angel Todorov <[EMAIL PROTECTED]>: Hi Adrian, How exactly do you execute wsdl2java - with what parameters ? Which version of Axis are you using ? Regards, Angel On 4/3/07, A

Re: wsdl2java does not generate proxy class

2007-04-03 Thread Glen Mazza
Newbie here, but I'm not sure what you're specifically referring to by "proxy class." Perhaps best to show us your Ant task so we can see if something is wrong with it. I would also experiment with the different databindingName options[1]--ADB, JiBX, XMLBeans, etc. Each will render your WSDL int

Re: wsdl2java does not generate proxy class

2007-04-03 Thread Angel Todorov
Hi Adrian, How exactly do you execute wsdl2java - with what parameters ? Which version of Axis are you using ? Regards, Angel On 4/3/07, Adrian Mitev <[EMAIL PROTECTED]> wrote: Hi all. I'm trying to generate java classes from wsdl via ant task. Everything is OK but proxy class is not generated

RE: WSDL2Java problem, Axis2 jaxbri

2007-03-22 Thread HF/EBC
corruption, interception, amendment, tampering or viruses or any consequences thereof. From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] Sent: den 22 mars 2007 11:41 To: axis-user@ws.apache.org Subject: Re: WSDL2Java problem, Axis2 jaxbri use jdk 1.5. jaxb

Re: WSDL2Java problem, Axis2 jaxbri

2007-03-22 Thread Amila Suriarachchi
use jdk 1.5. jaxb only works with jdk 1.5 On 3/22/07, Reneta Säll (HF/EBC) <[EMAIL PROTECTED]> wrote: Hi all, When I run the code generator in Axis2, get this error: C:\axis2\bin>WSDL2java -uri bank.wsdl -d jaxbri -g Using AXIS2_HOME: C:\axis2 Using JAVA_HOME:C:\j2sdk1.4.2_12 Excepti

Re: WSDL2Java - incompatible type build error

2007-03-19 Thread Amila Suriarachchi
when generating code we generate the java.lang package Class names with fully qualified names. i.e. String (if intended is default String) it should be java.lang.String What I can see is that there is a missing string in stub without java.lang. part On 3/20/07, Houman Babai-Amameh <[EMAIL PROTEC

RE: WSDL2Java - incompatible type build error

2007-03-19 Thread Houman Babai-Amameh
OK I think fixed it by including -u when I run wsdl2java. But now I'm getting 166 classes instead of the 4 I was getting before. Is there another way to solve this problem. Thanks Houman From: "Houman Babai-Amameh" <[EMAIL PROTECTED]> Reply-To: axis-user@ws.apache.org To: axis-user@ws.apache

Re: WSDL2Java - incompatible type build error

2007-03-19 Thread Martin Gainty
I dont see the 3 arg method.. the implementation I see for writeStartElement is final javax.xml.namespace.QName parentQName, javax.xml.stream.XMLStreamWriter xmlWriter; Namespace URI = http://w3.ibm.com/schemas/services/2002/11/15/stockquote xmlWriter.writeStartElement(URI, parentQName.getLocalPa

Re: wsdl2java generates unusable client code

2007-03-14 Thread Anne Thomas Manes
onse. I changed the operation name to "startProcess" but still getting the same error. Pls see updated wsdl. Could you please let me know what else I can try? Thanks! From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 13, 2007 5:52 PM To:

Re: wsdl2java does not generate code when http binding is used

2007-03-14 Thread Amila Suriarachchi
Are you using Axis2 1.1.1? try to use the a nightly build. Recently I added the http binding to axis2. On 3/14/07, Yadav, Yogendra (IT) <[EMAIL PROTECTED]> wrote: Hi, When I use http style binding in WSDL instead of soap binding, the wsdl2java tool could not generate code. Comments from gener

RE: wsdl2java generates unusable client code

2007-03-14 Thread Wang, Yong \(MAN-Corporate\)
TED] Sent: Tuesday, March 13, 2007 5:52 PM To: axis-user@ws.apache.org Subject: Re: wsdl2java generates unusable client code when operation name = "request" this confuses Axis as the AxisServlet specifically reserves *response* for response to client anything with request as Input to

Re: wsdl2java generates unusable client code

2007-03-13 Thread Martin Gainty
when operation name = "request" this confuses Axis as the AxisServlet specifically reserves *response* for response to client anything with request as Input to the service change your operation name to anything other than request or response M- --

Re: WSDL2JAVA creates missing parameter

2007-02-26 Thread Amila Suriarachchi
On 2/27/07, VinceK <[EMAIL PROTECTED]> wrote: I'm using AXIS2 and I've used WSDL2JAVA to generate code. However, a parameter is missing. What is the missing parameter? What can I do to fix this problem? I could not get your question? Can you please explain a bit? -- Amila Suriarac

Re: WSDL2JAVA creates missing parameter

2007-02-26 Thread Jiang Liu
Hi VinceK Here the codes: for input parameters; for output parameter, then, i think its all here. cheers -Original Message- From: VinceK <[EMAIL PROTECTED]> To: axis-user@ws.apache.org Date: Mon, 26 Feb 2007 20:38:59 -0800

Re: WSDL2Java issue

2007-02-21 Thread gatherer
Am Mittwoch, 21. Februar 2007 11:04 schrieb Pal, Ravi: > I am facing an issue with Axis2 wsdl2java code generation. Some of the > complex types are not generated in Java Stub class. I am attaching the Java > Class (stub) and WSDL file for your reference. Thanks for this 10,9 Mb mail. Maybe you shou

RE: WSDL2Java issue

2007-02-21 Thread Pal, Ravi
I used -g -ss to generate the classes too, but still DataSource class doesn't have right properties in it. This class should have had "DataSourceReference" and "InvalidDataSourceReference" as a property. > -Original Message- > From: Pal, Ravi > Sent: Wednesday, February 21, 2

Re: wsdl2java issues

2007-02-15 Thread Amila Suriarachchi
2) Adb databinding fails to generate classes and fields for enums derived from string. For a schema complex type attribute like this: no field appears in the respcetive Java class generated from the complex type having this attribute - and no class is generated from the enum type.

Re: WSDL2Java error generating WSDL 2.0 / 2.1

2007-02-15 Thread Anne Thomas Manes
onse. -yogen -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 14, 2007 9:27 PM To: axis-user@ws.apache.org Subject: Re: WSDL2Java error generating WSDL 2.0 / 2.1 Do you have a URI in your WSDL called "XSDService.wsdl"? Perhaps you&#

RE: WSDL2Java error generating WSDL 2.0 / 2.1

2007-02-15 Thread Yadav, Yogendra \(IT\)
ervice"; Does "urn" has to be one of the concrete protocols ? Can't it be "urn" ? Appreciate the response. -yogen -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 14, 2007 9:27 PM To: axis-user@ws.apache.org Su

Re: WSDL2Java error generating WSDL 2.0 / 2.1

2007-02-14 Thread Anne Thomas Manes
Do you have a URI in your WSDL called "XSDService.wsdl"? Perhaps you're using it for a namespace URI? As the error indicates, this is a malformed URI. A URI must begin with a protocol scheme, such as urn:, http: mailto:, ftp:, etc. Anne On 2/14/07, Yadav, Yogendra (IT) <[EMAIL PROTECTED]> wrote:

Re: wsdl2java issues

2007-02-14 Thread Anne Thomas Manes
Jacek, The must be a child of a element. It cannot be a direct child of the element; therefore, your main WSDL should look something like this: Note that when using the included schema must have the same targetNamespace as the including schema, or it must have no targetNamespace.

Re: wsdl2java issues

2007-02-14 Thread Michael Lambert
i cant comment to alot of what you say here but ADB is documented as only supporting a subset of XML Schema. If you need full schema support you need to move to XMLBeans. You may want to run your services over WS-Interoperability tests as well; I dont think using enumeration is recommended (thou

Re: WSDL2Java for binary transfer

2007-02-13 Thread Amila Suriarachchi
ADB should support this schema. so I think the reason that Anne pointing out should be the case. In addition to that can we use *use* attribute for elements? it is for attributes. you have to use minOccures and maxOccures attributes for elements. but those attributes are also can not be use d for

Re: WSDL2Java for binary transfer

2007-02-13 Thread Amila Suriarachchi
ADB should support this schema. so I think the reason that Anne pointing out should be the case. In addition to that can we use *use* attribute for elements? it is for attributes. you have to use minOccures and maxOccures attributes for elements. but those attributes are also can not be use d for

Re: WSDL2Java for binary transfer

2007-02-13 Thread Anne Thomas Manes
I don't see a definition for your default namespace. Is it set to the xsd namespace? If not, then this: should be this: Likewise for the "Result" element. Anne On 2/13/07, Christina Obry <[EMAIL PROTECTED]> wrote: Hello, I am trying to transfer binary data. I wrote

RE: WSDL2Java for binary transfer

2007-02-13 Thread Christina Obry
Hello, I am trying to transfer binary data. I wrote a wsdl file with the following part: http://businessobjects.com/services/sample/byte1";>

Re: WSDL2Java choice handling

2007-02-08 Thread Amila Suriarachchi
Adb currently does not support this type of schemas,

<    1   2   3   4   5   6   7   >