cancel
Showing results for 
Search instead for 
Did you mean: 

Integration of Third Paty HelpDesk - RequestSystemGuid error

Former Member
0 Kudos

Hi all,

we are trying to get our help desk connected with SAP SolutionManager. We have implemented a Webservice with all requred operations mentioned in ServiceDesk Webservice API description. Defining and testing Http Connection works fine. The logical port is also created. But when we try to configure the Interface an error occurs. Viewing the trace in transaction soamanager the error looks like the following:

Status Level Class Name Method Name Processor Name Text

Error Errors CL_SOAP_APPLICATION_CLIENT IF_SOAP_APPLICATION_CS~EXECUTE_PROCESSING SOAP Application A SOAP Runtime Core Exception occurred in method CL_SXMLP_DATA_ST==============CM004 of class CL_SXMLP_DATA_ST==============CP at position id 30 with internal error id 1001 and error text CX_ST_GROUP_MISSING_CASE:XSLT exception.Element 'Errors' missing (fault location is 1 ).

Error Errors CL_SOAP_APPLICATION_CLIENT IF_SOAP_APPLICATION_CS~EXECUTE_PROCESSING SOAP Application CX_ST_GROUP_MISSING_CASE : Element 'Errors' missing | program: CL_SXMLP_DATA_ST==============CP include: CL_SXMLP_DATA_ST==============CM004 line: 22

Error Errors CL_SOAP_APPLICATION_CLIENT IF_SOAP_APPLICATION_CS~EXECUTE_PROCESSING SOAP Application CX_SXMLP : XSLT exception | program: CL_SXMLP_DATA_ST==============CP include: CL_SXMLP_DATA_ST==============CM004 line: 30

Error Errors CL_SOAP_RUNTIME_CLIENT EXECUTE_PROCESSING SOAP Runtime A SOAP Runtime Core Exception occurred in method CL_SXMLP_DATA_ST==============CM004 of class CL_SXMLP_DATA_ST==============CP at position id 30 with internal error id 1001 and error text CX_ST_GROUP_MISSING_CASE:XSLT exception.Element 'Errors' missing (fault location is 1 ).

Error Errors CL_SOAP_RUNTIME_CLIENT EXECUTE_PROCESSING SOAP Runtime CX_ST_GROUP_MISSING_CASE : Element 'Errors' missing | program: CL_SXMLP_DATA_ST==============CP include: CL_SXMLP_DATA_ST==============CM004 line: 22

Error Errors CL_SOAP_RUNTIME_CLIENT EXECUTE_PROCESSING SOAP Runtime CX_SXMLP : XSLT exception | program: CL_SXMLP_DATA_ST==============CP include: CL_SXMLP_DATA_ST==============CM004 line: 30

Error Errors CL_SOAP_MESSAGE IF_SOAP_MESSAGE_PART~DESERIALIZE_BODY SOAP Message CX_ST_GROUP_MISSING_CASE : Element 'Errors' missing | program: CL_SXMLP_DATA_ST==============CP include: CL_SXMLP_DATA_ST==============CM004 line: 22

Error Errors CL_SOAP_MESSAGE IF_SOAP_MESSAGE_PART~DESERIALIZE_BODY SOAP Message CX_SXMLP : XSLT exception | program: CL_SXMLP_DATA_ST==============CP include: CL_SXMLP_DATA_ST==============CM004 line: 30

The soap message returned from our webservice looks fine for me:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <RequestSystemGuidResponse xmlns="urn:sap-com:document:sap:soap:functions:mc-style">
         <Errors/>
         <Guid>5A5F04674C1746989CBD0E62FA7114A4</Guid>
      </RequestSystemGuidResponse>
   </s:Body>
</s:Envelope>

Thanks for any help.

Heiko

Edited by: heikok on Sep 15, 2009 12:13 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Heiko, how did you solve this problem?

greetings

B

Former Member
0 Kudos

Ok, with a lot of help from a business partner we found the answer:

The problem is that WCF serializes the object in the SOAP body like this:

<RequestSystemGuidResponse xmlns='urn:sap-com:document:sap:soap:functions:mc-style'>

and SAP can not handle this response without having a namespace prefix (see below).

<n0:RequestSystemGuidResponse xmlns:n0='urn:sap-com:document:sap:soap:functions:mc-style'>

Kind regards

Heiko