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 2008/10/22 14:17:58 UTC

DO NOT REPLY [Bug 46061] New: jmeter does not supports SOAP1.2

https://issues.apache.org/bugzilla/show_bug.cgi?id=46061

           Summary: jmeter does not supports SOAP1.2
           Product: JMeter
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: nitin.sachdeva@tcs.com


I'm using Jmeter 2.3.2 and looks like its not supporting SOAP 1.2 as my SOAP
request containing <soap:Envelope
xmlns:soap="http://www.w3.org/2003/05/soap-envelope"> is failing with error
response in jMeter as :

<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsa="http://www.w3.org/2005/08/addressing"><soapenv:Header><wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action></soapenv:Header><soapenv:Body><soapenv:Fault><faultcode>soap:VersionMismatch</faultcode><faultstring>Transport
level information does not match with SOAP Message namespace
URI</faultstring><detail /></soapenv:Fault></soapenv:Body></soapenv:Envelope>

Please confirm


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

---------------------------------------------------------------------
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 46061] jmeter does not supports SOAP1.2

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46061


Sebb <se...@apache.org> changed:

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




--- Comment #1 from Sebb <se...@apache.org>  2008-10-22 05:23:31 PST ---
Which SOAP sampler are you using? 
WebService(SOAP) or SOAP/XML-RPC?

I suspect the former; try using the latter instead.

Also, please attach a sample request that is failing (redact any sensitive
information first).


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

---------------------------------------------------------------------
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 46061] jmeter does not supports SOAP1.2

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46061


Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |WONTFIX




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

---------------------------------------------------------------------
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 46061] jmeter does not supports SOAP1.2

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46061





--- Comment #4 from nitin <ni...@tcs.com>  2008-10-24 01:41:02 PST ---
(In reply to comment #3)
> [Bugs are only only supposed to be assigned by developers to indicate that they
> are dealing with the bug.]
> I don't know why this is occurring. The SOAP/XML-RPC sampler does not do any
> processing of the request, so either the request itself is incorrect, or there
> are some missing or incorrect headers.
> Are you 100% sure that the data is correct?

Yes the request is fine. I tried the same with SOAP 1.1 and it works now.

soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

So looks there is some problem with using SOAP 1.2 . Please confirm


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

---------------------------------------------------------------------
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 46061] jmeter does not supports SOAP1.2

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46061


Sebb <se...@apache.org> changed:

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




--- Comment #5 from Sebb <se...@apache.org>  2008-10-24 04:30:36 PST ---
I don't have a SOAP 1.2 service to test against, so I can't confirm the
problem.

However I have found a document describing the differences between SOAP 1.1 and
1.2:

http://www.idealliance.org/papers/xmle02/dx_xmle02/papers/02-02-02/02-02-02.html#http

which says that the Content-Type has changed.

As the SOAP/XML-RPC sampler does not work, this seems the most likely culprit.

So try adding a Header Manager to the SOAP/XML-RPC sampler with the setting:

     Content-Type     text/soap+xml

You may need to add "; charset=utf-8" to the content-type value.

Does this solve the problem?

==

I cannot get the WebService sampler to send the data at all - it complains:

SOAP-ENV:VersionMismatch: Envelope element must be associated with the
'http://schemas.xmlsoap.org/soap/envelope/' namespace.

This occurs before sending the data and is to be expected as thw WebService
sampler uses a SOAP library that does not support 1.2.

It's unlikely that this will be fixed in the near future.


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

---------------------------------------------------------------------
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 46061] jmeter does not supports SOAP1.2

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46061


nitin <ni...@tcs.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |ASSIGNED




--- Comment #2 from nitin <ni...@tcs.com>  2008-10-22 21:26:17 PST ---

I tried both samplers(WebService(SOAP) or SOAP/XML-RPC) and got same response:

Response:

<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsa="http://www.w3.org/2005/08/addressing"><soapenv:Header><wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action></soapenv:Header><soapenv:Body><soapenv:Fault><faultcode>soap:VersionMismatch</faultcode><faultstring>Transport
level information does not match with SOAP Message namespace
URI</faultstring><detail /></soapenv:Fault></soapenv:Body></soapenv:Envelope

Also here is the request that I'm sending in the jmeter:

Request:

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
xmlns:alt="http://altbuy.brewzone.bds.qualcomm.com"
xmlns:xsd="http://altbuy.brewzone.bds.qualcomm.com/xsd"
xmlns:xsd1="http://dto.altbuy.brewzone.bds.qualcomm.com/xsd">
   <soap:Header>
       
<soap:Action>http://bmc-si:80/altl-brewzonews/services/AlternatePurchaseWS</soap:Action>
  </soap:Header>
   <soap:Body>
      <alt:sendAlternatePurchase>
         <!--Optional:-->
           <alt:request>

            <!--Optional:-->
            <xsd:billingEvent>
               <!--Optional:-->
               <xsd1:carrierId>41</xsd1:carrierId>
               <!--Optional:-->
               <xsd1:contentFee>0.04</xsd1:contentFee>
               <!--Optional:-->
               <xsd1:contentId>12345453</xsd1:contentId>
               <!--Optional:-->
               <xsd1:ctxId>123466789238767</xsd1:ctxId>

               <xsd1:customerType>SID</xsd1:customerType>
               <xsd1:customerId>5554024321943</xsd1:customerId>
               <xsd1:gmtOffset>0</xsd1:gmtOffset>
               <!--Optional:-->
               <xsd1:listPrice>3.48</xsd1:listPrice>
               <!--Optional:-->
               <xsd1:listPriceCurrency>USD</xsd1:listPriceCurrency>
               <!--Optional:-->
               <xsd1:longDescription>fsdfsdfsdf</xsd1:longDescription>
               <!--Zero or more repetitions:-->

               <!--Optional:-->
               <xsd1:payeeId>Gameloft</xsd1:payeeId>
               <!--Optional:-->
               <xsd1:prePay>Y</xsd1:prePay>
               <xsd1:shortDescription>short description</xsd1:shortDescription>

               <!--Optional:-->
               <xsd1:subtype>1</xsd1:subtype>
               <xsd1:timestamp>1221215392472</xsd1:timestamp>
               <!--Optional:-->

            </xsd:billingEvent>
            <!--Optional:-->
            <!--xsd:ctxId>12346412389898</xsd:ctxId-->
            <!--Optional:-->
            <xsd:deliveryId>5554024321943</xsd:deliveryId>
            <!--Optional:-->
            <xsd:deliveryType>SID</xsd:deliveryType>
            <!--Optional:-->
            <xsd:expirationPeriod>5</xsd:expirationPeriod>
            <!--Zero or more repetitions:-->
            <xsd:type>1</xsd:type>


         </alt:request>
      </alt:sendAlternatePurchase>
   </soap:Body>
</soap:Envelope>


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

---------------------------------------------------------------------
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 46061] jmeter does not supports SOAP1.2

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46061


Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW




--- Comment #3 from Sebb <se...@apache.org>  2008-10-23 03:17:40 PST ---
[Bugs are only only supposed to be assigned by developers to indicate that they
are dealing with the bug.]


I don't know why this is occurring. The SOAP/XML-RPC sampler does not do any
processing of the request, so either the request itself is incorrect, or there
are some missing or incorrect headers.

Are you 100% sure that the data is correct?


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

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