Unexpected wrapper element when using createCasesAsString.

8 Years Ago
JorgeR
MANAGEMENT CONSOLE

Summary

The method createCasesAsString is used to start any number of processes from an external application, allowing to introduce initial business information. Sometimes the structure sent in the request to the method is not the one expected to invoke this method of Bizagi Web Services.

Applies to

Bizagi JEE 10.x.

Symptoms

When the user executes the method by using an external tool or the method is executed automatically, Bizagi Web Services responds with the following XML:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
       <soap:Fault>  
	<faultcode>soap:Client</faultcode>
	<faultstring>Unexpected wrapper element {http://tempuri.org/}createCasesAsString found. Expected 
{http://SOA.BizAgi/}createCasesAsString.</faultstring>
       </soap:Fault>
    </soap:Body>
</soap:Envelope

 

Cause

The structure sent in the request is incorrect, usually with missing arguments.
The most scenario happens when the person building the method's structure uses the .NET's structure, which is different.

Solution

Verify that your request is sent using the following structure:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
	<createCasesAsString xmlns="http://tempuri.org/">
       		<arg0>  
			<![CDATA[ 
<!-- Bizagi Entity case information -->
	                ]]>
		</arg0>	</createCasesAsString>
    </soap:Body>
</soap:Envelope>

Details

Last Modified:8 Years Ago
Last Modified By: Andread
Type: ERROR
Level: Beginner
Rated 2 stars based on 2 votes.
Article has been viewed 16.5K times.

Options