on 09-17-2015 5:25 PM
hi,
i should develop an application in labview that communicate with server SAPME.
i succeed to upload the server SAPME via this adress http://10.154.247.222:50000/manufacturing-services/ProductionService?wsdl
i want to access to one specifc web service it should be StartRequest
i send this request:
</SiteRef>
</SiteRef>
</SfcRef>
</ResourceRef>
</OperationRef>
</UserRef>
</SfcRequest>
</StartRequest>
</StartRequest_sync>
</s:Body>
</s:Envelope>
t
tthe result is
HTTP/1.1 415 Unsupported Media Type
server: SAP NetWeaver Application Server 7.20 / AS Java 7.30
pragma: no-cache
content-type: text/html;charset=ISO-8859-1
content-length: 1972
date: Thu, 17 Sep 2015 15:56:00 GMT
ccan you help me please
Hi!
Please try to send the same request by means of soapUI. If it does not work either, then there is some issue on side of SAP ME or NW.
If soapUI works, then it is an issue of your tool which sends the request. You can try to capture the HTTP traffic (by means of any tool) from soapUI and from your tool and then check the difference.
Regards,
Sergiy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes I try to send my Requet with SOAP UI and it work.
this is my request:
<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">
<StartRequest_sync xmlns="http://sap.com/xi/ME">
<StartRequest>
<SiteRef>
<Site>4680</Site>
</SiteRef>
<SfcRequest>
<SiteRef>
<Site>4680</Site>
</SiteRef>
<SfcRef>
<Sfc>615190001879</Sfc>
</SfcRef>
<ResourceRef>
<Resource>04_REPRISE_EMBALL_PKT</Resource>
</ResourceRef>
<OperationRef>
<Operation>REPRISE_EMBALL_PKT</Operation>
<Revision>01</Revision>
</OperationRef>
<UserRef>
<UserId>TESTEUR</UserId>
</UserRef>
</SfcRequest>
</StartRequest>
</StartRequest_sync>
</s:Body>
</s:Envelope>
but in Labview it does not work.
this the message
HTTP/1.1 415 Unsupported Media Type
server: SAP NetWeaver Application Server 7.20 / AS Java 7.30
pragma: no-cache
content-type: text/html;charset=ISO-8859-1
content-length: 1972
date: Mon, 21 Sep 2015 10:18:06 GMT
it can be a problem of conversion of type HTML et xml?should i modify the header of my request?
please how can i solve this problem
From SOAP ui this the result:
HTTP/1.1 401 Unauthorized
server: SAP NetWeaver Application Server 7.20 / AS Java 7.30
transfer-encoding: chunked
from labview is:
HTTP/1.1 100 Continue
HTTP/1.1 415 Unsupported Media Type
server: SAP NetWeaver Application Server 7.20 / AS Java 7.30
pragma: no-cache
content-type: text/html;charset=ISO-8859-1
content-length: 1972
date: Mon, 21 Sep 2015 11:00:18 GMT
User | Count |
---|---|
91 | |
10 | |
10 | |
6 | |
5 | |
5 | |
5 | |
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.