function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Mahilde ZucaroMahilde Zucaro 

Soap web service : failed to get next element

Hello everybody,

I got the error : System.CalloutException: Web service callout failed: Failed to get next element
at the line WebServiceCallout.invoke in my class.
The web service works i saw the callout response in the log but it doesn't work.

I search and i tried all the solutions but that doesn't resolve my problem.
I use the wsdl generator (Salesforce and FuseIT) and that doesn't resolve anything...
I hope that somebody can help me,
Best regards
Mathilde
Daniel BallingerDaniel Ballinger
Hi Mathilde,

Are you able to share the WSDL in question?

Are there more details avaible in the exception, such as the stack trace? These might indicate which element is missing.

Regards,
Daniel
Mahilde ZucaroMahilde Zucaro
Hi Daniel,

this is the WSDL :
 
<?xml version="1.0" encoding="UTF-8"?><wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://www.hardis.fr" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ax23="http://reflex.hardis.com/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://www.hardis.fr">
    <wsdl:documentation>reflexWS</wsdl:documentation>
    <wsdl:types>
        <xs:schema attributeFormDefault="qualified" elementFormDefault="unqualified" targetNamespace="http://reflex.hardis.com/xsd">
            <xs:complexType name="HWSNOYGET_ORDER_STATU02Result">
                <xs:sequence>
                    <xs:element minOccurs="0" name="derivedActivityCode" nillable="true" type="xs:string"/>
                    <xs:element maxOccurs="unbounded" minOccurs="0" name="errors" nillable="true" type="ax23:HWSNOYList0000P_O_ERREURS010000P_O_ERREURS01Result"/>
                    <xs:element minOccurs="0" name="orderStatus" nillable="true" type="xs:string"/>
                    <xs:element minOccurs="0" name="orderStatusCode" nillable="true" type="xs:string"/>
                    <xs:element minOccurs="0" name="physicalDepotCodeUsed" nillable="true" type="xs:string"/>
                    <xs:element minOccurs="0" name="preparationOrderNumber" nillable="true" type="xs:int"/>
                    <xs:element minOccurs="0" name="preparationOrderStatus" nillable="true" type="xs:string"/>
                    <xs:element minOccurs="0" name="preparationOrderStatusCode" nillable="true" type="xs:string"/>
                    <xs:element minOccurs="0" name="preparationOrderYearNumber" nillable="true" type="xs:int"/>
                </xs:sequence>
            </xs:complexType>
            <xs:complexType name="HWSNOYList0000P_O_ERREURS010000P_O_ERREURS01Result">
                <xs:sequence>
                    <xs:element minOccurs="0" name="ERRORCODE" nillable="true" type="xs:string"/>
                    <xs:element minOccurs="0" name="ERRORMESSAGE" nillable="true" type="xs:string"/>
                    <xs:element minOccurs="0" name="STEPCODE" nillable="true" type="xs:string"/>
                </xs:sequence>
            </xs:complexType>
            <xs:complexType name="HWSNOYGET_AVAILABLE_P00Result">
                <xs:sequence>
                    <xs:element minOccurs="0" name="availableBaseLVQuantity" nillable="true" type="xs:int"/>
                    <xs:element minOccurs="0" name="availableNetWeight" nillable="true" type="xs:double"/>
                    <xs:element minOccurs="0" name="baseLVUnit" nillable="true" type="xs:string"/>
                    <xs:element minOccurs="0" name="currencyUnit" nillable="true" type="xs:string"/>
                    <xs:element minOccurs="0" name="derivedActivityCode" nillable="true" type="xs:string"/>
                    <xs:element minOccurs="0" name="derivedGradeCode" nillable="true" type="xs:string"/>
                    <xs:element minOccurs="0" name="derivedOwnerCode" nillable="true" type="xs:string"/>
                    <xs:element maxOccurs="unbounded" minOccurs="0" name="errors" nillable="true" type="ax23:HWSNOYList0000P_O_ERREURS000000P_O_ERREURS00Result"/>
                    <xs:element minOccurs="0" name="itemCode" nillable="true" type="xs:string"/>
                    <xs:element minOccurs="0" name="packagingLVDerivedCode" nillable="true" type="xs:string"/>
                    <xs:element minOccurs="0" name="physicalDepotCodeUsed" nillable="true" type="xs:string"/>
                    <xs:element minOccurs="0" name="totalAmount" nillable="true" type="xs:double"/>
                    <xs:element minOccurs="0" name="unitPrice" nillable="true" type="xs:double"/>
                    <xs:element minOccurs="0" name="weightUnit" nillable="true" type="xs:string"/>
                </xs:sequence>
            </xs:complexType>
            <xs:complexType name="HWSNOYList0000P_O_ERREURS000000P_O_ERREURS00Result">
                <xs:sequence>
                    <xs:element minOccurs="0" name="ERRORCODE" nillable="true" type="xs:string"/>
                    <xs:element minOccurs="0" name="ERRORMESSAGE" nillable="true" type="xs:string"/>
                    <xs:element minOccurs="0" name="STEPCODE" nillable="true" type="xs:string"/>
                </xs:sequence>
            </xs:complexType>
        </xs:schema>
        <xs:schema xmlns:ax24="http://reflex.hardis.com/xsd" attributeFormDefault="qualified" elementFormDefault="unqualified" targetNamespace="http://www.hardis.fr">
            <xs:import namespace="http://reflex.hardis.com/xsd"/>
            <xs:element name="getOrderStatus">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="login" nillable="true" type="xs:string"/>
                        <xs:element minOccurs="0" name="password" nillable="true" type="xs:string"/>
                        <xs:element minOccurs="0" name="activityCode" nillable="true" type="xs:string"/>
                        <xs:element minOccurs="0" name="physicalDepotCode" nillable="true" type="xs:string"/>
                        <xs:element minOccurs="0" name="originator" nillable="true" type="xs:string"/>
                        <xs:element minOccurs="0" name="orderReference" nillable="true" type="xs:string"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="getOrderStatusResponse">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="return" nillable="true" type="ax23:HWSNOYGET_ORDER_STATU02Result"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="getAvailablePreparationOrderQuantityInBaseLVs">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="login" nillable="true" type="xs:string"/>
                        <xs:element minOccurs="0" name="password" nillable="true" type="xs:string"/>
                        <xs:element minOccurs="0" name="physicalDepotCode" nillable="true" type="xs:string"/>
                        <xs:element minOccurs="0" name="activityCode" nillable="true" type="xs:string"/>
                        <xs:element minOccurs="0" name="item" nillable="true" type="xs:string"/>
                        <xs:element minOccurs="0" name="packagingLVCode" nillable="true" type="xs:string"/>
                        <xs:element minOccurs="0" name="ownerCode" nillable="true" type="xs:string"/>
                        <xs:element minOccurs="0" name="gradeCode" nillable="true" type="xs:string"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="getAvailablePreparationOrderQuantityInBaseLVsResponse">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="return" nillable="true" type="ax23:HWSNOYGET_AVAILABLE_P00Result"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:schema>
    </wsdl:types>
    <wsdl:message name="getAvailablePreparationOrderQuantityInBaseLVsRequest">
        <wsdl:part name="parameters" element="ns:getAvailablePreparationOrderQuantityInBaseLVs"/>
    </wsdl:message>
    <wsdl:message name="getAvailablePreparationOrderQuantityInBaseLVsResponse">
        <wsdl:part name="parameters" element="ns:getAvailablePreparationOrderQuantityInBaseLVsResponse"/>
    </wsdl:message>
    <wsdl:message name="getOrderStatusRequest">
        <wsdl:part name="parameters" element="ns:getOrderStatus"/>
    </wsdl:message>
    <wsdl:message name="getOrderStatusResponse">
        <wsdl:part name="parameters" element="ns:getOrderStatusResponse"/>
    </wsdl:message>
    <wsdl:portType name="reflexWSPortType">
        <wsdl:operation name="getAvailablePreparationOrderQuantityInBaseLVs">
            <wsdl:input message="ns:getAvailablePreparationOrderQuantityInBaseLVsRequest" wsaw:Action="urn:getAvailablePreparationOrderQuantityInBaseLVs"/>
            <wsdl:output message="ns:getAvailablePreparationOrderQuantityInBaseLVsResponse" wsaw:Action="urn:getAvailablePreparationOrderQuantityInBaseLVsResponse"/>
        </wsdl:operation>
        <wsdl:operation name="getOrderStatus">
            <wsdl:input message="ns:getOrderStatusRequest" wsaw:Action="urn:getOrderStatus"/>
            <wsdl:output message="ns:getOrderStatusResponse" wsaw:Action="urn:getOrderStatusResponse"/>
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="reflexWSSoap11Binding" type="ns:reflexWSPortType">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
        <wsdl:operation name="getAvailablePreparationOrderQuantityInBaseLVs">
            <soap:operation soapAction="urn:getAvailablePreparationOrderQuantityInBaseLVs" style="document"/>
            <wsdl:input>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="getOrderStatus">
            <soap:operation soapAction="urn:getOrderStatus" style="document"/>
            <wsdl:input>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="reflexWS">
        <wsdl:port name="reflexWSHttpSoap11Endpoint" binding="ns:reflexWSSoap11Binding">
            <soap:address location="http://myadress/reflexWS/servaxis2/reflexWS.reflexWSHttpSoap11Endpoint/"/>
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>

