Hi All, The attachment is my ebxml which I will be posting. I am using HTTP sampler and when I post I see the xml with the soap header in my application. the error in the application it shows is invalid soap header. Can you please provide the solution for this
Thanks & Regards P.Sameera Rao| -----Original Message----- From: Sameera Rao P Sent: Thursday, July 26, 2012 2:21 PM To: JMeter Users List Subject: How to send http ebxml messages with soap headers Hi, Can you please let me know where to change this HC4 configurations. Thanks & Regards P.Sameera Rao -----Original Message----- From: Flavio Cysne [mailto:[email protected]] Sent: Wednesday, July 25, 2012 9:18 PM To: JMeter Users List Subject: Re: How to send http ebxml messages To work with digital certificates you can use JMeter 2.6 with HC3.1 or JMeter 2.7+ with HC4. I think HTTP Request sampler with the ebXML content inside Raw Post Body field is suffice. Regards. 2012/7/25 Sameera Rao P <[email protected]> > Hi, > > > > Using Jmeter I want to send HTTP ebxml request with soap header and self > signed certificate. Please let us know how to send the messages with > Jmeter as a tool > > > > > > Thanks & Regards > > P.Sameera Rao > > > > > > ============================================================================================================================ > Disclaimer: This message and the information contained herein is > proprietary and confidential and subject to the > Tech Mahindra policy statement, you may review the policy at <a href=" > http://www.techmahindra.com/Disclaimer.html"> > http://www.techmahindra.com/Disclaimer.html</a> > externally and <a href="http://tim.techmahindra.com/tim/disclaimer.html"> > http://tim.techmahindra.com/tim/disclaimer.html</a> internally within > Tech Mahindra. > > ============================================================================================================================ > ============================================================================================================================ Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/tim/disclaimer.html">http://tim.techmahindra.com/tim/disclaimer.html</a> internally within Tech Mahindra. ============================================================================================================================
------=_BOUNDARY_01 Content-Type: text/xml; charset="UTF-8" Content-Id: <soappart> Content-Transfer-Encoding: binary <?xml version="1.0" encoding="UTF-8"?> <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://www.oasis-open.org/committees/ebxml-msg/schema/envelope.xsd"><soap-env:Header xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd" xsi:schemaLocation="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd"><eb:MessageHeader soap:mustUnderstand="1" eb:version="2.0"><eb:From><eb:PartyId eb:type="urn:oasis:names:tc:ebXML-cppa:partyid-type:duns">232510151</eb:PartyId><eb:Role>WholesaleProvider</eb:Role></eb:From><eb:To><eb:PartyId eb:type="urn:oasis:names:tc:ebXML-cppa:partyid-type:duns">227015716</eb:PartyId><eb:Role>CommunicationsProvider</eb:Role></eb:To><eb:CPAId>BT_Wholesale_Strategic_EOI_B2B_Gateway_BT_Retail_B2BGateway_BTW_CPATemplateR2.9_cpa</eb:CPAId><eb:ConversationId>OFS-SAM3106134322798898223223</eb:ConversationId><eb:Service eb:type="string">bcNotifyOfOrderStatusv5</eb:Service><eb:Action>rqNotifyOfOrderStatus</eb:Action><eb:MessageData><eb:MessageId>OFS-SAM3106134322798898223223</eb:MessageId><eb:Timestamp>2012-07-26T10:22:08.873zID</eb:Timestamp><eb:DuplicateElimination/></eb:MessageData></eb:MessageHeader><eb:AckRequested eb:signed="true" eb:version="2.0" soap:actor="urn:oasis:names:tc:ebxml-msg:actor:toPartyMSH" soap:mustUnderstand="1"/><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <ds:SignedInfo> <ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/> <ds:Reference URI=""> <ds:Transforms> <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/> <ds:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"> <ds:XPath>not(ancestor-or-self::node()[@soap-env:actor="urn:oasis:names:tc:ebxml-msg:actor:nextMSH"] | ancestor-or-self::node()[@soap-env:actor="http://schemas.xmlsoap.org/soap/actor/next"])</ds:XPath> </ds:Transform> <ds:Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> </ds:Transforms> <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> <ds:DigestValue>nCj07tOrs1eerZgX2vIKfQwb4Gs=</ds:DigestValue> </ds:Reference> <ds:Reference URI="cid:OFS-SAM"> <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> <ds:DigestValue>p7Zpx7TNBNzLyWLVDy+4UNsPtXA=</ds:DigestValue> </ds:Reference> </ds:SignedInfo> <ds:SignatureValue> BCmrU01C1P/LlQ18iWPXgM/HKuhYJINKJ+aPmW/IfjBIqZljPmeP1iyn6cU05dpw0Tyq/z4pwhdV mRL20LTsFXZ9L4vvHayKHkhQIdisBBYtyAZR88ga7GdvWRsZ2FZkYgeH4R/Jf59yS/XsrgJbDtSr RdQ4fFpRnGDJvI/rCrFc321XFdihlvg2DHj+Kqa1yH4O13EDJ/acSgE3+JacTpuFjyTC0opojs5X MsnMMMRXZ3mdk+d5fNpWyAqpP+puRq6vYd5VP9LCSIucaNbYUKyYVavF3FZL0byAa6yEPSLhRcbm 8F3OGHwv1qDy53Jry9j8DOxHNUIgSgeJQYgdlg== </ds:SignatureValue> <ds:KeyInfo> <ds:X509Data> <ds:X509Certificate> MIIDNzCCAh8CBEunKRMwDQYJKoZIhvcNAQEEBQAwYDELMAkGA1UEBhMCSU4xDDAKBgNVBAgTA0tB UjEMMAoGA1UEBxMDQkxSMQ4wDAYDVQQKEwVUZWNoTTERMA8GA1UECxMIQjJCIFBlcmYxEjAQBgNV BAMTCVBlcmYgVGVzdDAeFw0xMDAzMjIwODIzNDdaFw0xNTAzMjEwODIzNDdaMGAxCzAJBgNVBAYT AklOMQwwCgYDVQQIEwNLQVIxDDAKBgNVBAcTA0JMUjEOMAwGA1UEChMFVGVjaE0xETAPBgNVBAsT CEIyQiBQZXJmMRIwEAYDVQQDEwlQZXJmIFRlc3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK AoIBAQCd01eTh9u9L/ATdjeCVuGRhd+w2IHTy2eXShkAF2rFUEKml0RU0JBGQd942rOURpDftB8o r6jwWTgFL0IW0cztCCvFf3tAuZhh/vPTz78eZyrMusXSVL5gDOnr671QnaKJ44BV1BrRt5tgVEKt sj+5m8irAjWpQLN0S5Pc5ZlAY3kO5dasEhxscXA4/56acLmVuogwC1l27TetGrvbxv5gs2BvKVaY py+IIq7pg9970AOcehf2669DYZ0SOl8lLa7my2u9/2RZoJAc0hvkBQZFLHsE6MUepyjxVM730jOK M6hWRj/pwUu03WB1n+WohIigZY4zQBR8/f3K8VraSY4tAgMBAAEwDQYJKoZIhvcNAQEEBQADggEB AFkHyIeGObEipn7Iwn4Fd34XtrPpnbOpu7CsaVxRIrFWGyfRD8DkjkxErRD3SAJBL3bWXCz9IdJL AuHdI2sW6WixVeDD7LUP4Ro5gphbTTocLdS5bg/Pk5esG0jogOF26BMSu1tGwwti89mbGVKw0ZNE xXfhk2TclL70/EWSKBc5jVHBajoRIgnFNLZmMnoeWPGnYnEMrzYix7rYtm0huxaKtdP6oZDJ/j5G Pz2S+BG0hu08QRhE/cwc0nq0rLZQx1exHumPcc3wkA+j0R1KJCixeg7onI+NdBQwm57o/Zm5KeOM ViZh2k4P48XmkOoqeuG47WgMdSJYB9vhaybbIsE= </ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </ds:Signature></soap-env:Header><soap-env:Body xmlns:eb="http://www.ebxml.org/namespaces/messageHeader" xsi:schemaLocation="http://www.ebxml.org/namespaces/messageHeader http://ebxml.org/project_teams/transport/messageHeaderv0_99.xsd"><eb:Manifest eb:version="2.0"><eb:Reference xlink:href="btw:OrderStatusUpdate" xlink:type="simple"/></eb:Manifest><eb:Manifest xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd" eb:version="2.0"><eb:Reference eb:id="OFS-SAM" xlink:type="simple" xlink:href="cid:OFS-SAM"><eb:Description xml:lang="en-US">OFS-SAM</eb:Description></eb:Reference></eb:Manifest></soap-env:Body></soap-env:Envelope> ------=_BOUNDARY_01 Content-Type: application/xml Content-Id: <OFS-SAM> Content-Transfer-Encoding: binary <?xml version="1.0" encoding="UTF-8"?> <btw:OrderStatusUpdate xmlns="urn:uk.org.telcob2b/tML/BT-OrderResponse4-v5-0" xmlns:btw="urn:com.btwholesale.Fulfilment4-v5-0" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0" xmlns:utcc="urn:uk.org.telcob2b/tML/ukt-CommonComponents4-v5-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:com.btwholesale.Fulfilment4-v5-0 ../../Schemas/Application/Fulfilment4-v5-0.xsd"> <OrderResponse> <SellersID>OFS-SAM31061343227988982</SellersID> <utcc:IssueDateTime>2005-04-10T11:30:39.0Z</utcc:IssueDateTime> <utcc:ReceivedDateTime>2005-02-28T13:50:23.0Z</utcc:ReceivedDateTime> <cac:OrderReference> <cac:BuyersID>OFS-SAM31061343227988982</cac:BuyersID> <cac:SellersID>OFS-SAM31061343227988982</cac:SellersID> </cac:OrderReference> <cac:BuyerParty> <cac:SellerAssignedAccountID>234234</cac:SellerAssignedAccountID> <cac:Party> <cac:PartyIdentification> <cac:ID identificationSchemeName="DUNS">227015716</cac:ID> </cac:PartyIdentification> <utcc:DetailedContact> <cbc:Name>BB</cbc:Name> <cbc:Telephone>12345</cbc:Telephone> <cbc:ElectronicMail>[email protected]</cbc:ElectronicMail> <utcc:FirstName>AA</utcc:FirstName> </utcc:DetailedContact> </cac:Party> </cac:BuyerParty> <utcc:ResellerParty> <cac:Party> <cac:PartyIdentification> <cac:ID identificationSchemeName="DUNS">227015716</cac:ID> </cac:PartyIdentification> </cac:Party> </utcc:ResellerParty> <cac:SellerParty> <cac:Party> <cac:PartyIdentification> <cac:ID identificationSchemeName="DUNS">232510151</cac:ID> </cac:PartyIdentification> </cac:Party> </cac:SellerParty> <utcc:OrderResponseMessageInfo> <utcc:MessageInfo> <utcc:CompletionCode>540</utcc:CompletionCode> <utcc:Message>Amend Complete</utcc:Message> <utcc:Severity>Informational</utcc:Severity> </utcc:MessageInfo> </utcc:OrderResponseMessageInfo> <utcc:RespondedOrderLine> <utcc:LineItem OrderType="Cease"> <cac:BuyersID>B123</cac:BuyersID> <cac:SellersID>1-1234</cac:SellersID> <cbc:Quantity quantityUnitCode="EA">1</cbc:Quantity> <cac:Item> <cac:SellersItemIdentification> <cac:ID>WBC End User Access (EUA)</cac:ID> </cac:SellersItemIdentification> </cac:Item> <cac:BuyerParty> <cac:SellerAssignedAccountID>234234</cac:SellerAssignedAccountID> </cac:BuyerParty> <utcc:LineStatus>Amended</utcc:LineStatus> <utcc:AmendReason>Amend customer required date</utcc:AmendReason> <utcc:Site> <utcc:AccessDetails> <utcc:HSHazards>Site Safety Notes or None</utcc:HSHazards> <utcc:Password>Frozen</utcc:Password> </utcc:AccessDetails> </utcc:Site> <utcc:Features> <utcc:FeatureSet> <utcc:Cease> <utcc:CeaseGeneral> <utcc:ServiceId>BBEU12345678</utcc:ServiceId> </utcc:CeaseGeneral> </utcc:Cease> </utcc:FeatureSet> </utcc:Features> <utcc:Dates> <utcc:CustomerRequiredDate>2006-08-30T00:00:00.0Z</utcc:CustomerRequiredDate> <utcc:ContractualDeliveryDate>2006-12-22T12:28:41.0Z</utcc:ContractualDeliveryDate> </utcc:Dates> </utcc:LineItem> <utcc:OrderLineMessageInfo> <utcc:MessageInfo> <utcc:CompletionCode>XXX</utcc:CompletionCode> <utcc:Message>XXXXXXXXXXXXXXXXXXXXXXXX</utcc:Message> <utcc:Severity>Warning</utcc:Severity> </utcc:MessageInfo> </utcc:OrderLineMessageInfo> </utcc:RespondedOrderLine> </OrderResponse> </btw:OrderStatusUpdate> ------=_BOUNDARY_01--
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
