You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Thomas Diesler (JIRA)" <ji...@apache.org> on 2008/04/09 11:29:24 UTC
[jira] Created: (CXF-1519) Explicitly set the namespace of a
WebFault
Explicitly set the namespace of a WebFault
------------------------------------------
Key: CXF-1519
URL: https://issues.apache.org/jira/browse/CXF-1519
Project: CXF
Issue Type: Bug
Affects Versions: 2.0.5
Reporter: Thomas Diesler
[tdiesler@tddell trunk]$ ant -Dtest=jaxws/jbws1904 test
tests-run-internal:
[junit] Running org.jboss.test.ws.jaxws.jbws1904.JBWS1904TestCase
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 2.2 sec
[junit] Test org.jboss.test.ws.jaxws.jbws1904.JBWS1904TestCase FAILED
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-1519) Explicitly set the namespace of a
WebFault
Posted by "Thomas Diesler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Diesler updated CXF-1519:
--------------------------------
To reproduce, please have a look at
http://jbws.dyndns.org/mediawiki/index.php?title=Building_From_Source
> Explicitly set the namespace of a WebFault
> ------------------------------------------
>
> Key: CXF-1519
> URL: https://issues.apache.org/jira/browse/CXF-1519
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.0.5
> Reporter: Thomas Diesler
>
> [tdiesler@tddell trunk]$ ant -Dtest=jaxws/jbws1904 test
> tests-run-internal:
> [junit] Running org.jboss.test.ws.jaxws.jbws1904.JBWS1904TestCase
> [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 2.2 sec
> [junit] Test org.jboss.test.ws.jaxws.jbws1904.JBWS1904TestCase FAILED
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CXF-1519) Explicitly set the namespace of a
WebFault
Posted by "Thomas Diesler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587109#action_12587109 ]
Thomas Diesler commented on CXF-1519:
-------------------------------------
Generated WSDL is
<?xml version="1.0" encoding="UTF-8"?><wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.jboss.ws/jbws1904/faults" xmlns:ns2="http://schemas.xmlsoap.org/wsdl/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://org.jboss.ws/jbws1904" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TestEndpointService" targetNamespace="http://org.jboss.ws/jbws1904">
<wsdl:types>
<xsd:schema xmlns:tns="http://org.jboss.ws/jbws1904/faults" attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://org.jboss.ws/jbws1904/faults" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="TestExceptionFault" type="tns:TestExceptionFault"/>
<xsd:complexType name="TestExceptionFault">
<xsd:sequence>
<xsd:element name="message" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
<xsd:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://org.jboss.ws/jbws1904" xmlns:tns="http://org.jboss.ws/jbws1904" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="echo" type="tns:echo"/>
<xsd:complexType name="echo">
<xsd:sequence>
<xsd:element minOccurs="0" name="arg0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="echoResponse" type="tns:echoResponse"/>
<xsd:complexType name="echoResponse">
<xsd:sequence>
<xsd:element minOccurs="0" name="return" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
</wsdl:types>
<wsdl:message name="echoResponse">
<wsdl:part element="tns:echoResponse" name="parameters">
</wsdl:part>
</wsdl:message>
<wsdl:message name="echo">
<wsdl:part element="tns:echo" name="parameters">
</wsdl:part>
</wsdl:message>
<wsdl:message name="TestException">
<wsdl:part element="ns1:TestExceptionFault" name="TestException">
</wsdl:part>
</wsdl:message>
<wsdl:portType name="TestEndpoint">
<wsdl:operation name="echo">
<wsdl:input message="tns:echo" name="echo">
</wsdl:input>
<wsdl:output message="tns:echoResponse" name="echoResponse">
</wsdl:output>
<wsdl:fault message="tns:TestException" name="TestException">
</wsdl:fault>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="TestEndpointServiceSoapBinding" type="tns:TestEndpoint">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="echo">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="echo">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="echoResponse">
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="TestException">
<soap:fault name="TestException" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="TestEndpointService">
<wsdl:port binding="tns:TestEndpointServiceSoapBinding" name="TestEndpointPort">
<soap:address location="http://127.0.0.1:8080/jaxws-jbws1904"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
> Explicitly set the namespace of a WebFault
> ------------------------------------------
>
> Key: CXF-1519
> URL: https://issues.apache.org/jira/browse/CXF-1519
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.0.5
> Reporter: Thomas Diesler
>
> [tdiesler@tddell trunk]$ ant -Dtest=jaxws/jbws1904 test
> tests-run-internal:
> [junit] Running org.jboss.test.ws.jaxws.jbws1904.JBWS1904TestCase
> [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 2.2 sec
> [junit] Test org.jboss.test.ws.jaxws.jbws1904.JBWS1904TestCase FAILED
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CXF-1519) Explicitly set the namespace of a
WebFault
Posted by "Thomas Diesler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587112#action_12587112 ]
Thomas Diesler commented on CXF-1519:
-------------------------------------
There is no schema.getAttribute("targetNamespace").equals("http://org.jboss.ws/jbws1904/exceptions")
> Explicitly set the namespace of a WebFault
> ------------------------------------------
>
> Key: CXF-1519
> URL: https://issues.apache.org/jira/browse/CXF-1519
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.0.5
> Reporter: Thomas Diesler
>
> [tdiesler@tddell trunk]$ ant -Dtest=jaxws/jbws1904 test
> tests-run-internal:
> [junit] Running org.jboss.test.ws.jaxws.jbws1904.JBWS1904TestCase
> [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 2.2 sec
> [junit] Test org.jboss.test.ws.jaxws.jbws1904.JBWS1904TestCase FAILED
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.