and this is Log : 
 
CALLOUT_REQUEST [103]|<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Header /><env:Body><getOrderStatus xmlns="http://www.hardis.fr"><login>TEST</login><password>TEST</password><activityCode>TEST</activityCode><physicalDepotCode>TEST</physicalDepotCode><originator>TEST</originator><orderReference>TEST</orderReference></getOrderStatus></env:Body></env:Envelope>

CALLOUT_REQUEST [103]|getOrderStatus_element:[activityCode=TEST, activityCode_type_info=(activityCode, http://www.hardis.fr, string, 0, 1, true), apex_schema_type_info=(http://www.hardis.fr, true, false), field_order_type_info=(login, password, activityCode, physicalDepotCode, originator, orderReference), login=TEST, login_type_info=(login, http://www.hardis.fr, string, 0, 1, true), orderReference=TEST, orderReference_type_info=(orderReference, http://www.hardis.fr, string, 0, 1, true), originator=TEST, originator_type_info=(originator, http://www.hardis.fr, string, 0, 1, true), password=TEST, password_type_info=(password, http://www.hardis.fr, string, 0, 1, true), physicalDepotCode=TEST, physicalDepotCode_type_info=(physicalDepotCode, http://www.hardis.fr, string, 0, 1, true)]::SOAPAction="urn:getOrderStatus" Accept=text/xml User-Agent=SFDC-Callout/38.0 SFDC_STACK_DEPTH=1 Content-Type=text/xml; charset=UTF-8 

CALLOUT_RESPONSE [103]|--MIMEBoundary_82e3cacb9c745c6de44c1b7a2fde9d8a4b7df0ab7e3dba6c

CALLOUT_RESPONSE Content-Type: application/xop+xml; charset=UTF-8; type="text/xml"

CALLOUT_RESPONSE Content-Transfer-Encoding: binary

CALLOUT_RESPONSE Content-ID: <0.92e3cacb9c745c6de44c1b7a2fde9d8a4b7df0ab7e3dba6c@apache.org>

CALLOUT_RESPONSE <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns:getOrderStatusResponse xmlns:ns="http://www.hardis.fr"><return xmlns:ax23="http://reflex.hardis.com/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ax23:HWSNOYGET_ORDER_STATU02Result"><derivedActivityCode>TEST</derivedActivityCode><orderStatus>TEST</orderStatus><orderStatusCode>TEST</orderStatusCode><physicalDepotCodeUsed>TEST</physicalDepotCodeUsed><preparationOrderNumber>2951</preparationOrderNumber><preparationOrderStatus>TEST</preparationOrderStatus><preparationOrderStatusCode>TEST</preparationOrderStatusCode><preparationOrderYearNumber>2</preparationOrderYearNumber></return></ns:getOrderStatusResponse></soapenv:Body></soapenv:Envelope>

CALLOUT_RESPONSE --MIMEBoundary_82e3cacb9c745c6de44c1b7a2fde9d8a4b7df0ab7e3dba6c--

EXCEPTION_THROWN [103]|System.CalloutException: Web service callout failed: Failed to get next element

HEAP_ALLOCATE [103]|Bytes:58

METHOD_EXIT [21]|01p58000008XQRg|ReflexStatut.reflexWSHttpSoap11Endpoint.getOrderStatus(String, String, String, String, String, String)

VARIABLE_SCOPE_BEGIN [24]|e|Exception|true|false

VARIABLE_ASSIGNMENT [24]|e|"common.apex.runtime.impl.ExecutionException: Web service callout failed: Failed to get next element"|0x52d01071

STATEMENT_EXECUTE [24]|

STATEMENT_EXECUTE [25]|

HEAP_ALLOCATE [25]|Bytes:22

HEAP_ALLOCATE [25]|Bytes:79

HEAP_ALLOCATE [25]|Bytes:101

USER_DEBUG [25]|DEBUG|SYSTEM DEBUG FAILED : System.CalloutException: Web service callout failed: Failed to get next element

METHOD_EXIT [2]|01p58000008XDCw|reflexWS.execute()

Thanks for your help !

Regards,
Mathilde
Daniel BallingerDaniel Ballinger
I formatted the response out as:
 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
	<soapenv:Body>
		<ns:getOrderStatusResponse xmlns:ns="http://www.hardis.fr">
			<return xmlns:ax23="http://reflex.hardis.com/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ax23:HWSNOYGET_ORDER_STATU02Result">
				<derivedActivityCode>TEST</derivedActivityCode>
				<orderStatus>TEST</orderStatus>
				<orderStatusCode>TEST</orderStatusCode>
				<physicalDepotCodeUsed>TEST</physicalDepotCodeUsed>
				<preparationOrderNumber>2951</preparationOrderNumber>
				<preparationOrderStatus>TEST</preparationOrderStatus>
				<preparationOrderStatusCode>TEST</preparationOrderStatusCode>
				<preparationOrderYearNumber>2</preparationOrderYearNumber>
			</return>
		</ns:getOrderStatusResponse>
	</soapenv:Body>
</soapenv:Envelope>

Two potential problems here. 
  1. There could be a confict between the return element and the Apex reserved keyword for return. The FuseIT SFDC Explorer should handle that by changing it to return_x in getOrderStatusResponse_element.
  2. The HWSNOYGET_ORDER_STATU02Result class has an errors member. It should be optional, but it's absence from the response might be causing the problem.
One option would be to use the FuseIT version to generate the raw HTTP code and response parsing. This can be done when you select the methods and will give you full control of the callout and response handling.

Cheers,
Daniel
 
Mahilde ZucaroMahilde Zucaro
When i try to generate with FuseIT i have this error : Unexpected WSDL node under definitions {http://schemas.xmlsoap.org/wsdl/}documentation WSDL node {http://schemas.xmlsoap.org/wsdl/}types expected before nodes.

Is it important ?
I tested with the HTTP method and i have this new problem :
 
37.0			APEX_CODE,FINEST;APEX_PROFILING,INFO;CALLOUT,INFO;DB,INFO;SYSTEM,DEBUG;VALIDATION,INFO;VISUALFORCE,INFO;WORKFLOW,INFO
Execute Anonymous: reflexWS ws = new reflexWS();
Execute Anonymous: ws.execute();
EXECUTION_STARTED			
CODE_UNIT_STARTED	[EXTERNAL]		execute_anonymous_apex
METHOD_ENTRY	[1]	01p58000008XDCw	reflexWS.reflexWS()
METHOD_EXIT	[1]		reflexWS
CONSTRUCTOR_ENTRY	[1]	01p58000008XDCw	<init>()
CONSTRUCTOR_EXIT	[1]	01p58000008XDCw	<init>()
METHOD_ENTRY	[2]	01p58000008XDCw	reflexWS.execute()
CONSTRUCTOR_ENTRY	[20]	01p58000008XQRg	<init>()
CONSTRUCTOR_EXIT	[20]	01p58000008XQRg	<init>()
METHOD_ENTRY	[21]	01p58000008XQRg	ReflexStatut.reflexWSHttpSoap11Endpoint.getOrderStatus_Http(String, String, String, String, String, String)
METHOD_ENTRY	[129]	01p58000008XQRg	ReflexStatut.reflexWSHttpSoap11Endpoint.populateDoc(dom.Document)
METHOD_ENTRY	[118]	01p58000008XQRg	ReflexStatut.reflexWSHttpSoap11Endpoint.AddHeader(dom.XmlNode)
METHOD_EXIT	[118]	01p58000008XQRg	ReflexStatut.reflexWSHttpSoap11Endpoint.AddHeader(dom.XmlNode)
METHOD_EXIT	[129]	01p58000008XQRg	ReflexStatut.reflexWSHttpSoap11Endpoint.populateDoc(dom.Document)
CONSTRUCTOR_ENTRY	[131]	01p58000008XQRg	<init>(String,String,String,String,String,String)
CONSTRUCTOR_EXIT	[131]	01p58000008XQRg	<init>(String,String,String,String,String,String)
METHOD_ENTRY	[132]	01p58000008XQRg	ReflexStatut.getOrderStatus_element.populateXmlNode(dom.XmlNode)
METHOD_EXIT	[132]	01p58000008XQRg	ReflexStatut.getOrderStatus_element.populateXmlNode(dom.XmlNode)
CALLOUT_REQUEST	[142]		System.HttpRequest[Endpoint=http://myadress/reflexWS/servaxis2/reflexWS.reflexWSHttpSoap11Endpoint/, Method=POST]
CALLOUT_RESPONSE	[142]		System.HttpResponse[Status=OK, StatusCode=200]
EXCEPTION_THROWN	[144]		System.XmlException: only whitespace content allowed before start tag and not - (position: START_DOCUMENT seen -... @1:1) 
METHOD_EXIT	[21]	01p58000008XQRg	ReflexStatut.reflexWSHttpSoap11Endpoint.getOrderStatus_Http(String, String, String, String, String, String)
USER_DEBUG	[25]	DEBUG	SYSTEM DEBUG FAILED : System.XmlException: only whitespace content allowed before start tag and not - (position: START_DOCUMENT seen -... @1:1) 
METHOD_EXIT	[2]	01p58000008XDCw	reflexWS.execute()
CUMULATIVE_LIMIT_USAGE			
LIMIT_USAGE_FOR_NS	(default)		  Number of SOQL queries: 0 out of 100
  Number of query rows: 0 out of 50000
  Number of SOSL queries: 0 out of 20
  Number of DML statements: 0 out of 150
  Number of DML rows: 0 out of 10000
  Maximum CPU time: 0 out of 10000
  Maximum heap size: 0 out of 6000000
  Number of callouts: 1 out of 100
  Number of Email Invocations: 0 out of 10
  Number of future calls: 0 out of 50
  Number of queueable jobs added to the queue: 0 out of 50
  Number of Mobile Apex push calls: 0 out of 10

CUMULATIVE_LIMIT_USAGE_END			
CODE_UNIT_FINISHED			execute_anonymous_apex
EXECUTION_FINISHED

Do you have an idea ?

Thanks,
Mathilde
 
Mahilde ZucaroMahilde Zucaro
HTTP RESPONSE DETAILS : 
 
USER_DEBUG [143]|DEBUG|SYSTEM DEBUG : --MIMEBoundary_22e3cacb9c745c6d84141a7a2fde9d8a487df0ab7e3dba6c
USER_DEBUG Content-Type: application/xop+xml; charset=UTF-8; type="text/xml"
USER_DEBUG Content-Transfer-Encoding: binary
USER_DEBUG Content-ID: <0.32e3cacb9c745c6d84141a7a2fde9d8a487df0ab7e3dba6c@apache.org>
USER_DEBUG 
 USER_DEBUG <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns:getOrderStatusResponse xmlns:ns="http://www.hardis.fr"><return xmlns:ax23="http://reflex.hardis.com/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ax23:HWSNOYGET_ORDER_STATU02Result"><derivedActivityCode>TEST</derivedActivityCode><orderStatus>TEST</orderStatus><orderStatusCode>TEST</orderStatusCode><physicalDepotCodeUsed>TEST</physicalDepotCodeUsed><preparationOrderNumber>2951</preparationOrderNumber><preparationOrderStatus>TEST</preparationOrderStatus><preparationOrderStatusCode>TEST</preparationOrderStatusCode><preparationOrderYearNumber>2</preparationOrderYearNumber></return></ns:getOrderStatusResponse></soapenv:Body></soapenv:Envelope>
USER_DEBUG --MIMEBoundary_22e3cacb9c745c6d84141a7a2fde9d8a487df0ab7e3dba6c--

 
Kalpesh Vyas 7Kalpesh Vyas 7
I am also facing same problem after creating apex classes from below WSDL and calling its method, please help resolving this.


<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                  xmlns:ns="http://wrappers.webservice.appservices.core.inteqnet.com"
                  xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
                  xmlns:ax286="http://beans.webservice.components.inteqnet.com/xsd"
                  xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
                  xmlns:ax284="http://beans.webservice.appservices.core.inteqnet.com/xsd"
                  xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
                  xmlns:xs="http://www.w3.org/2001/XMLSchema"
                  xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
                  xmlns:ns1="http://org.apache.axis2/xsd"
                  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
                  targetNamespace="http://wrappers.webservice.appservices.core.inteqnet.com">
   <wsdl:documentation>Utility</wsdl:documentation>
   <wsdl:types>
      <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified"
                 targetNamespace="http://beans.webservice.appservices.core.inteqnet.com/xsd">
         <xs:complexType name="Credentials">
            <xs:sequence>
               <xs:element minOccurs="0" name="authorizationToken" nillable="true" type="xs:string"/>
               <xs:element minOccurs="0" name="sliceToken" nillable="true" type="xs:string"/>
               <xs:element minOccurs="0" name="userName" nillable="true" type="xs:string"/>
               <xs:element minOccurs="0" name="userPassword" nillable="true" type="xs:string"/>
            </xs:sequence>
         </xs:complexType>
         <xs:complexType name="ExtendedSettings">
            <xs:sequence>
               <xs:element minOccurs="0" name="responseFormat" nillable="true" type="xs:string"/>
            </xs:sequence>
         </xs:complexType>
      </xs:schema>
      <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified"
                 targetNamespace="http://beans.webservice.components.inteqnet.com/xsd">
         <xs:complexType name="DefaultServiceResponse">
            <xs:sequence>
               <xs:element maxOccurs="unbounded" minOccurs="0" name="errors" nillable="true"
                           type="xs:string"/>
               <xs:element maxOccurs="unbounded" minOccurs="0" name="notes" nillable="true"
                           type="xs:string"/>
               <xs:element minOccurs="0" name="resourceName" nillable="true" type="xs:string"/>
               <xs:element minOccurs="0" name="responseBean" nillable="true" type="ax286:Bean"/>
               <xs:element minOccurs="0" name="responseFormat" nillable="true" type="xs:string"/>
               <xs:element minOccurs="0" name="responseStatus" nillable="true" type="xs:string"/>
               <xs:element minOccurs="0" name="responseText" nillable="true" type="xs:string"/>
               <xs:element minOccurs="0" name="statusCode" nillable="true" type="xs:string"/>
               <xs:element minOccurs="0" name="statusMessage" nillable="true" type="xs:string"/>
               <xs:element maxOccurs="unbounded" minOccurs="0" name="warnings" nillable="true"
                           type="xs:string"/>
            </xs:sequence>
         </xs:complexType>
         <xs:complexType name="Bean">
            <xs:sequence/>
         </xs:complexType>
      </xs:schema>
      <xs:schema xmlns:ax287="http://beans.webservice.components.inteqnet.com/xsd"
                 xmlns:ax285="http://beans.webservice.appservices.core.inteqnet.com/xsd"
                 attributeFormDefault="qualified"
                 elementFormDefault="qualified"
                 targetNamespace="http://wrappers.webservice.appservices.core.inteqnet.com">
         <xs:import namespace="http://beans.webservice.appservices.core.inteqnet.com/xsd"/>
         <xs:import namespace="http://beans.webservice.components.inteqnet.com/xsd"/>
         <xs:element name="ping">
            <xs:complexType>
               <xs:sequence>
                  <xs:element minOccurs="0" name="credentials" nillable="true" type="ax285:Credentials"/>
                  <xs:element minOccurs="0" name="extendedSettings" nillable="true"
                              type="ax285:ExtendedSettings"/>
               </xs:sequence>
            </xs:complexType>
         </xs:element>
         <xs:element name="pingResponse">
            <xs:complexType>
               <xs:sequence>
                  <xs:element minOccurs="0" name="return" nillable="true" type="ax287:DefaultServiceResponse"/>
               </xs:sequence>
            </xs:complexType>
         </xs:element>
         <xs:element name="getSQLQueryResults">
            <xs:complexType>
               <xs:sequence>
                  <xs:element minOccurs="0" name="credentials" nillable="true" type="ax285:Credentials"/>
                  <xs:element minOccurs="0" name="extendedSettings" nillable="true"
                              type="ax285:ExtendedSettings"/>
                  <xs:element minOccurs="0" name="declareSection" nillable="true" type="xs:string"/>
                  <xs:element minOccurs="0" name="sqlSelect" nillable="true" type="xs:string"/>
                  <xs:element minOccurs="0" name="orderByClause" nillable="true" type="xs:string"/>
               </xs:sequence>
            </xs:complexType>
         </xs:element>
         <xs:element name="getSQLQueryResultsResponse">
            <xs:complexType>
               <xs:sequence>
                  <xs:element minOccurs="0" name="return" nillable="true" type="ax287:DefaultServiceResponse"/>
               </xs:sequence>
            </xs:complexType>
         </xs:element>
      </xs:schema>
   </wsdl:types>
   <wsdl:message name="getSQLQueryResultsRequest">
      <wsdl:part name="parameters" element="ns:getSQLQueryResults"/>
   </wsdl:message>
   <wsdl:message name="getSQLQueryResultsResponse">
      <wsdl:part name="parameters" element="ns:getSQLQueryResultsResponse"/>
   </wsdl:message>
   <wsdl:message name="pingRequest">
      <wsdl:part name="parameters" element="ns:ping"/>
   </wsdl:message>
   <wsdl:message name="pingResponse">
      <wsdl:part name="parameters" element="ns:pingResponse"/>
   </wsdl:message>
   <wsdl:portType name="UtilityPortType">
      <wsdl:operation name="getSQLQueryResults">
         <wsdl:input message="ns:getSQLQueryResultsRequest" wsaw:Action="urn:getSQLQueryResults"/>
         <wsdl:output message="ns:getSQLQueryResultsResponse"
                      wsaw:Action="urn:getSQLQueryResultsResponse"/>
      </wsdl:operation>
      <wsdl:operation name="ping">
         <wsdl:input message="ns:pingRequest" wsaw:Action="urn:ping"/>
         <wsdl:output message="ns:pingResponse" wsaw:Action="urn:pingResponse"/>
      </wsdl:operation>
   </wsdl:portType>
   <wsdl:binding name="UtilitySoap11Binding" type="ns:UtilityPortType">
      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
      <wsdl:operation name="getSQLQueryResults">
         <soap:operation soapAction="urn:getSQLQueryResults" style="document"/>
         <wsdl:input>
            <soap:body use="literal"/>
         </wsdl:input>
         <wsdl:output>
            <soap:body use="literal"/>
         </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="ping">
         <soap:operation soapAction="urn:ping" style="document"/>
         <wsdl:input>
            <soap:body use="literal"/>
         </wsdl:input>
         <wsdl:output>
            <soap:body use="literal"/>
         </wsdl:output>
      </wsdl:operation>
   </wsdl:binding>
   <!-- wsdl:binding name="UtilitySoap12Binding" type="ns:UtilityPortType">
      <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
      <wsdl:operation name="getSQLQueryResults">
         <soap12:operation soapAction="urn:getSQLQueryResults" style="document"/>
         <wsdl:input>
            <soap12:body use="literal"/>
         </wsdl:input>
         <wsdl:output>
            <soap12:body use="literal"/>
         </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="ping">
         <soap12:operation soapAction="urn:ping" style="document"/>
         <wsdl:input>
            <soap12:body use="literal"/>
         </wsdl:input>
         <wsdl:output>
            <soap12:body use="literal"/>
         </wsdl:output>
      </wsdl:operation>
   </wsdl:binding>
   <wsdl:binding name="UtilityHttpBinding" type="ns:UtilityPortType">
      <http:binding verb="POST"/>
      <wsdl:operation name="getSQLQueryResults">
         <http:operation location="getSQLQueryResults"/>
         <wsdl:input>
            <mime:content type="application/xml" part="parameters"/>
         </wsdl:input>
         <wsdl:output>
            <mime:content type="application/xml" part="parameters"/>
         </wsdl:output>
      </wsdl:operation>
      <wsdl:operation name="ping">
         <http:operation location="ping"/>
         <wsdl:input>
            <mime:content type="application/xml" part="parameters"/>
         </wsdl:input>
         <wsdl:output>
            <mime:content type="application/xml" part="parameters"/>
         </wsdl:output>
      </wsdl:operation>
   </wsdl:binding -->
   <wsdl:service name="Utility">
      <wsdl:port name="UtilityHttpSoap11Endpoint" binding="ns:UtilitySoap11Binding">
         <soap:address location="https://trial.serviceaide.com/NimsoftServiceDesk/servicedesk/webservices/Utility.UtilityHttpSoap11Endpoint/"/>
      </wsdl:port>
      <!--wsdl:port name="UtilityHttpSoap12Endpoint" binding="ns:UtilitySoap12Binding">
         <soap12:address location="https://trial.serviceaide.com/NimsoftServiceDesk/servicedesk/webservices/Utility.UtilityHttpSoap12Endpoint/"/>
      </wsdl:port>
      <wsdl:port name="UtilityHttpEndpoint" binding="ns:UtilityHttpBinding">
         <http:address location="https://trial.serviceaide.com/NimsoftServiceDesk/servicedesk/webservices/Utility.UtilityHttpEndpoint/"/>
      </wsdl:port-->
   </wsdl:service>
</wsdl:definitions>