You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Bo Wang (JIRA)" <ji...@apache.org> on 2005/04/20 22:09:45 UTC
[jira] Created: (AXIS2-21) possible bug in Axis 1.2.x related to document/literal
possible bug in Axis 1.2.x related to document/literal
------------------------------------------------------
Key: AXIS2-21
URL: http://issues.apache.org/jira/browse/AXIS2-21
Project: Axis2
Type: Bug
Components: wsdl
Reporter: Bo Wang
Assigned to: Davanum Srinivas
here's the situation: for an operation with doc/literal style and with NO input message part,
<message name="request_reference"/>
<message name="return_reference">
<part element="tns:reference_wrapper" name="the_reference"/>
</message>
<portType name="Factory">
<operation name="retrieve_reference">
<input message="tns:request_reference" name="retrieve_referenceRequest"/>
<output message="tns:return_reference" name="retrieve_referenceResponse"/>
</operation>
</portType>
<binding name="Factory_SOAPBinding" type="tns:Factory">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="retrieve_reference">
<soap:operation soapAction="" style="document"/>
<input name="retrieve_referenceRequest">
<soap:body use="literal"/>
</input>
<output name="retrieve_referenceResponse">
<soap:body use="literal"/>
</output>
</operation>
</binding>
Axis sends the following message with an empty operation in soap body.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<retrieve_reference xmlns="http://www.iona.com/hello_world_soap_http"/>
</soapenv:Body>
</soapenv:Envelope>
but the following is the soap message with an empty soap body:
<?xml version='1.0' encoding='utf-8'?>
<SOAP-ENV:Envelope xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body></SOAP-ENV:Body>
</SOAP-ENV:Envelope>
this happens in axis 1.2 beta, rc1, rc2, and rc3. (java version)
I think it's a bug, isn't it?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXIS-1947) possible bug in Axis 1.2.x related to document/literal
Posted by "Boris Lavva (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-1947?page=comments#action_65889 ]
Boris Lavva commented on AXIS-1947:
-----------------------------------
I suggest to add the patch above to the next release, because many other webservices frameworks unable to parse these fantom xxx-requestResponse message not defined in the original WSDL.
Thanks!
> possible bug in Axis 1.2.x related to document/literal
> ------------------------------------------------------
>
> Key: AXIS-1947
> URL: http://issues.apache.org/jira/browse/AXIS-1947
> Project: Axis
> Type: Bug
> Reporter: Bo Wang
> Assignee: Davanum Srinivas
> Attachments: hello_world.wsdl
>
> here's the situation: for an operation with doc/literal style and with NO input message part,
> <message name="request_reference"/>
> <message name="return_reference">
> <part element="tns:reference_wrapper" name="the_reference"/>
> </message>
> <portType name="Factory">
> <operation name="retrieve_reference">
> <input message="tns:request_reference" name="retrieve_referenceRequest"/>
> <output message="tns:return_reference" name="retrieve_referenceResponse"/>
> </operation>
> </portType>
> <binding name="Factory_SOAPBinding" type="tns:Factory">
> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
> <operation name="retrieve_reference">
> <soap:operation soapAction="" style="document"/>
> <input name="retrieve_referenceRequest">
> <soap:body use="literal"/>
> </input>
> <output name="retrieve_referenceResponse">
> <soap:body use="literal"/>
> </output>
> </operation>
> </binding>
> Axis sends the following message with an empty operation in soap body.
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
> <retrieve_reference xmlns="http://www.iona.com/hello_world_soap_http"/>
> </soapenv:Body>
> </soapenv:Envelope>
> but the following is the soap message with an empty soap body:
> <?xml version='1.0' encoding='utf-8'?>
> <SOAP-ENV:Envelope xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
> <SOAP-ENV:Body></SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> this happens in axis 1.2 beta, rc1, rc2, and rc3. (java version)
> I think it's a bug, isn't it?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXIS-1947) possible bug in Axis 1.2.x related to document/literal
Posted by "James Vera (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-1947?page=comments#action_64789 ]
James Vera commented on AXIS-1947:
----------------------------------
As I undersatnd the above, in the request, Axis is sending:
<soapenv:Body>
<retrieve_reference xmlns=""/>
</soapenv:Body>
Instead of the desired:
<soapenv:Body/>
I have the same problem (though on the response) when trying to use a one-way operation.
Please let me know if you need additional info.
> possible bug in Axis 1.2.x related to document/literal
> ------------------------------------------------------
>
> Key: AXIS-1947
> URL: http://issues.apache.org/jira/browse/AXIS-1947
> Project: Axis
> Type: Bug
> Reporter: Bo Wang
> Assignee: Davanum Srinivas
> Attachments: hello_world.wsdl
>
> here's the situation: for an operation with doc/literal style and with NO input message part,
> <message name="request_reference"/>
> <message name="return_reference">
> <part element="tns:reference_wrapper" name="the_reference"/>
> </message>
> <portType name="Factory">
> <operation name="retrieve_reference">
> <input message="tns:request_reference" name="retrieve_referenceRequest"/>
> <output message="tns:return_reference" name="retrieve_referenceResponse"/>
> </operation>
> </portType>
> <binding name="Factory_SOAPBinding" type="tns:Factory">
> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
> <operation name="retrieve_reference">
> <soap:operation soapAction="" style="document"/>
> <input name="retrieve_referenceRequest">
> <soap:body use="literal"/>
> </input>
> <output name="retrieve_referenceResponse">
> <soap:body use="literal"/>
> </output>
> </operation>
> </binding>
> Axis sends the following message with an empty operation in soap body.
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
> <retrieve_reference xmlns="http://www.iona.com/hello_world_soap_http"/>
> </soapenv:Body>
> </soapenv:Envelope>
> but the following is the soap message with an empty soap body:
> <?xml version='1.0' encoding='utf-8'?>
> <SOAP-ENV:Envelope xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
> <SOAP-ENV:Body></SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> this happens in axis 1.2 beta, rc1, rc2, and rc3. (java version)
> I think it's a bug, isn't it?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXIS-1947) possible bug in Axis 1.2.x related to document/literal
Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-1947?page=comments#action_63543 ]
Davanum Srinivas commented on AXIS-1947:
----------------------------------------
Please upload the complete WSDL.
thanks,
dims
> possible bug in Axis 1.2.x related to document/literal
> ------------------------------------------------------
>
> Key: AXIS-1947
> URL: http://issues.apache.org/jira/browse/AXIS-1947
> Project: Axis
> Type: Bug
> Reporter: Bo Wang
> Assignee: Davanum Srinivas
>
> here's the situation: for an operation with doc/literal style and with NO input message part,
> <message name="request_reference"/>
> <message name="return_reference">
> <part element="tns:reference_wrapper" name="the_reference"/>
> </message>
> <portType name="Factory">
> <operation name="retrieve_reference">
> <input message="tns:request_reference" name="retrieve_referenceRequest"/>
> <output message="tns:return_reference" name="retrieve_referenceResponse"/>
> </operation>
> </portType>
> <binding name="Factory_SOAPBinding" type="tns:Factory">
> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
> <operation name="retrieve_reference">
> <soap:operation soapAction="" style="document"/>
> <input name="retrieve_referenceRequest">
> <soap:body use="literal"/>
> </input>
> <output name="retrieve_referenceResponse">
> <soap:body use="literal"/>
> </output>
> </operation>
> </binding>
> Axis sends the following message with an empty operation in soap body.
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
> <retrieve_reference xmlns="http://www.iona.com/hello_world_soap_http"/>
> </soapenv:Body>
> </soapenv:Envelope>
> but the following is the soap message with an empty soap body:
> <?xml version='1.0' encoding='utf-8'?>
> <SOAP-ENV:Envelope xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
> <SOAP-ENV:Body></SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> this happens in axis 1.2 beta, rc1, rc2, and rc3. (java version)
> I think it's a bug, isn't it?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXIS-1947) possible bug in Axis 1.2.x related to document/literal
Posted by "James Vera (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-1947?page=comments#action_65805 ]
James Vera commented on AXIS-1947:
----------------------------------
I used incorrect terminology in the above. Rather than a "one-way operation" I meant a service where the response is empty but which could return a fault.
Apologies.
> possible bug in Axis 1.2.x related to document/literal
> ------------------------------------------------------
>
> Key: AXIS-1947
> URL: http://issues.apache.org/jira/browse/AXIS-1947
> Project: Axis
> Type: Bug
> Reporter: Bo Wang
> Assignee: Davanum Srinivas
> Attachments: hello_world.wsdl
>
> here's the situation: for an operation with doc/literal style and with NO input message part,
> <message name="request_reference"/>
> <message name="return_reference">
> <part element="tns:reference_wrapper" name="the_reference"/>
> </message>
> <portType name="Factory">
> <operation name="retrieve_reference">
> <input message="tns:request_reference" name="retrieve_referenceRequest"/>
> <output message="tns:return_reference" name="retrieve_referenceResponse"/>
> </operation>
> </portType>
> <binding name="Factory_SOAPBinding" type="tns:Factory">
> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
> <operation name="retrieve_reference">
> <soap:operation soapAction="" style="document"/>
> <input name="retrieve_referenceRequest">
> <soap:body use="literal"/>
> </input>
> <output name="retrieve_referenceResponse">
> <soap:body use="literal"/>
> </output>
> </operation>
> </binding>
> Axis sends the following message with an empty operation in soap body.
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
> <retrieve_reference xmlns="http://www.iona.com/hello_world_soap_http"/>
> </soapenv:Body>
> </soapenv:Envelope>
> but the following is the soap message with an empty soap body:
> <?xml version='1.0' encoding='utf-8'?>
> <SOAP-ENV:Envelope xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
> <SOAP-ENV:Body></SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> this happens in axis 1.2 beta, rc1, rc2, and rc3. (java version)
> I think it's a bug, isn't it?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXIS-1947) possible bug in Axis 1.2.x related to document/literal
Posted by "Boris Lavva (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-1947?page=comments#action_65888 ]
Boris Lavva commented on AXIS-1947:
-----------------------------------
We fixed the response problem (see comment by James Vera above) by applying the following patch on org.apache.axis.providers.java.RPCProvider.java:
315,318c315,321
< RPCElement resBody = new RPCElement(methodName + "Response");
< resBody.setPrefix(body.getPrefix());
< resBody.setNamespaceURI(body.getNamespaceURI());
< resBody.setEncodingStyle(msgContext.getEncodingStyle());
---
> RPCElement resBody = null;
> if (operation.getMethod().getReturnType() != Void.TYPE || !outs.isEmpty()) {
> resBody = new RPCElement(methodName + "Response");
> resBody.setPrefix(body.getPrefix());
> resBody.setNamespaceURI(body.getNamespaceURI());
> resBody.setEncodingStyle(msgContext.getEncodingStyle());
> }
373c376,378
< resEnv.addBodyElement(resBody);
---
> if (resBody != null) {
> resEnv.addBodyElement(resBody);
> }
> possible bug in Axis 1.2.x related to document/literal
> ------------------------------------------------------
>
> Key: AXIS-1947
> URL: http://issues.apache.org/jira/browse/AXIS-1947
> Project: Axis
> Type: Bug
> Reporter: Bo Wang
> Assignee: Davanum Srinivas
> Attachments: hello_world.wsdl
>
> here's the situation: for an operation with doc/literal style and with NO input message part,
> <message name="request_reference"/>
> <message name="return_reference">
> <part element="tns:reference_wrapper" name="the_reference"/>
> </message>
> <portType name="Factory">
> <operation name="retrieve_reference">
> <input message="tns:request_reference" name="retrieve_referenceRequest"/>
> <output message="tns:return_reference" name="retrieve_referenceResponse"/>
> </operation>
> </portType>
> <binding name="Factory_SOAPBinding" type="tns:Factory">
> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
> <operation name="retrieve_reference">
> <soap:operation soapAction="" style="document"/>
> <input name="retrieve_referenceRequest">
> <soap:body use="literal"/>
> </input>
> <output name="retrieve_referenceResponse">
> <soap:body use="literal"/>
> </output>
> </operation>
> </binding>
> Axis sends the following message with an empty operation in soap body.
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
> <retrieve_reference xmlns="http://www.iona.com/hello_world_soap_http"/>
> </soapenv:Body>
> </soapenv:Envelope>
> but the following is the soap message with an empty soap body:
> <?xml version='1.0' encoding='utf-8'?>
> <SOAP-ENV:Envelope xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
> <SOAP-ENV:Body></SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> this happens in axis 1.2 beta, rc1, rc2, and rc3. (java version)
> I think it's a bug, isn't it?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXIS-1947) possible bug in Axis 1.2.x related to document/literal
Posted by "Venkat Reddy (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-1947?page=comments#action_64050 ]
Venkat Reddy commented on AXIS-1947:
------------------------------------
I didn't understand the "empy soap body" part. Are you referring to the response envelop? Following is the request and response i got when i tested.
request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<retrieve_reference xmlns=""/>
</soapenv:Body>
</soapenv:Envelope>
response:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<reference_wrapper xsi:nil="true" xmlns="http://www.iona.com/hello_world_soap_http"/>
</soapenv:Body>
</soapenv:Envelope>
> possible bug in Axis 1.2.x related to document/literal
> ------------------------------------------------------
>
> Key: AXIS-1947
> URL: http://issues.apache.org/jira/browse/AXIS-1947
> Project: Axis
> Type: Bug
> Reporter: Bo Wang
> Assignee: Davanum Srinivas
> Attachments: hello_world.wsdl
>
> here's the situation: for an operation with doc/literal style and with NO input message part,
> <message name="request_reference"/>
> <message name="return_reference">
> <part element="tns:reference_wrapper" name="the_reference"/>
> </message>
> <portType name="Factory">
> <operation name="retrieve_reference">
> <input message="tns:request_reference" name="retrieve_referenceRequest"/>
> <output message="tns:return_reference" name="retrieve_referenceResponse"/>
> </operation>
> </portType>
> <binding name="Factory_SOAPBinding" type="tns:Factory">
> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
> <operation name="retrieve_reference">
> <soap:operation soapAction="" style="document"/>
> <input name="retrieve_referenceRequest">
> <soap:body use="literal"/>
> </input>
> <output name="retrieve_referenceResponse">
> <soap:body use="literal"/>
> </output>
> </operation>
> </binding>
> Axis sends the following message with an empty operation in soap body.
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
> <retrieve_reference xmlns="http://www.iona.com/hello_world_soap_http"/>
> </soapenv:Body>
> </soapenv:Envelope>
> but the following is the soap message with an empty soap body:
> <?xml version='1.0' encoding='utf-8'?>
> <SOAP-ENV:Envelope xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
> <SOAP-ENV:Body></SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> this happens in axis 1.2 beta, rc1, rc2, and rc3. (java version)
> I think it's a bug, isn't it?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (AXIS-1947) possible bug in Axis 1.2.x related to
document/literal
Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/AXIS-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas updated AXIS-1947:
-----------------------------------
Assignee: (was: Davanum Srinivas)
> possible bug in Axis 1.2.x related to document/literal
> ------------------------------------------------------
>
> Key: AXIS-1947
> URL: https://issues.apache.org/jira/browse/AXIS-1947
> Project: Axis
> Issue Type: Bug
> Reporter: Bo Wang
> Attachments: hello_world.wsdl
>
>
> here's the situation: for an operation with doc/literal style and with NO input message part,
> <message name="request_reference"/>
> <message name="return_reference">
> <part element="tns:reference_wrapper" name="the_reference"/>
> </message>
> <portType name="Factory">
> <operation name="retrieve_reference">
> <input message="tns:request_reference" name="retrieve_referenceRequest"/>
> <output message="tns:return_reference" name="retrieve_referenceResponse"/>
> </operation>
> </portType>
> <binding name="Factory_SOAPBinding" type="tns:Factory">
> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
> <operation name="retrieve_reference">
> <soap:operation soapAction="" style="document"/>
> <input name="retrieve_referenceRequest">
> <soap:body use="literal"/>
> </input>
> <output name="retrieve_referenceResponse">
> <soap:body use="literal"/>
> </output>
> </operation>
> </binding>
> Axis sends the following message with an empty operation in soap body.
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
> <retrieve_reference xmlns="http://www.iona.com/hello_world_soap_http"/>
> </soapenv:Body>
> </soapenv:Envelope>
> but the following is the soap message with an empty soap body:
> <?xml version='1.0' encoding='utf-8'?>
> <SOAP-ENV:Envelope xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
> <SOAP-ENV:Body></SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> this happens in axis 1.2 beta, rc1, rc2, and rc3. (java version)
> I think it's a bug, isn't it?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS-1947) possible bug in Axis 1.2.x related to document/literal
Posted by "Bo Wang (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-1947?page=all ]
Bo Wang updated AXIS-1947:
--------------------------
Attachment: hello_world.wsdl
> possible bug in Axis 1.2.x related to document/literal
> ------------------------------------------------------
>
> Key: AXIS-1947
> URL: http://issues.apache.org/jira/browse/AXIS-1947
> Project: Axis
> Type: Bug
> Reporter: Bo Wang
> Assignee: Davanum Srinivas
> Attachments: hello_world.wsdl
>
> here's the situation: for an operation with doc/literal style and with NO input message part,
> <message name="request_reference"/>
> <message name="return_reference">
> <part element="tns:reference_wrapper" name="the_reference"/>
> </message>
> <portType name="Factory">
> <operation name="retrieve_reference">
> <input message="tns:request_reference" name="retrieve_referenceRequest"/>
> <output message="tns:return_reference" name="retrieve_referenceResponse"/>
> </operation>
> </portType>
> <binding name="Factory_SOAPBinding" type="tns:Factory">
> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
> <operation name="retrieve_reference">
> <soap:operation soapAction="" style="document"/>
> <input name="retrieve_referenceRequest">
> <soap:body use="literal"/>
> </input>
> <output name="retrieve_referenceResponse">
> <soap:body use="literal"/>
> </output>
> </operation>
> </binding>
> Axis sends the following message with an empty operation in soap body.
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
> <retrieve_reference xmlns="http://www.iona.com/hello_world_soap_http"/>
> </soapenv:Body>
> </soapenv:Envelope>
> but the following is the soap message with an empty soap body:
> <?xml version='1.0' encoding='utf-8'?>
> <SOAP-ENV:Envelope xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
> <SOAP-ENV:Body></SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> this happens in axis 1.2 beta, rc1, rc2, and rc3. (java version)
> I think it's a bug, isn't it?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira