on 01-02-2013 7:35 PM
Hi all,
I created a WebService in SAP, and now I'm testing it in soapUi, but I get the following errors (I took these errors from SOAMANAGER):
Class Name | Method Name | Text |
---|---|---|
CL_SOAP_MESSAGE | IF_SOAP_MESSAGE_PART~DESERIALIZE_BODY | CX_SXMLP : XSLT exception in offset 240 and XPath soapenv:Envelope(1)soapenv:Body(2)urn:ZirnwsfiInterfaceSiff(1) | program: CL_SXMLP_DATA_ST==============CP include: CL_SXMLP_DATA_ST==============CM004 line: 58 |
CL_SOAP_MESSAGE | IF_SOAP_MESSAGE_PART~DESERIALIZE_BODY | CX_ST_MATCH_ELEMENT : Fim de elemento '{urn:sap-com:document:sap:soap:functions:mc-style}ZirnwsfiInterfaceSiff' esperado | program: CL_SXMLP_DATA_ST==============CP include: CL_SXMLP_DATA_ST==============CM004 line: 25 |
CL_SOAP_RUNTIME_SERVER | EXECUTE_PROCESSING | CX_SXMLP : XSLT exception in offset 240 and XPath soapenv:Envelope(1)soapenv:Body(2)urn: ZirnwsfiInterfaceSiff(1) | program: CL_SXMLP_DATA_ST==============CP include: CL_SXMLP_DATA_ST==============CM004 line: 58 |
CL_SOAP_RUNTIME_SERVER | EXECUTE_PROCESSING | A SOAP Runtime Core Exception occurred in method CL_SXMLP_DATA_ST==============CM004 of class CL_SXMLP_DATA_ST==============CP at position id 58 with internal error id 1001 and error text CX_ST_MATCH_ELEMENT:XSLT exception in offset 240 and XPath soapenv:Envelope(1)soapenv:Body(2)urn:ZirnwsfiInterfaceSiff(1).Fim de elemento '{urn:sap-com:document:sap:soap:functions:mc-style}ZirnwsfiInterfaceSiff' esperado (fault location is 1 ). |
CL_SOAP_RUNTIME_SERVER | EXECUTE_PROCESSING | A SOAP Runtime Core Exception occurred in method CL_SXMLP_DATA_ST==============CM004 of class CL_SXMLP_DATA_ST==============CP at position id 58 with internal error id 1001 and error text CX_ST_MATCH_ELEMENT:XSLT exception in offset 240 and XPath soapenv:Envelope(1)soapenv:Body(2)urn:ZirnwsfiInterfaceSiff(1).Fim de elemento '{urn:sap-com:document:sap:soap:functions:mc-style}ZirnwsfiInterfaceSiff' esperado (fault location is 1 ). |
CL_SOAP_RUNTIME_ERROR | map_core_exception_to_fault | XSLT exception in offset 240 and XPath soapenv:Envelope(1)soapenv:Body(2)urn:ZirnwsfiInterfaceSiff(1) Fim de elemento '{urn:sap-com:document:sap:soap:functions:mc-style}ZirnwsfiInterfaceSiff' esperado |
Translating the Portuguese text: "Fim de elemento esperado" means "End of element expected".
I have the following parameters in my RFC:
*"*"Interface local:
*" IMPORTING
*" VALUE(ID) TYPE ZIDFICH OPTIONAL
*" VALUE(DOCUMENT) TYPE ZFI_DOC_INT_SIFF_T OPTIONAL
*" EXPORTING
*" VALUE(STATUS) TYPE ZSTATUS_SIFF
*" TABLES
*" RETURN STRUCTURE ZBAPIRETURN OPTIONAL
I put them all optional, so I won't have errors when the WebService is called outside.
The value "Document" is a table type with two fields:
- Header: that is a structure.
- Items: that is a table type.
Do you think this kind of structure is causing the errors above? Or is something wrong in my WebService test?
It's the first time I'm creating WebServices in SAP, so I will really need some help on this.
Thanks in advance.
Regards,
Sónia Gonçalves
Hi Sónia ,
try creating service without 'Tables' parameter. Put the 'Return' in Export section.
The value "Document" is a table type with two fields:
- Header: that is a structure.
- Items: that is a table type.
Do you think this kind of structure is causing the errors above? Or is something wrong in my WebService test?
No i dont think so. Complex structures are allowed in web services.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.