RE: Possible regression in cxf-codegen-plugin wsdl2java 4.0.0

2023-04-18 Thread Marko Kocic
-codegen-plugin wsdl2java 4.0.0 [You don't often get email from cohei...@apache.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] Hi Marko, Did you request to create an account in JIRA so that you can create the ticket? https://selfserve.apache.org/jira

Re: Possible regression in cxf-codegen-plugin wsdl2java 4.0.0

2023-04-18 Thread Colm O hEigeartaigh
RE: Possible regression in cxf-codegen-plugin wsdl2java 4.0.0 > > Hi, > > The attachment in previous mail is just a stripped down minimal example that > ilustrates the issue with the new cxf-codegen plugin 4.0.0. > > The real wsdl file is huge and changes relatively frequently,

RE: Possible regression in cxf-codegen-plugin wsdl2java 4.0.0

2023-04-18 Thread Marko Kocic
To: users@cxf.apache.org Subject: RE: Possible regression in cxf-codegen-plugin wsdl2java 4.0.0 Hi, The attachment in previous mail is just a stripped down minimal example that ilustrates the issue with the new cxf-codegen plugin 4.0.0. The real wsdl file is huge and changes relatively frequently

RE: Possible regression in cxf-codegen-plugin wsdl2java 4.0.0

2023-02-13 Thread Marko Kocic
o use cxf-codegen-plugin 4.0.0 which is broken in this regard. Cheers, Marko -Original Message- From: Lulseged Zerfu Sent: Samstag, 11. Februar 2023 11:22 To: users@cxf.apache.org Subject: RE: Possible regression in cxf-codegen-plugin wsdl2java 4.0.0 Hi You need to customize because these

RE: Possible regression in cxf-codegen-plugin wsdl2java 4.0.0

2023-02-11 Thread Lulseged Zerfu
Hi You need to customize because these 2 elements will get same class name: May be you can instead put like: BR Lulseged From: Marko Kocic Sent: Thursday, 9 February 2023 16:24 To: users@cxf.apache.org Subject: RE: Possible regression in cxf-codegen-plugin wsdl2java 4.0.0 Attached

RE: Possible regression in cxf-codegen-plugin wsdl2java 4.0.0

2023-02-09 Thread Marko Kocic
lly. Best regards, Marko From: Marko Kocic Sent: Mittwoch, 8. Februar 2023 16:02 To: 'users@cxf.apache.org' Subject: Possible regression in cxf-codegen-plugin wsdl2java 4.0.0 I already reported the same before subscribing to the mailing list, and now after, hope it won't result in duplicate

Re: 4.0.0: wsdl2java issue

2023-02-08 Thread Colm O hEigeartaigh
Hi, It's a bug that we'll fix in 4.0.1 - https://issues.apache.org/jira/browse/CXF-8818 Colm. On Fri, Feb 3, 2023 at 12:07 PM Ege, Bernhard wrote: > > Hi, > > > > I was just trying to upgrade from 3.5.5 to 4.0.0 and where 3.5.5 wsdl2java > worked, the 4.0

Possible regression in cxf-codegen-plugin wsdl2java 4.0.0

2023-02-08 Thread Marko Kocic
${basedir}/src/main/resources/bindings.xml wsdl2java This approach worked fine until we upgraded to the latest cxf-codegen-plugin version 4.0.0. Now I get the following warnings and an error when running the goal: [INFO] --- cx

wsdl2java produces code that cannot be compiled

2023-02-08 Thread Reto Weiss
Hi There wsdl2java produces code that cannot be compiled if the service or port name in the *.wsdl file has similar or equal names as the javax.jws annotations used on the generated code. Example of generated code for the attached service.wsdl file: package ws.ws.client; import

4.0.0: wsdl2java issue

2023-02-03 Thread Ege, Bernhard
Hi, I was just trying to upgrade from 3.5.5 to 4.0.0 and where 3.5.5 wsdl2java worked, the 4.0.0 reports this error: Exception in thread "main" java.lang.NoClassDefFoundError: jakarta/xml/ws/Service at org.apache.cxf.tools.wsdlto.frontend.jaxws.JAXWSContainer

Re: wsdl2java generated code doesn't handle boolean correctly?

2023-01-23 Thread Ege, Bernhard
Hi, I have read more about wsdl2java. It will wrap the field in JAXBElement (JAXBElement) if both minoccurs="0" and nillable="true" are specified in the WSDL and that is the case for the String field. The Boolean field only has minoccurs="0" and will therefore

Re: wsdl2java generated code doesn't handle boolean correctly?

2023-01-23 Thread Ege, Bernhard
om: Łukasz Dywicki Sent: Friday, January 20, 2023 22:09 To: users@cxf.apache.org Subject: Re: wsdl2java generated code doesn't handle boolean correctly? This email originated from outside of CGM. Please do not click links or open attachments unless you know the sender and know the content is saf

Re: wsdl2java generated code doesn't handle boolean correctly?

2023-01-20 Thread Łukasz Dywicki
the java files anew using cxf wsdl2java but used the -validate flag, yet no warnings/errors were shown. In the PersonInformationDTO.class file there is this comment: /** * Java class for PersonInformationDTO complex type. * * The following schema fragment specifies the expected content

RE: wsdl2java generated code doesn't handle boolean correctly?

2023-01-20 Thread Ege, Bernhard
and it claimed there was 5 errors (1 not being able to look up q1:PersonInformationDTO, and 4 regarding the faults having namespace assigned). I then generated the java files anew using cxf wsdl2java but used the -validate flag, yet no warnings/errors were shown. In the PersonInformationDTO.class

Re: wsdl2java generated code doesn't handle boolean correctly?

2023-01-19 Thread Łukasz Dywicki
rables/testingtools.html Kind regards, Łukasz -- Code-House http://code-house.org/ On 19.01.2023 13:16, Ege, Bernhard wrote: I have created java files using wsdl2java and tried using it. While I can compile it just fine, running it results in an unexpected element error calling the (C#) webs

wsdl2java generated code doesn't handle boolean correctly?

2023-01-19 Thread Ege, Bernhard
I have created java files using wsdl2java and tried using it. While I can compile it just fine, running it results in an unexpected element error calling the (C#) webservice (or rather interpreting the result). The field that causes problems is a boolean. It is completely left out

wsdl2java 3.3.6 Unsupported major.minor version 52.0

2020-05-25 Thread SetNug
org.apache.cxf:cxf-codegen-plugin:3.3.6:wsdl2java failed: Unable to load the mojo 'wsdl2java' in the plugin 'org.apache.cxf:cxf-codegen-plugin:3.3.6' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: org/apache/cxf/maven_plugin/wsdl2java/WSDL2JavaMojo

Re: CXF wsdl2java client security policy not working

2018-02-20 Thread Colm O hEigeartaigh
On Mon, Feb 19, 2018 at 4:42 PM, Ujjwal Gulecha wrote: > > *I am not quite sure if I understand that correctly. Is there some > documentation or example you could point me through? Thank You* > What I meant was you could use CXF to create a JAX-WS endpoint using the

Re: CXF wsdl2java client security policy not working

2018-02-19 Thread Ujjwal Gulecha
Hi Colm, Thanks again for your time and reply! You could just create a fully-fledged CXF endpoint using the WSDL of the service and some test credentials? That would definately be easier than mocking the service endpoint, as WS-SecureConversation complicates things. *I am not quite sure if I

Re: CXF wsdl2java client security policy not working

2018-02-19 Thread Colm O hEigeartaigh
You could just create a fully-fledged CXF endpoint using the WSDL of the service and some test credentials? That would definately be easier than mocking the service endpoint, as WS-SecureConversation complicates things. If you are getting an error in SecureConversationInInterceptor about a

Re: CXF wsdl2java client security policy not working

2018-02-19 Thread Ujjwal Gulecha
Hi Colm, Thanks for replying. Yes, I had that but I guess I had other dependencies too which somehow caused this issue. I removed them all and then just added cxf-bundle and it worked. I had another question: Is there a way to test the cxf generated client while mocking a server? The issue with

Re: CXF wsdl2java client security policy not working

2018-02-19 Thread Colm O hEigeartaigh
What CXF dependencies do you have on the classpath? Do you have "cxf-rt-frontend-jaxws" included? Colm. On Fri, Feb 16, 2018 at 7:37 PM, Ujjwal Gulecha wrote: > Hi everyone, > I am new to this group. I have used cxf to generate classes from a wsdl > which has some

CXF wsdl2java client security policy not working

2018-02-16 Thread Ujjwal Gulecha
Hi everyone, I am new to this group. I have used cxf to generate classes from a wsdl which has some security policy. Here is the link to the security policy part: https://gist.github.com/ujjwalgulecha/9edc9538ca4484997cd0bd4cfca93501 >From whatever I could gather from the internet and

wsdl2java: Two declarations cause a collision in the ObjectFactory class.

2018-02-13 Thread ramboid
I would appreciate if you could tell me if the attached wsdl is properly formatted. I ran the wsdl2java function of ApacheCXF v 3.2.2 to obtain the java programs for this webservice. I keep on getting the collision in declarations. The wsdl is from a remote service so it would be difficult

Re: wsdl2java - suppressing timestamps in Javadoc/comments?

2018-01-21 Thread Dennis Kieselhorst
> is there a switch or 'undocumented feature' to suppressing timestamps in > javadoc/comments for generated classes? > I mean this on: > -- cut > /** > * This class was generated by Apache CXF 2.7.1 > * 2013-03-25T11:50:57.111+01:00 > * Generated source version: 2.7.1 > * > */ > -- cut > >

wsdl2java on SwA WSDL

2017-11-06 Thread Russell Orf
Hello! I'm trying to generate Java binding classes using wsdl2java for a SwA (SOAP with Attachments) WSDL and getting errors. Example WSDL is available here: https://issues.apache.org/jira/secure/attachment/ 12355819/xml_attachments.wsdl (attachment to CXF-284) I see this issue has been

Re: CXF wsdl2java generates SOAP 1.1 message

2017-10-26 Thread jr
I figured this out. I am using a Grails plugin and it had a property to set the SOAP version to 1.2. proxyFactoryBindingId = "http://schemas.xmlsoap.org/wsdl/soap12/; The plugin checks if the value for property proxyFactoryBindingId contains the string "soap12" and if it does it sets the message

CXF wsdl2java generates SOAP 1.1 message

2017-10-25 Thread John Ruggentaler
Interceptor) and changed the content type. Now the message is sent successfully but the returned message fails: org.apache.cxf.binding.soap.SoapFault: A SOAP 1.2 message is not valid when sent to a SOAP 1.1 only endpoint. It there a way to tell wsdl2java to generate a SOAP 1.2 client? The WSDL is here

wsdl2java - takes a WSDL document and generates fully annotated Java code from which to implement a service.

2017-06-08 Thread rahulsharma
Hi everyone, wsdl2java takes a WSDL document and generates fully annotated Java code from which to implement a service. The WSDL document must have a valid portType element, but it does not need to contain a binding element or a service element. Using the optional arguments you can customize

Re: Auto generated sample with wsdl2java

2017-02-15 Thread jkoorts
Ignore, got it sorted. -- View this message in context: http://cxf.547215.n5.nabble.com/Auto-generated-sample-with-wsdl2java-tp5777292p5777322.html Sent from the cxf-user mailing list archive at Nabble.com.

Auto generated sample with wsdl2java

2017-02-15 Thread jkoorts
difference between what wsdl2java produce and using JaxWsProxyFactoryBean just the fact that you have more control (eg. adding a cookie as a header, bypass certificate checking). 4. Is there a way in the bindings to specify to auto generate java methods to create set cookie and by-pass cert checking?

Re: CXF wsdl2java docs - improvements

2017-02-04 Thread J. Fiala
Dear Dan, Thanks, now it is up to date. Best regards, Johannes Am 03.02.2017 um 22:13 schrieb Daniel Kulp: On Feb 3, 2017, at 1:40 PM, J. Fiala wrote: Dear Sergey, I updated the wiki page (https://cwiki.apache.org/confluence/display/CXF20DOC/WSDL+to+Java), but I don't see

Re: CXF wsdl2java docs - improvements

2017-02-03 Thread Daniel Kulp
> On Feb 3, 2017, at 1:40 PM, J. Fiala wrote: > > Dear Sergey, > > I updated the wiki page > (https://cwiki.apache.org/confluence/display/CXF20DOC/WSDL+to+Java), but I > don't see the changes at http://cxf.apache.org/docs/wsdl-to-java.html. > > How often is this published or

Re: CXF wsdl2java docs - improvements

2017-02-03 Thread J. Fiala
Dear Sergey, I updated the wiki page (https://cwiki.apache.org/confluence/display/CXF20DOC/WSDL+to+Java), but I don't see the changes at http://cxf.apache.org/docs/wsdl-to-java.html. How often is this published or is there an approval process? Best regards, Johannes Am 03.02.2017 um 17:33

Re: CXF wsdl2java docs - improvements

2017-02-03 Thread Sergey Beryozkin
Sorry, checked the wrong list :-), your ICLA submission is recorded, Dan added you earlier to the list of wiki contributors, please start editing Thanks, Sergey On 03/02/17 16:25, Sergey Beryozkin wrote: Hi I just checked, no 'jfiala' is recorded in the ICLAs list at Apache, Can you please

Re: CXF wsdl2java docs - improvements

2017-02-03 Thread Sergey Beryozkin
Hi I just checked, no 'jfiala' is recorded in the ICLAs list at Apache, Can you please submit ICLA and also create a Confluence account ? Thanks, Sergey On 03/02/17 14:41, J. Fiala wrote: Hi there, I found two minor issues regarding the docs: http://cxf.apache.org/docs/wsdl-to-java.html

CXF wsdl2java docs - improvements

2017-02-03 Thread J. Fiala
Hi there, I found two minor issues regarding the docs: http://cxf.apache.org/docs/wsdl-to-java.html 1.) Q: How to map xsd:dateTime to java.util.Date?: The package names are out of date: They have been moved to org.apache.cxf.xjc.runtime This requires an additional dependency:

wsdl2java generates incorrect @XmlElement(namespace=“…”)

2016-09-17 Thread Randy Leonard
I am using Apache CXF 3.1.7, and the wsdl2java command is generating code with missing/incorrect namespace attributes on the @XMLEment annotation. Note I generally use four distinct namespaces within each WSDL document, which are as follows: • Shared data types across many WSDL

Behavior of wsdl2java between 3.0.1, 3.0.9 and 3.1.6

2016-04-13 Thread Emulator
Hi guys, I had a little experience on 3.0.1 and built a program by using wsdl2java to generate java class. And I back again, use CXF on another project, wish to keep them updated to 3.1.6. I use 3.1.6 to generate java class as following: ~/bin/apache-cxf-3.1.6/bin/wsdl2java -p tool.ws

Schema first wsdl2java WSDL location question

2015-11-10 Thread David Hoffer
I'm creating a server via the wsdl/schema first approach and I'm using wsdl2java to generate the Java code. However when it creates the WebService annotation it uses the builds hard coded path to the wsdl file which is never going to be right for the production server. Using this default value

AssertionError when providing both empty type definition and globalBinding to wsdl2java

2015-09-22 Thread Matti Bickel
t;http://schemas.xmlsoap.org/wsdl/; xmlns:jaxb="http://java.sun.com/xml/ns/jaxb; xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc; xmlns:ext="http://xml.w-wins.com/xjc-plugins/interfaces; jaxb:extensionBindingPrefixes="xjc"> Now, when I run wsdl2java like thi

CXF 2.5.2 Using wsdl2java I get Two classes have the same XML type name

2015-07-31 Thread Néstor Boscán
Hi I have a wsdl that I received from a third party application. I'm trying to run wsdl2java using maven in an empty project with just the CXF dependencies and I get: Two classes have the same XML type name { http://www.huawei.com/bme/cbsinterface/arservices}RechargeRollBackRequest;. Use

Apache CXF wsdl2java -autoNameResolution through Dynamic client

2015-07-13 Thread AdityaChava93
.* in wsdl2java , there is an option to give -autoNameResolution,it can solve the problem.But is there a way in which we can give through dynamic client. I have tried with /JaxWsDynamicClientFactory factory = JaxWsDynamicClientFactory.newInstance(); String [] options = { -XautoNameResolution

namespace issue with CXF wsdl2java: undefined simple or complex type

2015-07-10 Thread Markus.Mueller
call and output below. When we use use the jax-ws tool Œwsimport¹ from java 1.7 it compiles without error. So who is actually wrong (wsdl/xsd, wsdl2java or wsimport) ? A tar.gz file with all the files is attached to this post. Regards Markus === apache CXF ./generate.sh

wsdl2java: catalog and nexclude partially ignored

2015-06-01 Thread Julien Charon
Hi everybody, I'm facing 2 strange problems using wsdl2java. I'm trying to generate server classes for WFS 2.0 using http://schemas.opengis.net/wfs/2.0/wsdl/example-SOAP-endpoints.wsdl. 1. I provide a catalog using the -catalog parameter rewriting system Ids of all schemas directly

Re: Adding Swift/Thrift annotations with cxf codegen plugin (wsdl2java)

2015-04-08 Thread Embee
the serialization bit of Thrift. -- View this message in context: http://cxf.547215.n5.nabble.com/Adding-Swift-Thrift-annotations-with-cxf-codegen-plugin-wsdl2java-tp5755662p5755795.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: Adding Swift/Thrift annotations with cxf codegen plugin (wsdl2java)

2015-04-06 Thread Daniel Kulp
On Apr 5, 2015, at 6:48 AM, Embee maur...@betzel.net wrote: Is there a way to add Annotations from other frameworks on code generation? In that way i could have oxm and obm in one with a tool like Facebooks Swift (JAXB for binary mapping). I did find the velocity templates in CXF that are

Adding Swift/Thrift annotations with cxf codegen plugin (wsdl2java)

2015-04-05 Thread Embee
these, or are tgere other, easier ways of doing this. Maybe XJC and JAXB bindings? -- View this message in context: http://cxf.547215.n5.nabble.com/Adding-Swift-Thrift-annotations-with-cxf-codegen-plugin-wsdl2java-tp5755662.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: wsdlLocation property of Implementation class by Wsdl2Java

2015-02-03 Thread Daniel Kulp
On Feb 3, 2015, at 2:05 AM, srinivas thallapalli sree.tallapa...@gmail.com wrote: Hi, Do we have any configuration property or control on wsdlLocation property of the @Webservice annotation of the Implementation class generated by wsdl2java tool. My requirement is I do not want

wsdlLocation property of Implementation class by Wsdl2Java

2015-02-02 Thread srinivas thallapalli
Hi, Do we have any configuration property or control on wsdlLocation property of the @Webservice annotation of the Implementation class generated by wsdl2java tool. My requirement is I do not want to regenerate or recompile the code when my service moves from staging machine to production machine

wsdl2java maven catalog .cat file example

2014-10-16 Thread Balana, Vishal
Hi, Could anyone provide me some link or example to use .cat file(catalog) be able to use with wsdl2java command during client generation? Thanks, Vishal

cxf wsdl2java and axis web service

2014-08-22 Thread Helge Waastad
Hi, I've moved from an axis client using adb databinding to cxf using jaxb databinding. I have a question regarding wsdl2java for an axis webservice (servicenow) In axis adb all services are being generated using an input object however in cxf services has a long list of input variabels (same

Re: cxf wsdl2java and axis web service

2014-08-22 Thread Daniel Kulp
On Aug 22, 2014, at 9:25 AM, Helge Waastad he...@waastad.org wrote: Hi, I've moved from an axis client using adb databinding to cxf using jaxb databinding. I have a question regarding wsdl2java for an axis webservice (servicenow) In axis adb all services are being generated using

Re: cxf wsdl2java and axis web service

2014-08-22 Thread Helge Waastad
. I have a question regarding wsdl2java for an axis webservice (servicenow) In axis adb all services are being generated using an input object however in cxf services has a long list of input variabels (same variables as in the input object for axis client). Is there a way

wsdl2java and schemaLocation as url

2014-08-14 Thread lmx2k5
hello, I have got problem with wsdl2java and not sure what is wrong. If there is imports with schemaLocation as URL as following, then cxf generates two packages with same classes - one with normal name from namespace and with package name generated. And then I get compilation error because

WSDL2Java :: Not generate service factory class

2014-08-01 Thread Lenden
I would like to know if it's possible to desactivate the generation of the service factory class, named like this MyWebService*_Service*.java which extends javax.xml.ws.Service class? Thank you. -- View this message in context: http://cxf.547215.n5.nabble.com/WSDL2Java-Not-generate-service

wsdl2java create Prohibited package name: java.util.xsd

2014-05-23 Thread Supun Nilushan
hi all, I try to use maven plugin to generate client code for WSDL with Eclipse.But it generate Prohibited package name: java.util.xsd . Thus i cant tun the client code. Is there any solution to solve this. Thanks.

Re: wsdl2java create Prohibited package name: java.util.xsd

2014-05-23 Thread Aki Yoshida
you can use a jaxb binding file to customize the generated classes. More info at: http://cxf.apache.org/docs/wsdl-to-java.html http://docs.oracle.com/cd/E17802_01/webservices/webservices/docs/1.5/tutorial/doc/JAXBUsing4.html#wp148550 2014-05-23 11:22 GMT+02:00 Supun Nilushan

wsdl2java - Encountered illegal extension attribute 'message'

2014-05-20 Thread Frizz
Hi there, I am using CXF 2.7.7. I have a WSDL that is correct and valid (imho). But when running wsdl2java it doesn't seem to like the 'message' attribute in my binding/operation definition. Here is the error message from wsdl2java: WSDLToJava Error: org.apache.cxf.wsdl11.WSDLRuntimeException

RE: wsdl2java - Encountered illegal extension attribute 'message'

2014-05-20 Thread XiLai Dai
[mailto:frizzthe...@googlemail.com] Sent: Wednesday, May 21, 2014 4:49 AM To: users@cxf.apache.org Subject: wsdl2java - Encountered illegal extension attribute 'message' Hi there, I am using CXF 2.7.7. I have a WSDL that is correct and valid (imho). But when running wsdl2java it doesn't seem to like

Re: wsdl2java - Encountered illegal extension attribute 'message'

2014-05-20 Thread Daniel Kulp
there, I am using CXF 2.7.7. I have a WSDL that is correct and valid (imho). But when running wsdl2java it doesn't seem to like the 'message' attribute in my binding/operation definition. Here is the error message from wsdl2java: WSDLToJava Error: org.apache.cxf.wsdl11

WSDL2Java and parameterStyle = SOAPBinding.ParameterStyle.BARE

2014-03-18 Thread blipsman
Hi all! I am using maven, *wsdl2java* to generate web service and interface... CXF 2.7.5 Java 1.6 Maven 3.0 The xsd that is referenced from wsdl does have ref, and based on Rules No.5 of spec, wsdl2java would generate parameterStyle = SOAPBinding.ParameterStyle.BARE instead of parameterStyle

Re: WSDL2JAVA question

2014-03-17 Thread Michel Labarre
Hello Really, no one has this problem? I have the same problem with version 2.6.13. thank you Le 14/03/2014 15:40, Michel Labarre a écrit : Hello We running CXF 1.6.7 version with SOAP 1.1 wsdl. All run fine. New services are required with SOAP 1.2. I run the Web Service generator under

Re: WSDL2JAVA question

2014-03-17 Thread Michel Labarre
Note that there was a mistake in my first mail: see 2.6.7 and not 1.6.7! Le 17/03/2014 15:05, Michel Labarre a écrit : Hello Really, no one has this problem? I have the same problem with version 2.6.13. thank you Le 14/03/2014 15:40, Michel Labarre a écrit : Hello We running CXF 1.6.7

Re: WSDL2JAVA question

2014-03-17 Thread Daniel Kulp
This is one of the “issues” I have with JAX-WS. The “interface” that is generated is supposed to be completely generated from the portType. Thus, it does not know from the portType that this is 1.1 or 1.2. The SOAPBinding annotation should only go on the actual service object which

WSDL2JAVA question

2014-03-14 Thread Michel Labarre
Hello We running CXF 1.6.7 version with SOAP 1.1 wsdl. All run fine. New services are required with SOAP 1.2. I run the Web Service generator under eclipse to generate all classes from WSDL. Generation works fine but when I test with SOAPUI on the newly installed server I obtain a fault with

Need help on generating java files with wsdl2java

2014-02-19 Thread artaxerxe
The wsdl file that I use as input for apache-cxf is located here. I use apache-cxf-2.7.10 with eclipse and apache-tomcat7.0.50. When I run wsdl2java in specified context: [code]/opt/apache-cxf-2.7.10/bin/wsdl2java -client -d ./ -classdir ./classes/ -impl -validate -exsh false -dns true -dex true

Need help on generating java files with wsdl2java

2014-02-19 Thread artaxerxe
The wsdl file that I use as input for apache-cxf is located here. I use apache-cxf-2.7.10 with eclipse and apache-tomcat7.0.50. When I run wsdl2java in specified context: //opt/apache-cxf-2.7.10/bin/wsdl2java -client -d ./ -classdir ./classes/ -impl -validate -exsh false -dns true -dex true

Re: Need help on generating java files with wsdl2java

2014-02-19 Thread Daniel Kulp
: The wsdl file that I use as input for apache-cxf is located here. I use apache-cxf-2.7.10 with eclipse and apache-tomcat7.0.50. When I run wsdl2java in specified context: //opt/apache-cxf-2.7.10/bin/wsdl2java -client -d ./ -classdir ./classes/ -impl -validate -exsh false -dns true -dex true

Re: Migration to CXF: WSDL2Java is not generating method with input parameter

2014-02-14 Thread pandeyvic
be appreciated, thanks in advance -- View this message in context: http://cxf.547215.n5.nabble.com/Migration-to-CXF-WSDL2Java-is-not-generating-method-with-input-parameter-tp5709568p5739977.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: WSDL2Java XSD Resolution Error

2014-02-13 Thread Aki Yoshida
you should get rid of the line bindingFile${basedir}/src/main/resources/wsdl/SimpleTypes.xsd/bindingFile because that is not a schema file and not a binding file. A binding file is needed only when you do some type/name mapping. I suspect your problem is with your path? You are using windows and

WSDL2Java XSD Resolution Error

2014-02-11 Thread Bryan Stopp
I've done the google search, but have only come a couple of StackOverflow entries, which don't help. I'm seeing this stack trace when I run generate-sources: [WARNING] my_path\MemberRequest.xsd [32:4]: src-resolve: Cannot resolve the name 'simpleType:string20' to a(n) 'type definition'

No output from wsdl2java

2014-01-30 Thread Gabriel Valencia
Hello all I'm trying wsdl2java on a WSDL but get no output even with -v and -verbose. I tried passing it a Java logging file with .level=ALL but this is all I get: [java] Loading FrontEnd jaxws ... [java] Loading DataBinding jaxb ... [java] wsdl2java - Apache CXF 2.7.8

Re: No output from wsdl2java

2014-01-30 Thread Gabriel Valencia
@cxf.apache.org Date: 01/30/2014 10:54 AM Subject:No output from wsdl2java Hello all I'm trying wsdl2java on a WSDL but get no output even with -v and -verbose. I tried passing it a Java logging file with .level=ALL but this is all I get: [java] Loading FrontEnd jaxws

RE: To use WS-SecureConversation does one need to run wsdl2java on the STS?

2014-01-21 Thread Walters, Jay M
-SecureConversation does one need to run wsdl2java on the STS? Secure conversation uses a predefined interface for the STS service - so no, you do not need to run a separate generation step for the STS service per se. But in your case, the policy (from your other email thread, copied below) says

Re: To use WS-SecureConversation does one need to run wsdl2java on the STS?

2014-01-21 Thread Dennis Sosnoski
. From: Dennis Sosnoski [d...@sosnoski.com] Sent: Saturday, January 18, 2014 5:02 PM To: users@cxf.apache.org Subject: Re: To use WS-SecureConversation does one need to run wsdl2java on the STS? Secure conversation uses a predefined interface for the STS service

To use WS-SecureConversation does one need to run wsdl2java on the STS?

2014-01-18 Thread Walters, Jay M
I realize I ran wsdl2java vs the service endpoint for WSDL first CXF client, do I need to also run it vs the STS Service? I am having troubles getting the client security policy right and not sure how that gets into the client in the first place as the cfx.xml file doesn't really have much

Re: To use WS-SecureConversation does one need to run wsdl2java on the STS?

2014-01-18 Thread Dennis Sosnoski
: I realize I ran wsdl2java vs the service endpoint for WSDL first CXF client, do I need to also run it vs the STS Service? I am having troubles getting the client security policy right and not sure how that gets into the client in the first place as the cfx.xml file doesn't really have much

[CXF-5397] wsdl2java marker file name can exceed 255 chars (not yet fixed in cxf-2.7.8?)

2013-12-06 Thread Christopher Cheng
I have tried cxf-2.7.8, when I generate a stub, it will still give an error like this in WIndows java:

[wsdl2java] problem with generating @XMLElement(required=true)

2013-12-06 Thread eho
the classes. What am I missing here? -- View this message in context: http://cxf.547215.n5.nabble.com/wsdl2java-problem-with-generating-XMLElement-required-true-tp5737478.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: wsdl2java + choice (one or both )

2013-11-27 Thread Aki Yoshida
One problem is that you have technically two different Ys for that class, so the generator can't simply use the same attribute for both Ys. I don't know if you can use jaxb custom binding to rename the second Y in your case in conjunction with the choice model. And this is another problem. If the

wsdl2java + choice (one or both )

2013-11-26 Thread Jose María Zaragoza
Hello: I'm using Apache CXF 2.7.3 I've having problems to generate JAXB classes from XSD that cointains this element xs:choice xs:sequence xs:element name=X type=xs:string/ xs:element name=Y type=xs:string minOccurs=0/ /xs:sequence xs:element name=Y type=xs:string/

enableWrapperStyle using wsdl2java tool

2013-10-21 Thread Lenden
Hello, currently, i'm setting the option - b mybindingfile.xjb in wsdl2java command to enableWrapperStyle to false. This file look like this: jaxws:bindings xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; wsdlLocation=ws.wsdl xmlns=http

Re: enableWrapperStyle using wsdl2java tool

2013-10-21 Thread Freeman Fang
Hi, Try with -bareMethods of wsdl2java -bareMethods[=method1,method2,...]* Specifies a comma separated list of methods that should not be unwrapped into individual parameters and instead be left in their bare form

RE: wsdl2java - @WebResult targetNamespace being generated as blank

2013-10-01 Thread Euan Milton
service as expected. I have tried a number of times since then and could not reproduce the error. I'll keep trying to see if I can reproduce the problem and if so, will respond to this distribution list. Cheers, Euan Subject: Re: wsdl2java - @WebResult targetNamespace being generated as blank From

Re: Apache CXF :: wsdl2java ignoring catalog configuration for public entries

2013-09-30 Thread Daniel Kulp
for them. Not really sure. Dan On Sep 26, 2013, at 9:56 AM, Menelaos Perdikeas mperdik...@gmail.com wrote: I am using Apache CXF 2.7.6 `wsdl2java` and it seems that the tool ignores or fails to find public catalog entries. In particular I have the following `xs:import` in one of my XSD

Re: Apache CXF :: wsdl2java ignoring catalog configuration for public entries

2013-09-30 Thread Menelaos Perdikeas
for them. Not really sure. Dan On Sep 26, 2013, at 9:56 AM, Menelaos Perdikeas mperdik...@gmail.com wrote: I am using Apache CXF 2.7.6 `wsdl2java` and it seems that the tool ignores or fails to find public catalog entries. In particular I have the following `xs:import` in one of my

WSDL first (contract first) with LISTHashmap + wsdl2java CXF

2013-09-30 Thread Faz
Hi All,I would like to create a wsdl file that will incorporate the hashmap and list of hashmap as xsd types , which i would convert to java types using wsdl2java utility of CXF.Now all i need to know if this set-up is possible and that CXF wsdl2java has capability to convert such a complextype

Re: Apache CXF :: wsdl2java ignoring catalog configuration for public entries

2013-09-27 Thread Aki Yoshida
with standard Oracle Java 7, one is able to provide alternative locations for schemas that are simply referenced with an import element, without `schemaLocation` attributes. So I am giving the same catalog to both `wsimport` and `wsdl2java` tools, and only `wsdl2java` is unable to use the correct

Re: Apache CXF :: wsdl2java ignoring catalog configuration for public entries

2013-09-27 Thread Menelaos Perdikeas
locations for schemas that are simply referenced with an import element, without `schemaLocation` attributes. So I am giving the same catalog to both `wsimport` and `wsdl2java` tools, and only `wsdl2java` is unable to use the correct entry in the catalog, that's why I suspect this to be a bug

Re: Apache CXF :: wsdl2java ignoring catalog configuration for public entries

2013-09-27 Thread Aki Yoshida
catalog to both `wsimport` and `wsdl2java` tools, and only `wsdl2java` is unable to use the correct entry in the catalog, that's why I suspect this to be a bug. I dunno perhaps I should file a bug report. On Fri, Sep 27, 2013 at 12:59 AM, Aki Yoshida elak...@gmail.com wrote: hi

Apache CXF :: wsdl2java ignoring catalog configuration for public entries

2013-09-26 Thread Menelaos Perdikeas
I am using Apache CXF 2.7.6 `wsdl2java` and it seems that the tool ignores or fails to find public catalog entries. In particular I have the following `xs:import` in one of my XSD files: xs:import namespace=http://www.ivoa.net/xml/STC/STCcoords/v1.10/ The above cannot be properly resolved

Re: Apache CXF :: wsdl2java ignoring catalog configuration for public entries

2013-09-26 Thread Aki Yoshida
that's not a public id. can you use the system entry instead? 2013/9/26 Menelaos Perdikeas mperdik...@gmail.com: I am using Apache CXF 2.7.6 `wsdl2java` and it seems that the tool ignores or fails to find public catalog entries. In particular I have the following `xs:import` in one of my XSD

Re: Apache CXF :: wsdl2java ignoring catalog configuration for public entries

2013-09-26 Thread Menelaos Perdikeas
, 2013 at 5:42 PM, Aki Yoshida elak...@gmail.com wrote: that's not a public id. can you use the system entry instead? 2013/9/26 Menelaos Perdikeas mperdik...@gmail.com: I am using Apache CXF 2.7.6 `wsdl2java` and it seems that the tool ignores or fails to find public catalog entries

wsdl2java - @WebResult targetNamespace being generated as blank

2013-09-26 Thread Euan Milton
Hi, We have an application which needs to consume an external web service. To do this we have generated the set of Java artifacts from the WSDL via Maven using the wsdl2java goal provided by the cxf-codegen-plugin plugin. In the application we want to set the endpoint to use for the web service

Re: wsdl2java - @WebResult targetNamespace being generated as blank

2013-09-26 Thread Daniel Kulp
that worked fine with CXF. Dan On Sep 26, 2013, at 12:18 PM, Euan Milton euanmil...@hotmail.co.uk wrote: Hi, We have an application which needs to consume an external web service. To do this we have generated the set of Java artifacts from the WSDL via Maven using the wsdl2java goal provided

Re: Apache CXF :: wsdl2java ignoring catalog configuration for public entries

2013-09-26 Thread Aki Yoshida
you use the system entry instead? 2013/9/26 Menelaos Perdikeas mperdik...@gmail.com: I am using Apache CXF 2.7.6 `wsdl2java` and it seems that the tool ignores or fails to find public catalog entries. In particular I have the following `xs:import` in one of my XSD files: xs:import

Re: Apache CXF :: wsdl2java ignoring catalog configuration for public entries

2013-09-26 Thread Menelaos Perdikeas
for schemas that are simply referenced with an import element, without `schemaLocation` attributes. So I am giving the same catalog to both `wsimport` and `wsdl2java` tools, and only `wsdl2java` is unable to use the correct entry in the catalog, that's why I suspect this to be a bug. I dunno perhaps I should

Re: wsdl2java issue

2013-09-13 Thread Clément Tamisier
: i think there is a strange issue with the code generation somewhere. I'll have a second look. regards, aki 2013/9/12 Clément Tamisier clement.tamis...@gmail.com: Hi, I am using wsdl2java to generate java class from Global Platform wsdl files (http://www.globalplatform.org

Re: wsdl2java issue

2013-09-13 Thread Clément Tamisier
: i think there is a strange issue with the code generation somewhere. I'll have a second look. regards, aki 2013/9/12 Clément Tamisier clement.tamis...@gmail.com: Hi, I am using wsdl2java to generate java class from Global Platform wsdl files (http://www.globalplatform.org

  1   2   3   4   5   6   7   8   >