forked from quarkiverse/quarkus-cxf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the destination folder of wsdl2java configurable fix quarkiverse…
- Loading branch information
Showing
102 changed files
with
7,534 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 71 additions & 0 deletions
71
integration-tests/client/false/net/java/dev/jaxb/array/LongArray.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
|
||
package net.java.dev.jaxb.array; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
import jakarta.xml.bind.annotation.XmlAccessType; | ||
import jakarta.xml.bind.annotation.XmlAccessorType; | ||
import jakarta.xml.bind.annotation.XmlElement; | ||
import jakarta.xml.bind.annotation.XmlType; | ||
|
||
|
||
/** | ||
* <p>Java class for longArray complex type. | ||
* | ||
* <p>The following schema fragment specifies the expected content contained within this class. | ||
* | ||
* <pre>{@code | ||
* <complexType name="longArray"> | ||
* <complexContent> | ||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | ||
* <sequence> | ||
* <element name="item" type="{http://www.w3.org/2001/XMLSchema}long" maxOccurs="unbounded" minOccurs="0"/> | ||
* </sequence> | ||
* </restriction> | ||
* </complexContent> | ||
* </complexType> | ||
* }</pre> | ||
* | ||
* | ||
*/ | ||
@XmlAccessorType(XmlAccessType.FIELD) | ||
@XmlType(name = "longArray", propOrder = { | ||
"item" | ||
}) | ||
public class LongArray { | ||
|
||
@XmlElement(nillable = true) | ||
protected List<Long> item; | ||
|
||
/** | ||
* Gets the value of the item property. | ||
* | ||
* <p> | ||
* This accessor method returns a reference to the live list, | ||
* not a snapshot. Therefore any modification you make to the | ||
* returned list will be present inside the Jakarta XML Binding object. | ||
* This is why there is not a {@code set} method for the item property. | ||
* | ||
* <p> | ||
* For example, to add a new item, do as follows: | ||
* <pre> | ||
* getItem().add(newItem); | ||
* </pre> | ||
* | ||
* | ||
* <p> | ||
* Objects of the following type(s) are allowed in the list | ||
* {@link Long } | ||
* | ||
* | ||
* @return | ||
* The value of the item property. | ||
*/ | ||
public List<Long> getItem() { | ||
if (item == null) { | ||
item = new ArrayList<>(); | ||
} | ||
return this.item; | ||
} | ||
|
||
} |
42 changes: 42 additions & 0 deletions
42
integration-tests/client/false/net/java/dev/jaxb/array/ObjectFactory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
|
||
package net.java.dev.jaxb.array; | ||
|
||
import jakarta.xml.bind.annotation.XmlRegistry; | ||
|
||
|
||
/** | ||
* This object contains factory methods for each | ||
* Java content interface and Java element interface | ||
* generated in the net.java.dev.jaxb.array package. | ||
* <p>An ObjectFactory allows you to programmatically | ||
* construct new instances of the Java representation | ||
* for XML content. The Java representation of XML | ||
* content can consist of schema derived interfaces | ||
* and classes representing the binding of schema | ||
* type definitions, element declarations and model | ||
* groups. Factory methods for each of these are | ||
* provided in this class. | ||
* | ||
*/ | ||
@XmlRegistry | ||
public class ObjectFactory { | ||
|
||
|
||
/** | ||
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: net.java.dev.jaxb.array | ||
* | ||
*/ | ||
public ObjectFactory() { | ||
} | ||
|
||
/** | ||
* Create an instance of {@link LongArray } | ||
* | ||
* @return | ||
* the new instance of {@link LongArray } | ||
*/ | ||
public LongArray createLongArray() { | ||
return new LongArray(); | ||
} | ||
|
||
} |
2 changes: 2 additions & 0 deletions
2
integration-tests/client/false/net/java/dev/jaxb/array/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@jakarta.xml.bind.annotation.XmlSchema(namespace = "http://jaxb.dev.java.net/array") | ||
package net.java.dev.jaxb.array; |
44 changes: 44 additions & 0 deletions
44
...nt/false/org/jboss/eap/quickstarts/wscalculator/barecalculator/BareCalculatorService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
package org.jboss.eap.quickstarts.wscalculator.barecalculator; | ||
|
||
import jakarta.jws.WebMethod; | ||
import jakarta.jws.WebParam; | ||
import jakarta.jws.WebResult; | ||
import jakarta.jws.WebService; | ||
import jakarta.jws.soap.SOAPBinding; | ||
import jakarta.xml.bind.annotation.XmlSeeAlso; | ||
|
||
/** | ||
* This class was generated by Apache CXF 4.0.3 | ||
* 2023-11-02T22:13:05.151+01:00 | ||
* Generated source version: 4.0.3 | ||
* | ||
*/ | ||
@WebService(targetNamespace = "http://www.jboss.org/eap/quickstarts/wscalculator/BareCalculator", name = "BareCalculatorService") | ||
@XmlSeeAlso({ObjectFactory.class, net.java.dev.jaxb.array.ObjectFactory.class}) | ||
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) | ||
public interface BareCalculatorService { | ||
|
||
@WebMethod | ||
@WebResult(name = "echoResponse", targetNamespace = "http://www.jboss.org/eap/quickstarts/wscalculator/BareCalculator", partName = "echoResponse") | ||
public int echo( | ||
|
||
@WebParam(partName = "echo", name = "echo", targetNamespace = "http://www.jboss.org/eap/quickstarts/wscalculator/BareCalculator") | ||
int echo | ||
); | ||
|
||
@WebMethod | ||
@WebResult(name = "addOperandsResponse", targetNamespace = "http://www.jboss.org/eap/quickstarts/wscalculator/BareCalculator", partName = "addOperandsResponse") | ||
public Result addOperands( | ||
|
||
@WebParam(partName = "addOperands", name = "addOperands", targetNamespace = "http://www.jboss.org/eap/quickstarts/wscalculator/BareCalculator") | ||
Operands addOperands | ||
); | ||
|
||
@WebMethod | ||
@WebResult(name = "addArrayResponse", targetNamespace = "http://www.jboss.org/eap/quickstarts/wscalculator/BareCalculator", partName = "addArrayResponse") | ||
public long addArray( | ||
|
||
@WebParam(partName = "bareArray", name = "bareArray", targetNamespace = "http://www.jboss.org/eap/quickstarts/wscalculator/BareCalculator") | ||
net.java.dev.jaxb.array.LongArray bareArray | ||
); | ||
} |
Oops, something went wrong.