cancel
Showing results for 
Search instead for 
Did you mean: 

soap fault: In valid string sufix

Former Member
0 Kudos

Hi Every one

My message is getting processed in Xi when it tries to send it to the legay system I get the following error.

Any ans plz....

SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIAdapter</SAP:Category>

<SAP:Code area="PARSING">ADAPTER.SOAP_EXCEPTION</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText>soap fault: In valid string sufix</SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack />

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

Thanks

Accepted Solutions (0)

Answers (3)

Answers (3)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

some suggestions...

if this happen in PI during processing, import the message payload of your request into xmlspy or some standard editor and validate your xml data. Looks like some simple syntax error causing this issue. check whether you close and open tags properly. Also validate the wsdl using xmlspy too.. Hope that helps.

Former Member
0 Kudos

Hi Bhaskar

The following is the xml generated at the sxmb_moni with a sufix ns.

How to remove this sufix in the xml .

According to me I think this is causing the problem.

<?xml version="1.0" encoding="UTF-8"?>

<ns0:uploadPurchaseOrdersFromServer xmlns:ns0="http://com.o2s360ws.services.retail/xsd">

<ns0:purchaseOrders>

<ns2:purchaseOrderDateTime xmlns:ns2="http://retail.entities.o2s360ws.com/xsd">2011-11-29 12:00:00

</ns2:purchaseOrderDateTime>

<ns2:purchaseOrderItems xmlns:ns2="http://retail.entities.o2s360ws.com/xsd">

<ns2:externalReferenceNumber>BID006133001</ns2:externalReferenceNumber>

<ns2:purchaseOrderItemPrice>935.21</ns2:purchaseOrderItemPrice>

<ns2:purchaseOrderItemQuantity>12.000</ns2:purchaseOrderItemQuantity>

</ns2:purchaseOrderItems>

<ns2:purchaseOrderServerReferenceNumber xmlns:ns2="http://retail.entities.o2s360ws.com/xsd">1004048531</ns2:purchaseOrderServerReferenceNumber>

<ns2:purchaseOrderType xmlns:ns2="http://retail.entities.o2s360ws.com/xsd">NEW_BY_SERVER</ns2:purchaseOrderType>

<ns2:retailLocation xmlns:ns2="http://retail.entities.o2s360ws.com/xsd">

<ns2:externalReferenceNumber>730209A002</ns2:externalReferenceNumber>

</ns2:retailLocation><ns2:vendorLocation xmlns:ns2="http://retail.entities.o2s360ws.com/xsd">

<ns2:externalReferenceNumber>6309</ns2:externalReferenceNumber>

</ns2:vendorLocation>

</ns0:purchaseOrders>

</ns0:uploadPurchaseOrdersFromServer

How to remove this sufix <ns0>

Any suggestions..

Thanks

Zia

Former Member
0 Kudos

You can use XSLT mapping to remove suffixes. The code is available in SDN. check it.

Former Member
0 Kudos

Hi, ns0 is the namespace, it is a prefix and looks ok.

Is the date format of purchaseOrderDateTime according to its definition? Try 2011-11-29T12:00:00, T may be missing between date and time.

Can you please validate the message payload of the outbound message against its XSD and post the result?

Regards, Martin

Former Member
0 Kudos

Hi, can you validate the message payload of the outbound message against its XSD and post the result?

Regards, Martin

Former Member
0 Kudos

Check the imported WSDL file is valid or not and also test the data in mapping level.

Former Member
0 Kudos

Hi Shekar

The WSDL file is a valid one and the mapping is also fine.

Thanks

Edited by: zia Rahman on Dec 1, 2011 1:47 PM