You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2007/06/22 08:57:26 UTC

DO NOT REPLY [Bug 42717] New: - webservice soap sampler does not recognize name spaces.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42717>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42717

           Summary: webservice soap sampler does not recognize name spaces.
           Product: JMeter
           Version: 2.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P2
         Component: HTTP
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: ezabhi@gmail.com


The webservice soap sampler looks for hard coded 
names "wsdlsoap:operation" "soap:operation" of tags to identify webmethods 
instead of looking for appropriate name spaces. It fails for all webservices 
which have namespaces different from "soap". eg. 

- <definitions name="ItemDetailsDefinitions" 
targetNamespace="http://com/cellularsouth/retail/webservice/jws" 
xmlns="http://schemas.xmlsoap.org/wsdl/" 
xmlns:s0="http://com/cellularsouth/retail/webservice/jws" 
xmlns:s1="http://schemas.xmlsoap.org/wsdl/soap/">

instead of 
pnode.getElementsByTagName("soap:address"); 
the code should be
String addTag = soapNs + ":address"
pnode.getElementsByTagName(addTag); 
and similarly for all such occurences.

Also the binary and the source code do not match for the version 2.2. The 
source code doesnot support webservice sampler but the binary does !! 
kindly make the correct source code available. I want to start contributing by 
doing this simple fix ! :)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 42717] - webservice soap sampler does not recognize name spaces.

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42717>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42717





------- Additional Comments From sebb@apache.org  2007-06-22 06:09 -------
*** Bug 42716 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 42717] - webservice soap sampler does not recognize name spaces.

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42717>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42717


sebb@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




------- Additional Comments From sebb@apache.org  2007-06-22 06:12 -------
Are you referring to parsing the WSDL?

The source code for the current version of JMeter is in branches/rel-2-2; this 
is documented in the STATUS file.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 42717] - webservice soap sampler does not recognize name spaces.

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42717>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42717





------- Additional Comments From ezabhi@gmail.com  2007-06-22 07:01 -------
 Basically the source code shows that
> when we search for "soap:operation" etc to identify the webmethods.
> NodeList servlist = pnode.getElementsByTagName("soap:address"); in
> WSDLHelper.java
>  This fails in case of auto generated WSDLs which use the naming method as
> below.
> -
> <definitions name ="ItemDetailsDefinitions" targetNamespace
> ="http://com/cellularsouth/retail/webservice/jws"
> xmlns="http://schemas.xmlsoap.org/wsdl/ " xmlns:s0="
> http://com/cellularsouth/retail/webservice/jws" xmlns:s1="
> http://schemas.xmlsoap.org/wsdl/soap/">
>
> - <types>
>
> nNow in this WSDL the webmethods need to identified by s1:operation .. etc .
> What needs to be done therefore is that when looking for the tags we should
> identify the appropriate namespace.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org


DO NOT REPLY [Bug 42717] - webservice soap sampler does not recognize name spaces.

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42717>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42717


sebb@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |enhancement




------- Additional Comments From sebb@apache.org  2007-07-02 06:52 -------
The WSDL parsing is not required for running the sampler, so changing to 
enhancement

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org