Re: WSDL2Java throws IOException

2010-02-10 Thread Venkatesh Audinarayanan
trying to parse my service wsdl with Axis 1.2 wsdl2java: Feb 10, 2010 11:28:59 AM org.apache.axis.utils.JavaUtils isAttachmentSupported WARNING: Unable to find required classes (javax.activation.DataHandler and javax .mail.internet.MimeMultipart). Attachment support is disabled

WSDL2Java throws IOException

2010-02-09 Thread Venkatesh Audinarayanan
Hi All, Am getting the following error while trying to parse my service wsdl with Axis 1.2 wsdl2java: Feb 10, 2010 11:28:59 AM org.apache.axis.utils.JavaUtils isAttachmentSupported WARNING: Unable to find required classes (javax.activation.DataHandler and javax .mail.internet.MimeMultipart

wsdl2java -R option

2010-01-27 Thread rahul yadav
Has anybody used -R option in wsdl2java codegeneration with xmlbeans binding, I am using Axis1.5.1 ? here is my command line... wsdl2java -uri d:\test.wsdl -d xmlbeans -o d:\src -p com.axis.test -R d:\resourceTest It throws following exception... org.apache.axis2

RE: wsdl2java -R option

2010-01-27 Thread Doughty, Michael
...@xmlbeans.apache.org; axis-user@ws.apache.org Subject: wsdl2java -R option Has anybody used -R option in wsdl2java codegeneration with xmlbeans binding, I am using Axis1.5.1 ? here is my command line... wsdl2java -uri d:\test.wsdl -d xmlbeans -o d:\src -p com.axis.test -R d:\resourceTest It throws

How to set call properties using code generated from wsdl2java?

2010-01-24 Thread Marc Esher
Hi all, I'm using Apache Axis 1.4 (yes, the old one), with wsdl2java to generate the client code for a webservice. I'd like to set additional properties on the Call object before calling methods on the generated stub. For example, I'd like to set username, password, perhaps add or modify

wsdl2java generated code failed to parse a response because of a namespaceURI mismatch

2010-01-06 Thread Gabi Julien
://server-test000.broadsign.com:10803; / /port /service /definitions I generated the wsdl using this command: wsdl2java -o gabi_stubs -s -d xmlbeans -uri criteria_mgr_list_many_v4.wsdl. Here is my code snippet in main.java: private static void listCriteria() { try

Re: WSDL2Java: How to generating a single serivce.xml for multiple wsdl files?

2009-12-31 Thread Amila Suriarachchi
On Wed, Dec 30, 2009 at 11:07 AM, fazlan faz...@wso2.com wrote: Hi All, I'am trying to generate a *.aar from multiple wsdl's using the wsdl2java ant task. But I;am having a problem when generating services.xml files. My requirement is to generate a single services.xml for all

Re: WSDL2Java: How to generating a single serivce.xml for multiple wsdl files?

2009-12-31 Thread fazlan
Thanks for the update Amila! Amila Suriarachchi wrote: On Wed, Dec 30, 2009 at 11:07 AM, fazlan faz...@wso2.com wrote: Hi All, I'am trying to generate a *.aar from multiple wsdl's using the wsdl2java ant task. But I;am having a problem when generating services.xml files. My

WSDL2Java: How to generating a single serivce.xml for multiple wsdl files?

2009-12-29 Thread fazlan
Hi All, I'am trying to generate a *.aar from multiple wsdl's using the wsdl2java ant task. But I;am having a problem when generating services.xml files. My requirement is to generate a single services.xml for all the *.wsdl's, rather than services.xml files for each *.wsdl file

WSDL2Java

2009-12-23 Thread Demetris
Hi all, I intercept and transport the outgoing HTTP GET request to a remote axis container/engine over a p2p overlay. I reissue the GET command using HTTP libraries on the remote side and the URL I sent always has the http://127.0.0.1:8080 in it .. however the WSDL I get back does not

Re: WSDL2Java

2009-12-23 Thread Demetris
Yep - I guess I answered my own question of how to manage the namespace. Since I am not really interested on using the namespace on the client side other than building local directories to store the stubs, I can simple use the --package option to generate what I need. If there is any other

Re: axis2 1.5.1 wsdl2java --all-ports

2009-12-10 Thread Amila Suriarachchi
, or is it better to generate one service for each port. please try using one portType per service. thanks, Amila. here is my ant-task target name=wsdl2java depends=clean,prepare delete dir=${output} / java classname=org.apache.axis2.wsdl.WSDL2Java fork=true classpath

Re: axis2 1.5.1 wsdl2java --all-ports

2009-12-09 Thread Alex
target name=wsdl2java depends=clean,prepare delete dir=${output} / java classname=org.apache.axis2.wsdl.WSDL2Java fork=true classpath refid=axis.classpath / arg value=-d / arg value=none / arg value=-uri / arg file=${PATH2WSDL

axis2 1.5.1 wsdl2java --all-ports

2009-12-07 Thread Alex
hi all, i have a wsdl with 3 ports defined, when I build the service skleton with wsdl2java i only get one port. here is my ant-task target name=wsdl2java depends=clean,prepare delete dir=${output} / java classname=org.apache.axis2.wsdl.WSDL2Java fork=true

Re: Problems running wsdl2java, with MathML schema

2009-11-26 Thread Håkon Sagehaug
104, col 41, in http://www.w3.org/Math/XMLSchema/mathml2/content/statistics.xsd) cheers, Håkon 2009/11/25 Håkon Sagehaug hakon.sageh...@uni.no Hi all, I've developing a service that uses the MathML schema for something, but when I try to run wsdl2java(axis2 1.5) like this wsdl2java.sh -uri

Re: Problems running wsdl2java, with MathML schema

2009-11-26 Thread Håkon Sagehaug
, but when I try to run wsdl2java(axis2 1.5) like this wsdl2java.sh -uri SbmlService.wsdl -d adb using I always get this error Caused by: org.apache.axis2.schema.SchemaCompilationException: Can not find the group with the qname{ http://www.w3.org/1998/Math/MathML}Presentation-token.classhttp://www.w3

Problems running wsdl2java, with MathML schema

2009-11-25 Thread Håkon Sagehaug
Hi all, I've developing a service that uses the MathML schema for something, but when I try to run wsdl2java(axis2 1.5) like this wsdl2java.sh -uri SbmlService.wsdl -d adb using I always get this error Caused by: org.apache.axis2.schema.SchemaCompilationException: Can not find the group

Problem upgrading from Axis2/Java 1.4.1 to 1.5.1 (wsdl2java)

2009-11-04 Thread SGE0
Hi, we upgrade from Axis2 1.4.1 to 1.5.1. We have successfully upgraded the server side, now we try to upgrade the client. We use wsdl2java to generate the java code. The code to generate the java is as follows: ..org.apache.axis2.wsdl.WSDL2Java -t -p test.services.client.upload -uri

wsdl2java and Two Similar Elements

2009-10-29 Thread Matthew McKenna
/ xs:enumeration value=TG/ /xs:restriction /xs:simpleType /xs:attribute /xs:extension /xs:simpleContent /xs:complexType /xs:element In order to generate the appropriate Java code, I am using the following in my build.xml file: taskdef name=wsdl2java classname

Re: wsdl2java and Two Similar Elements

2009-10-29 Thread Amila Suriarachchi
the following in my build.xml file: taskdef name=wsdl2java classname=org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask classpath refid=cp/ /taskdef target name=generateJavaFromWSDL depends=prepare echo message=Running Axis WSDL2Java tool/ wsdl2java url=${wsdlpath

Re: wsdl2java and Two Similar Elements

2009-10-29 Thread Matthew McKenna
When I use Axis2, I get a whole host of other problems. With Axis 1.4 (what I am currently using) I get the behavior described in my original post. Thanks Matthew McKenna mtmckenna...@mac.com On Thursday, October 29, 2009, at 03:09AM, Amila Suriarachchi amilasuriarach...@gmail.com wrote:

A question about the stub binding class from the WSDL2Java generated code

2009-10-27 Thread João Manuel Roseira Borges
a debugging incursion to the code, I found myself looking to the code of the binding stub class generated by the WSDL2Java tool - version 1.4 - specificaly the implemented method from the portType interface. In this file servicemaneSoapBindingStub.java, at lines 104 and 105, I find the following: 94

wsdl2java issue when parsing wsdl that uses empty namespaces

2009-10-15 Thread Sean O'Leary
Hi everyone, Using: Axis version 1.4 (4/22/2006) I'm using wsdl2java to compile a wsdl for a service that one of my customers has provided. Everything is fine except for they have one type that they have declared in a separate schema in the wsdl with no targetNamespace and then they refer

RE: wsdl2java issue when parsing wsdl that uses empty namespaces

2009-10-15 Thread Alick Buckley
11M -Original Message- From: Sean O'Leary [mailto:razorho...@gmail.com] Sent: Friday, 16 October 2009 5:00 AM To: axis-user@ws.apache.org Subject: wsdl2java issue when parsing wsdl that uses empty

Re: Axis2 wsdl2java jibx: No mapping defined for element

2009-09-29 Thread don t
://www.nabble.com/Axis2-wsdl2java-jibx%3A-No-mapping-defined-for-element-tp25603967p25668398.html Sent from the Axis - User mailing list archive at Nabble.com.

Axis2 wsdl2java jibx: No mapping defined for element

2009-09-24 Thread Anshuk Pal Chaudhuri
Hello, Mentioned an incorrect subject line in my earlier mail. My applogies. I am trying to integrate axis2 1.5 with jibx 1.2.1. I am not sure that is a problem with axis2 or jibx. I have the wsdl file and the schema with me. I have used the jibx org.jibx.schema.codegen.CodeGen to generate the

Re: HTTP Authentication with Axis 1.4 (using wsdl2java ADB)

2009-09-11 Thread Nicolas Raoul
Thank you Prabath! But this sample is not what a wsdl2java user would do, right? This sample is doing AXIOM stuff manually, which I should not do since wsdl2java generated me some convenient object-oriented classes to use. And the classes wsdl2java generated do not seem to have any method that I

Re: HTTP Authentication with Axis 1.4 (using wsdl2java ADB)

2009-09-11 Thread Amila Suriarachchi
On Fri, Sep 11, 2009 at 1:19 PM, Nicolas Raoul nicolas.raoul.li...@gmail.com wrote: Thank you Prabath! But this sample is not what a wsdl2java user would do, right? This sample is doing AXIOM stuff manually, which I should not do since wsdl2java generated me some convenient object-oriented

WSDL2Java tool generating invalid package name

2009-09-06 Thread Venkatesh Audinarayanan
Hi, Am using Axis 1.4 version. Have attached the WSDL file. I use the following command to generate proxy and stub classes java org.apache.axis.wsdl.WSDL2Java -o C:\ddrive\10.3\soap_test\axis14_latest\axis-1_4\sigan c:\Sigan.wsdl If you look at the attached WSDL (Rename file extension to zip

Re: WSDL2Java tool generating invalid package name

2009-09-06 Thread Venkatesh Audinarayanan
Hi, Am using Axis 1.4 version. Have attached the WSDL file. I use the following command to generate proxy and stub classes java org.apache.axis.wsdl.WSDL2Java -o C:\ddrive\10.3\soap_test\axis14_latest\axis-1_4\sigan c:\Sigan.wsdl If you look at the attached WSDL (Rename file extension to

[axis2] posisble to set namespace prefixes in wsdl2java?

2009-08-28 Thread Hegerich, Robert L, JR (Bob)
Is there a way to invoke wsdl2java so that instead of the default namespace prefixes (ns1, ns2, etc.) you can specify the namespace prefix for a namespace? We're replacing a gSOAP server with Apache Axis (2.1.3) and the client insists that the namespace prefixes be kept the same for some

Re: [axis2] posisble to set namespace prefixes in wsdl2java?

2009-08-28 Thread Charles Koppelman
Odd but understandable request (it's much easier to read a file if the ns's are human-readable). If you're using wsdl2java, you probably already have a wsdl, so you can use that! You can simply go into your META-INF/services.xml and set useOriginalwsdl to true (note the odd capitlization). Make

wsdl2java ant task timeout problem

2009-08-14 Thread Erdinç Taşkın
Hello, I have a problem about ant-wdsl2java task parameter timeout. I have set timeout while wsdl2java convert. My client connect to server, send to data but server doesn't send data (to be occur timeout) but, there is nothing to happen. Client wait forever. When I set timeout parameter from java

WSDL2Java header creation issues

2009-08-12 Thread samanth marisetty
Hi, I am using WSDL2Java to create java stubs and want to write a client. I wanted to know if there is any argument that I need to use, to generate the headers. Thanks, Samanth.

Re: WSDL2Java header creation issues

2009-08-12 Thread sksalver
You can use axis client stub class methos set header to do this. Thanks, Swapna samanth marisetty wrote: Hi, I am using WSDL2Java to create java stubs and want to write a client. I wanted to know if there is any argument that I need to use, to generate the headers. Thanks

Re: WSDL2Java header creation issues

2009-08-12 Thread samanth marisetty
header to do this. Thanks, Swapna samanth marisetty wrote: Hi, I am using WSDL2Java to create java stubs and want to write a client. I wanted to know if there is any argument that I need to use, to generate the headers. Thanks, Samanth. -- View this message

Re: WSDL2Java header creation issues

2009-08-12 Thread sksalver
: Hi, I am using WSDL2Java to create java stubs and want to write a client. I wanted to know if there is any argument that I need to use, to generate the headers. Thanks, Samanth. -- View this message in context: http://www.nabble.com/WSDL2Java-header-creation-issues

Re: WSDL2Java header creation issues

2009-08-12 Thread samanth marisetty
client stub class methos set header to do this. Thanks, Swapna samanth marisetty wrote: Hi, I am using WSDL2Java to create java stubs and want to write a client. I wanted to know if there is any argument that I need to use, to generate the headers

Calling WSDL2Java from Java class inside eclipse plugin

2009-08-11 Thread Philipp Zech
Hi, I'm currently working on an eclipse plugin allowing me to right-click a WSDL file in a project and following, to generate the WS stubs by selecting a menu item which triggers the code generation (actually, the same as wsdl2java on the command line). I'm facing no errors are any similar stuff

wsdl2java generates generic OMElement MessageReceiverInOut

2009-08-09 Thread Charles S. Koppelman
When I run wsdl2java, I get a MessageReceiverInOut generated with one toEnvelope() method and one toOM(). This toOM method returns a OMElement and the receiver method that calls it uses OMElement.class as the cast this to parameter for all messages. This will only allow me to parse the first

wsdl2java - targetNamespace becomes default package (no package) in eclipse

2009-08-06 Thread Martin Fernau
Hi, I currently try to generate server code for a wsdl-File I got from another person. In this wsdl-File it seems that all the defined elements without explicit NS-Prefixes (those which maps to the target namespace then?) are getting no package definition in java after code generation. Is

WSDL2Java: Different class mappings of nested complex types with identical names with JDKs of different vendors.

2009-07-31 Thread Norman Kubicek
/ /xsd:sequence /xsd:complexType /xsd:element /xsd:sequence /xsd:complexType ... As result the WSDL2Java tool generates inner or separate classes (depends on -u command line option) for the entry type definitions with the following names

Re: WSDL2Java: Different class mappings of nested complex types with identical names with JDKs of different vendors.

2009-07-31 Thread Andreas Veithen
… As result the WSDL2Java tool generates inner or separate classes (depends on –u command line option) for the “entry” type definitions with the following names: Entry_type0.java Entry_type1.java The problem is the order the Entry_type*.java classes are created, i.e. Entry_type0.java belongs

WSDL2Java StringIndexOutOfBoundException

2009-07-15 Thread Tina Vießmann
Hi everyone, I try to generate a service out of my wsdl file. Unfortunately, I get a exception I can't interpret. Does anyone have an idea what could be the cause? Greetings, Tina Exception in thread main org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL at

Re: WSDL2Java StringIndexOutOfBoundException

2009-07-15 Thread Tina Vießmann
Ok, I've found the cause of the problem. It seems to be a problem with Axis2 1.5 itself. I've tried to build a service out of different wsdl files and got the same error every time - also with a file originally generated by Axis2 once. I've switched to version 1.4.1 and everything is fine now.

RE: Axis2 1.5 WSDL2Java errors

2009-07-07 Thread LeftoverLinguine
I'm getting all of these errors running WSDL2Java from the 1.5 bin. -- View this message in context: http://www.nabble.com/Axis2-1.5-WSDL2Java-errors-tp24295840p24373563.html Sent from the Axis - User mailing list archive at Nabble.com.

RE: Axis2 1.5 WSDL2Java errors

2009-07-07 Thread LeftoverLinguine
=tns:NewOperationResponse / /wsdl:operation /wsdl:portType It does give me the error again though when I put in the wsdl:port tag under wsdl:service. Does anyone see anything wrong with this? -- View this message in context: http://www.nabble.com/Axis2-1.5-WSDL2Java-errors-tp24295840p24380646

RE: Axis2 1.5 WSDL2Java errors

2009-07-06 Thread LeftoverLinguine
. You may want to try a locally installed WSDL validation tool. -- View this message in context: http://www.nabble.com/Axis2-1.5-WSDL2Java-errors-tp24295840p24356817.html Sent from the Axis - User mailing list archive at Nabble.com.

RE: Axis2 1.5 WSDL2Java errors

2009-07-06 Thread Caristi, Joe
[mailto:leftoverlingu...@gmail.com] Sent: Monday, July 06, 2009 11:08 AM To: axis-user@ws.apache.org Subject: RE: Axis2 1.5 WSDL2Java errors When I use a local validation tool I get an error on the second line saying cvc-elt.1: 9Cannot find the declaration of element 'definitions'. The definition element

RE: Axis2 1.5 WSDL2Java errors

2009-07-06 Thread LeftoverLinguine
using wsdl:definitions or (easier) switch your declaration to this: xmlns=http://schemas.xmlsoap.org/wsdl/; -- View this message in context: http://www.nabble.com/Axis2-1.5-WSDL2Java-errors-tp24295840p24357862.html Sent from the Axis - User mailing list archive at Nabble.com.

RE: Axis2 1.5 WSDL2Java errors

2009-07-06 Thread Caristi, Joe
Could you post your entire WSDL document and the command that you are using to run WSDL2Java? -Original Message- From: LeftoverLinguine [mailto:leftoverlingu...@gmail.com] Sent: Monday, July 06, 2009 11:44 AM To: axis-user@ws.apache.org Subject: RE: Axis2 1.5 WSDL2Java errors I'm still

RE: Axis2 1.5 WSDL2Java errors

2009-07-06 Thread LeftoverLinguine
C:\wsdl2java -uri ss.wsdl ?xml version=1.0 encoding=utf-8 ? wsdl:definitions name=StorageService targetNamespace=http://schemas.mimeo.com/EnterpriseServices/2008/09/StorageService; xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; xmlns:wsx=http://schemas.xmlsoap.org/ws/2004/09/mex; xmlns:wsa10=http

RE: Axis2 1.5 WSDL2Java errors

2009-07-06 Thread Caristi, Joe
there, adding one feature at a time. -Original Message- From: LeftoverLinguine [mailto:leftoverlingu...@gmail.com] Sent: Monday, July 06, 2009 12:10 PM To: axis-user@ws.apache.org Subject: RE: Axis2 1.5 WSDL2Java errors C:\wsdl2java -uri ss.wsdl ?xml version=1.0 encoding=utf-8

RE: Axis2 1.5 WSDL2Java errors

2009-07-06 Thread LeftoverLinguine
(sample attached) and see if you can generate code. If it works, you could start from there, adding one feature at a time. -- View this message in context: http://www.nabble.com/Axis2-1.5-WSDL2Java-errors-tp24295840p24360939.html Sent from the Axis - User mailing list archive at Nabble.com.

RE: Axis2 1.5 WSDL2Java errors

2009-07-06 Thread Martin Gainty
that is a AXIS-1_4 artifact you need to run WSDL2JAVA from %Axis2_1.5%/bin and not %AXIS-1_4/bin% Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene

RE: Axis2 1.5 WSDL2Java errors

2009-07-02 Thread Caristi, Joe
Subject: RE: Axis2 1.5 WSDL2Java errors I used http://xmethods.net/ve2/Tools.po to validate it. I gave it a URL and the URL is available when I try it in a web browser. jcaristi wrote: What validation tool are you using? It seems like it can't retrieve your WSDL. Did you provide a URL

RE: Axis2 1.5 WSDL2Java errors

2009-07-02 Thread LeftoverLinguine
WSDL, it works. -- View this message in context: http://www.nabble.com/Axis2-1.5-WSDL2Java-errors-tp24295840p24312273.html Sent from the Axis - User mailing list archive at Nabble.com.

RE: Axis2 1.5 WSDL2Java errors

2009-07-02 Thread Caristi, Joe
: LeftoverLinguine [mailto:leftoverlingu...@gmail.com] Sent: Thursday, July 02, 2009 3:00 PM To: axis-user@ws.apache.org Subject: RE: Axis2 1.5 WSDL2Java errors http://services.dev.mimeo.com/EnterpriseServices/2008/09/StorageService.svc?wsdl This is the WSDL file . When I put it in my browser it shows up fine

Axis2 1.5 WSDL2Java errors

2009-07-01 Thread LeftoverLinguine
I'm getting the following errors when I run WSDL2Java: [ERROR] Cannot Determine the MEP org.apache.axis2.AxisFault: Cannot Determine the MEP at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.getMEP(WSDL11 ToAxisServiceBuilder.java:2745) at org.apache.axis2

RE: Axis2 1.5 WSDL2Java errors

2009-07-01 Thread Caristi, Joe
This is likely to be an error in your WSDL. Try running it through a validation tool or loading it into SoapUI. -Original Message- From: LeftoverLinguine [mailto:leftoverlingu...@gmail.com] Sent: Wednesday, July 01, 2009 3:31 PM To: axis-user@ws.apache.org Subject: Axis2 1.5 WSDL2Java

RE: Axis2 1.5 WSDL2Java errors

2009-07-01 Thread LeftoverLinguine
When I attempt to validate it I get WSDLException: faultCode=WSDL Retrieval error: Could not obtain data from connection. I think this may be because I need to specify a username/password but is it possible for me to do that through WSDL2Java? jcaristi wrote: This is likely to be an error

RE: Axis2 1.5 WSDL2Java errors

2009-07-01 Thread Caristi, Joe
To: axis-user@ws.apache.org Subject: RE: Axis2 1.5 WSDL2Java errors When I attempt to validate it I get WSDLException: faultCode=WSDL Retrieval error: Could not obtain data from connection. I think this may be because I need to specify a username/password, but is it possible for me to do

RE: Axis2 1.5 WSDL2Java errors

2009-07-01 Thread LeftoverLinguine
can check with a browser) -- View this message in context: http://www.nabble.com/Axis2-1.5-WSDL2Java-errors-tp24295840p24297044.html Sent from the Axis - User mailing list archive at Nabble.com.

wsdl2java -d jaxbri -uw does not unwrap and returns void

2009-06-27 Thread John Eapen
Basically, with jaxbri as data binding option AND -uw ( for unwrap ), the wsdl2java process generates the return type as void. Upon searching around I found that there is a JIRA *AXIS2*-3681 already open. Is there is workaround ? or a timeline when this JIRA could be resolved ? Any response

Re: problem with wsdl2java in 1.5

2009-06-25 Thread Andreas Veithen
It looks like your Java runtime environment (GCJ/GNU classpath?) is incomplete. I would recommend to install Sun's JRE for Linux. Andreas On Thu, Jun 25, 2009 at 02:12, Vadim Letitchevskivletitchev...@teledyne.com wrote: wsdl2java in axis2-1.5 did not work for me reporting exceptions like

problem with wsdl2java in 1.5

2009-06-24 Thread Vadim Letitchevski
wsdl2java in axis2-1.5 did not work for me reporting exceptions like these: Exception in thread main java.lang.NoClassDefFoundError: org.apache.axis2.description.AxisDescription at java.lang.Class.initializeClass(libgcj.so.7rh) at java.lang.Class.initializeClass(libgcj.so.7rh

Re: WSDL2Java generates uncompilable code

2009-06-12 Thread sri ram
Hello  Again , Do i need to put in some more details Please let me know. This is a major issue. --- On Wed, 10/6/09, sri ram pinnamaraju_sri...@yahoo.co.in wrote: From: sri ram pinnamaraju_sri...@yahoo.co.in Subject: WSDL2Java generates uncompilable code To: axis-user@ws.apache.org Date

Re: WSDL2Java generates uncompilable code

2009-06-11 Thread sri ram
resending . This issue should have been addressed before, can anyone guide me its important. --- On Wed, 10/6/09, sri ram pinnamaraju_sri...@yahoo.co.in wrote: From: sri ram pinnamaraju_sri...@yahoo.co.in Subject: WSDL2Java generates uncompilable code To: axis-user@ws.apache.org Date: Wednesday

WSDL2Java generates uncompilable code

2009-06-10 Thread sri ram
Hi axis 1.4 Users, I have an issue while using axis 1.4 engine . While I run wsdl2java WSDL2Java generates uncompilable code Issue is : (java.lang.String) super(_value); ^ 1 error  Because the code invokes a superconstructor but doesn't extend any other class. I'm assuming

How to add JSESSIONID to the following requests' header in java rpc client using Axis2 1.4 stub classes generated by WSDL2JAVA

2009-06-03 Thread Mingqing Zheng
hi, I'm using Axis2 1.4 to call a WS. I generated the stub classes using the WSDL2Java tool. The java rpc client using stub classes to send requests to WS. After the client sends the first request to WS, it can get JSESSIONID in the first response's header (Set-Cookie). I want to add

Axis2/wsdl2java - different source code generated when using different JRE versions!

2009-05-30 Thread Niels Boem
does not honor the order of the WSDL tags defined in the WSDL file. But since we own the server interface, the clients have simply made sure that the tags are sent in the order that the Axis2 server expects them. Now to my last finding: I accidently noticed that wsdl2java generates source

jaxb issues with Axis2 - while using the wsdl2java tool

2009-05-29 Thread Axis PC
All, We were previously using adb with Axis2 and all was working fine. Recently we have been prototyping jaxb with Axis2. We have a complex wsdl which imports several schemas and in turn the schema has additional schema imports. In this scenario...errors are thrown. When we researched into

Re: jaxb issues with Axis2 - while using the wsdl2java tool

2009-05-29 Thread Sebastian Just - RÖPERWEISE Systems
Hi! Caused by: java.lang.NoClassDefFoundError: javax/activation/DataHandler I guess you're missing the activation framework in your classpath. Best regards, Sebastian

Re: jaxb issues with Axis2 - while using the wsdl2java tool

2009-05-29 Thread Axis PC
Sebastin I thought so too...in the very beginning. But it is there in AXIS_HOME directory (activation-1.1.jar). Also...if that was the case wouldnt it be failing for all cases. Why is it specifically for the chain-import scenario I described. Thanks Preetham 2009/5/29 Sebastian Just - RÖPERWEISE

Interop problem / wsdl2java - ignoring the order of the elements in WSDL

2009-05-26 Thread Lars Ohlén
Hi, I have created Axis2 server side skeletons and client stubs using wsdl2java. Works fine. But it seems like the codegenerator ignores the order in the elements was listed in the WSDL Much like described in https://teras.tietoenator.com/exchweb/bin/,DanaInfo=.aenclpEzpm2ypzn737Qu76

wsdl2java

2009-05-21 Thread TomazM
I have error when using jbix %AXIS2_HOME%\bin\wsdl2java -uri jibx\META-INF\IPIS_JIBX.wsdl -Ebindingfile jibx\META-INF\binding.xml -p service.jibx -d jibx -s -ss -sd -ssi -uw -o build_jibx Exception in thread main org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL

RE: wsdl2java

2009-05-21 Thread Caristi, Joe
: wsdl2java I have error when using jbix %AXIS2_HOME%\bin\wsdl2java -uri jibx\META-INF\IPIS_JIBX.wsdl -Ebindingfile jibx\META-INF\binding.xml -p service.jibx -d jibx -s -ss -sd -ssi -uw -o build_jibx Exception in thread main org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL

using Axis2 wsdl2java to generate Axis1 client stubs

2009-05-11 Thread edward . thompson
I am using the Axis2 wsdl2java utility to generate client side java code for Axis1. The reason is that the Axis1 wsdl2java utility can't seme to handle tree wsdl generated by out .NET applications. The wdl2java utility for Axis2 indicates a backward compatability option, (-b). However

RE: using Axis2 wsdl2java to generate Axis1 client stubs

2009-05-11 Thread Martin Gainty
manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. To: axis-user@ws.apache.org Subject: using Axis2 wsdl2java to generate Axis1 client stubs From: edward.thomp...@wachovia.com Date: Mon, 11 May 2009 09:18:08 -0400 I am using the Axis2 wsdl2java utility

WSDL2Java and manual soap calls not working

2009-05-08 Thread Trenton D. Adams
Hi Guys, I'm a newbie, and I'm using axis-1.4. I have a web service that I am connecting to, which I did not write, which was written using axis-1.4. I am having problems using the WSDL2Java generated files, as well as using the soap call api. Neither appear to work as expected. I'm almost

Problem with wsdl2java

2009-05-07 Thread Andrea Turli
Hi all, I'm trying to consume a secure Axis Web service from a Globus Toolkit 4 service. I generated stubs with standard Axis' wsdl2java from a wsdl (glite-security-voms-admin-2.0.2.wsdl)where all wsdl:operation are described this way: wsdl:operation name=getVOName

Re: problem with AXis2 Wsdl2java ADB Code generator

2009-04-24 Thread krishna.arani
style webservice, I have a wsdl:message element with multiple parts in it. One of the part can be nullable. The problem is the generated ADB from wsdl2java throws an exception if the part is null while serialising to xml. wsdl:message name=TryGetByKeyTenantResponse wsdl:part name

Problem Axis2 Wsdl2java generated message

2009-04-22 Thread krishna.arani
Hi, In my rpc/literal style webservice, I have a wsdl:message element with multiple parts in it. One of the part can be nullable. The problem is the generated ADB from wsdl2java throws an exception if the part is null while serialising to xml. wsdl:message name=TryGetByKeyTenantResponse

Re: WSDL2JAVA created uncompilable Stub

2009-04-07 Thread Jacques46
be a comment for each of them telling you that you need to implement them (along with a thrown exception). In other words, for each of your methods, remove everything between the opening and closing braces, and start coding. The WSDL2Java process should have also created a build.xml file. Once your Skeleton

Re: WSDL2JAVA created uncompilable Stub

2009-04-06 Thread pricilla p
wasted time that I experienced... My environment is Eclipse 3.2.2, with the Codegen Wizard plugin. I have used the wizard in both directions (wsdl2java and java2wsdl) in versions 1.3 and 1.4.1 of Axis2. About the wizard : when you go to the Axis website, you can download the Codegen Wizard

Re: WSDL2JAVA created uncompilable Stub

2009-04-06 Thread Amila Suriarachchi
environment is Eclipse 3.2.2, with the Codegen Wizard plugin. I have used the wizard in both directions (wsdl2java and java2wsdl) in versions 1.3 and 1.4.1 of Axis2. About the wizard : when you go to the Axis website, you can download the Codegen Wizard plugin for any version of Axis. What's misleading

wsdl2java and javadoc (AXIS2-3371)

2009-04-03 Thread Martin Fernau
Are there any news about this improvement? https://issues.apache.org/jira/browse/AXIS2-3371 Would be really handy to have javadoc generated if using contract first...

Re: WSDL2JAVA created uncompilable Stub

2009-04-03 Thread Jacques46
, with the Codegen Wizard plugin. I have used the wizard in both directions (wsdl2java and java2wsdl) in versions 1.3 and 1.4.1 of Axis2. About the wizard : when you go to the Axis website, you can download the Codegen Wizard plugin for any version of Axis. What's misleading is that when you unzip each version

wsdl2java

2009-04-02 Thread edward . thompson
OK, looking for something definitive here. I am running Axis 1.4 (Implementation-Version: 1.4 1855 April 22 2006) Trying to convert some wsdl generated from Microsoft WCF to java stubs using wsdl2java, and running into some problems. The WCF side of my team says java has trouble with tree wsdl

Re: wsdl2java issue in upgrading from axis 1.2 to 1.4

2009-03-31 Thread Rishi Renjith
Is there any workaround for this problem? What i was thinking was to use wsdl2java of axis1.2 and use axis 1.4 for actual SOAP requests. But when i tried it by replacing the jars, it seems not working :( On Mon, Mar 30, 2009 at 8:56 PM, Jean-christophe cazeaux jccazeau...@gmail.com wrote

Re: Help with wsdl2java

2009-03-31 Thread Andreas Veithen
Frank, MTOM is a _transparent_ way of optimizing messages. Why does the WSDL explicitly reference xop:Include? Andreas On Mon, Mar 30, 2009 at 18:18, Frank Vyncke frank.vyn...@esko.com wrote: I, Am starting to develop a 'client' for a gSOAP based server, using MTOM attachments. I have a

Re: Help with wsdl2java

2009-03-31 Thread Frank Vyncke
On 31/03/2009 09:48, Andreas Veithen andreas.veit...@gmail.com wrote: Frank, MTOM is a _transparent_ way of optimizing messages. Why does the WSDL explicitly reference xop:Include? That is a very good question... And not one I can answer immediatly. I am 'new' to MTOM, that is, I learned

wsdl2java issue in upgrading from axis 1.2 to 1.4

2009-03-30 Thread Rishi Renjith
Hello, In my project, we are planning to upgrade from axis 1.2 to axis 1.4. But when we tested, we noticed that wsdl2java is not generating some java classes which it used to generate in axis 1.2 For eg, with the wsdl structure as below, complexType name=ItemEntry sequence element name

Help with wsdl2java

2009-03-30 Thread Frank Vyncke
I, Am starting to develop a 'client' for a gSOAP based server, using MTOM attachments. I have a wsdl file, but when I try to compile the wsdl file, I get an exception with the following message: Caused by: org.apache.axis2.schema.SchemaCompilationException: can not find the element

Re: wsdl2java issue in upgrading from axis 1.2 to 1.4

2009-03-30 Thread Jean-christophe cazeaux
1.2 to axis 1.4.  But when we tested, we noticed that wsdl2java is not generating some java classes which it used to generate in axis 1.2 For eg, with the wsdl structure as below,  complexType name=ItemEntry    sequence     element name=one type=abcd:DOW minOccurs=1 maxOccurs=1/     element

Re: Help with wsdl2java

2009-03-30 Thread robert lazarski
On Mon, Mar 30, 2009 at 1:18 PM, Frank Vyncke frank.vyn...@esko.com wrote: I, Am starting to develop a 'client' for a gSOAP based server, using MTOM attachments. I have a wsdl file, but when I try to compile the wsdl file, I get an exception with the following message: Caused by:

Re: [Axis2 1.4] WS-Policy in WSDL 1.1 vs WSDL2.0 using wsdl2java utility

2009-03-25 Thread Pradeep Fernando
Hi leon, I'm bit bussy with my GSOC hopefully i would be able to fix this within this week itself. I have gathered required info to work on this issue looks good. Sagara gave me some valuable info on woden parser. thanks , pradeep fernando.

Re: [Axis2 1.4] WS-Policy in WSDL 1.1 vs WSDL2.0 using wsdl2java utility

2009-03-25 Thread Leon Searl
:46:21 AM GMT -06:00 US/Canada Central Subject: Re: [Axis2 1.4] WS-Policy in WSDL 1.1 vs WSDL2.0 using wsdl2java utility Hi leon, I'm bit bussy with my GSOC hopefully i would be able to fix this within this week itself. I have gathered required info to work on this issue looks good. Sagara

RE: [Axis2 1.4] WS-Policy in WSDL 1.1 vs WSDL2.0 using wsdl2java utility

2009-03-25 Thread Martin Gainty
-mails can easily be subject to manipulation, we can not accept any liability for the content provided. Date: Wed, 25 Mar 2009 16:01:18 -0500 From: se...@ittc.ku.edu To: axis-user@ws.apache.org CC: k...@ittc.ku.edu Subject: Re: [Axis2 1.4] WS-Policy in WSDL 1.1 vs WSDL2.0 using wsdl2java

Re: [Axis2 1.4] WS-Policy in WSDL 1.1 vs WSDL2.0 using wsdl2java utility

2009-03-24 Thread Leon Searl
Hi Pradeep, We've gotten to the point now where we are going to have to have the WSDL2.0 version of wsdl2java write policy information from the WSDL2.0 file into the services.xml file and the client stub. We've been doing it by hand on a trial basis so that we can do some testing and understand

  1   2   3   4   5   6   7   8   9   10   >