cancel
Showing results for 
Search instead for 
Did you mean: 

BYD web service QueryMaterialIn

Former Member
0 Kudos

Hi,

i'm trying to use the web service proposed in BYD "QueryMaterialIn" to receive information about material data, but i have a problem.

Using this message schema, i would like to receive material's informationconfirm, but when the service is called, the system register the following error.

Request message:

<n0:MaterialByElementsQuery_sync xmlns:n0="http://sap.com/xi/SAPGlobal20/Global">

    <MaterialSelectionByElements>

<SelectionByInternalID>

<InclusionExclusionCode>I</InclusionExclusionCode>

<IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode>

<LowerBoundaryInternalID>MAT*</LowerBoundaryInternalID>

<UpperBoundaryInternalID/>

</SelectionByInternalID>

</MaterialSelectionByElements>

<ProcessingConditions>

<QueryHitsMaximumNumberValue>100</QueryHitsMaximumNumberValue>

<QueryHitsUnlimitedIndicator>false</QueryHitsUnlimitedIndicator>

    </ProcessingConditions>

</n0:MaterialByElementsQuery_sync>

Response message:

<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">

<soap-env:Header/>

<soap-env:Body>

<soap-env:Fault>

<faultcode>soap-env:Client</faultcode>

<faultstring xml:lang="en">Web service processing error; more details in the web service error log on provider side (UTC timestamp 20140513093410; Transaction ID 00163E06CCE21EE3B6D0378794C70D4D)</faultstring>

<detail/>

</soap-env:Fault>

</soap-env:Body>

</soap-env:Envelope>

In BYD i can see the following error system:

Please can someone said to me where i'm getting wrong? Maybe there is an error into the message trace?

Ilaria

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Ilaria,

I've run into this before. usually, to fix it, i've had to include:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">

<soapenv:Header/>

<soapenv:Body>

before the XML you have currently, and

</soapenv:Body>

</soapenv:Envelope>

after.

Former Member
0 Kudos

Thank you Dan, now it works.

regards

Ilaria

Answers (0)