on 05-13-2014 5:02 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.