You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jeff Yu (JIRA)" <ji...@apache.org> on 2007/09/05 09:52:32 UTC
[jira] Created: (CXF-970) CXF doesnt handle the Doc/Literal (Bare)
with Null parameter.
CXF doesnt handle the Doc/Literal (Bare) with Null parameter.
-------------------------------------------------------------
Key: CXF-970
URL: https://issues.apache.org/jira/browse/CXF-970
Project: CXF
Issue Type: Bug
Components: JAX-WS Runtime
Affects Versions: 2.0.1
Environment: windows
Reporter: Jeff Yu
Fix For: 2.1
When the parameter is null, at the client, it will send the soap message like below:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body></soap:Body></soap:Envelope>
but I think the correct soap message would be:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><inString/></soap:Body></soap:Envelope>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-970) CXF doesnt handle the Doc/Literal (Bare)
with Null parameter.
Posted by "Jeff Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Yu updated CXF-970:
------------------------
Attachment: cxf-970.patch
updated a little bit, we only render the null element when its minOcurrs > 0.
> CXF doesnt handle the Doc/Literal (Bare) with Null parameter.
> -------------------------------------------------------------
>
> Key: CXF-970
> URL: https://issues.apache.org/jira/browse/CXF-970
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.0.1
> Environment: windows
> Reporter: Jeff Yu
> Fix For: 2.1
>
> Attachments: cxf-970.patch, doc_lit_bare.wsdl
>
>
> When the parameter is null, at the client, it will send the soap message like below:
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body></soap:Body></soap:Envelope>
> but I think the correct soap message would be:
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><inString/></soap:Body></soap:Envelope>
> The test case would like below code snippet: (added it in DOCBareClientServerTest.java)
> @Test
> public void testNillableParameter() throws Exception {
> URL wsdl = getClass().getResource("/wsdl/doc_lit_bare.wsdl");
> assertNotNull("WSDL is null", wsdl);
> SOAPService service = new SOAPService(wsdl, serviceName);
> assertNotNull("Service is null", service);
> PutLastTradedPricePortType port = service.getPort(portName,
> PutLastTradedPricePortType.class);
> String result = port.nillableParameter(null);
> assertEquals("Hello", result);
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-970) CXF doesnt handle the Doc/Literal (Bare)
with Null parameter.
Posted by "Jeff Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Yu updated CXF-970:
------------------------
Attachment: (was: cxf-970.patch)
> CXF doesnt handle the Doc/Literal (Bare) with Null parameter.
> -------------------------------------------------------------
>
> Key: CXF-970
> URL: https://issues.apache.org/jira/browse/CXF-970
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.0.1
> Environment: windows
> Reporter: Jeff Yu
> Fix For: 2.1
>
> Attachments: doc_lit_bare.wsdl
>
>
> When the parameter is null, at the client, it will send the soap message like below:
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body></soap:Body></soap:Envelope>
> but I think the correct soap message would be:
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><inString/></soap:Body></soap:Envelope>
> The test case would like below code snippet: (added it in DOCBareClientServerTest.java)
> @Test
> public void testNillableParameter() throws Exception {
> URL wsdl = getClass().getResource("/wsdl/doc_lit_bare.wsdl");
> assertNotNull("WSDL is null", wsdl);
> SOAPService service = new SOAPService(wsdl, serviceName);
> assertNotNull("Service is null", service);
> PutLastTradedPricePortType port = service.getPort(portName,
> PutLastTradedPricePortType.class);
> String result = port.nillableParameter(null);
> assertEquals("Hello", result);
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CXF-970) CXF doesnt handle the Doc/Literal (Bare)
with Null parameter.
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-970.
-----------------------------
Resolution: Fixed
Fix Version/s: (was: 2.1)
2.0.2
Assignee: Daniel Kulp (was: maomaode)
Patch applied. Thanks!
> CXF doesnt handle the Doc/Literal (Bare) with Null parameter.
> -------------------------------------------------------------
>
> Key: CXF-970
> URL: https://issues.apache.org/jira/browse/CXF-970
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.0.1
> Environment: windows
> Reporter: Jeff Yu
> Assignee: Daniel Kulp
> Fix For: 2.0.2
>
> Attachments: cxf-970.patch, doc_lit_bare.wsdl
>
>
> When the parameter is null, at the client, it will send the soap message like below:
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body></soap:Body></soap:Envelope>
> but I think the correct soap message would be:
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><inString/></soap:Body></soap:Envelope>
> The test case would like below code snippet: (added it in DOCBareClientServerTest.java)
> @Test
> public void testNillableParameter() throws Exception {
> URL wsdl = getClass().getResource("/wsdl/doc_lit_bare.wsdl");
> assertNotNull("WSDL is null", wsdl);
> SOAPService service = new SOAPService(wsdl, serviceName);
> assertNotNull("Service is null", service);
> PutLastTradedPricePortType port = service.getPort(portName,
> PutLastTradedPricePortType.class);
> String result = port.nillableParameter(null);
> assertEquals("Hello", result);
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-970) CXF doesnt handle the Doc/Literal (Bare)
with Null parameter.
Posted by "Jeff Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Yu updated CXF-970:
------------------------
Description:
When the parameter is null, at the client, it will send the soap message like below:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body></soap:Body></soap:Envelope>
but I think the correct soap message would be:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><inString/></soap:Body></soap:Envelope>
The test case would like below code snippet: (added it in DOCBareClientServerTest.java)
@Test
public void testNillableParameter() throws Exception {
URL wsdl = getClass().getResource("/wsdl/doc_lit_bare.wsdl");
assertNotNull("WSDL is null", wsdl);
SOAPService service = new SOAPService(wsdl, serviceName);
assertNotNull("Service is null", service);
PutLastTradedPricePortType port = service.getPort(portName,
PutLastTradedPricePortType.class);
String result = port.nillableParameter(null);
assertEquals("Hello", result);
}
was:
When the parameter is null, at the client, it will send the soap message like below:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body></soap:Body></soap:Envelope>
but I think the correct soap message would be:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><inString/></soap:Body></soap:Envelope>
> CXF doesnt handle the Doc/Literal (Bare) with Null parameter.
> -------------------------------------------------------------
>
> Key: CXF-970
> URL: https://issues.apache.org/jira/browse/CXF-970
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.0.1
> Environment: windows
> Reporter: Jeff Yu
> Fix For: 2.1
>
> Attachments: doc_lit_bare.wsdl
>
>
> When the parameter is null, at the client, it will send the soap message like below:
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body></soap:Body></soap:Envelope>
> but I think the correct soap message would be:
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><inString/></soap:Body></soap:Envelope>
> The test case would like below code snippet: (added it in DOCBareClientServerTest.java)
> @Test
> public void testNillableParameter() throws Exception {
> URL wsdl = getClass().getResource("/wsdl/doc_lit_bare.wsdl");
> assertNotNull("WSDL is null", wsdl);
> SOAPService service = new SOAPService(wsdl, serviceName);
> assertNotNull("Service is null", service);
> PutLastTradedPricePortType port = service.getPort(portName,
> PutLastTradedPricePortType.class);
> String result = port.nillableParameter(null);
> assertEquals("Hello", result);
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (CXF-970) CXF doesnt handle the Doc/Literal (Bare)
with Null parameter.
Posted by "maomaode (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
maomaode reassigned CXF-970:
----------------------------
Assignee: maomaode
> CXF doesnt handle the Doc/Literal (Bare) with Null parameter.
> -------------------------------------------------------------
>
> Key: CXF-970
> URL: https://issues.apache.org/jira/browse/CXF-970
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.0.1
> Environment: windows
> Reporter: Jeff Yu
> Assignee: maomaode
> Fix For: 2.1
>
> Attachments: cxf-970.patch, doc_lit_bare.wsdl
>
>
> When the parameter is null, at the client, it will send the soap message like below:
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body></soap:Body></soap:Envelope>
> but I think the correct soap message would be:
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><inString/></soap:Body></soap:Envelope>
> The test case would like below code snippet: (added it in DOCBareClientServerTest.java)
> @Test
> public void testNillableParameter() throws Exception {
> URL wsdl = getClass().getResource("/wsdl/doc_lit_bare.wsdl");
> assertNotNull("WSDL is null", wsdl);
> SOAPService service = new SOAPService(wsdl, serviceName);
> assertNotNull("Service is null", service);
> PutLastTradedPricePortType port = service.getPort(portName,
> PutLastTradedPricePortType.class);
> String result = port.nillableParameter(null);
> assertEquals("Hello", result);
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-970) CXF doesnt handle the Doc/Literal (Bare)
with Null parameter.
Posted by "Jeff Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Yu updated CXF-970:
------------------------
Attachment: cxf-970.patch
with this patch, cxf will render out the element with null value, whose nillable attribute value is true.
detail please refer to this thread: http://www.nabble.com/Inter-operation-issue-against-WCF-server.-tf4412733.html
> CXF doesnt handle the Doc/Literal (Bare) with Null parameter.
> -------------------------------------------------------------
>
> Key: CXF-970
> URL: https://issues.apache.org/jira/browse/CXF-970
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.0.1
> Environment: windows
> Reporter: Jeff Yu
> Fix For: 2.1
>
> Attachments: cxf-970.patch, doc_lit_bare.wsdl
>
>
> When the parameter is null, at the client, it will send the soap message like below:
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body></soap:Body></soap:Envelope>
> but I think the correct soap message would be:
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><inString/></soap:Body></soap:Envelope>
> The test case would like below code snippet: (added it in DOCBareClientServerTest.java)
> @Test
> public void testNillableParameter() throws Exception {
> URL wsdl = getClass().getResource("/wsdl/doc_lit_bare.wsdl");
> assertNotNull("WSDL is null", wsdl);
> SOAPService service = new SOAPService(wsdl, serviceName);
> assertNotNull("Service is null", service);
> PutLastTradedPricePortType port = service.getPort(portName,
> PutLastTradedPricePortType.class);
> String result = port.nillableParameter(null);
> assertEquals("Hello", result);
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CXF-970) CXF doesnt handle the Doc/Literal (Bare)
with Null parameter.
Posted by "Jeff Yu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Yu updated CXF-970:
------------------------
Attachment: doc_lit_bare.wsdl
attach the wsdl.
> CXF doesnt handle the Doc/Literal (Bare) with Null parameter.
> -------------------------------------------------------------
>
> Key: CXF-970
> URL: https://issues.apache.org/jira/browse/CXF-970
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.0.1
> Environment: windows
> Reporter: Jeff Yu
> Fix For: 2.1
>
> Attachments: doc_lit_bare.wsdl
>
>
> When the parameter is null, at the client, it will send the soap message like below:
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body></soap:Body></soap:Envelope>
> but I think the correct soap message would be:
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><inString/></soap:Body></soap:Envelope>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.