-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix path separator in the WsdlLocation part of the generated client. …
…Previously it would use the default path separator, which on Windows is \ but should always be / instead.
- Loading branch information
Showing
5 changed files
with
117 additions
and
4 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
54 changes: 54 additions & 0 deletions
54
integration-test/src/main/resources/nested/HelloWorldAbstractService.wsdl
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,54 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<wsdl:definitions name="HelloWorldAbstractService" | ||
targetNamespace="http://github.com/bjornvester" | ||
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" | ||
xmlns:tns="http://github.com/bjornvester" | ||
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> | ||
<wsdl:types> | ||
<xs:schema targetNamespace="http://github.com/bjornvester" | ||
xmlns="http://github.com/bjornvester" | ||
xmlns:xs="http://www.w3.org/2001/XMLSchema"> | ||
<xs:complexType name="sayHi"> | ||
<xs:sequence> | ||
<xs:element name="arg0" type="xs:string"/> | ||
</xs:sequence> | ||
</xs:complexType> | ||
<xs:complexType name="sayHiResponse"> | ||
<xs:sequence> | ||
<xs:element name="return" type="xs:string"/> | ||
</xs:sequence> | ||
</xs:complexType> | ||
<xs:element name="sayHi" nillable="true" type="sayHi"/> | ||
<xs:element name="sayHiResponse" nillable="true" type="sayHiResponse"/> | ||
</xs:schema> | ||
</wsdl:types> | ||
<wsdl:message name="sayHi"> | ||
<wsdl:part element="tns:sayHi" name="parameters"> | ||
</wsdl:part> | ||
</wsdl:message> | ||
<wsdl:message name="sayHiResponse"> | ||
<wsdl:part element="tns:sayHiResponse" name="parameters"> | ||
</wsdl:part> | ||
</wsdl:message> | ||
<wsdl:portType name="HelloWorldAbstract"> | ||
<wsdl:operation name="sayHi"> | ||
<wsdl:input message="tns:sayHi" name="sayHi"> | ||
</wsdl:input> | ||
<wsdl:output message="tns:sayHiResponse" name="sayHiResponse"> | ||
</wsdl:output> | ||
</wsdl:operation> | ||
</wsdl:portType> | ||
<wsdl:binding name="HelloWorldAbstractServiceSoapBinding" type="tns:HelloWorldAbstract"> | ||
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> | ||
<wsdl:operation name="sayHi"> | ||
<soap:operation soapAction="" style="document"/> | ||
<wsdl:input name="sayHi"> | ||
<soap:body use="literal"/> | ||
</wsdl:input> | ||
<wsdl:output name="sayHiResponse"> | ||
<soap:body use="literal"/> | ||
</wsdl:output> | ||
</wsdl:operation> | ||
</wsdl:binding> | ||
<!-- No service element --> | ||
</wsdl:definitions> |
58 changes: 58 additions & 0 deletions
58
integration-test/src/main/resources/nested/HelloWorldNestedService.wsdl
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,58 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<wsdl:definitions name="HelloWorldNestedService" | ||
targetNamespace="http://github.com/bjornvester" | ||
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" | ||
xmlns:tns="http://github.com/bjornvester" | ||
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> | ||
<wsdl:types> | ||
<xs:schema targetNamespace="http://github.com/bjornvester" | ||
xmlns="http://github.com/bjornvester" | ||
xmlns:xs="http://www.w3.org/2001/XMLSchema"> | ||
<xs:complexType name="sayHi"> | ||
<xs:sequence> | ||
<xs:element name="arg0" type="xs:string"/> | ||
</xs:sequence> | ||
</xs:complexType> | ||
<xs:complexType name="sayHiResponse"> | ||
<xs:sequence> | ||
<xs:element name="return" type="xs:string"/> | ||
</xs:sequence> | ||
</xs:complexType> | ||
<xs:element name="sayHi" nillable="true" type="sayHi"/> | ||
<xs:element name="sayHiResponse" nillable="true" type="sayHiResponse"/> | ||
</xs:schema> | ||
</wsdl:types> | ||
<wsdl:message name="sayHi"> | ||
<wsdl:part element="tns:sayHi" name="parameters"> | ||
</wsdl:part> | ||
</wsdl:message> | ||
<wsdl:message name="sayHiResponse"> | ||
<wsdl:part element="tns:sayHiResponse" name="parameters"> | ||
</wsdl:part> | ||
</wsdl:message> | ||
<wsdl:portType name="HelloWorldNested"> | ||
<wsdl:operation name="sayHi"> | ||
<wsdl:input message="tns:sayHi" name="sayHi"> | ||
</wsdl:input> | ||
<wsdl:output message="tns:sayHiResponse" name="sayHiResponse"> | ||
</wsdl:output> | ||
</wsdl:operation> | ||
</wsdl:portType> | ||
<wsdl:binding name="HelloWorldNestedServiceSoapBinding" type="tns:HelloWorldNested"> | ||
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> | ||
<wsdl:operation name="sayHi"> | ||
<soap:operation soapAction="" style="document"/> | ||
<wsdl:input name="sayHi"> | ||
<soap:body use="literal"/> | ||
</wsdl:input> | ||
<wsdl:output name="sayHiResponse"> | ||
<soap:body use="literal"/> | ||
</wsdl:output> | ||
</wsdl:operation> | ||
</wsdl:binding> | ||
<wsdl:service name="HelloWorldNestedService"> | ||
<wsdl:port name="HelloWorldNestedPort" binding="tns:HelloWorldNestedServiceSoapBinding"> | ||
<soap:address location="http://localhost:8080/MyCXFWebService/services/HelloWorldNestedPort"/> | ||
</wsdl:port> | ||
</wsdl:service> | ||
</wsdl:definitions> |
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