Contributions
Invalid XML format
HI there. Just wondering if anyone knows why am getting an invalid xml format from the response. <?xml version="1.0" encoding="UTF-8"?> <soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap12:Body> <TransactionProcess xmlns="http://www.beanstream.com/"> <transaction> <merchant_id>171710000</merchant_id> <trnType>P</trnType> <trnOrderNumber>9343</trnOrderNumber> <trnAmount>0.35</trnAmount> <trnCardOwner>Sam Shopper</trnCardOwner> <trnCardNumber>5060000010001234</trnCardNumber> <trnExpMonth>05</trnExpMonth> <trnExpYear>15</trnExpYear> <ordEmailAddress>randolp2121@gmail.com</ordEmailAddress> <ordName>Sam Shopper</ordName> <ordPhoneNumber>999-999-9999</ordPhoneNumber> <ordAddress1>1407 Graymalkin Lane</ordAddress1> <ordAddress2 /> <ordCity>Toronto</ordCity> <ordProvince>ON</ordProvince> <ordPostalCode>a1a1a1</ordPostalCode> <ordCountry>CA</ordCountry> </transaction> </TransactionProcess> </soap12:Body> </soap12:Envelope> Response: <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <TransactionProcessResponse xmlns="http://www.beanstream.com/"> <TransactionProcessResult><![CDATA[<response><trnId></trnId><trnApproved>0</trnApproved><messageId>0</messageId><messageText>Invalid XML format.</messageText></response>]]></TransactionProcessResult> </TransactionProcessResponse> </soap:Body> </soap:Envelope>1.5KViews0likes0CommentsRe: Property transfer into URL
rdimayuga wrote: Hi there, I'm new in SoapUI. I have a property value that I want to concatenate in a URL (specifically using the property transfer). Here's what I want to do: declare namespace ns1="http://someURL/method" + xVariable; xVariable is the property value from a previous test request step. Do I use the "${#TestSuite#PropertyName}"? If so, how do I add this on the URL? Thanks. Update: Got it to work. Example: declare namespace ns1="http://someURL/method/${#TestSuite#PropertyName}" Thanks!!2.1KViews0likes0CommentsRe: Property transfer into URL
Hi there, I'm new in SoapUI. I have a property value that I want to concatenate in a URL (specifically using the property transfer). Here's what I want to do: declare namespace ns1="http://someURL/method" + xVariable; xVariable is the property value from a previous test request step. Do I use the "${#TestSuite#PropertyName}"? If so, how do I add this on the URL? Thanks.2.1KViews0likes0Comments