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: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to