You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Roshan Weerasuriya (JIRA)" <ax...@ws.apache.org> on 2005/01/13 14:58:19 UTC
[jira] Created: (AXISCPP-377) setting a attribute to the SOAP method from the stub using "setSOAPMethodAttribute" makes the server crash
setting a attribute to the SOAP method from the stub using "setSOAPMethodAttribute" makes the server crash
----------------------------------------------------------------------------------------------------------
Key: AXISCPP-377
URL: http://issues.apache.org/jira/browse/AXISCPP-377
Project: Axis-C++
Type: Bug
Components: Basic Architecture
Versions: current (nightly)
Reporter: Roshan Weerasuriya
Fix For: current (nightly)
I figured out that there is a problem like this. If you set a attribute to the SOAP Method using this setSOAPMethodAttribute and if we define this attribute in a new namespace (as the following ex), the server side crashes.
example code
----------
InteropTestPortType ws(endpoint, APTHTTP1_1);
ws.setSOAPMethodAttribute("myattrilocalname",
"mattrpprfx", "http://myattr.com", "myattrival");
The out put from the client is
-----------------------
....
.......
<SOAP-ENV:Body>
<ns1:echoString xmlns:ns1="http://soapinterop.org/"
mattrpprfx:myattrilocalname="myattrival">
<inputString xsi:type="xsd:string">hello world</inputString>
</ns1:echoString>
...
.......
The server crashes, because the namespace is not declared.
--
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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXISCPP-377) setting a attribute to the SOAP method from the stub using "setSOAPMethodAttribute" makes the server crash
Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-377?page=comments#action_58472 ]
Samisa Abeysinghe commented on AXISCPP-377:
-------------------------------------------
Could this be due to errors at Stub level such as setting invalid namespaces etc.?
If that is the case, the solution could be two fold:
1. Verify values set at Stub level
2. Verify XML at server side and throw erros if invalid
> setting a attribute to the SOAP method from the stub using "setSOAPMethodAttribute" makes the server crash
> ----------------------------------------------------------------------------------------------------------
>
> Key: AXISCPP-377
> URL: http://issues.apache.org/jira/browse/AXISCPP-377
> Project: Axis-C++
> Type: Bug
> Components: Basic Architecture
> Versions: current (nightly)
> Reporter: Roshan Weerasuriya
> Assignee: Roshan Weerasuriya
> Fix For: current (nightly)
>
> I figured out that there is a problem like this. If you set a attribute to the SOAP Method using this setSOAPMethodAttribute and if we define this attribute in a new namespace (as the following ex), the server side crashes.
>
> example code
> ----------
>
> InteropTestPortType ws(endpoint, APTHTTP1_1);
>
>
> ws.setSOAPMethodAttribute("myattrilocalname",
> "mattrpprfx", "http://myattr.com", "myattrival");
>
> The out put from the client is
> -----------------------
> ....
> .......
> <SOAP-ENV:Body>
> <ns1:echoString xmlns:ns1="http://soapinterop.org/"
> mattrpprfx:myattrilocalname="myattrival">
> <inputString xsi:type="xsd:string">hello world</inputString>
> </ns1:echoString>
> ...
> .......
> The server crashes, because the namespace is not declared.
--
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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Closed: (AXISCPP-377) setting a attribute to the SOAP method from the stub using "setSOAPMethodAttribute" makes the server crash
Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-377?page=all ]
Samisa Abeysinghe closed AXISCPP-377:
-------------------------------------
Fix Version: 1.6 Alpha
(was: current (nightly))
Resolution: Won't Fix
setSOAPMethodAttribute call does not belong to Stub class any more. Hence this isuue is outdated
> setting a attribute to the SOAP method from the stub using "setSOAPMethodAttribute" makes the server crash
> ----------------------------------------------------------------------------------------------------------
>
> Key: AXISCPP-377
> URL: http://issues.apache.org/jira/browse/AXISCPP-377
> Project: Axis-C++
> Type: Bug
> Components: Server - Engine
> Versions: current (nightly)
> Reporter: Roshan Weerasuriya
> Assignee: Roshan Weerasuriya
> Fix For: 1.6 Alpha
>
> I figured out that there is a problem like this. If you set a attribute to the SOAP Method using this setSOAPMethodAttribute and if we define this attribute in a new namespace (as the following ex), the server side crashes.
>
> example code
> ----------
>
> InteropTestPortType ws(endpoint, APTHTTP1_1);
>
>
> ws.setSOAPMethodAttribute("myattrilocalname",
> "mattrpprfx", "http://myattr.com", "myattrival");
>
> The out put from the client is
> -----------------------
> ....
> .......
> <SOAP-ENV:Body>
> <ns1:echoString xmlns:ns1="http://soapinterop.org/"
> mattrpprfx:myattrilocalname="myattrival">
> <inputString xsi:type="xsd:string">hello world</inputString>
> </ns1:echoString>
> ...
> .......
> The server crashes, because the namespace is not declared.
--
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: (AXISCPP-377) setting a attribute to the SOAP method from the stub using "setSOAPMethodAttribute" makes the server crash
Posted by "John Hawkins (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-377?page=history ]
John Hawkins updated AXISCPP-377:
---------------------------------
Component: Server - Engine
(was: Basic Architecture)
> setting a attribute to the SOAP method from the stub using "setSOAPMethodAttribute" makes the server crash
> ----------------------------------------------------------------------------------------------------------
>
> Key: AXISCPP-377
> URL: http://issues.apache.org/jira/browse/AXISCPP-377
> Project: Axis-C++
> Type: Bug
> Components: Server - Engine
> Versions: current (nightly)
> Reporter: Roshan Weerasuriya
> Assignee: Roshan Weerasuriya
> Fix For: current (nightly)
>
> I figured out that there is a problem like this. If you set a attribute to the SOAP Method using this setSOAPMethodAttribute and if we define this attribute in a new namespace (as the following ex), the server side crashes.
>
> example code
> ----------
>
> InteropTestPortType ws(endpoint, APTHTTP1_1);
>
>
> ws.setSOAPMethodAttribute("myattrilocalname",
> "mattrpprfx", "http://myattr.com", "myattrival");
>
> The out put from the client is
> -----------------------
> ....
> .......
> <SOAP-ENV:Body>
> <ns1:echoString xmlns:ns1="http://soapinterop.org/"
> mattrpprfx:myattrilocalname="myattrival">
> <inputString xsi:type="xsd:string">hello world</inputString>
> </ns1:echoString>
> ...
> .......
> The server crashes, because the namespace is not declared.
--
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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
[jira] Assigned: (AXISCPP-377) setting a attribute to the SOAP method from the stub using "setSOAPMethodAttribute" makes the server crash
Posted by "Roshan Weerasuriya (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-377?page=history ]
Roshan Weerasuriya reassigned AXISCPP-377:
------------------------------------------
Assign To: Roshan Weerasuriya
> setting a attribute to the SOAP method from the stub using "setSOAPMethodAttribute" makes the server crash
> ----------------------------------------------------------------------------------------------------------
>
> Key: AXISCPP-377
> URL: http://issues.apache.org/jira/browse/AXISCPP-377
> Project: Axis-C++
> Type: Bug
> Components: Basic Architecture
> Versions: current (nightly)
> Reporter: Roshan Weerasuriya
> Assignee: Roshan Weerasuriya
> Fix For: current (nightly)
>
> I figured out that there is a problem like this. If you set a attribute to the SOAP Method using this setSOAPMethodAttribute and if we define this attribute in a new namespace (as the following ex), the server side crashes.
>
> example code
> ----------
>
> InteropTestPortType ws(endpoint, APTHTTP1_1);
>
>
> ws.setSOAPMethodAttribute("myattrilocalname",
> "mattrpprfx", "http://myattr.com", "myattrival");
>
> The out put from the client is
> -----------------------
> ....
> .......
> <SOAP-ENV:Body>
> <ns1:echoString xmlns:ns1="http://soapinterop.org/"
> mattrpprfx:myattrilocalname="myattrival">
> <inputString xsi:type="xsd:string">hello world</inputString>
> </ns1:echoString>
> ...
> .......
> The server crashes, because the namespace is not declared.
--
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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira